diff --git a/libs/types/project.json b/libs/types/project.json index 7abcc446c..448aec45d 100644 --- a/libs/types/project.json +++ b/libs/types/project.json @@ -34,6 +34,21 @@ "options": { "jestConfig": "libs/types/jest.config.ts" } + }, + "generate": { + "executor": "nx:run-commands", + "options": { + "commands": ["npx graphql-codegen --config=libs/types/codegen.yml"], + "parallel": false + } + }, + "local-registry": { + "executor": "@nx/js:verdaccio", + "options": { + "port": 4873, + "config": ".verdaccio/config.yml", + "storage": "tmp/local-registry/storage" + } } }, "tags": [] diff --git a/libs/utils/project.json b/libs/utils/project.json index cdfc2f354..b54b9d51e 100644 --- a/libs/utils/project.json +++ b/libs/utils/project.json @@ -35,6 +35,14 @@ "options": { "jestConfig": "libs/utils/jest.config.ts" } + }, + "local-registry": { + "executor": "@nx/js:verdaccio", + "options": { + "port": 4873, + "config": ".verdaccio/config.yml", + "storage": "tmp/local-registry/storage" + } } }, "tags": [] diff --git a/libs/wallet/project.json b/libs/wallet/project.json index 828e11399..5ac0a5a37 100644 --- a/libs/wallet/project.json +++ b/libs/wallet/project.json @@ -35,6 +35,14 @@ "options": { "jestConfig": "libs/wallet/jest.config.ts" } + }, + "local-registry": { + "executor": "@nx/js:verdaccio", + "options": { + "port": 4873, + "config": ".verdaccio/config.yml", + "storage": "tmp/local-registry/storage" + } } }, "tags": [] diff --git a/package.json b/package.json index 538d2edcd..f70d5c6a2 100644 --- a/package.json +++ b/package.json @@ -241,8 +241,5 @@ "graphql": "15.8.0", "//": "workaround storybook issue: https://github.com/storybookjs/storybook/issues/21642", "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0" - }, - "nx": { - "includedScripts": [] } } diff --git a/project.json b/project.json deleted file mode 100644 index 3759d04a5..000000000 --- a/project.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "nx-monorepo", - "$schema": "node_modules/nx/schemas/project-schema.json", - "targets": { - "local-registry": { - "executor": "@nx/js:verdaccio", - "options": { - "port": 4873, - "config": ".verdaccio/config.yml", - "storage": "tmp/local-registry/storage" - } - } - } -}