create-nocobase-app 2.1.0-beta.14 → 2.1.0-beta.16

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
@@ -131,7 +131,7 @@ const _AppGenerator = class _AppGenerator extends Generator {
131
131
  name: context.name,
132
132
  ...await fs.readJSON(join(this.cwd, "package.json"), "utf8")
133
133
  };
134
- json["dependencies"]["@nocobase/cli"] = context.version;
134
+ json["dependencies"]["@nocobase/app"] = context.version;
135
135
  if (!this.args.skipDevDependencies) {
136
136
  json["devDependencies"] = json["devDependencies"] || {};
137
137
  json["devDependencies"]["@nocobase/devtools"] = context.version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nocobase-app",
3
- "version": "2.1.0-beta.14",
3
+ "version": "2.1.0-beta.16",
4
4
  "main": "src/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "dependencies": {
@@ -19,5 +19,5 @@
19
19
  "url": "git+https://github.com/nocobase/nocobase.git",
20
20
  "directory": "packages/core/create-nocobase-app"
21
21
  },
22
- "gitHead": "cd55c9a14596d834c30c83a82c38f1f719f7aac4"
22
+ "gitHead": "b9a191705a440a336c85d82fd877fdf152bec70f"
23
23
  }
package/src/generator.js CHANGED
@@ -144,7 +144,7 @@ class AppGenerator extends Generator {
144
144
  ...(await fs.readJSON(join(this.cwd, 'package.json'), 'utf8')),
145
145
  };
146
146
 
147
- json['dependencies']['@nocobase/cli'] = context.version;
147
+ json['dependencies']['@nocobase/app'] = context.version;
148
148
 
149
149
  if (!this.args.skipDevDependencies) {
150
150
  json['devDependencies'] = json['devDependencies'] || {};
@@ -8,17 +8,17 @@
8
8
  "node": ">=18"
9
9
  },
10
10
  "scripts": {
11
- "nocobase": "nocobase",
12
- "pm": "nocobase pm",
13
- "pm2": "nocobase pm2",
14
- "dev": "nocobase dev",
15
- "start": "nocobase start",
16
- "clean": "nocobase clean",
17
- "build": "nocobase build",
18
- "test": "nocobase test",
19
- "e2e": "nocobase e2e",
20
- "tar": "nocobase tar",
21
- "postinstall": "nocobase postinstall",
11
+ "nocobase": "nocobase-v1",
12
+ "pm": "nocobase-v1 pm",
13
+ "pm2": "nocobase-v1 pm2",
14
+ "dev": "nocobase-v1 dev",
15
+ "start": "nocobase-v1 start",
16
+ "clean": "nocobase-v1 clean",
17
+ "build": "nocobase-v1 build",
18
+ "test": "nocobase-v1 test",
19
+ "e2e": "nocobase-v1 e2e",
20
+ "tar": "nocobase-v1 tar",
21
+ "postinstall": "nocobase-v1 postinstall",
22
22
  "lint": "eslint ."
23
23
  },
24
24
  "resolutions": {