@egis/build-tools 11.4.2 → 11.4.5

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/gulp/styles.js CHANGED
@@ -8,7 +8,7 @@ var plumber = require('gulp-plumber');
8
8
  var debug = require('gulp-debug');
9
9
  var sourcemaps = require('gulp-sourcemaps');
10
10
  var gzip = require('gulp-gzip');
11
- var sass = require('gulp-sass');
11
+ var sass = require('gulp-dart-sass');
12
12
  var common = require('./common');
13
13
  var rename = require('gulp-rename');
14
14
  var utils = require('../utils');
package/package.json CHANGED
@@ -9,9 +9,9 @@
9
9
  "@egis/ci-tools": "^1.0.0",
10
10
  "babel": "^6.3.26",
11
11
  "babel-core": "^6.11.4",
12
- "babel-plugin-__coverage__": "^11.0.0",
13
12
  "babel-plugin-check-es2015-constants": "^6.3.13",
14
13
  "babel-plugin-external-helpers-2": "^6.3.13",
14
+ "babel-plugin-istanbul": "^6.1.1",
15
15
  "babel-plugin-transform-es2015-arrow-functions": "^6.4.0",
16
16
  "babel-plugin-transform-es2015-block-scoped-functions": "^6.3.13",
17
17
  "babel-plugin-transform-es2015-block-scoping": "^6.4.0",
@@ -50,6 +50,7 @@
50
50
  "gulp-changed": "^4.0.2",
51
51
  "gulp-concat": "^2.6.0",
52
52
  "gulp-connect": "^5.7.0",
53
+ "gulp-dart-sass": "^1.0.2",
53
54
  "gulp-debug": "^4.0.0",
54
55
  "gulp-declare": "0.2.0",
55
56
  "gulp-directory-map": "egis/gulp-directory-map#v0.2.1-pre.1",
@@ -68,7 +69,6 @@
68
69
  "gulp-pseudoconcat-js": "egis/gulp-pseudoconcat-js#v1.3.0-pre.2",
69
70
  "gulp-rename": "^1.2.2",
70
71
  "gulp-replace": "^0.5.4",
71
- "gulp-sass": "^4.0.2",
72
72
  "gulp-sourcemaps": "^1.6.0",
73
73
  "gulp-transform": "egis/gulp-transform#v3.0.6-pre.1",
74
74
  "gulp-uglify": "^3.0.2",
@@ -103,7 +103,6 @@
103
103
  "minimatch": "^3.0.2",
104
104
  "minimist": "^1.2.0",
105
105
  "mkdirp": "^0.5.1",
106
- "node-sass": "^4.14.1",
107
106
  "optimist": "^0.6.1",
108
107
  "path-type": "^1.1.0",
109
108
  "plugin-error": "^1.0.1",
@@ -150,7 +149,7 @@
150
149
  "simple-semantic-config"
151
150
  ]
152
151
  },
153
- "version": "11.4.2",
152
+ "version": "11.4.5",
154
153
  "engines": {
155
154
  "node": ">= 8.16.0"
156
155
  }
@@ -12,35 +12,36 @@ MAX_ERRORS=int(sys.argv[3])
12
12
  failures = 0
13
13
  errors = 0
14
14
  tests = 0
15
- print "MIN_TESTS=%s MAX_FAIL=%s MAX_ERRORS=%s" % (MIN_TESTS, MAX_FAIL, MAX_ERRORS)
15
+ print("MIN_TESTS=%s MAX_FAIL=%s MAX_ERRORS=%s" % (MIN_TESTS, MAX_FAIL, MAX_ERRORS))
16
+
16
17
  for file in glob.glob('%s/*.xml' % REPORTS):
17
18
  try:
18
19
  e = xml.etree.ElementTree.parse(file).getroot()
19
20
  error= int(e.get('errors'))
20
21
  if error > 0:
21
- print file + " errors "
22
+ print(file + " errors ")
22
23
  failures += int(e.get('failures'))
23
24
  errors += int(e.get('errors'))
24
25
  tests += int(e.get('tests'))
25
26
  for tc in e.iter('testcase'):
26
27
  tests -= len(tc.findall('skipped'))
27
- except Exception,e:
28
+ except (Exception, e) as errors:
28
29
  errors += 1
29
- print "Failed to parse " + file
30
+ print("Failed to parse " + file)
30
31
 
31
- print "tests=%s failures=%s errors=%s" % (tests, failures, errors)
32
+ print("tests=%s failures=%s errors=%s" % (tests, failures, errors))
32
33
 
33
34
 
34
35
  if (errors > MAX_ERRORS):
35
- print "too many errors"
36
+ print("too many errors")
36
37
 
37
38
  if (tests < MIN_TESTS):
38
- print "too few tests run %s < %s " % (tests, MIN_TESTS)
39
+ print("too few tests run %s < %s " % (tests, MIN_TESTS))
39
40
  sys.exit(1)
40
41
 
41
42
 
42
43
  if (failures > MAX_FAIL):
43
- print "too many failures"
44
+ print("too many failures")
44
45
  sys.exit(1)
45
46
 
46
47
  sys.exit(0)
package/wdio.conf.js CHANGED
@@ -119,6 +119,7 @@ module.exports = {
119
119
  //
120
120
  // Default request retries count
121
121
  connectionRetryCount: 3,
122
+ waitforInterval: 500,
122
123
  //
123
124
  // Initialize the browser instance with a WebdriverIO plugin. The object should have the
124
125
  // plugin name as key and the desired plugin options as properties. Make sure you have