@jsreport/jsreport-cli 3.2.3 → 4.0.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.
package/README.md CHANGED
@@ -7,6 +7,16 @@ See http://jsreport.net/learn/cli for documentation
7
7
 
8
8
  ## Changelog
9
9
 
10
+ ### 4.0.1
11
+
12
+ - fix cli .launch does not exists
13
+ - fix `jsreport.config.json` requires metadata for v4
14
+
15
+ ### 4.0.0
16
+
17
+ - minimum node.js version is now `18.15.0`
18
+ - update deps to fix npm audit
19
+
10
20
  ### 3.2.3
11
21
 
12
22
  - improve error logging
package/cli.js CHANGED
@@ -32,7 +32,9 @@ const cli = new Liftoff({
32
32
  configName: '.jsreport'
33
33
  })
34
34
 
35
- cli.launch({}, initCLI)
35
+ cli.prepare({}, (env) => {
36
+ cli.execute(env, initCLI)
37
+ })
36
38
 
37
39
  function initCLI (env) {
38
40
  const isCLIDev = process.env.JSREPORT_CLI_DEV === 'enabled'
@@ -3,6 +3,6 @@ module.exports = {
3
3
  main: './lib/cliExtension.js',
4
4
  dependencies: [],
5
5
  requires: {
6
- core: '3.x.x'
6
+ core: '4.x.x'
7
7
  }
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsreport/jsreport-cli",
3
- "version": "3.2.3",
3
+ "version": "4.0.1",
4
4
  "description": "Command line interface for jsreport",
5
5
  "keywords": [
6
6
  "jsreport",
@@ -50,14 +50,14 @@
50
50
  "test:watch": "mocha --recursive \"./test/*.spec.js\" \"./test/commands/**/*.spec.js\" --timeout 28000 --exit --watch"
51
51
  },
52
52
  "dependencies": {
53
- "@jsreport/nodejs-client": "3.0.0",
53
+ "@jsreport/nodejs-client": "4.0.0",
54
54
  "chalk": "2.4.2",
55
55
  "cliui": "7.0.4",
56
56
  "inquirer": "8.2.0",
57
57
  "ip-address": "5.8.9",
58
58
  "is-absolute-url": "2.1.0",
59
59
  "is-promise": "2.1.0",
60
- "liftoff": "3.1.0",
60
+ "liftoff": "4.0.0",
61
61
  "lockfile": "1.0.4",
62
62
  "lodash.omit": "4.5.0",
63
63
  "nanoid": "3.2.0",
@@ -65,16 +65,16 @@
65
65
  "nssocket": "0.6.0",
66
66
  "once": "1.4.0",
67
67
  "prompt": "1.3.0",
68
- "semver": "5.6.0",
68
+ "semver": "7.5.4",
69
69
  "silent-spawn": "0.4.0",
70
70
  "yargs": "17.3.1"
71
71
  },
72
72
  "devDependencies": {
73
- "@jsreport/jsreport-authentication": "3.3.2",
74
- "@jsreport/jsreport-core": "3.9.0",
75
- "@jsreport/jsreport-express": "3.5.0",
76
- "@jsreport/jsreport-fs-store": "3.2.3",
77
- "@jsreport/jsreport-handlebars": "3.2.1",
73
+ "@jsreport/jsreport-authentication": "4.0.0",
74
+ "@jsreport/jsreport-core": "4.0.0",
75
+ "@jsreport/jsreport-express": "4.0.0",
76
+ "@jsreport/jsreport-fs-store": "4.0.0",
77
+ "@jsreport/jsreport-handlebars": "4.0.0",
78
78
  "cross-env": "5.2.1",
79
79
  "execa": "1.0.0",
80
80
  "handlebars": "4.7.7",
@@ -91,7 +91,7 @@
91
91
  "winser-with-api": "1.0.2"
92
92
  },
93
93
  "engines": {
94
- "node": ">=16.11"
94
+ "node": ">=18.15"
95
95
  },
96
96
  "standard": {
97
97
  "ignore": [