@nebula.js/cli-sense 2.1.0 → 2.4.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/CHANGELOG.md CHANGED
@@ -3,6 +3,26 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.4.1](https://github.com/qlik-oss/nebula.js/compare/v2.4.0...v2.4.1) (2022-02-10)
7
+
8
+ **Note:** Version bump only for package @nebula.js/cli-sense
9
+
10
+ # [2.4.0](https://github.com/qlik-oss/nebula.js/compare/v2.3.1...v2.4.0) (2022-02-10)
11
+
12
+ **Note:** Version bump only for package @nebula.js/cli-sense
13
+
14
+ ## [2.3.1](https://github.com/qlik-oss/nebula.js/compare/v2.3.0...v2.3.1) (2021-12-09)
15
+
16
+ **Note:** Version bump only for package @nebula.js/cli-sense
17
+
18
+ # [2.3.0](https://github.com/qlik-oss/nebula.js/compare/v2.2.0...v2.3.0) (2021-12-06)
19
+
20
+ **Note:** Version bump only for package @nebula.js/cli-sense
21
+
22
+ # [2.2.0](https://github.com/qlik-oss/nebula.js/compare/v2.1.0...v2.2.0) (2021-11-17)
23
+
24
+ **Note:** Version bump only for package @nebula.js/cli-sense
25
+
6
26
  # [2.1.0](https://github.com/qlik-oss/nebula.js/compare/v2.0.0...v2.1.0) (2021-10-20)
7
27
 
8
28
  **Note:** Version bump only for package @nebula.js/cli-sense
@@ -84,7 +84,7 @@ async function build(argv) {
84
84
  {
85
85
  modules: false,
86
86
  targets: {
87
- browsers: ['ie 11', 'chrome 47'],
87
+ browsers: ['chrome 62'],
88
88
  },
89
89
  },
90
90
  ],
package/lib/build.js CHANGED
@@ -54,6 +54,15 @@ async function build(argv) {
54
54
  fs.writeFileSync(qextFileName, JSON.stringify(contents, null, 2));
55
55
  fs.writeFileSync(qextFileNameJs, qextjs);
56
56
 
57
+ if (qext.preview) {
58
+ const previewLocation = path.resolve(cwd, qext.preview);
59
+ if (fs.existsSync(previewLocation)) {
60
+ fs.copySync(previewLocation, path.resolve(qextLegacyTargetDir, qext.preview));
61
+ } else {
62
+ console.warn(` \x1b[33mwarn:\x1b[0m \x1b[36m${qext.preview}\x1b[0m was not found`);
63
+ }
64
+ }
65
+
57
66
  if (supernovaPkg.files) {
58
67
  [
59
68
  extDefinition ? path.basename(qextLegacyTargetDir) : false,
@@ -92,7 +101,7 @@ async function build(argv) {
92
101
  {
93
102
  modules: false,
94
103
  targets: {
95
- browsers: ['ie 11', 'chrome 47'],
104
+ browsers: ['chrome 62'],
96
105
  },
97
106
  },
98
107
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/cli-sense",
3
- "version": "2.1.0",
3
+ "version": "2.4.1",
4
4
  "description": "Build a supernova as a Qlik Sense extension",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -27,20 +27,20 @@
27
27
  "lint": "eslint src"
28
28
  },
29
29
  "dependencies": {
30
- "@babel/cli": "7.15.7",
31
- "@babel/core": "7.15.5",
32
- "@babel/preset-env": "7.15.6",
33
- "@nebula.js/stardust": "^2.1.0",
34
- "@rollup/plugin-commonjs": "20.0.0",
35
- "@rollup/plugin-node-resolve": "13.0.5",
30
+ "@babel/cli": "7.16.0",
31
+ "@babel/core": "7.16.0",
32
+ "@babel/preset-env": "7.16.4",
33
+ "@nebula.js/stardust": "^2.4.1",
34
+ "@rollup/plugin-commonjs": "21.0.1",
35
+ "@rollup/plugin-node-resolve": "13.0.6",
36
36
  "@rollup/plugin-replace": "3.0.0",
37
37
  "extend": "3.0.2",
38
38
  "fs-extra": "10.0.0",
39
39
  "node-event-emitter": "0.0.1",
40
- "rollup": "2.57.0",
40
+ "rollup": "2.60.2",
41
41
  "rollup-plugin-babel": "4.4.0",
42
42
  "rollup-plugin-terser": "7.0.2",
43
- "yargs": "17.2.1"
43
+ "yargs": "17.3.0"
44
44
  },
45
- "gitHead": "a8fa75cdd828e85879130a31ffc5c9f2a47fdfba"
45
+ "gitHead": "2e6fc2b046e7d2f8fb7bca6d035c5a5a7203bab0"
46
46
  }