@nebula.js/cli-serve 2.0.0 → 2.1.0

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.
@@ -35,6 +35,10 @@ const options = {
35
35
  type: 'boolean',
36
36
  default: false,
37
37
  },
38
+ keyboardNavigation: {
39
+ type: 'boolean',
40
+ default: false,
41
+ },
38
42
  resources: {
39
43
  type: 'string',
40
44
  description: 'Path to a folder that will be served as static files under /resources',
@@ -120,6 +120,6 @@ if (!process.env.DEFAULTS) {
120
120
  module.exports = cfg({
121
121
  srcDir: path.resolve(__dirname, '../web'),
122
122
  distDir: path.resolve(__dirname, '../dist'),
123
- dev: false,
123
+ dev: process.env.NODE_ENV !== 'production',
124
124
  });
125
125
  }
@@ -135,6 +135,7 @@ module.exports = async ({
135
135
  flags: serveConfig.flags,
136
136
  themes: themes.map((theme) => theme.id),
137
137
  types: serveConfig.types,
138
+ keyboardNavigation: serveConfig.keyboardNavigation,
138
139
  });
139
140
  });
140
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/cli-serve",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -23,11 +23,12 @@
23
23
  ],
24
24
  "scripts": {
25
25
  "build": "cross-env NODE_ENV=production DEFAULTS=true webpack --config ./lib/webpack.build.js",
26
+ "build:dev": "cross-env DEFAULTS=true webpack --config ./lib/webpack.build.js",
26
27
  "lint": "eslint web",
27
28
  "prepublishOnly": "rm -rf dist && yarn run build"
28
29
  },
29
30
  "dependencies": {
30
- "@nebula.js/cli-build": "^2.0.0",
31
+ "@nebula.js/cli-build": "^2.1.0",
31
32
  "body-parser": "1.19.0",
32
33
  "chalk": "4.1.2",
33
34
  "chokidar": "3.5.2",
@@ -36,34 +37,34 @@
36
37
  "extend": "3.0.2",
37
38
  "html-webpack-plugin": "5.3.2",
38
39
  "portfinder": "1.0.28",
39
- "puppeteer": "10.2.0",
40
+ "puppeteer": "10.4.0",
40
41
  "regenerator-runtime": "0.13.9",
41
42
  "source-map-loader": "3.0.0",
42
- "webpack": "5.51.1",
43
- "webpack-dev-server": "4.1.1",
44
- "ws": "8.2.1",
45
- "yargs": "17.1.1"
43
+ "webpack": "5.55.1",
44
+ "webpack-dev-server": "4.3.0",
45
+ "ws": "8.2.2",
46
+ "yargs": "17.2.1"
46
47
  },
47
48
  "devDependencies": {
48
- "@babel/core": "7.15.0",
49
- "@babel/preset-env": "7.15.0",
49
+ "@babel/core": "7.15.5",
50
+ "@babel/preset-env": "7.15.6",
50
51
  "@babel/preset-react": "7.14.5",
51
52
  "@material-ui/core": "4.12.3",
52
- "@nebula.js/nucleus": "^2.0.0",
53
- "@nebula.js/snapshooter": "^2.0.0",
54
- "@nebula.js/stardust": "^2.0.0",
55
- "@nebula.js/ui": "^2.0.0",
53
+ "@nebula.js/nucleus": "^2.1.0",
54
+ "@nebula.js/snapshooter": "^2.1.0",
55
+ "@nebula.js/stardust": "^2.1.0",
56
+ "@nebula.js/ui": "^2.1.0",
56
57
  "autosuggest-highlight": "3.1.1",
57
58
  "babel-loader": "8.2.2",
58
59
  "d3-require": "1.2.4",
59
60
  "enigma.js": "2.7.3",
60
61
  "eslint-import-resolver-alias": "1.1.2",
61
62
  "eslint-import-resolver-webpack": "0.13.1",
62
- "monaco-editor": "0.27.0",
63
- "monaco-editor-webpack-plugin": "4.1.2",
63
+ "monaco-editor": "0.28.1",
64
+ "monaco-editor-webpack-plugin": "4.2.0",
64
65
  "react": "17.0.2",
65
66
  "react-dom": "17.0.2",
66
67
  "webpack-cli": "4.8.0"
67
68
  },
68
- "gitHead": "9d06a875064fe1b73c1f4a4cedae515bee4b64d1"
69
+ "gitHead": "a8fa75cdd828e85879130a31ffc5c9f2a47fdfba"
69
70
  }