@common-stack/generate-plugin 6.0.6-alpha.100 → 6.0.6-alpha.105

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 CHANGED
@@ -3,6 +3,26 @@
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.6-alpha.105](https://github.com/cdmbase/common-stack/compare/v6.0.6-alpha.104...v6.0.6-alpha.105) (2024-12-12)
7
+
8
+ **Note:** Version bump only for package @common-stack/generate-plugin
9
+
10
+ ## [6.0.6-alpha.104](https://github.com/cdmbase/common-stack/compare/v6.0.6-alpha.103...v6.0.6-alpha.104) (2024-12-08)
11
+
12
+ **Note:** Version bump only for package @common-stack/generate-plugin
13
+
14
+ ## [6.0.6-alpha.103](https://github.com/cdmbase/common-stack/compare/v6.0.6-alpha.102...v6.0.6-alpha.103) (2024-12-08)
15
+
16
+ **Note:** Version bump only for package @common-stack/generate-plugin
17
+
18
+ ## [6.0.6-alpha.102](https://github.com/cdmbase/common-stack/compare/v6.0.6-alpha.101...v6.0.6-alpha.102) (2024-12-08)
19
+
20
+ **Note:** Version bump only for package @common-stack/generate-plugin
21
+
22
+ ## [6.0.6-alpha.101](https://github.com/cdmbase/common-stack/compare/v6.0.6-alpha.100...v6.0.6-alpha.101) (2024-12-08)
23
+
24
+ **Note:** Version bump only for package @common-stack/generate-plugin
25
+
6
26
  ## [6.0.6-alpha.100](https://github.com/cdmbase/common-stack/compare/v6.0.6-alpha.99...v6.0.6-alpha.100) (2024-12-06)
7
27
 
8
28
  **Note:** Version bump only for package @common-stack/generate-plugin
@@ -68,11 +68,11 @@
68
68
  "@cdm-logger/client": "^9.0.3",
69
69
  "@cdm-logger/server": "^9.0.3",
70
70
  "@cdmbase/graphql-type-uri": "^3.0.0",
71
- "@common-stack/cache-api-server": "6.0.6-alpha.91",
72
- "@common-stack/client-core": "6.0.6-alpha.91",
73
- "@common-stack/core": "6.0.6-alpha.91",
74
- "@common-stack/server-core": "6.0.6-alpha.91",
75
- "@common-stack/store-mongo": "6.0.6-alpha.93",
71
+ "@common-stack/cache-api-server": "6.0.6-alpha.104",
72
+ "@common-stack/client-core": "6.0.6-alpha.104",
73
+ "@common-stack/core": "6.0.6-alpha.104",
74
+ "@common-stack/server-core": "6.0.6-alpha.104",
75
+ "@common-stack/store-mongo": "6.0.6-alpha.104",
76
76
  "@graphql-tools/links": "~9.0.1",
77
77
  "@graphql-tools/schema": "~10.0.6",
78
78
  "@graphql-tools/stitch": "~9.2.10",
@@ -117,7 +117,7 @@
117
117
  "ws": "^8.11.0",
118
118
  "@apollo/client": "^3.9.0",
119
119
  "@babel/runtime": "^7.20.1",
120
- "@common-stack/server-stack": "6.0.6-alpha.98",
120
+ "@common-stack/server-stack": "6.0.6-alpha.104",
121
121
  "lodash": "^4.17.15",
122
122
  "react": "18.2.0",
123
123
  "rxjs": "^7.8.1"
@@ -63,13 +63,13 @@
63
63
  "@apollo/client": "^3.9.0",
64
64
  "@cdm-logger/client": "^9.0.3",
65
65
  "@cdm-logger/server": "^9.0.3",
66
- "@common-stack/client-core": "6.0.6-alpha.91",
67
- "@common-stack/client-react": "6.0.6-alpha.91",
66
+ "@common-stack/client-core": "6.0.6-alpha.104",
67
+ "@common-stack/client-react": "6.0.6-alpha.104",
68
68
  "@common-stack/components-pro": "6.0.6-alpha.91",
69
- "@common-stack/core": "6.0.6-alpha.91",
69
+ "@common-stack/core": "6.0.6-alpha.104",
70
70
  "@common-stack/remix-router-redux": "6.0.6-alpha.91",
71
- "@common-stack/cache-api-server": "6.0.6-alpha.91",
72
- "@common-stack/server-core": "6.0.6-alpha.91",
71
+ "@common-stack/cache-api-server": "6.0.6-alpha.104",
72
+ "@common-stack/server-core": "6.0.6-alpha.104",
73
73
  "@reduxjs/toolkit": "^2.2.6",
74
74
  "@remix-run/express": "~2.10.1",
75
75
  "@remix-run/node": "~2.10.1",
@@ -62,7 +62,7 @@
62
62
  "dependencies": {
63
63
  "@apollo/client": "^3.9.0",
64
64
  "@babel/runtime": "^7.20.1",
65
- "@common-stack/server-stack": "6.0.6-alpha.98",
65
+ "@common-stack/server-stack": "6.0.6-alpha.104",
66
66
  "@remix-run/node": "~2.10.1",
67
67
  "lodash": "^4.17.15",
68
68
  "react": "18.2.0"
@@ -52,7 +52,7 @@
52
52
  "watch:test": "cross-env ENV_FILE=../../config/test/test.env node ./server.js"
53
53
  },
54
54
  "dependencies": {
55
- "@common-stack/frontend-stack-react": "6.0.6-alpha.96",
55
+ "@common-stack/frontend-stack-react": "6.0.6-alpha.104",
56
56
  "@react-icons/all-files": "^4.1.0",
57
57
  "classnames": "^2.2.6",
58
58
  "compression": "^1.7.4",
@@ -77,7 +77,7 @@
77
77
  },
78
78
  "devDependencies": {
79
79
  "@cdmbase/vite-plugin-i18next-loader": "^2.0.12",
80
- "@common-stack/rollup-vite-utils": "6.0.6-alpha.99",
80
+ "@common-stack/rollup-vite-utils": "6.0.6-alpha.104",
81
81
  "@remix-run/dev": "~2.10.1",
82
82
  "@remix-run/serve": "~2.10.1",
83
83
  "cross-env": "^7.0.3",
@@ -3,15 +3,13 @@ import path from 'path';
3
3
  import { setupConfig } from '@common-stack/rollup-vite-utils/lib/utils/setupConfig.js';
4
4
  import { updateFromConfig } from '@common-stack/rollup-vite-utils/lib/rollup/rollupPluginUpdateFromConfig.js';
5
5
  const projectConfigPath = path.resolve('./config.json');
6
-
7
- // Function to merge configurations
8
6
  const mergeConfigs = setupConfig(projectConfigPath);
9
7
 
10
8
  // Ensure the 'app' directory exists
11
9
  const appDir = path.resolve('app');
12
10
  if (!fs.existsSync(appDir)) {
13
- fs.mkdirSync(appDir);
14
- console.log(`Created directory: ${appDir}`);
11
+ fs.mkdirSync(appDir);
12
+ console.log(`Created directory: ${appDir}`);
15
13
  }
16
14
 
17
15
  // Write the merged configuration to 'app/finalConfig.json'
@@ -23,15 +21,15 @@ console.log(`Merged configuration written to ${finalConfigPath}`);
23
21
  const gitignorePath = path.resolve('.gitignore');
24
22
  let gitignoreContent = '';
25
23
  if (fs.existsSync(gitignorePath)) {
26
- gitignoreContent = fs.readFileSync(gitignorePath, 'utf8');
24
+ gitignoreContent = fs.readFileSync(gitignorePath, 'utf8');
27
25
  } else {
28
- fs.writeFileSync(gitignorePath, '');
29
- console.log('Created .gitignore file');
26
+ fs.writeFileSync(gitignorePath, '');
27
+ console.log('Created .gitignore file');
30
28
  }
31
29
 
32
30
  if (!gitignoreContent.includes('app')) {
33
- fs.appendFileSync(gitignorePath, '\napp\n');
34
- console.log('Added "app" to .gitignore');
31
+ fs.appendFileSync(gitignorePath, '\napp\n');
32
+ console.log('Added "app" to .gitignore');
35
33
  }
36
34
 
37
- updateFromConfig(finalConfigPath);
35
+ updateFromConfig(finalConfigPath);
@@ -147,8 +147,8 @@
147
147
  "@babel/register": "^7.18.9",
148
148
  "@babel/runtime": "^7.20.1",
149
149
  "@common-stack/env-list-loader": "6.0.6-alpha.91",
150
- "@common-stack/generate-plugin": "6.0.6-alpha.99",
151
- "@common-stack/rollup-vite-utils": "6.0.6-alpha.99",
150
+ "@common-stack/generate-plugin": "6.0.6-alpha.104",
151
+ "@common-stack/rollup-vite-utils": "6.0.6-alpha.104",
152
152
  "@emotion/babel-plugin": "^11.11.0",
153
153
  "@graphql-codegen/add": "^5.0.2",
154
154
  "@graphql-codegen/cli": "^5.0.2",
@@ -25,11 +25,11 @@
25
25
  "watch": "npm run start:dev"
26
26
  },
27
27
  "dependencies": {
28
- "@common-stack/client-core": "6.0.6-alpha.91",
29
- "@common-stack/core": "6.0.6-alpha.91",
30
- "@common-stack/server-core": "6.0.6-alpha.91",
31
- "@common-stack/server-stack": "6.0.6-alpha.98",
32
- "@common-stack/store-mongo": "6.0.6-alpha.93",
28
+ "@common-stack/client-core": "6.0.6-alpha.104",
29
+ "@common-stack/core": "6.0.6-alpha.104",
30
+ "@common-stack/server-core": "6.0.6-alpha.104",
31
+ "@common-stack/server-stack": "6.0.6-alpha.104",
32
+ "@common-stack/store-mongo": "6.0.6-alpha.104",
33
33
  "@container-stack/mailing-api": "5.2.1-alpha.1",
34
34
  "helmet": "^3.21.2",
35
35
  "react": "18.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-stack/generate-plugin",
3
- "version": "6.0.6-alpha.100",
3
+ "version": "6.0.6-alpha.105",
4
4
  "type": "module",
5
5
  "main": "./lib/index.mjs",
6
6
  "typings": "./lib/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "watch": "yarn build:lib:watch"
18
18
  },
19
19
  "dependencies": {
20
- "@common-stack/rollup-vite-utils": "6.0.6-alpha.99",
20
+ "@common-stack/rollup-vite-utils": "6.0.6-alpha.104",
21
21
  "tslib": "^2.3.0"
22
22
  },
23
23
  "publishConfig": {
@@ -25,5 +25,5 @@
25
25
  },
26
26
  "executors": "./executors.json",
27
27
  "generators": "./generators.json",
28
- "gitHead": "d93a9fecbb65a8da04bf701b18fbb646afc403b1"
28
+ "gitHead": "23f3bd283a7a7a2fc594e8c499a68518652d299f"
29
29
  }
