@common-stack/generate-plugin 6.0.8-alpha.40 → 6.0.8-alpha.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/lib/generators/add-backend/files/package.json +2 -1
- package/lib/generators/add-frontend/frameworks/antui/root.tsx.template +5 -0
- package/lib/generators/add-frontend/templates/package.json +3 -2
- package/lib/generators/add-fullstack/files/Jenkinsfile +1 -1
- package/lib/generators/add-fullstack/files/package.json +9 -6
- package/lib/generators/add-moleculer/files/package.json +2 -1
- package/package.json +2 -2
- package/src/generators/add-frontend/frameworks/antui/root.tsx.template +5 -0
- package/src/generators/add-fullstack/files/Jenkinsfile +1 -1
- package/src/generators/add-fullstack/files/package.json +9 -6
- package/src/generators/add-moleculer/files/package.json +2 -1
- package/lib/generators/add-fullstack/files/codegen.yml +0 -47
- package/src/generators/add-fullstack/files/codegen.yml +0 -47
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.0.8-alpha.42](https://github.com/cdmbase/common-stack/compare/v6.0.8-alpha.41...v6.0.8-alpha.42) (2025-02-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
9
|
+
|
|
10
|
+
## [6.0.8-alpha.41](https://github.com/cdmbase/common-stack/compare/v6.0.8-alpha.40...v6.0.8-alpha.41) (2025-02-02)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
13
|
+
|
|
6
14
|
## [6.0.8-alpha.40](https://github.com/cdmbase/common-stack/compare/v6.0.8-alpha.39...v6.0.8-alpha.40) (2025-02-02)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
"build": "cross-env NODE_ENV=production webpack --config webpack.config.js",
|
|
30
30
|
"build:clean": "rimraf dist .awcache",
|
|
31
31
|
"build:dev": "cross-env NODE_ENV=development ENV_FILE=../../config/development/dev.env webpack --config webpack.config.js",
|
|
32
|
+
"copycommon": "cp -r ../../packages/common .",
|
|
32
33
|
"db:migrate": "knex -- migrate:latest --cwd . --knexfile ./knexfile.js",
|
|
33
34
|
"db:migrate:rollback": "knex -- migrate:rollback --cwd . --knexfile ./knexfile.js",
|
|
34
35
|
"db:seed": "yarn db:migrate && knex -- seed:run --cwd . --knexfile ./knexfile.js",
|
|
35
|
-
"docker:build": "yarn build && docker build . -t $npm_package_name:$npm_package_version",
|
|
36
|
+
"docker:build": "yarn copycommon && yarn build && docker build . -t $npm_package_name:$npm_package_version",
|
|
36
37
|
"docker:build:debug": "yarn build:debug && docker build . -t $npm_package_name:$npm_package_version",
|
|
37
38
|
"docker:run": "docker run --env-file ../../config/staging/docker-staging.env -p 8080:8080 -it $npm_package_name:$npm_package_version",
|
|
38
39
|
"docker:run:debug": "cross-env NODE_ENV=development docker run --env-file ../../config/staging/docker-staging.env -p 8080:8080 -it $npm_package_name:$npm_package_version",
|
|
@@ -49,6 +49,11 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
|
|
49
49
|
return (
|
|
50
50
|
<>
|
|
51
51
|
<script>window.__ENV__=[__ENV__]</script>
|
|
52
|
+
<script
|
|
53
|
+
dangerouslySetInnerHTML={{
|
|
54
|
+
__html: `window.process = {} `,
|
|
55
|
+
}}
|
|
56
|
+
/>
|
|
52
57
|
<script
|
|
53
58
|
src="https://cdnjs.cloudflare.com/ajax/libs/reflect-metadata/0.1.13/Reflect.min.js"
|
|
54
59
|
integrity="sha512-jvbPH2TH5BSZumEfOJZn9IV+5bSwwN+qG4dvthYe3KCGC3/9HmxZ4phADbt9Pfcp+XSyyfc2vGZ/RMsSUZ9tbQ=="
|
|
@@ -25,8 +25,9 @@
|
|
|
25
25
|
"build:dev": "cross-env ENV_FILE=../../config/development/dev.env yarn build",
|
|
26
26
|
"build:devSSR": "cross-env SSR=true NODE_ENV=development ENV_FILE=../../config/development/dev.env yarn build",
|
|
27
27
|
"build:stats": "cross-env BUNDLE_STATS=true yarn build:debug",
|
|
28
|
+
"copycommon": "cp -r ../../packages/common .",
|
|
28
29
|
"dev:vite:ssr": "cross-env SSR=true NODE_ENV=development ENV_FILE=../../config/development/dev.env node ./server.js",
|
|
29
|
-
"docker:build": "
|
|
30
|
+
"docker:build": "yarn copycommon && yarn build && docker build . -t $npm_package_name:$npm_package_version",
|
|
30
31
|
"docker:build:debug": "yarn build:debug && docker build . -t $npm_package_name:$npm_package_version",
|
|
31
32
|
"docker:run": "docker run --env-file ../../config/staging/docker-staging.env -p 3000:3000 -it $npm_package_name:$npm_package_version",
|
|
32
33
|
"genconfig": "node ./tools/mergeConfig.js",
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
},
|
|
81
82
|
"devDependencies": {
|
|
82
83
|
"@cdmbase/vite-plugin-i18next-loader": "^2.0.12",
|
|
83
|
-
"@common-stack/rollup-vite-utils": "6.0.8-alpha.
|
|
84
|
+
"@common-stack/rollup-vite-utils": "6.0.8-alpha.40",
|
|
84
85
|
"@remix-run/dev": "~2.10.1",
|
|
85
86
|
"@remix-run/serve": "~2.10.1",
|
|
86
87
|
"cross-env": "^7.0.3",
|
|
@@ -646,7 +646,7 @@ def buildAndPushDockerImage(server, name, version) {
|
|
|
646
646
|
} else {
|
|
647
647
|
sh """
|
|
648
648
|
npx lerna exec --scope=*${server} ${params.BUILD_STRATEGY} run ${env.BUILD_COMMAND};
|
|
649
|
-
|
|
649
|
+
npx lerna exec --scope=*${server} ${params.BUILD_STRATEGY} copycommon
|
|
650
650
|
docker buildx create --name ${server} --driver docker-container --use
|
|
651
651
|
docker buildx inspect ${server} --bootstrap
|
|
652
652
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"prebootstrap": "lerna run prepare",
|
|
28
|
-
"bootstrap": "yarn
|
|
28
|
+
"bootstrap": "yarn",
|
|
29
29
|
"postbootstrap": "yarn build",
|
|
30
30
|
"build": "yarn build:packages",
|
|
31
31
|
"build:clean": "lerna exec yarn build:clean",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"gitcommit": "git add -A && git diff --staged --quiet || git commit -am 'auto publish [skip ci] \r\n'",
|
|
62
62
|
"husky-skip": "cross-env HUSKY_SKIP_HOOKS=1",
|
|
63
63
|
"jest": "./node_modules/.bin/jest",
|
|
64
|
-
"lerna": "lerna bootstrap",
|
|
65
64
|
"prelernapublish": "git checkout $PUBLISH_BRANCH && git pull origin $PUBLISH_BRANCH && git merge -s recursive -X theirs $MASTER_BRANCH -m 'merge from master' && yarn gitcommit && node tools/update-dependency-version.mjs && yarn gitcommit",
|
|
66
65
|
"lernapublish": "lerna publish patch --ignore-scripts",
|
|
67
66
|
"postlernapublish": "yarn update-lerna-on-develop && git checkout $MASTER_BRANCH",
|
|
@@ -151,8 +150,8 @@
|
|
|
151
150
|
"@babel/register": "^7.18.9",
|
|
152
151
|
"@babel/runtime": "^7.20.1",
|
|
153
152
|
"@common-stack/env-list-loader": "6.0.8-alpha.31",
|
|
154
|
-
"@common-stack/generate-plugin": "6.0.8-alpha.
|
|
155
|
-
"@common-stack/rollup-vite-utils": "6.0.8-alpha.
|
|
153
|
+
"@common-stack/generate-plugin": "6.0.8-alpha.41",
|
|
154
|
+
"@common-stack/rollup-vite-utils": "6.0.8-alpha.40",
|
|
156
155
|
"@emotion/babel-plugin": "^11.11.0",
|
|
157
156
|
"@graphql-codegen/add": "^5.0.2",
|
|
158
157
|
"@graphql-codegen/cli": "^5.0.2",
|
|
@@ -180,7 +179,8 @@
|
|
|
180
179
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
181
180
|
"@shelf/jest-mongodb": "^4.1.3",
|
|
182
181
|
"@svgr/webpack": "^6.5.1",
|
|
183
|
-
"@testing-library/
|
|
182
|
+
"@testing-library/dom": "^10.4.0",
|
|
183
|
+
"@testing-library/react": "^16.1.0",
|
|
184
184
|
"@testing-library/react-hooks": "^8.0.1",
|
|
185
185
|
"@types/async": "^3.2.15",
|
|
186
186
|
"@types/body-parser": "1.19.2",
|
|
@@ -311,6 +311,7 @@
|
|
|
311
311
|
"redux-devtools-extension": "^2.13.9",
|
|
312
312
|
"redux-mock-store": "^1.5.4",
|
|
313
313
|
"remap-istanbul": "^0.13.0",
|
|
314
|
+
"remix-development-tools": "^4.4.1",
|
|
314
315
|
"resolve-url-loader": "^5.0.0",
|
|
315
316
|
"rimraf": "^3.0.2",
|
|
316
317
|
"rollup": "^4.13.0",
|
|
@@ -318,6 +319,7 @@
|
|
|
318
319
|
"rollup-plugin-multi-input": "^1.5.0",
|
|
319
320
|
"rollup-plugin-string": "^3.0.0",
|
|
320
321
|
"rollup-plugin-svg": "^2.0.0",
|
|
322
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
321
323
|
"sass-loader": "^13.1.0",
|
|
322
324
|
"shelljs": "^0.8.5",
|
|
323
325
|
"simple-git": "^3.14.1",
|
|
@@ -342,10 +344,11 @@
|
|
|
342
344
|
"vite-plugin-babel-macros": "^1.0.6",
|
|
343
345
|
"vite-plugin-cjs-interop": "^2.0.6",
|
|
344
346
|
"vite-plugin-compression": "^0.5.1",
|
|
347
|
+
"vitest": "^3.0.4",
|
|
345
348
|
"wait-on": "^6.0.1",
|
|
346
349
|
"webpack": "^5.74.0",
|
|
347
350
|
"webpack-bundle-analyzer": "^4.7.0",
|
|
348
|
-
"webpack-cli": "^
|
|
351
|
+
"webpack-cli": "^5.1.4",
|
|
349
352
|
"webpack-dev-server": "^4.11.1",
|
|
350
353
|
"webpack-manifest-plugin": "^5.0.0",
|
|
351
354
|
"webpack-merge": "^5.8.0",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build:clean": "rimraf dist",
|
|
13
13
|
"build:dist": "rollup -c rollup.config.mjs",
|
|
14
14
|
"build:watch": "npm run build:dist -- --watch",
|
|
15
|
-
"
|
|
15
|
+
"copycommon": "cp -r ../../packages/common .",
|
|
16
|
+
"docker:build": "yarn copycommon && npm run build && docker build . -t $npm_package_name:$npm_package_version",
|
|
16
17
|
"docker:run": "docker run -it --env-file ../../config/staging/docker-staging.env $npm_package_name:$npm_package_version",
|
|
17
18
|
"jest": "./node_modules/.bin/jest",
|
|
18
19
|
"start": "cross-env NODE_ENV=production tsx dist/index.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/generate-plugin",
|
|
3
|
-
"version": "6.0.8-alpha.
|
|
3
|
+
"version": "6.0.8-alpha.42",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.mjs",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
},
|
|
26
26
|
"executors": "./executors.json",
|
|
27
27
|
"generators": "./generators.json",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "9ca67cea67c8e448c56b7b0eb2b200655e1941be"
|
|
29
29
|
}
|
|
@@ -49,6 +49,11 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
|
|
49
49
|
return (
|
|
50
50
|
<>
|
|
51
51
|
<script>window.__ENV__=[__ENV__]</script>
|
|
52
|
+
<script
|
|
53
|
+
dangerouslySetInnerHTML={{
|
|
54
|
+
__html: `window.process = {} `,
|
|
55
|
+
}}
|
|
56
|
+
/>
|
|
52
57
|
<script
|
|
53
58
|
src="https://cdnjs.cloudflare.com/ajax/libs/reflect-metadata/0.1.13/Reflect.min.js"
|
|
54
59
|
integrity="sha512-jvbPH2TH5BSZumEfOJZn9IV+5bSwwN+qG4dvthYe3KCGC3/9HmxZ4phADbt9Pfcp+XSyyfc2vGZ/RMsSUZ9tbQ=="
|
|
@@ -646,7 +646,7 @@ def buildAndPushDockerImage(server, name, version) {
|
|
|
646
646
|
} else {
|
|
647
647
|
sh """
|
|
648
648
|
npx lerna exec --scope=*${server} ${params.BUILD_STRATEGY} run ${env.BUILD_COMMAND};
|
|
649
|
-
|
|
649
|
+
npx lerna exec --scope=*${server} ${params.BUILD_STRATEGY} copycommon
|
|
650
650
|
docker buildx create --name ${server} --driver docker-container --use
|
|
651
651
|
docker buildx inspect ${server} --bootstrap
|
|
652
652
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"prebootstrap": "lerna run prepare",
|
|
28
|
-
"bootstrap": "yarn
|
|
28
|
+
"bootstrap": "yarn",
|
|
29
29
|
"postbootstrap": "yarn build",
|
|
30
30
|
"build": "yarn build:packages",
|
|
31
31
|
"build:clean": "lerna exec yarn build:clean",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"gitcommit": "git add -A && git diff --staged --quiet || git commit -am 'auto publish [skip ci] \r\n'",
|
|
62
62
|
"husky-skip": "cross-env HUSKY_SKIP_HOOKS=1",
|
|
63
63
|
"jest": "./node_modules/.bin/jest",
|
|
64
|
-
"lerna": "lerna bootstrap",
|
|
65
64
|
"prelernapublish": "git checkout $PUBLISH_BRANCH && git pull origin $PUBLISH_BRANCH && git merge -s recursive -X theirs $MASTER_BRANCH -m 'merge from master' && yarn gitcommit && node tools/update-dependency-version.mjs && yarn gitcommit",
|
|
66
65
|
"lernapublish": "lerna publish patch --ignore-scripts",
|
|
67
66
|
"postlernapublish": "yarn update-lerna-on-develop && git checkout $MASTER_BRANCH",
|
|
@@ -151,8 +150,8 @@
|
|
|
151
150
|
"@babel/register": "^7.18.9",
|
|
152
151
|
"@babel/runtime": "^7.20.1",
|
|
153
152
|
"@common-stack/env-list-loader": "6.0.8-alpha.31",
|
|
154
|
-
"@common-stack/generate-plugin": "6.0.8-alpha.
|
|
155
|
-
"@common-stack/rollup-vite-utils": "6.0.8-alpha.
|
|
153
|
+
"@common-stack/generate-plugin": "6.0.8-alpha.41",
|
|
154
|
+
"@common-stack/rollup-vite-utils": "6.0.8-alpha.40",
|
|
156
155
|
"@emotion/babel-plugin": "^11.11.0",
|
|
157
156
|
"@graphql-codegen/add": "^5.0.2",
|
|
158
157
|
"@graphql-codegen/cli": "^5.0.2",
|
|
@@ -180,7 +179,8 @@
|
|
|
180
179
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
181
180
|
"@shelf/jest-mongodb": "^4.1.3",
|
|
182
181
|
"@svgr/webpack": "^6.5.1",
|
|
183
|
-
"@testing-library/
|
|
182
|
+
"@testing-library/dom": "^10.4.0",
|
|
183
|
+
"@testing-library/react": "^16.1.0",
|
|
184
184
|
"@testing-library/react-hooks": "^8.0.1",
|
|
185
185
|
"@types/async": "^3.2.15",
|
|
186
186
|
"@types/body-parser": "1.19.2",
|
|
@@ -311,6 +311,7 @@
|
|
|
311
311
|
"redux-devtools-extension": "^2.13.9",
|
|
312
312
|
"redux-mock-store": "^1.5.4",
|
|
313
313
|
"remap-istanbul": "^0.13.0",
|
|
314
|
+
"remix-development-tools": "^4.4.1",
|
|
314
315
|
"resolve-url-loader": "^5.0.0",
|
|
315
316
|
"rimraf": "^3.0.2",
|
|
316
317
|
"rollup": "^4.13.0",
|
|
@@ -318,6 +319,7 @@
|
|
|
318
319
|
"rollup-plugin-multi-input": "^1.5.0",
|
|
319
320
|
"rollup-plugin-string": "^3.0.0",
|
|
320
321
|
"rollup-plugin-svg": "^2.0.0",
|
|
322
|
+
"rollup-plugin-visualizer": "^5.14.0",
|
|
321
323
|
"sass-loader": "^13.1.0",
|
|
322
324
|
"shelljs": "^0.8.5",
|
|
323
325
|
"simple-git": "^3.14.1",
|
|
@@ -342,10 +344,11 @@
|
|
|
342
344
|
"vite-plugin-babel-macros": "^1.0.6",
|
|
343
345
|
"vite-plugin-cjs-interop": "^2.0.6",
|
|
344
346
|
"vite-plugin-compression": "^0.5.1",
|
|
347
|
+
"vitest": "^3.0.4",
|
|
345
348
|
"wait-on": "^6.0.1",
|
|
346
349
|
"webpack": "^5.74.0",
|
|
347
350
|
"webpack-bundle-analyzer": "^4.7.0",
|
|
348
|
-
"webpack-cli": "^
|
|
351
|
+
"webpack-cli": "^5.1.4",
|
|
349
352
|
"webpack-dev-server": "^4.11.1",
|
|
350
353
|
"webpack-manifest-plugin": "^5.0.0",
|
|
351
354
|
"webpack-merge": "^5.8.0",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build:clean": "rimraf dist",
|
|
13
13
|
"build:dist": "rollup -c rollup.config.mjs",
|
|
14
14
|
"build:watch": "npm run build:dist -- --watch",
|
|
15
|
-
"
|
|
15
|
+
"copycommon": "cp -r ../../packages/common .",
|
|
16
|
+
"docker:build": "yarn copycommon && npm run build && docker build . -t $npm_package_name:$npm_package_version",
|
|
16
17
|
"docker:run": "docker run -it --env-file ../../config/staging/docker-staging.env $npm_package_name:$npm_package_version",
|
|
17
18
|
"jest": "./node_modules/.bin/jest",
|
|
18
19
|
"start": "cross-env NODE_ENV=production tsx dist/index.js",
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
overwrite: true
|
|
2
|
-
schema: "./servers/backend-server/generated-schema.graphql"
|
|
3
|
-
generates:
|
|
4
|
-
typings/graphql.d.ts:
|
|
5
|
-
schema:
|
|
6
|
-
- "packages-modules/counter/browser/src/apollo-server-n-client/**/*.graphql"
|
|
7
|
-
- packages-modules/counter/server/src/schema/**/*.graphql
|
|
8
|
-
documents: "packages-modules/counter/browser/src/**/*.gql"
|
|
9
|
-
plugins:
|
|
10
|
-
- typescript-graphql-files-modules
|
|
11
|
-
packages-modules/counter/browser/src/generated-models.ts:
|
|
12
|
-
schema:
|
|
13
|
-
- "packages-modules/counter/browser/src/apollo-server-n-client/**/*.graphql"
|
|
14
|
-
- packages-modules/counter/server/src/schema/**/*.graphql
|
|
15
|
-
documents: "packages-modules/counter/browser/src/**/*.gql"
|
|
16
|
-
config:
|
|
17
|
-
noNamespaces: true
|
|
18
|
-
withMutationFn: false
|
|
19
|
-
withHOC: false
|
|
20
|
-
withComponent: false
|
|
21
|
-
noGraphQLTag: true
|
|
22
|
-
plugins:
|
|
23
|
-
- add:
|
|
24
|
-
content: /* tslint:disable */
|
|
25
|
-
- typescript
|
|
26
|
-
- typescript-operations
|
|
27
|
-
- typescript-resolvers
|
|
28
|
-
- typescript-react-apollo
|
|
29
|
-
packages-modules/counter/browser/src/apollo-server-n-client/generated-model.tsx:
|
|
30
|
-
schema:
|
|
31
|
-
- "packages-modules/counter/browser/src/apollo-server-n-client/**/*.graphql"
|
|
32
|
-
- packages-modules/counter/server/src/schema/**/*.graphql
|
|
33
|
-
documents: "packages-modules/counter/browser/src/**/*.gql"
|
|
34
|
-
config:
|
|
35
|
-
withMutationFn: false
|
|
36
|
-
withHOC: false
|
|
37
|
-
withComponent: false
|
|
38
|
-
withHooks: true
|
|
39
|
-
noGraphQLTag: true
|
|
40
|
-
preset: import-types-preset
|
|
41
|
-
presetConfig:
|
|
42
|
-
typesPath: "../generated-models"
|
|
43
|
-
importTypesNamespace: SchemaTypes
|
|
44
|
-
plugins:
|
|
45
|
-
- add:
|
|
46
|
-
content: /* tslint:disable */
|
|
47
|
-
- typescript-react-apollo
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
overwrite: true
|
|
2
|
-
schema: "./servers/backend-server/generated-schema.graphql"
|
|
3
|
-
generates:
|
|
4
|
-
typings/graphql.d.ts:
|
|
5
|
-
schema:
|
|
6
|
-
- "packages-modules/counter/browser/src/apollo-server-n-client/**/*.graphql"
|
|
7
|
-
- packages-modules/counter/server/src/schema/**/*.graphql
|
|
8
|
-
documents: "packages-modules/counter/browser/src/**/*.gql"
|
|
9
|
-
plugins:
|
|
10
|
-
- typescript-graphql-files-modules
|
|
11
|
-
packages-modules/counter/browser/src/generated-models.ts:
|
|
12
|
-
schema:
|
|
13
|
-
- "packages-modules/counter/browser/src/apollo-server-n-client/**/*.graphql"
|
|
14
|
-
- packages-modules/counter/server/src/schema/**/*.graphql
|
|
15
|
-
documents: "packages-modules/counter/browser/src/**/*.gql"
|
|
16
|
-
config:
|
|
17
|
-
noNamespaces: true
|
|
18
|
-
withMutationFn: false
|
|
19
|
-
withHOC: false
|
|
20
|
-
withComponent: false
|
|
21
|
-
noGraphQLTag: true
|
|
22
|
-
plugins:
|
|
23
|
-
- add:
|
|
24
|
-
content: /* tslint:disable */
|
|
25
|
-
- typescript
|
|
26
|
-
- typescript-operations
|
|
27
|
-
- typescript-resolvers
|
|
28
|
-
- typescript-react-apollo
|
|
29
|
-
packages-modules/counter/browser/src/apollo-server-n-client/generated-model.tsx:
|
|
30
|
-
schema:
|
|
31
|
-
- "packages-modules/counter/browser/src/apollo-server-n-client/**/*.graphql"
|
|
32
|
-
- packages-modules/counter/server/src/schema/**/*.graphql
|
|
33
|
-
documents: "packages-modules/counter/browser/src/**/*.gql"
|
|
34
|
-
config:
|
|
35
|
-
withMutationFn: false
|
|
36
|
-
withHOC: false
|
|
37
|
-
withComponent: false
|
|
38
|
-
withHooks: true
|
|
39
|
-
noGraphQLTag: true
|
|
40
|
-
preset: import-types-preset
|
|
41
|
-
presetConfig:
|
|
42
|
-
typesPath: "../generated-models"
|
|
43
|
-
importTypesNamespace: SchemaTypes
|
|
44
|
-
plugins:
|
|
45
|
-
- add:
|
|
46
|
-
content: /* tslint:disable */
|
|
47
|
-
- typescript-react-apollo
|