@nebula.js/cli-build 4.2.4 → 4.4.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.
package/lib/build.js CHANGED
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-console */
1
2
  const path = require('path');
2
3
  const extend = require('extend');
3
4
  const yargs = require('yargs');
@@ -63,7 +64,7 @@ async function build(argv = {}) {
63
64
  if (buildConfig.watch) {
64
65
  return watch(buildConfig);
65
66
  }
66
-
67
+ console.time('Total build time');
67
68
  console.time('Generate UMD bundle');
68
69
  await umd(buildConfig);
69
70
  console.timeEnd('Generate UMD bundle');
@@ -83,6 +84,7 @@ async function build(argv = {}) {
83
84
  await esm(buildConfig, core);
84
85
  console.timeEnd('Create ESM bundle into core');
85
86
  }
87
+ console.timeEnd('Total build time');
86
88
 
87
89
  return undefined;
88
90
  }
@@ -1,3 +1,4 @@
1
+ /* eslint-disable no-console */
1
2
  const path = require('path');
2
3
  const fs = require('fs');
3
4
  // this plugin will check if there is a corresponding .native file for the input file and output the contents of the native file
package/lib/watch.js CHANGED
@@ -1,6 +1,8 @@
1
+ /* eslint-disable no-console */
2
+ const path = require('path');
3
+ const readline = require('readline');
1
4
  const chalk = require('chalk');
2
5
  const rollup = require('rollup');
3
- const readline = require('readline');
4
6
 
5
7
  const config = require('./config');
6
8
  const systemjsBehaviours = require('./systemjs');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/cli-build",
3
- "version": "4.2.4",
3
+ "version": "4.4.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "QlikTech International AB",
@@ -21,28 +21,28 @@
21
21
  "lint": "eslint src"
22
22
  },
23
23
  "dependencies": {
24
- "@babel/cli": "7.22.5",
25
- "@babel/core": "7.22.5",
24
+ "@babel/cli": "7.22.10",
25
+ "@babel/core": "7.22.10",
26
26
  "@babel/plugin-transform-react-jsx": "7.22.5",
27
- "@babel/preset-env": "7.22.5",
27
+ "@babel/preset-env": "7.22.10",
28
28
  "@rollup/plugin-babel": "6.0.3",
29
- "@rollup/plugin-commonjs": "25.0.2",
29
+ "@rollup/plugin-commonjs": "25.0.4",
30
30
  "@rollup/plugin-json": "6.0.0",
31
31
  "@rollup/plugin-node-resolve": "15.1.0",
32
32
  "@rollup/plugin-replace": "5.0.2",
33
33
  "@rollup/plugin-terser": "0.4.3",
34
34
  "chalk": "4.1.2",
35
35
  "extend": "3.0.2",
36
- "postcss": "^8.4.24",
37
- "rollup": "3.25.1",
36
+ "postcss": "^8.4.27",
37
+ "rollup": "3.28.0",
38
38
  "rollup-plugin-postcss": "4.0.2",
39
39
  "rollup-plugin-sourcemaps": "0.6.3",
40
40
  "yargs": "17.7.2"
41
41
  },
42
42
  "devDependencies": {
43
- "@rollup/plugin-typescript": "11.1.1",
43
+ "@rollup/plugin-typescript": "11.1.2",
44
44
  "tslib": "*",
45
- "typescript": ">=5.1.3"
45
+ "typescript": ">=5.1.6"
46
46
  },
47
- "gitHead": "2dd51976c2a0de9b894ce8946933dd5759773f68"
47
+ "gitHead": "e27606d0b6f5e8bb6b55ff6942af1fad6f282c6b"
48
48
  }