create-nocobase-app 1.3.39-beta → 1.4.0-alpha

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/lib/generator.js CHANGED
@@ -106,6 +106,7 @@ const _AppGenerator = class _AppGenerator extends Generator {
106
106
  envs.push(`DB_USER=${env.DB_USER || ""}`);
107
107
  envs.push(`DB_PASSWORD=${env.DB_PASSWORD || ""}`);
108
108
  break;
109
+ case "kingbase":
109
110
  case "postgres":
110
111
  if (!allDbDialect) {
111
112
  dependencies.push(`"pg": "^8.7.3"`);
@@ -118,7 +119,7 @@ const _AppGenerator = class _AppGenerator extends Generator {
118
119
  envs.push(`DB_PASSWORD=${env.DB_PASSWORD || ""}`);
119
120
  break;
120
121
  }
121
- const keys = ["PLUGIN_PACKAGE_PREFIX", "DB_HOST", "DB_PORT", "DB_DATABASE", "DB_USER", "DB_PASSWORD", "DB_STORAGE"];
122
+ const keys = ["DB_HOST", "DB_PORT", "DB_DATABASE", "DB_USER", "DB_PASSWORD", "DB_STORAGE"];
122
123
  for (const key in env) {
123
124
  if (keys.includes(key)) {
124
125
  continue;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "create-nocobase-app",
3
- "version": "1.3.39-beta",
3
+ "version": "1.4.0-alpha",
4
4
  "main": "src/index.js",
5
5
  "license": "AGPL-3.0",
6
6
  "dependencies": {
7
7
  "@umijs/utils": "3.5.20",
8
- "axios": "^0.26.1",
8
+ "axios": "^1.7.0",
9
9
  "chalk": "^4.1.1",
10
10
  "commander": "^9.2.0",
11
11
  "tar": "6.1.11"
@@ -18,5 +18,5 @@
18
18
  "url": "git+https://github.com/nocobase/nocobase.git",
19
19
  "directory": "packages/core/create-nocobase-app"
20
20
  },
21
- "gitHead": "68daadf8575cddf9eeb09a1a672f9baf7aabe67a"
21
+ "gitHead": "f097a2bddec152522b5645bd5d451f4c866d2060"
22
22
  }
package/src/generator.js CHANGED
@@ -112,6 +112,7 @@ class AppGenerator extends Generator {
112
112
  envs.push(`DB_USER=${env.DB_USER || ''}`);
113
113
  envs.push(`DB_PASSWORD=${env.DB_PASSWORD || ''}`);
114
114
  break;
115
+ case 'kingbase':
115
116
  case 'postgres':
116
117
  if (!allDbDialect) {
117
118
  dependencies.push(`"pg": "^8.7.3"`);
@@ -125,7 +126,7 @@ class AppGenerator extends Generator {
125
126
  break;
126
127
  }
127
128
 
128
- const keys = ['PLUGIN_PACKAGE_PREFIX', 'DB_HOST', 'DB_PORT', 'DB_DATABASE', 'DB_USER', 'DB_PASSWORD', 'DB_STORAGE'];
129
+ const keys = ['DB_HOST', 'DB_PORT', 'DB_DATABASE', 'DB_USER', 'DB_PASSWORD', 'DB_STORAGE'];
129
130
 
130
131
  for (const key in env) {
131
132
  if (keys.includes(key)) {