@saltcorn/cli 0.7.2-beta.0 → 0.7.2-beta.10
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/README.md +244 -49
- package/oclif.manifest.json +1 -1
- package/package.json +10 -7
- package/src/commands/add-schema.js +23 -1
- package/src/commands/backup.js +7 -3
- package/src/commands/create-user.js +14 -8
- package/src/commands/delete-tenants.js +24 -20
- package/src/commands/delete-user.js +105 -0
- package/src/commands/get-cfg.js +63 -0
- package/src/commands/modify-user.js +163 -0
- package/src/commands/release.js +20 -9
- package/src/commands/reset-schema.js +11 -2
- package/src/commands/restore.js +5 -0
- package/src/commands/rm-tenant.js +39 -6
- package/src/commands/run-tests.js +44 -16
- package/src/commands/setup.js +48 -23
- package/src/common.js +13 -5
- package/src/index.js +9 -2
- package/CHANGELOG.md +0 -8
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @module commands/rm-tenant
|
|
4
4
|
*/
|
|
5
5
|
const { Command, flags } = require("@oclif/command");
|
|
6
|
+
const {cli} = require("cli-ux");
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* RmTenantCommand Class
|
|
@@ -14,9 +15,23 @@ class RmTenantCommand extends Command {
|
|
|
14
15
|
* @returns {Promise<void>}
|
|
15
16
|
*/
|
|
16
17
|
async run() {
|
|
17
|
-
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
const { flags } = this.parse(RmTenantCommand);
|
|
21
|
+
|
|
18
22
|
const { deleteTenant } = require("@saltcorn/admin-models/models/tenant");
|
|
19
|
-
|
|
23
|
+
|
|
24
|
+
if (!flags.force) {
|
|
25
|
+
const ans = await cli.confirm(
|
|
26
|
+
`This will delete tenant ${flags.tenant}. Attention! All tenant data will be lost!\nContinue (y/n)?`);
|
|
27
|
+
if (!ans) {
|
|
28
|
+
console.log(`Success: Command execution canceled`);
|
|
29
|
+
this.exit(1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
// make changes
|
|
33
|
+
await deleteTenant(flags.tenant);
|
|
34
|
+
|
|
20
35
|
this.exit(0);
|
|
21
36
|
}
|
|
22
37
|
}
|
|
@@ -24,18 +39,36 @@ class RmTenantCommand extends Command {
|
|
|
24
39
|
/**
|
|
25
40
|
* @type {object}
|
|
26
41
|
*/
|
|
27
|
-
RmTenantCommand.args = [
|
|
42
|
+
RmTenantCommand.args = []; /*[
|
|
28
43
|
{ name: "tenant", required: true, description: "Tenant to remove" },
|
|
29
44
|
];
|
|
30
|
-
|
|
45
|
+
*/
|
|
31
46
|
/**
|
|
32
47
|
* @type {string}
|
|
33
48
|
*/
|
|
34
|
-
RmTenantCommand.description = `Remove a tenant
|
|
49
|
+
RmTenantCommand.description = `Remove a tenant.
|
|
50
|
+
Attention! All tenant data will be lost!
|
|
51
|
+
It recommended to make backup of tenant before perform this command.
|
|
52
|
+
`;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @type {object}
|
|
56
|
+
*/
|
|
57
|
+
RmTenantCommand.help = `Remove a tenant.
|
|
58
|
+
Attention! All tenant data will be lost!
|
|
59
|
+
It recommended to make backup of tenant before perform this command.
|
|
60
|
+
`;
|
|
35
61
|
|
|
36
62
|
/**
|
|
37
63
|
* @type {object}
|
|
38
64
|
*/
|
|
39
|
-
RmTenantCommand.flags = {
|
|
65
|
+
RmTenantCommand.flags = {
|
|
66
|
+
force: flags.boolean({ char: "f", description: "force command execution" }),
|
|
67
|
+
tenant: flags.string({
|
|
68
|
+
char: "t",
|
|
69
|
+
description: "tenant",
|
|
70
|
+
required: true,
|
|
71
|
+
}),
|
|
72
|
+
};
|
|
40
73
|
|
|
41
74
|
module.exports = RmTenantCommand;
|
|
@@ -32,26 +32,34 @@ class RunTestsCommand extends Command {
|
|
|
32
32
|
return res;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
* @returns {Promise<void>}
|
|
39
|
-
*/
|
|
40
|
-
async e2etest(env) {
|
|
35
|
+
async prepareTestServer(env, port) {
|
|
36
|
+
let serverEnv = JSON.parse(JSON.stringify(env));
|
|
37
|
+
serverEnv.SQLITE_FILEPATH = "/tmp/sctestdb_server";
|
|
41
38
|
spawnSync("packages/saltcorn-cli/bin/saltcorn", ["fixtures", "-r"], {
|
|
42
39
|
stdio: "inherit",
|
|
43
|
-
env,
|
|
40
|
+
env: serverEnv,
|
|
44
41
|
});
|
|
45
42
|
|
|
46
43
|
const server = spawn(
|
|
47
44
|
"packages/saltcorn-cli/bin/saltcorn",
|
|
48
|
-
["serve", "-p",
|
|
45
|
+
["serve", "-p", port],
|
|
49
46
|
{
|
|
50
47
|
stdio: "inherit",
|
|
51
|
-
env,
|
|
48
|
+
env: serverEnv,
|
|
52
49
|
}
|
|
53
50
|
);
|
|
54
51
|
await sleep(2000);
|
|
52
|
+
return server;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @param {*} env
|
|
58
|
+
* @returns {Promise<void>}
|
|
59
|
+
*/
|
|
60
|
+
async e2etest(env) {
|
|
61
|
+
const port = 2987;
|
|
62
|
+
const server = await this.prepareTestServer(env, port);
|
|
55
63
|
const res = await this.do_test(
|
|
56
64
|
"npm",
|
|
57
65
|
["run", "gotest"],
|
|
@@ -63,6 +71,23 @@ class RunTestsCommand extends Command {
|
|
|
63
71
|
if (res.status !== 0) this.exit(res.status);
|
|
64
72
|
}
|
|
65
73
|
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @param {*} env
|
|
77
|
+
*/
|
|
78
|
+
async remoteQueryTest(env, jestParams) {
|
|
79
|
+
const port = 3000;
|
|
80
|
+
env.jwt_secret = require("@saltcorn/data/db").connectObj.jwt_secret;
|
|
81
|
+
const server = await this.prepareTestServer(env, port);
|
|
82
|
+
const res = await this.do_test(
|
|
83
|
+
"npm",
|
|
84
|
+
["run", "remote-queries-test", ...jestParams],
|
|
85
|
+
env,
|
|
86
|
+
"packages/saltcorn-data"
|
|
87
|
+
);
|
|
88
|
+
server.kill();
|
|
89
|
+
if (res.status !== 0) this.exit(res.status);
|
|
90
|
+
}
|
|
66
91
|
/**
|
|
67
92
|
*
|
|
68
93
|
* @param {object} args
|
|
@@ -91,9 +116,6 @@ class RunTestsCommand extends Command {
|
|
|
91
116
|
this.validateCall(args, flags);
|
|
92
117
|
var env;
|
|
93
118
|
|
|
94
|
-
spawnSync("npm", ["run", "tsc"], {
|
|
95
|
-
stdio: "inherit",
|
|
96
|
-
});
|
|
97
119
|
const db = require("@saltcorn/data/db");
|
|
98
120
|
if (db.isSQLite) {
|
|
99
121
|
const testdbpath = "/tmp/sctestdb";
|
|
@@ -103,6 +125,9 @@ class RunTestsCommand extends Command {
|
|
|
103
125
|
await db.changeConnection({ database: "saltcorn_test" });
|
|
104
126
|
env = { ...process.env, PGDATABASE: "saltcorn_test" };
|
|
105
127
|
}
|
|
128
|
+
spawnSync("npm", ["run", "tsc"], {
|
|
129
|
+
stdio: "inherit",
|
|
130
|
+
});
|
|
106
131
|
const fixtures = require("@saltcorn/data/db/fixtures");
|
|
107
132
|
const reset = require("@saltcorn/data/db/reset_schema");
|
|
108
133
|
await reset();
|
|
@@ -123,17 +148,20 @@ class RunTestsCommand extends Command {
|
|
|
123
148
|
}
|
|
124
149
|
if (args.package === "core") {
|
|
125
150
|
await this.do_test("npm", ["run", "test", ...jestParams], env);
|
|
151
|
+
} else if (args.package === "view-queries") {
|
|
152
|
+
await this.remoteQueryTest(env, jestParams);
|
|
126
153
|
} else if (args.package === "e2e") {
|
|
127
154
|
await this.e2etest(env);
|
|
128
155
|
} else if (args.package) {
|
|
129
156
|
const cwd = "packages/" + args.package;
|
|
130
157
|
await this.do_test("npm", ["run", "test", ...jestParams], env, cwd);
|
|
131
158
|
} else {
|
|
132
|
-
const
|
|
159
|
+
const cwd = ".";
|
|
133
160
|
await this.do_test(
|
|
134
|
-
|
|
135
|
-
["
|
|
136
|
-
env
|
|
161
|
+
"npm",
|
|
162
|
+
["--workspaces", "run", "test", ...jestParams],
|
|
163
|
+
env,
|
|
164
|
+
cwd
|
|
137
165
|
);
|
|
138
166
|
//await this.e2etest(env);
|
|
139
167
|
}
|
package/src/commands/setup.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Set up new saltcorn configuration
|
|
2
3
|
* @category saltcorn-cli
|
|
3
4
|
* @module commands/setup
|
|
4
5
|
*/
|
|
@@ -14,22 +15,32 @@ const { is } = require("contractis");
|
|
|
14
15
|
const path = require("path");
|
|
15
16
|
const fs = require("fs");
|
|
16
17
|
const inquirer = require("inquirer");
|
|
17
|
-
|
|
18
|
+
const tcpPortUsed = require("tcp-port-used");
|
|
18
19
|
const { spawnSync } = require("child_process");
|
|
19
|
-
|
|
20
|
+
const sudo = require("sudo");
|
|
21
|
+
const crypto = require("crypto");
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
24
|
+
* Generate password for user
|
|
23
25
|
* @returns {string}
|
|
24
26
|
*/
|
|
27
|
+
// todo deduplicate code - the same function in User
|
|
25
28
|
const gen_password = () => {
|
|
26
29
|
const s = is.str.generate().replace(" ", "");
|
|
27
30
|
if (s.length > 7) return s;
|
|
28
31
|
else return gen_password();
|
|
29
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Generate jwt secret
|
|
35
|
+
* @returns {string}
|
|
36
|
+
*/
|
|
37
|
+
const genJwtSecret = () => {
|
|
38
|
+
return crypto.randomBytes(64).toString("hex");
|
|
39
|
+
};
|
|
30
40
|
|
|
31
41
|
/**
|
|
32
|
-
*
|
|
42
|
+
* Ask for platform run mode (dev - run manually, server - run as system service)
|
|
43
|
+
*
|
|
33
44
|
* @returns {Promise<object>}
|
|
34
45
|
*/
|
|
35
46
|
const askDevServer = async () => {
|
|
@@ -58,8 +69,8 @@ const askDevServer = async () => {
|
|
|
58
69
|
};
|
|
59
70
|
|
|
60
71
|
/**
|
|
61
|
-
*
|
|
62
|
-
* @param {*} mod
|
|
72
|
+
* Unload module
|
|
73
|
+
* @param {*} mod
|
|
63
74
|
*/
|
|
64
75
|
const unloadModule = (mod) => {
|
|
65
76
|
var name = require.resolve(mod);
|
|
@@ -67,13 +78,19 @@ const unloadModule = (mod) => {
|
|
|
67
78
|
};
|
|
68
79
|
|
|
69
80
|
/**
|
|
81
|
+
* Set up platform run mode (dev - run manually, server - run as system service)
|
|
70
82
|
* @returns {Promise<void>}
|
|
71
83
|
*/
|
|
72
84
|
const setupDevMode = async () => {
|
|
73
85
|
const dbPath = path.join(defaultDataPath, "scdb.sqlite");
|
|
74
86
|
fs.promises.mkdir(defaultDataPath, { recursive: true });
|
|
75
87
|
const session_secret = gen_password();
|
|
76
|
-
|
|
88
|
+
const jwt_secret = genJwtSecret();
|
|
89
|
+
await write_connection_config({
|
|
90
|
+
sqlite_path: dbPath,
|
|
91
|
+
session_secret,
|
|
92
|
+
jwt_secret,
|
|
93
|
+
});
|
|
77
94
|
|
|
78
95
|
if (!fs.existsSync(dbPath)) {
|
|
79
96
|
unloadModule("@saltcorn/data/db");
|
|
@@ -85,6 +102,8 @@ const setupDevMode = async () => {
|
|
|
85
102
|
};
|
|
86
103
|
|
|
87
104
|
/**
|
|
105
|
+
* Check for locally running database (ip 127.0.0.1, port 5432)
|
|
106
|
+
*
|
|
88
107
|
* @returns {Promise<void>}
|
|
89
108
|
*/
|
|
90
109
|
const check_db = async () => {
|
|
@@ -115,8 +134,8 @@ const check_db = async () => {
|
|
|
115
134
|
};
|
|
116
135
|
|
|
117
136
|
/**
|
|
118
|
-
*
|
|
119
|
-
* @param {*} args
|
|
137
|
+
* Execute Linux commands
|
|
138
|
+
* @param {*} args
|
|
120
139
|
* @returns {Promise<void>}
|
|
121
140
|
*/
|
|
122
141
|
const asyncSudo = (args) => {
|
|
@@ -136,8 +155,8 @@ const asyncSudo = (args) => {
|
|
|
136
155
|
};
|
|
137
156
|
|
|
138
157
|
/**
|
|
139
|
-
*
|
|
140
|
-
* @param {*} args
|
|
158
|
+
* Execute Postgres commands
|
|
159
|
+
* @param {*} args
|
|
141
160
|
* @returns {Promise<void>}
|
|
142
161
|
*/
|
|
143
162
|
const asyncSudoPostgres = (args) => {
|
|
@@ -145,8 +164,8 @@ const asyncSudoPostgres = (args) => {
|
|
|
145
164
|
};
|
|
146
165
|
|
|
147
166
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @param {string} for_who
|
|
167
|
+
* Ask for passworf
|
|
168
|
+
* @param {string} for_who
|
|
150
169
|
* @returns {Promise<string>}
|
|
151
170
|
*/
|
|
152
171
|
const get_password = async (for_who) => {
|
|
@@ -163,6 +182,7 @@ const get_password = async (for_who) => {
|
|
|
163
182
|
};
|
|
164
183
|
|
|
165
184
|
/**
|
|
185
|
+
* Install Database
|
|
166
186
|
* @returns {Promise<void>}
|
|
167
187
|
*/
|
|
168
188
|
const install_db = async () => {
|
|
@@ -204,6 +224,7 @@ const install_db = async () => {
|
|
|
204
224
|
`ALTER SCHEMA public OWNER TO ${user};`,
|
|
205
225
|
]);
|
|
206
226
|
const session_secret = await get_password("session secret");
|
|
227
|
+
const jwt_secret = genJwtSecret();
|
|
207
228
|
await write_connection_config({
|
|
208
229
|
host: "localhost",
|
|
209
230
|
port: 5432,
|
|
@@ -211,12 +232,13 @@ const install_db = async () => {
|
|
|
211
232
|
user,
|
|
212
233
|
password: scpass,
|
|
213
234
|
session_secret,
|
|
235
|
+
jwt_secret,
|
|
214
236
|
multi_tenant: false,
|
|
215
237
|
});
|
|
216
238
|
};
|
|
217
239
|
|
|
218
240
|
/**
|
|
219
|
-
*
|
|
241
|
+
* Ask for Database parameters
|
|
220
242
|
* @returns {Promise<object>}
|
|
221
243
|
*/
|
|
222
244
|
const prompt_connection = async () => {
|
|
@@ -236,6 +258,7 @@ const prompt_connection = async () => {
|
|
|
236
258
|
required: true,
|
|
237
259
|
});
|
|
238
260
|
const session_secret = await get_password("session secret");
|
|
261
|
+
const jwt_secret = genJwtSecret();
|
|
239
262
|
return {
|
|
240
263
|
host: host || "localhost",
|
|
241
264
|
port: port || 5432,
|
|
@@ -243,11 +266,13 @@ const prompt_connection = async () => {
|
|
|
243
266
|
user: user || "saltcorn",
|
|
244
267
|
password: password,
|
|
245
268
|
session_secret,
|
|
269
|
+
jwt_secret,
|
|
246
270
|
multi_tenant: false,
|
|
247
271
|
};
|
|
248
272
|
};
|
|
249
273
|
|
|
250
274
|
/**
|
|
275
|
+
* Write platform config
|
|
251
276
|
* @returns {Promise<void>}
|
|
252
277
|
*/
|
|
253
278
|
const setup_connection_config = async () => {
|
|
@@ -256,8 +281,8 @@ const setup_connection_config = async () => {
|
|
|
256
281
|
};
|
|
257
282
|
|
|
258
283
|
/**
|
|
259
|
-
*
|
|
260
|
-
* @param {object} connobj
|
|
284
|
+
*
|
|
285
|
+
* @param {object} connobj
|
|
261
286
|
* @returns {Promise<void>}
|
|
262
287
|
*/
|
|
263
288
|
const write_connection_config = async (connobj) => {
|
|
@@ -290,16 +315,16 @@ const setup_connection = async () => {
|
|
|
290
315
|
};
|
|
291
316
|
|
|
292
317
|
/**
|
|
293
|
-
*
|
|
294
|
-
* @param {object} db
|
|
295
|
-
* @param {string} tblname
|
|
318
|
+
*
|
|
319
|
+
* @param {object} db
|
|
320
|
+
* @param {string} tblname
|
|
296
321
|
* @returns {Promise<boolean>}
|
|
297
322
|
*/
|
|
298
323
|
const table_exists = async (db, tblname) => {
|
|
299
|
-
const { rows } = await db.query(`SELECT EXISTS
|
|
324
|
+
const { rows } = await db.query(`SELECT EXISTS
|
|
300
325
|
(
|
|
301
326
|
SELECT 1
|
|
302
|
-
FROM information_schema.tables
|
|
327
|
+
FROM information_schema.tables
|
|
303
328
|
WHERE table_schema = 'public'
|
|
304
329
|
AND table_name = '${tblname}'
|
|
305
330
|
);`);
|
|
@@ -346,7 +371,7 @@ class SetupCommand extends Command {
|
|
|
346
371
|
* @returns {Promise<void>}
|
|
347
372
|
*/
|
|
348
373
|
async run() {
|
|
349
|
-
console.log("Run
|
|
374
|
+
console.log("Run setup");
|
|
350
375
|
const mode = await askDevServer();
|
|
351
376
|
if (mode == "server") {
|
|
352
377
|
// check if i already know how to connect
|
|
@@ -367,7 +392,7 @@ class SetupCommand extends Command {
|
|
|
367
392
|
*/
|
|
368
393
|
SetupCommand.description = `Set up a new system
|
|
369
394
|
...
|
|
370
|
-
This will attempt to install or connect a database, and set up a
|
|
395
|
+
This will attempt to install or connect a database, and set up a
|
|
371
396
|
configuration file
|
|
372
397
|
`;
|
|
373
398
|
|
package/src/common.js
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
* @category saltcorn-cli
|
|
3
3
|
* @module common
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
// todo need to be reorganized
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {
|
|
7
|
+
* Execute function for specified tenant
|
|
8
|
+
* @param {object} ten - specified tenant
|
|
9
|
+
* @param {function} f - function
|
|
9
10
|
* @returns {Promise<void>}
|
|
10
11
|
*/
|
|
11
12
|
const maybe_as_tenant = async (ten, f) => {
|
|
@@ -13,7 +14,11 @@ const maybe_as_tenant = async (ten, f) => {
|
|
|
13
14
|
const db = require("@saltcorn/data/db");
|
|
14
15
|
return await db.runWithTenant(ten, f);
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Init specified tenant
|
|
19
|
+
* @param tenant - specified tenant
|
|
20
|
+
* @returns {Promise<void>}
|
|
21
|
+
*/
|
|
17
22
|
const init_some_tenants = async (tenant) => {
|
|
18
23
|
const { loadAllPlugins } = require("@saltcorn/server/load_plugins");
|
|
19
24
|
const { init_multi_tenant } = require("@saltcorn/data/db/state");
|
|
@@ -24,6 +29,7 @@ const init_some_tenants = async (tenant) => {
|
|
|
24
29
|
};
|
|
25
30
|
|
|
26
31
|
/**
|
|
32
|
+
* parse JSON or String
|
|
27
33
|
* @param {string} s
|
|
28
34
|
* @returns {object}
|
|
29
35
|
*/
|
|
@@ -36,12 +42,14 @@ const parseJSONorString = (s) => {
|
|
|
36
42
|
};
|
|
37
43
|
|
|
38
44
|
/**
|
|
39
|
-
*
|
|
45
|
+
* Sleep ms miliseconds
|
|
46
|
+
* @param {number} ms
|
|
40
47
|
* @returns {Promise<void>}
|
|
41
48
|
*/
|
|
42
49
|
function sleep(ms) {
|
|
43
50
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
44
51
|
}
|
|
52
|
+
|
|
45
53
|
module.exports = {
|
|
46
54
|
maybe_as_tenant,
|
|
47
55
|
parseJSONorString,
|
package/src/index.js
CHANGED
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* @property {module:commands/backup} backup
|
|
11
11
|
* @property {module:commands/create-tenant} create-tenant
|
|
12
12
|
* @property {module:commands/create-user} create-user
|
|
13
|
+
* @property {module:commands/create-user} delete-tenants
|
|
14
|
+
* @property {module:commands/create-user} delete-user
|
|
13
15
|
* @property {module:commands/fixtures} fixtures
|
|
16
|
+
* @property {module:commands/fixtures} get-cfg
|
|
14
17
|
* @property {module:commands/info} info
|
|
15
18
|
* @property {module:commands/install-pack} install-pack
|
|
16
19
|
* @property {module:commands/install-plugin} install-plugin
|
|
@@ -18,17 +21,21 @@
|
|
|
18
21
|
* @property {module:commands/localize-plugin} localize-plugin
|
|
19
22
|
* @property {module:commands/make-migration} make-migration
|
|
20
23
|
* @property {module:commands/migrate} migrate
|
|
24
|
+
* @property {module:commands/modify-user} modify-user
|
|
21
25
|
* @property {module:commands/plugins} plugins
|
|
22
26
|
* @property {module:commands/release} release
|
|
23
27
|
* @property {module:commands/reset-schema} reset-schema
|
|
24
28
|
* @property {module:commands/restore} restore
|
|
25
29
|
* @property {module:commands/rm-tenant} rm-tenant
|
|
26
30
|
* @property {module:commands/run-benchmark} run-benchmark
|
|
31
|
+
* @property {module:commands/run-benchmark} run-test
|
|
32
|
+
* @property {module:commands/setup} scheduler
|
|
27
33
|
* @property {module:commands/setup} setup
|
|
34
|
+
* @property {module:commands/setup} setup-benchmark
|
|
28
35
|
* @property {module:commands/test-plugin} test-plugin
|
|
29
36
|
* @property {module:commands/transform-field} transform-field
|
|
30
|
-
*
|
|
37
|
+
*
|
|
31
38
|
* @category saltcorn-cli
|
|
32
|
-
*/
|
|
39
|
+
*/
|
|
33
40
|
|
|
34
41
|
module.exports = require("@oclif/command");
|
package/CHANGELOG.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
## [0.4.5](https://github.com/saltcorn/saltcorn/compare/v0.4.5-beta.1...v0.4.5) (2021-05-07)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @saltcorn/cli
|