@@ -147,8 +147,8 @@
147
147
  "@babel/register": "^7.18.9",
148
148
  "@babel/runtime": "^7.20.1",
149
149
  "@common-stack/env-list-loader": "6.0.6-alpha.91",
150
- "@common-stack/generate-plugin": "6.0.6-alpha.99",
151
- "@common-stack/rollup-vite-utils": "6.0.6-alpha.99",
150
+ "@common-stack/generate-plugin": "6.0.6-alpha.104",
151
+ "@common-stack/rollup-vite-utils": "6.0.6-alpha.104",
152
152
  "@emotion/babel-plugin": "^11.11.0",
153
153
  "@graphql-codegen/add": "^5.0.2",
154
154
  "@graphql-codegen/cli": "^5.0.2",
@@ -25,11 +25,11 @@
25
25
  "watch": "npm run start:dev"
26
26
  },
27
27
  "dependencies": {
28
- "@common-stack/client-core": "6.0.6-alpha.91",
29
- "@common-stack/core": "6.0.6-alpha.91",
30
- "@common-stack/server-core": "6.0.6-alpha.91",
31
- "@common-stack/server-stack": "6.0.6-alpha.98",
32
- "@common-stack/store-mongo": "6.0.6-alpha.93",
28
+ "@common-stack/client-core": "6.0.6-alpha.104",
29
+ "@common-stack/core": "6.0.6-alpha.104",
30
+ "@common-stack/server-core": "6.0.6-alpha.104",
31
+ "@common-stack/server-stack": "6.0.6-alpha.104",
32
+ "@common-stack/store-mongo": "6.0.6-alpha.104",
33
33
  "@container-stack/mailing-api": "5.2.1-alpha.1",
34
34
  "helmet": "^3.21.2",
35
35
  "react": "18.2.0",