@jsreport/jsreport-cli 4.0.0 → 4.0.2

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,15 @@ See http://jsreport.net/learn/cli for documentation
7
7
 
8
8
  ## Changelog
9
9
 
10
+ ### 4.0.2
11
+
12
+ - update nodejs-client to fix npm audit
13
+
14
+ ### 4.0.1
15
+
16
+ - fix cli .launch does not exists
17
+ - fix `jsreport.config.json` requires metadata for v4
18
+
10
19
  ### 4.0.0
11
20
 
12
21
  - minimum node.js version is now `18.15.0`
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": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "Command line interface for jsreport",
5
5
  "keywords": [
6
6
  "jsreport",
@@ -50,7 +50,7 @@
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": "4.0.0",
53
+ "@jsreport/nodejs-client": "4.0.1",
54
54
  "chalk": "2.4.2",
55
55
  "cliui": "7.0.4",
56
56
  "inquirer": "8.2.0",
@@ -70,16 +70,16 @@
70
70
  "yargs": "17.3.1"
71
71
  },
72
72
  "devDependencies": {
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",
73
+ "@jsreport/jsreport-authentication": "4.0.1",
74
+ "@jsreport/jsreport-core": "4.1.0",
75
+ "@jsreport/jsreport-express": "4.0.1",
76
+ "@jsreport/jsreport-fs-store": "4.0.1",
77
+ "@jsreport/jsreport-handlebars": "4.0.1",
78
78
  "cross-env": "5.2.1",
79
79
  "execa": "1.0.0",
80
80
  "handlebars": "4.7.7",
81
81
  "mkdirp": "0.5.5",
82
- "mocha": "5.2.0",
82
+ "mocha": "10.1.0",
83
83
  "node.extend.without.arrays": "1.1.6",
84
84
  "rimraf": "2.6.3",
85
85
  "should": "13.2.3",