@common-stack/generate-plugin 7.1.1-alpha.2 → 7.1.1-alpha.3
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 +6 -0
- package/lib/generators/add-backend/files/package.json +1 -1
- package/lib/generators/add-backend/files/src/modules/index.ts.template +2 -0
- package/lib/generators/add-backend/files/src/service.ts.template +2 -2
- package/lib/generators/add-frontend/templates/package.json +2 -2
- package/lib/generators/add-fullstack/files/package.json +2 -2
- package/lib/generators/add-moleculer/files/package.json +2 -2
- package/lib/generators/add-package/files/browser/package.json +1 -1
- package/package.json +3 -3
- package/src/generators/add-backend/files/package.json +1 -1
- package/src/generators/add-backend/files/src/modules/index.ts.template +2 -0
- package/src/generators/add-backend/files/src/service.ts.template +2 -2
- package/src/generators/add-frontend/templates/package.json +2 -2
- package/src/generators/add-fullstack/files/package.json +2 -2
- package/src/generators/add-moleculer/files/package.json +2 -2
- package/src/generators/add-package/files/browser/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
## [7.1.1-alpha.3](https://github.com/cdmbase/common-stack/compare/v7.1.1-alpha.2...v7.1.1-alpha.3) (2025-04-13)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **server-stack:** add subGraph support ([6e5a232](https://github.com/cdmbase/common-stack/commit/6e5a232191b87065d197f090e923218eaa3deb95))
|
|
11
|
+
|
|
6
12
|
## [7.1.1-alpha.2](https://github.com/cdmbase/common-stack/compare/v7.1.1-alpha.1...v7.1.1-alpha.2) (2025-04-11)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @common-stack/generate-plugin
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@apollo/client": "^3.9.0",
|
|
66
66
|
"@babel/runtime": "^7.20.1",
|
|
67
|
-
"@common-stack/server-stack": "7.1.1-alpha.
|
|
67
|
+
"@common-stack/server-stack": "7.1.1-alpha.2",
|
|
68
68
|
"@remix-run/node": "~2.10.1",
|
|
69
69
|
"lodash": "^4.17.15",
|
|
70
70
|
"react": "18.2.0"
|
|
@@ -3,6 +3,8 @@ import modules, { settings } from './module';
|
|
|
3
3
|
export default modules;
|
|
4
4
|
export { settings };
|
|
5
5
|
|
|
6
|
+
export const serverConfigurations = {};
|
|
7
|
+
|
|
6
8
|
// export const updateContainers = (options) => {
|
|
7
9
|
// if (process.env.NODE_ENV !== 'development') {
|
|
8
10
|
// options.forEach(el => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { logger } from '@cdm-logger/server';
|
|
2
2
|
import * as url from 'url';
|
|
3
|
-
import modules, { settings } from './modules';
|
|
3
|
+
import modules, { settings, serverConfigurations } from './modules';
|
|
4
4
|
import { MainStackServer } from '@common-stack/server-stack';
|
|
5
5
|
import { config } from './config';
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ export class Service {
|
|
|
10
10
|
private app: MainStackServer;
|
|
11
11
|
|
|
12
12
|
public async initialize() {
|
|
13
|
-
this.app = new MainStackServer(modules, settings);
|
|
13
|
+
this.app = new MainStackServer(modules, settings, serverConfigurations);
|
|
14
14
|
await this.app.initialize();
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"common": "link:./common"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@common-stack/frontend-stack-react": "7.1.1-alpha.
|
|
59
|
+
"@common-stack/frontend-stack-react": "7.1.1-alpha.2",
|
|
60
60
|
"@react-icons/all-files": "^4.1.0",
|
|
61
61
|
"classnames": "^2.2.6",
|
|
62
62
|
"compression": "^1.7.4",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@cdmbase/vite-plugin-i18next-loader": "^2.0.12",
|
|
84
|
-
"@common-stack/rollup-vite-utils": "7.1.1-alpha.
|
|
84
|
+
"@common-stack/rollup-vite-utils": "7.1.1-alpha.2",
|
|
85
85
|
"@remix-run/dev": "~2.10.1",
|
|
86
86
|
"@remix-run/serve": "~2.10.1",
|
|
87
87
|
"cross-env": "^7.0.3",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
"@babel/register": "^7.18.9",
|
|
142
142
|
"@babel/runtime": "^7.20.1",
|
|
143
143
|
"@common-stack/env-list-loader": "7.0.4-alpha.0",
|
|
144
|
-
"@common-stack/generate-plugin": "7.1.1-alpha.
|
|
145
|
-
"@common-stack/rollup-vite-utils": "7.1.1-alpha.
|
|
144
|
+
"@common-stack/generate-plugin": "7.1.1-alpha.2",
|
|
145
|
+
"@common-stack/rollup-vite-utils": "7.1.1-alpha.2",
|
|
146
146
|
"@emotion/babel-plugin": "^11.11.0",
|
|
147
147
|
"@graphql-codegen/add": "^5.0.3",
|
|
148
148
|
"@graphql-codegen/cli": "^5.0.4",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"common": "link:./common"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@common-stack/client-core": "7.1.1-alpha.
|
|
32
|
+
"@common-stack/client-core": "7.1.1-alpha.2",
|
|
33
33
|
"@common-stack/core": "7.0.4-alpha.17",
|
|
34
34
|
"@common-stack/server-core": "7.0.4-alpha.17",
|
|
35
|
-
"@common-stack/server-stack": "7.1.1-alpha.
|
|
35
|
+
"@common-stack/server-stack": "7.1.1-alpha.2",
|
|
36
36
|
"@common-stack/store-mongo": "7.0.4-alpha.17",
|
|
37
37
|
"@container-stack/mailing-api": "5.2.1-alpha.1",
|
|
38
38
|
"helmet": "^3.21.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@common-stack/generate-plugin",
|
|
3
|
-
"version": "7.1.1-alpha.
|
|
3
|
+
"version": "7.1.1-alpha.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.mjs",
|
|
6
6
|
"typings": "./lib/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"watch": "yarn build:lib:watch"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@common-stack/rollup-vite-utils": "7.1.1-alpha.
|
|
21
|
+
"@common-stack/rollup-vite-utils": "7.1.1-alpha.3",
|
|
22
22
|
"tslib": "^2.3.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
},
|
|
27
27
|
"executors": "./executors.json",
|
|
28
28
|
"generators": "./generators.json",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "957549af03185aa8c04c216f68db9ab6251f2d0d"
|
|
30
30
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@apollo/client": "^3.9.0",
|
|
66
66
|
"@babel/runtime": "^7.20.1",
|
|
67
|
-
"@common-stack/server-stack": "7.1.1-alpha.
|
|
67
|
+
"@common-stack/server-stack": "7.1.1-alpha.2",
|
|
68
68
|
"@remix-run/node": "~2.10.1",
|
|
69
69
|
"lodash": "^4.17.15",
|
|
70
70
|
"react": "18.2.0"
|
|
@@ -3,6 +3,8 @@ import modules, { settings } from './module';
|
|
|
3
3
|
export default modules;
|
|
4
4
|
export { settings };
|
|
5
5
|
|
|
6
|
+
export const serverConfigurations = {};
|
|
7
|
+
|
|
6
8
|
// export const updateContainers = (options) => {
|
|
7
9
|
// if (process.env.NODE_ENV !== 'development') {
|
|
8
10
|
// options.forEach(el => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { logger } from '@cdm-logger/server';
|
|
2
2
|
import * as url from 'url';
|
|
3
|
-
import modules, { settings } from './modules';
|
|
3
|
+
import modules, { settings, serverConfigurations } from './modules';
|
|
4
4
|
import { MainStackServer } from '@common-stack/server-stack';
|
|
5
5
|
import { config } from './config';
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ export class Service {
|
|
|
10
10
|
private app: MainStackServer;
|
|
11
11
|
|
|
12
12
|
public async initialize() {
|
|
13
|
-
this.app = new MainStackServer(modules, settings);
|
|
13
|
+
this.app = new MainStackServer(modules, settings, serverConfigurations);
|
|
14
14
|
await this.app.initialize();
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"common": "link:./common"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@common-stack/frontend-stack-react": "7.1.1-alpha.
|
|
59
|
+
"@common-stack/frontend-stack-react": "7.1.1-alpha.2",
|
|
60
60
|
"@react-icons/all-files": "^4.1.0",
|
|
61
61
|
"classnames": "^2.2.6",
|
|
62
62
|
"compression": "^1.7.4",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@cdmbase/vite-plugin-i18next-loader": "^2.0.12",
|
|
84
|
-
"@common-stack/rollup-vite-utils": "7.1.1-alpha.
|
|
84
|
+
"@common-stack/rollup-vite-utils": "7.1.1-alpha.2",
|
|
85
85
|
"@remix-run/dev": "~2.10.1",
|
|
86
86
|
"@remix-run/serve": "~2.10.1",
|
|
87
87
|
"cross-env": "^7.0.3",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
"@babel/register": "^7.18.9",
|
|
142
142
|
"@babel/runtime": "^7.20.1",
|
|
143
143
|
"@common-stack/env-list-loader": "7.0.4-alpha.0",
|
|
144
|
-
"@common-stack/generate-plugin": "7.1.1-alpha.
|
|
145
|
-
"@common-stack/rollup-vite-utils": "7.1.1-alpha.
|
|
144
|
+
"@common-stack/generate-plugin": "7.1.1-alpha.2",
|
|
145
|
+
"@common-stack/rollup-vite-utils": "7.1.1-alpha.2",
|
|
146
146
|
"@emotion/babel-plugin": "^11.11.0",
|
|
147
147
|
"@graphql-codegen/add": "^5.0.3",
|
|
148
148
|
"@graphql-codegen/cli": "^5.0.4",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"common": "link:./common"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@common-stack/client-core": "7.1.1-alpha.
|
|
32
|
+
"@common-stack/client-core": "7.1.1-alpha.2",
|
|
33
33
|
"@common-stack/core": "7.0.4-alpha.17",
|
|
34
34
|
"@common-stack/server-core": "7.0.4-alpha.17",
|
|
35
|
-
"@common-stack/server-stack": "7.1.1-alpha.
|
|
35
|
+
"@common-stack/server-stack": "7.1.1-alpha.2",
|
|
36
36
|
"@common-stack/store-mongo": "7.0.4-alpha.17",
|
|
37
37
|
"@container-stack/mailing-api": "5.2.1-alpha.1",
|
|
38
38
|
"helmet": "^3.21.2",
|