@egis/build-tools 11.4.9 → 11.6.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/.circleci/deps-cache-key.txt +467 -262
- package/gulp/bundle.js +2 -2
- package/gulp/dependencies.js +2 -2
- package/package.json +2 -2
- package/wdio.conf.js +1 -1
package/gulp/bundle.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
var gulp = require('gulp');
|
|
6
6
|
var sourcemaps = require('gulp-sourcemaps');
|
|
7
7
|
var concat = require('gulp-concat');
|
|
8
|
-
|
|
8
|
+
const terser = require('gulp-terser');
|
|
9
9
|
var gzip = require('gulp-gzip');
|
|
10
10
|
var common = require('./common');
|
|
11
11
|
var fixSourcemaps = require('./rollup/fix-sourcemaps');
|
|
@@ -33,7 +33,7 @@ gulp.task('do-bundle-main', ['compile-main', 'templates', 'fix-main-sourcemaps']
|
|
|
33
33
|
.pipe(common.replaceAll());
|
|
34
34
|
|
|
35
35
|
if (prod) {
|
|
36
|
-
res = res.pipe(
|
|
36
|
+
res = res.pipe(terser({mangle: false}));
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
res = res.pipe(concat(common.bundles.main))
|
package/gulp/dependencies.js
CHANGED
|
@@ -6,8 +6,8 @@ var path = require('path');
|
|
|
6
6
|
var gulp = require('gulp');
|
|
7
7
|
var noop = require("gulp-noop");
|
|
8
8
|
var filter = require('gulp-filter');
|
|
9
|
-
var uglify = require('gulp-uglify');
|
|
10
9
|
var gulpif = require('gulp-if');
|
|
10
|
+
const terser = require('gulp-terser');
|
|
11
11
|
var sourcemaps = require('gulp-sourcemaps');
|
|
12
12
|
var ignore = require('gulp-ignore');
|
|
13
13
|
var debug = require('gulp-debug');
|
|
@@ -83,7 +83,7 @@ function depsConcat(expr, name, toUglify, prepend) {
|
|
|
83
83
|
.pipe(filter('**/*.js'))
|
|
84
84
|
.pipe(debug())
|
|
85
85
|
.pipe(sourcemaps.init())
|
|
86
|
-
.pipe(gulpif(toUglify,
|
|
86
|
+
.pipe(gulpif(toUglify, terser({
|
|
87
87
|
mangle: false
|
|
88
88
|
})))
|
|
89
89
|
.pipe(concat(name + '.js'))
|
package/package.json
CHANGED
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"gulp-rename": "^1.2.2",
|
|
71
71
|
"gulp-replace": "^0.5.4",
|
|
72
72
|
"gulp-sourcemaps": "^1.6.0",
|
|
73
|
+
"gulp-terser": "^1.4.0",
|
|
73
74
|
"gulp-transform": "egis/gulp-transform#v3.0.6-pre.1",
|
|
74
|
-
"gulp-uglify": "^3.0.2",
|
|
75
75
|
"gulp-watch": "^5.0.1",
|
|
76
76
|
"gulp-wrap": "^0.15.0",
|
|
77
77
|
"gulp-zip": "^5.0.1",
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"simple-semantic-config"
|
|
151
151
|
]
|
|
152
152
|
},
|
|
153
|
-
"version": "11.
|
|
153
|
+
"version": "11.6.0",
|
|
154
154
|
"engines": {
|
|
155
155
|
"node": ">= 8.16.0"
|
|
156
156
|
}
|
package/wdio.conf.js
CHANGED
|
@@ -96,7 +96,7 @@ module.exports = {
|
|
|
96
96
|
// By default WebdriverIO commands are executed in a synchronous way using
|
|
97
97
|
// the wdio-sync package. If you still want to run your tests in an async way
|
|
98
98
|
// e.g. using promises you can set the sync option to false.
|
|
99
|
-
sync:
|
|
99
|
+
sync: false,
|
|
100
100
|
//
|
|
101
101
|
logLevel: logLevel,
|
|
102
102
|
//
|