@saltcorn/cli 1.0.0 → 1.1.0-beta.1

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0",
2
+ "version": "1.1.0-beta.1",
3
3
  "commands": {
4
4
  "add-schema": {
5
5
  "id": "add-schema",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@saltcorn/cli",
3
3
  "description": "Command-line interface for Saltcorn, open-source no-code platform",
4
4
  "homepage": "https://saltcorn.com",
5
- "version": "1.0.0",
5
+ "version": "1.1.0-beta.1",
6
6
  "author": "Tom Nielsen @glutamate",
7
7
  "bin": {
8
8
  "saltcorn": "./bin/saltcorn"
@@ -11,13 +11,13 @@
11
11
  "dependencies": {
12
12
  "@oclif/core": "^2.16.0",
13
13
  "@oclif/plugin-plugins": "^3.9.4",
14
- "@saltcorn/admin-models": "1.0.0",
15
- "@saltcorn/common-code": "1.0.0",
16
- "@saltcorn/data": "1.0.0",
17
- "@saltcorn/mobile-app": "1.0.0",
18
- "@saltcorn/mobile-builder": "1.0.0",
19
- "@saltcorn/plugins-loader": "1.0.0",
20
- "@saltcorn/server": "1.0.0",
14
+ "@saltcorn/admin-models": "1.1.0-beta.1",
15
+ "@saltcorn/common-code": "1.1.0-beta.1",
16
+ "@saltcorn/data": "1.1.0-beta.1",
17
+ "@saltcorn/mobile-app": "1.1.0-beta.1",
18
+ "@saltcorn/mobile-builder": "1.1.0-beta.1",
19
+ "@saltcorn/plugins-loader": "1.1.0-beta.1",
20
+ "@saltcorn/server": "1.1.0-beta.1",
21
21
  "contractis": "^0.1.0",
22
22
  "dateformat": "^3.0.3",
23
23
  "inquirer": "^7.3.3",
@@ -89,7 +89,7 @@ class ReleaseCommand extends Command {
89
89
  );
90
90
  };
91
91
  const compileTsFiles = () => {
92
- spawnSync("npm", ["install", "--legacy-peer-deps"], {
92
+ spawnSync("npm", ["install"], {
93
93
  stdio: "inherit",
94
94
  cwd: ".",
95
95
  });
@@ -131,7 +131,7 @@ class ReleaseCommand extends Command {
131
131
  // 1. update version
132
132
  // 2. update dependencies for other packages
133
133
  // 3. publish
134
- spawnSync("npm", ["install", "--legacy-peer-deps"], {
134
+ spawnSync("npm", ["install"], {
135
135
  stdio: "inherit",
136
136
  cwd: `packages/saltcorn-cli/`,
137
137
  });
@@ -158,13 +158,17 @@ class ReleaseCommand extends Command {
158
158
  stdio: "inherit",
159
159
  cwd: `packages/saltcorn-cli/`,
160
160
  });
161
+ spawnSync("npm", ["install"], {
162
+ stdio: "inherit",
163
+ cwd: ".",
164
+ });
161
165
  // do not run 'audit fix' on full point releases, only on -beta.x, -rc.x etc
162
166
  if (version.includes("-"))
163
167
  spawnSync("npm", ["audit", "fix"], {
164
168
  stdio: "inherit",
165
169
  cwd: `packages/saltcorn-cli/`,
166
170
  });
167
- await publish("saltcorn-cli", ["latest", "stable-1.0.x"]);
171
+ await publish("saltcorn-cli", "next");
168
172
  fs.writeFileSync(`package.json`, JSON.stringify(rootPackageJson, null, 2));
169
173
  // update Dockerfile
170
174
  const dockerfile = fs.readFileSync(`Dockerfile.release`, "utf8");