@egis/build-tools 4.0.1-pre.4 → 4.0.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/.circleci/config.yml +0 -20
- package/README.md +1 -1
- package/gulp/dependencies.js +7 -5
- package/package.json +7 -16
- package/scripts/dont-break-tests.sh +1 -1
- package/.dont-break.json +0 -17
- package/scripts/install-dont-break.sh +0 -3
- package/yarn.lock +0 -10180
package/.circleci/config.yml
CHANGED
|
@@ -15,8 +15,6 @@ test_steps: &test_steps
|
|
|
15
15
|
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum ".node-version" }}
|
|
16
16
|
- restore_cache:
|
|
17
17
|
key: yarn-cache-v2-{{ checksum "package.json" }}-{{ checksum ".node-version" }}
|
|
18
|
-
- restore_cache:
|
|
19
|
-
key: dont-break-cache-{{ checksum ".node-version" }}-{{ checksum ".dont-break.json" }}
|
|
20
18
|
- run:
|
|
21
19
|
name: initial-steps
|
|
22
20
|
command: |
|
|
@@ -32,12 +30,6 @@ test_steps: &test_steps
|
|
|
32
30
|
name: install-deps
|
|
33
31
|
command: |
|
|
34
32
|
yarn --frozen-lockfile
|
|
35
|
-
if [ "${NPM_TOKEN}" != "" ]; then
|
|
36
|
-
./scripts/install-dont-break.sh
|
|
37
|
-
cp -f .circleci/.npmrc ~
|
|
38
|
-
yarn global add --ignore-engines "@egis/egis-ui-test-utils@^3.0.0-pre.1"
|
|
39
|
-
test-utils-update-chrome
|
|
40
|
-
fi
|
|
41
33
|
- save_cache:
|
|
42
34
|
key: dependency-cache-{{ checksum "package.json" }}-{{ checksum ".node-version" }}
|
|
43
35
|
paths:
|
|
@@ -56,22 +48,10 @@ test_steps: &test_steps
|
|
|
56
48
|
name: test
|
|
57
49
|
command: |
|
|
58
50
|
yarn test
|
|
59
|
-
if [ "${NPM_TOKEN}" != "" ]; then
|
|
60
|
-
cp -f .circleci/.npmrc ~
|
|
61
|
-
dont-break --timeout 600
|
|
62
|
-
fi
|
|
63
51
|
- save_cache:
|
|
64
52
|
key: yarn-cache-v2-{{ checksum "package.json" }}-{{ checksum ".node-version" }}
|
|
65
53
|
paths:
|
|
66
54
|
- ~/.cache/yarn
|
|
67
|
-
- save_cache:
|
|
68
|
-
key: dont-break-cache-{{ checksum ".node-version" }}-{{ checksum ".dont-break.json" }}
|
|
69
|
-
paths:
|
|
70
|
-
- /tmp/egis-build-tools-v-0-0-0-semantic-release-against-egis-egis-ui
|
|
71
|
-
- /tmp/egis-build-tools-v-0-0-0-semantic-release-against-egis-esign
|
|
72
|
-
- /tmp/egis-build-tools-v-0-0-0-semantic-release-against-egis-portal-app
|
|
73
|
-
- /tmp/egis-build-tools-v-0-0-0-semantic-release-against-egis-bulk-capture
|
|
74
|
-
|
|
75
55
|
version: 2
|
|
76
56
|
jobs:
|
|
77
57
|
test8:
|
package/README.md
CHANGED
|
@@ -167,4 +167,4 @@ Run the tests:
|
|
|
167
167
|
```
|
|
168
168
|
# Put your docker's host and port here, spec file(s) mask and the spec name(s) substring.
|
|
169
169
|
yarn test:e2e -- --baseUrl="http://192.168.99.100:8080" --specFiles="./e2e/**/Guide*Spec.js" --mochaOpts.grep="too early" --maxBrowserInstances=1 --mochaOpts.retries=1
|
|
170
|
-
```
|
|
170
|
+
```
|
package/gulp/dependencies.js
CHANGED
|
@@ -39,7 +39,7 @@ module.exports = function(done) {
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
_.each(dependenciesJson.directories, function(dirs, dep) {
|
|
42
|
-
console.log('
|
|
42
|
+
console.log('copying ' + JSON.stringify(dirs) + " for " + dep);
|
|
43
43
|
|
|
44
44
|
dirs.forEach(function(dir) {
|
|
45
45
|
var base = path.join(NM, dep);
|
|
@@ -50,15 +50,17 @@ module.exports = function(done) {
|
|
|
50
50
|
.pipe(rename(function(file) {
|
|
51
51
|
file.dirname = dir.to;
|
|
52
52
|
}))
|
|
53
|
+
.pipe(debug())
|
|
53
54
|
.pipe(gulp.dest('build/'));
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
gulp.src(base + "/" + dir, {
|
|
58
59
|
base: base
|
|
59
|
-
})
|
|
60
|
+
})
|
|
61
|
+
.pipe(debug())
|
|
62
|
+
.pipe(gulp.dest('build/'));
|
|
60
63
|
});
|
|
61
|
-
|
|
62
64
|
});
|
|
63
65
|
|
|
64
66
|
if (dependenciesJson.excludes.length > 0 || dependenciesJson.standalone.length > 0) {
|
|
@@ -104,7 +106,7 @@ function depsFiles() {
|
|
|
104
106
|
var depIds = _.keys(dependenciesJson.dependencies).map(function(name) {
|
|
105
107
|
return path.join(NM, name);
|
|
106
108
|
});
|
|
107
|
-
src = gulp.src('./dependencies.json')
|
|
109
|
+
var src = gulp.src('./dependencies.json')
|
|
108
110
|
.pipe(jsonTransform(function() {
|
|
109
111
|
var res = JSON.stringify(dependenciesJson);
|
|
110
112
|
// console.log('res', res);
|
|
@@ -123,4 +125,4 @@ function depsFiles() {
|
|
|
123
125
|
options.overrides = dependenciesJson.overrides;
|
|
124
126
|
}
|
|
125
127
|
return src.pipe(mainDepsFiles(options));
|
|
126
|
-
}
|
|
128
|
+
}
|
package/package.json
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"@egis/semantic-dependents-updates-github": "1.0.6",
|
|
16
16
|
"babel": "^6.3.26",
|
|
17
17
|
"babel-core": "^6.11.4",
|
|
18
|
-
"babel-plugin-__coverage__": "^11.0.0",
|
|
19
18
|
"babel-plugin-check-es2015-constants": "^6.3.13",
|
|
20
19
|
"babel-plugin-external-helpers-2": "^6.3.13",
|
|
20
|
+
"babel-plugin-istanbul": "5.0.0",
|
|
21
21
|
"babel-plugin-transform-es2015-arrow-functions": "^6.4.0",
|
|
22
22
|
"babel-plugin-transform-es2015-block-scoped-functions": "^6.3.13",
|
|
23
23
|
"babel-plugin-transform-es2015-block-scoping": "^6.4.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"gulp-foreach": "^0.1.0",
|
|
70
70
|
"gulp-glue": "",
|
|
71
71
|
"gulp-gzip": "^1.2.0",
|
|
72
|
-
"gulp-handlebars": "
|
|
72
|
+
"gulp-handlebars": "4.0.0",
|
|
73
73
|
"gulp-if": "^2.0.0",
|
|
74
74
|
"gulp-ignore": "^2.0.1",
|
|
75
75
|
"gulp-insert": "^0.5.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"is_js": "^0.9.0",
|
|
92
92
|
"jasmine-ajax": "^3.2.0",
|
|
93
93
|
"jasmine-core": "^2.4.1",
|
|
94
|
-
"karma": "^
|
|
94
|
+
"karma": "^2.0.0",
|
|
95
95
|
"karma-browserify": "^5.0.0",
|
|
96
96
|
"karma-chrome-launcher": "^0.2.2",
|
|
97
97
|
"karma-coffee-preprocessor": "^0.3.0",
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
"karma-json-fixtures-preprocessor": "0.0.5",
|
|
104
104
|
"karma-junit-reporter": "^1.2.0",
|
|
105
105
|
"karma-sourcemap-loader": "^0.3.6",
|
|
106
|
-
"karma-systemjs": "
|
|
106
|
+
"karma-systemjs": "0.15.0",
|
|
107
107
|
"karma-testingbot-launcher": "^1.0.1",
|
|
108
108
|
"karma-verbose-reporter": "^0.0.3",
|
|
109
109
|
"karma-webdriver-launcher": "^1.0.4",
|
|
110
110
|
"lazypipe": "^1.0.1",
|
|
111
|
-
"lodash": "^4.17.
|
|
111
|
+
"lodash": "^4.17.11",
|
|
112
112
|
"loglevel": "^1.5.1",
|
|
113
113
|
"main-bower-files": "^2.13.1",
|
|
114
114
|
"merge-stream": "^1.0.0",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"unzip": "^0.1.11",
|
|
135
135
|
"vinyl-buffer": "^1.0.0",
|
|
136
136
|
"vinyl-source-stream": "^1.1.0",
|
|
137
|
-
"watchify": "^3.
|
|
137
|
+
"watchify": "^3.11.1",
|
|
138
138
|
"wd": "^1.11.1",
|
|
139
139
|
"wdio-mocha-framework": "^0.5.4",
|
|
140
140
|
"wdio-spec-reporter": "^0.1.4",
|
|
@@ -160,16 +160,7 @@
|
|
|
160
160
|
"analyzeCommits": "freeform-semantic-commit-analyzer",
|
|
161
161
|
"verifyConditions": "condition-circle"
|
|
162
162
|
},
|
|
163
|
-
"
|
|
164
|
-
"dependents": {
|
|
165
|
-
"@egis/egis-ui": "git@github.com:egis/EgisUI.git",
|
|
166
|
-
"@egis/esign": "git@github.com:egis/eSign.git",
|
|
167
|
-
"@egis/portal-app": "git@github.com:egis/Portal.git",
|
|
168
|
-
"@egis/bulk-capture": "git@github.com:egis/BulkCapture.git"
|
|
169
|
-
},
|
|
170
|
-
"branchNameBase": "autoupdate-build-tools"
|
|
171
|
-
},
|
|
172
|
-
"version": "4.0.1-pre.4",
|
|
163
|
+
"version": "4.0.1",
|
|
173
164
|
"engines": {
|
|
174
165
|
"node": ">= 4.2.6"
|
|
175
166
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# note that this is executed from client project folder, after `npm install`
|
|
2
|
-
|
|
2
|
+
yarn build && yarn test:build && yarn test -- --browsers=Chrome --reporters=junit,html,verbose
|
package/.dont-break.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"pretest": false,
|
|
3
|
-
"install": "$CURRENT_MODULE_DIR/scripts/install-if-not-there.sh",
|
|
4
|
-
"postinstall": "yarn --ignore-engines",
|
|
5
|
-
"test": "./node_modules/@egis/build-tools/scripts/dont-break-tests.sh",
|
|
6
|
-
"currentModuleInstall": "yarn-link",
|
|
7
|
-
"projects": [
|
|
8
|
-
"@egis/egis-ui@^4.70.5-pre.1",
|
|
9
|
-
"@egis/esign@^2.20.2-pre.1",
|
|
10
|
-
"@egis/portal-app@^1.17.1-pre.1",
|
|
11
|
-
"@egis/bulk-capture@^1.2.6-pre.1",
|
|
12
|
-
{
|
|
13
|
-
"name": "@egis/egis-ui-test-utils@^3.0.0-pre.1",
|
|
14
|
-
"test": "npm run build"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
}
|