cloudron 5.3.1 → 5.3.3

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/bin/cloudron CHANGED
@@ -301,7 +301,7 @@ program.command('update')
301
301
  .option('--app <id/location>', 'App id or location')
302
302
  .option('--appstore-id <appid[@version]>', 'Use app from the store')
303
303
  .option('--image <docker image>', 'Docker image')
304
- .option('--no-backup', 'Skip backup [false]', false)
304
+ .option('--no-backup', 'Skip backup [false]')
305
305
  .option('--no-wait', 'Wait for healthcheck to succeed [false]')
306
306
  .option('--no-force', 'Match appstore id and manifest id before updating', true)
307
307
  .action(actions.update);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudron",
3
- "version": "5.3.1",
3
+ "version": "5.3.3",
4
4
  "license": "MIT",
5
5
  "description": "Cloudron Commandline Tool",
6
6
  "main": "main.js",
@@ -10,7 +10,7 @@
10
10
  "url": "https://git.cloudron.io/cloudron/cloudron-cli.git"
11
11
  },
12
12
  "scripts": {
13
- "test": "./node_modules/.bin/mocha test/*-test.js"
13
+ "test": "./node_modules/.bin/mocha test/test.js"
14
14
  },
15
15
  "bin": {
16
16
  "cloudron": "./bin/cloudron"
@@ -18,12 +18,12 @@
18
18
  "author": "Cloudron Developers <support@cloudron.io>",
19
19
  "dependencies": {
20
20
  "async": "^3.2.4",
21
- "cloudron-manifestformat": "^5.19.1",
21
+ "cloudron-manifestformat": "^5.20.0",
22
22
  "commander": "^9.5.0",
23
23
  "debug": "^4.3.4",
24
24
  "delay": "^5.0.0",
25
25
  "easy-table": "^1.2.0",
26
- "ejs": "^3.1.8",
26
+ "ejs": "^3.1.9",
27
27
  "eventsource": "^2.0.2",
28
28
  "micromatch": "^4.0.5",
29
29
  "once": "^1.4.0",
@@ -33,7 +33,7 @@
33
33
  "readline-sync": "^1.4.10",
34
34
  "safetydance": "^2.2.0",
35
35
  "split": "^1.0.1",
36
- "superagent": "^8.0.6",
36
+ "superagent": "^8.0.9",
37
37
  "tar-fs": "https://registry.npmjs.org/tar-fs/-/tar-fs-1.12.0.tgz",
38
38
  "underscore": "^1.13.6"
39
39
  },
@@ -144,9 +144,9 @@ describe('Push', function () {
144
144
  });
145
145
 
146
146
  it('can push to directory', function () {
147
- var testFile = __dirname + '/cloudron-test.js';
147
+ var testFile = __dirname + '/test.js';
148
148
  cli(util.format('push --app %s %s /tmp/', app.id, testFile));
149
- var out = cli(util.format('exec --app %s md5sum /tmp/cloudron-test.js', app.id));
149
+ var out = cli(util.format('exec --app %s md5sum /tmp/test.js', app.id));
150
150
  expect(out.stdout).to.contain(md5(testFile));
151
151
  });
152
152
 
@@ -165,9 +165,9 @@ describe('Push', function () {
165
165
  });
166
166
 
167
167
  it('can push a directory', function () {
168
- var testDir = __dirname, testFile = __dirname + '/cloudron-test.js';
168
+ var testDir = __dirname, testFile = __dirname + '/test.js';
169
169
  cli(util.format('push --app %s %s /run', app.id, testDir));
170
- var out = cli(util.format('exec --app %s md5sum /run/' + path.basename(__dirname) + '/cloudron-test.js', app.id));
170
+ var out = cli(util.format('exec --app %s md5sum /run/' + path.basename(__dirname) + '/test.js', app.id));
171
171
  expect(out.stdout).to.contain(md5(testFile));
172
172
  });
173
173