@saltcorn/cli 1.1.0-beta.21 → 1.1.0-beta.22

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.1.0-beta.21",
2
+ "version": "1.1.0-beta.22",
3
3
  "commands": {
4
4
  "add-schema": {
5
5
  "id": "add-schema",
@@ -170,7 +170,7 @@
170
170
  "appVersion": {
171
171
  "name": "appVersion",
172
172
  "type": "option",
173
- "description": "Version of the mobile app (default 1.0.0)",
173
+ "description": "Version of the mobile app (default 0.0.1)",
174
174
  "multiple": false
175
175
  },
176
176
  "appIcon": {
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.1.0-beta.21",
5
+ "version": "1.1.0-beta.22",
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.1.0-beta.21",
15
- "@saltcorn/common-code": "1.1.0-beta.21",
16
- "@saltcorn/data": "1.1.0-beta.21",
17
- "@saltcorn/mobile-app": "1.1.0-beta.21",
18
- "@saltcorn/mobile-builder": "1.1.0-beta.21",
19
- "@saltcorn/plugins-loader": "1.1.0-beta.21",
20
- "@saltcorn/server": "1.1.0-beta.21",
14
+ "@saltcorn/admin-models": "1.1.0-beta.22",
15
+ "@saltcorn/common-code": "1.1.0-beta.22",
16
+ "@saltcorn/data": "1.1.0-beta.22",
17
+ "@saltcorn/mobile-app": "1.1.0-beta.22",
18
+ "@saltcorn/mobile-builder": "1.1.0-beta.22",
19
+ "@saltcorn/plugins-loader": "1.1.0-beta.22",
20
+ "@saltcorn/server": "1.1.0-beta.22",
21
21
  "contractis": "^0.1.0",
22
22
  "dateformat": "^3.0.3",
23
23
  "inquirer": "^7.3.3",
@@ -200,7 +200,7 @@ BuildAppCommand.flags = {
200
200
  appVersion: Flags.string({
201
201
  name: "app version",
202
202
  string: "appVersion",
203
- description: "Version of the mobile app (default 1.0.0)",
203
+ description: "Version of the mobile app (default 0.0.1)",
204
204
  }),
205
205
  appIcon: Flags.string({
206
206
  name: "app icon",
@@ -154,8 +154,14 @@ class ReleaseResumeCommand extends Command {
154
154
  cwd: `packages/saltcorn-cli/`,
155
155
  });*/
156
156
  await publish("saltcorn-cli", "next");
157
- fs.writeFileSync(`package.json`, JSON.stringify(rootPackageJson, null, 2));
158
- // update Dockerfile
157
+ fs.writeFileSync(
158
+ `package.json`,
159
+ JSON.stringify(
160
+ { ...rootPackageJson, workspaces: ["./packages/*"] },
161
+ null,
162
+ 2
163
+ )
164
+ ); // update Dockerfile
159
165
  const dockerfile = fs.readFileSync(`Dockerfile.release`, "utf8");
160
166
  fs.writeFileSync(
161
167
  `Dockerfile.release`,