@egis/build-tools 11.7.1 → 11.8.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 +78 -14
- package/README.md +6 -2
- package/gulp/common.js +3 -1
- package/gulp/package.js +2 -4
- package/package.json +1 -1
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
# yarn lockfile v1
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
"@asamuzakjp/css-color@^3.2.0":
|
|
6
|
+
version "3.2.0"
|
|
7
|
+
resolved "https://registry.yarnpkg.com/@asamuzakjp/css-color/-/css-color-3.2.0.tgz#cc42f5b85c593f79f1fa4f25d2b9b321e61d1794"
|
|
8
|
+
integrity sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==
|
|
9
|
+
dependencies:
|
|
10
|
+
"@csstools/css-calc" "^2.1.3"
|
|
11
|
+
"@csstools/css-color-parser" "^3.0.9"
|
|
12
|
+
"@csstools/css-parser-algorithms" "^3.0.4"
|
|
13
|
+
"@csstools/css-tokenizer" "^3.0.3"
|
|
14
|
+
lru-cache "^10.4.3"
|
|
15
|
+
|
|
5
16
|
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.26.2", "@babel/code-frame@^7.28.6", "@babel/code-frame@^7.29.0":
|
|
6
17
|
version "7.29.0"
|
|
7
18
|
resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz"
|
|
@@ -819,6 +830,34 @@
|
|
|
819
830
|
resolved "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz"
|
|
820
831
|
integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==
|
|
821
832
|
|
|
833
|
+
"@csstools/color-helpers@^5.1.0":
|
|
834
|
+
version "5.1.0"
|
|
835
|
+
resolved "https://registry.yarnpkg.com/@csstools/color-helpers/-/color-helpers-5.1.0.tgz#106c54c808cabfd1ab4c602d8505ee584c2996ef"
|
|
836
|
+
integrity sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA==
|
|
837
|
+
|
|
838
|
+
"@csstools/css-calc@^2.1.3", "@csstools/css-calc@^2.1.4":
|
|
839
|
+
version "2.1.4"
|
|
840
|
+
resolved "https://registry.yarnpkg.com/@csstools/css-calc/-/css-calc-2.1.4.tgz#8473f63e2fcd6e459838dd412401d5948f224c65"
|
|
841
|
+
integrity sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==
|
|
842
|
+
|
|
843
|
+
"@csstools/css-color-parser@^3.0.9":
|
|
844
|
+
version "3.1.0"
|
|
845
|
+
resolved "https://registry.yarnpkg.com/@csstools/css-color-parser/-/css-color-parser-3.1.0.tgz#4e386af3a99dd36c46fef013cfe4c1c341eed6f0"
|
|
846
|
+
integrity sha512-nbtKwh3a6xNVIp/VRuXV64yTKnb1IjTAEEh3irzS+HkKjAOYLTGNb9pmVNntZ8iVBHcWDA2Dof0QtPgFI1BaTA==
|
|
847
|
+
dependencies:
|
|
848
|
+
"@csstools/color-helpers" "^5.1.0"
|
|
849
|
+
"@csstools/css-calc" "^2.1.4"
|
|
850
|
+
|
|
851
|
+
"@csstools/css-parser-algorithms@^3.0.4":
|
|
852
|
+
version "3.0.5"
|
|
853
|
+
resolved "https://registry.yarnpkg.com/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz#5755370a9a29abaec5515b43c8b3f2cf9c2e3076"
|
|
854
|
+
integrity sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==
|
|
855
|
+
|
|
856
|
+
"@csstools/css-tokenizer@^3.0.3":
|
|
857
|
+
version "3.0.4"
|
|
858
|
+
resolved "https://registry.yarnpkg.com/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz#333fedabc3fd1a8e5d0100013731cf19e6a8c5d3"
|
|
859
|
+
integrity sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==
|
|
860
|
+
|
|
822
861
|
"@egis/build-tools@file:packages/build-tools":
|
|
823
862
|
version "0.0.0-semantic-release"
|
|
824
863
|
dependencies:
|
|
@@ -921,7 +960,7 @@
|
|
|
921
960
|
integrity sha512-nwh8fYOxRdeAmMaM+1RItTEoa5BNCHCt4hP4GvNGcccmKbk056cki481Y/z5G9UXJSzZ3Z2IHWVT6K42G5Vxvw==
|
|
922
961
|
|
|
923
962
|
"@egis/egis-ui@file:packages/EgisUI":
|
|
924
|
-
version "
|
|
963
|
+
version "0.0.0-semantic-release"
|
|
925
964
|
dependencies:
|
|
926
965
|
"@material/card" "^5.1.0"
|
|
927
966
|
"@material/density" "^5.1.0"
|
|
@@ -966,6 +1005,7 @@
|
|
|
966
1005
|
moment "^2.13.0"
|
|
967
1006
|
mousetrap "~1.5.3"
|
|
968
1007
|
numbro "~1.9.2"
|
|
1008
|
+
pdfjs-dist "^2.11.338"
|
|
969
1009
|
perfect-scrollbar "0.7.0"
|
|
970
1010
|
pikaday "1.8.2"
|
|
971
1011
|
resize-observer-polyfill "^1.5.1"
|
|
@@ -3695,7 +3735,7 @@ create-hmac@^1.1.7:
|
|
|
3695
3735
|
|
|
3696
3736
|
croppic@^1.0.0:
|
|
3697
3737
|
version "1.0.0"
|
|
3698
|
-
resolved "https://registry.
|
|
3738
|
+
resolved "https://registry.yarnpkg.com/croppic/-/croppic-1.0.0.tgz#463399ce77ba7ef0d8ab0d97af41a0687f1bd709"
|
|
3699
3739
|
integrity sha512-aWQdMOo2FZKfkuL5GEVLUglIynpexypoU/QS7sTN14uGH9giY2SCO0yILhAZIltKzqAoaWPjYWsPZiiHeOKKlA==
|
|
3700
3740
|
|
|
3701
3741
|
cross-spawn@^7.0.3, cross-spawn@^7.0.6:
|
|
@@ -3779,17 +3819,18 @@ cssesc@^3.0.0:
|
|
|
3779
3819
|
resolved "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz"
|
|
3780
3820
|
integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==
|
|
3781
3821
|
|
|
3782
|
-
|
|
3822
|
+
"cssom@>= 0.3.0 < 0.4.0":
|
|
3783
3823
|
version "0.3.8"
|
|
3784
3824
|
resolved "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz"
|
|
3785
3825
|
integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==
|
|
3786
3826
|
|
|
3787
|
-
"cssstyle@>= 0.2.29 < 0.3.0":
|
|
3788
|
-
version "
|
|
3789
|
-
resolved "https://registry.
|
|
3790
|
-
integrity sha512-
|
|
3827
|
+
cssstyle@<5.0.0, "cssstyle@>= 0.2.29 < 0.3.0":
|
|
3828
|
+
version "4.6.0"
|
|
3829
|
+
resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-4.6.0.tgz#ea18007024e3167f4f105315f3ec2d982bf48ed9"
|
|
3830
|
+
integrity sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==
|
|
3791
3831
|
dependencies:
|
|
3792
|
-
|
|
3832
|
+
"@asamuzakjp/css-color" "^3.2.0"
|
|
3833
|
+
rrweb-cssom "^0.8.0"
|
|
3793
3834
|
|
|
3794
3835
|
custom-event@~1.0.0:
|
|
3795
3836
|
version "1.0.1"
|
|
@@ -4100,10 +4141,15 @@ domhandler@^2.3.0:
|
|
|
4100
4141
|
dependencies:
|
|
4101
4142
|
domelementtype "1"
|
|
4102
4143
|
|
|
4103
|
-
|
|
4104
|
-
version "
|
|
4105
|
-
resolved "https://registry.
|
|
4106
|
-
integrity sha512-
|
|
4144
|
+
dommatrix@^1.0.3:
|
|
4145
|
+
version "1.0.3"
|
|
4146
|
+
resolved "https://registry.yarnpkg.com/dommatrix/-/dommatrix-1.0.3.tgz#e7c18e8d6f3abdd1fef3dd4aa74c4d2e620a0525"
|
|
4147
|
+
integrity sha512-l32Xp/TLgWb8ReqbVJAFIvXmY7go4nTxxlWiAFyhoQw9RKEOHBZNnyGvJWqDVSPmq3Y9HlM4npqF/T6VMOXhww==
|
|
4148
|
+
|
|
4149
|
+
dompurify@^3.1.7, dompurify@^3.3.1, dompurify@^3.4.2:
|
|
4150
|
+
version "3.4.13"
|
|
4151
|
+
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.4.13.tgz#fc28949d59f92d62e28a3a764bcbeee35897a1be"
|
|
4152
|
+
integrity sha512-2vmYIoqjze2d+kakP8S/nS5shfsl587kzwEjcGlTdiksUVgFHnFCsLYDVj/JNqJVOQZGSYBTmuycv0PodwmnMQ==
|
|
4107
4153
|
optionalDependencies:
|
|
4108
4154
|
"@types/trusted-types" "^2.0.7"
|
|
4109
4155
|
|
|
@@ -7314,9 +7360,9 @@ loose-envify@^1.0.0:
|
|
|
7314
7360
|
dependencies:
|
|
7315
7361
|
js-tokens "^3.0.0 || ^4.0.0"
|
|
7316
7362
|
|
|
7317
|
-
lru-cache@^10.0.1, lru-cache@^10.2.0, lru-cache@^10.2.2:
|
|
7363
|
+
lru-cache@^10.0.1, lru-cache@^10.2.0, lru-cache@^10.2.2, lru-cache@^10.4.3:
|
|
7318
7364
|
version "10.4.3"
|
|
7319
|
-
resolved "https://registry.
|
|
7365
|
+
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119"
|
|
7320
7366
|
integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==
|
|
7321
7367
|
|
|
7322
7368
|
lru-cache@^3.2.0:
|
|
@@ -8660,6 +8706,14 @@ pbkdf2@^3.1.2, pbkdf2@^3.1.5:
|
|
|
8660
8706
|
sha.js "^2.4.12"
|
|
8661
8707
|
to-buffer "^1.2.1"
|
|
8662
8708
|
|
|
8709
|
+
pdfjs-dist@^2.11.338:
|
|
8710
|
+
version "2.16.105"
|
|
8711
|
+
resolved "https://registry.yarnpkg.com/pdfjs-dist/-/pdfjs-dist-2.16.105.tgz#937b9c4a918f03f3979c88209d84c1ce90122c2a"
|
|
8712
|
+
integrity sha512-J4dn41spsAwUxCpEoVf6GVoz908IAA3mYiLmNxg8J9kfRXc2jxpbUepcP0ocp0alVNLFthTAM8DZ1RaHh8sU0A==
|
|
8713
|
+
dependencies:
|
|
8714
|
+
dommatrix "^1.0.3"
|
|
8715
|
+
web-streams-polyfill "^3.2.1"
|
|
8716
|
+
|
|
8663
8717
|
perfect-scrollbar@0.7.0:
|
|
8664
8718
|
version "0.7.0"
|
|
8665
8719
|
resolved "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-0.7.0.tgz"
|
|
@@ -9434,6 +9488,11 @@ route-recognizer@~0.1.9:
|
|
|
9434
9488
|
resolved "https://registry.npmjs.org/route-recognizer/-/route-recognizer-0.1.11.tgz"
|
|
9435
9489
|
integrity sha512-7JNu5mXQVa39zxmUKyk/bfpeF2WyEC5JKVTJO5HATcoUQpcQsI3eLzhwGU69xeOagQxfOQ+yr2sSv0G8xy+vQA==
|
|
9436
9490
|
|
|
9491
|
+
rrweb-cssom@^0.8.0:
|
|
9492
|
+
version "0.8.0"
|
|
9493
|
+
resolved "https://registry.yarnpkg.com/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz#3021d1b4352fbf3b614aaeed0bc0d5739abe0bc2"
|
|
9494
|
+
integrity sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==
|
|
9495
|
+
|
|
9437
9496
|
ruler@MrFrankel/ruler#1.0.1:
|
|
9438
9497
|
version "1.0.1"
|
|
9439
9498
|
resolved "https://codeload.github.com/MrFrankel/ruler/tar.gz/8877b71541bd637392cb559b4e9e6491d1753014"
|
|
@@ -11273,6 +11332,11 @@ watchify@^3.11.1:
|
|
|
11273
11332
|
through2 "^2.0.0"
|
|
11274
11333
|
xtend "^4.0.0"
|
|
11275
11334
|
|
|
11335
|
+
web-streams-polyfill@^3.2.1:
|
|
11336
|
+
version "3.3.3"
|
|
11337
|
+
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz#2073b91a2fdb1fbfbd401e7de0ac9f8214cecb4b"
|
|
11338
|
+
integrity sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==
|
|
11339
|
+
|
|
11276
11340
|
webidl-conversions@^2.0.0:
|
|
11277
11341
|
version "2.0.1"
|
|
11278
11342
|
resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-2.0.1.tgz"
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ dist/ # compiled JS classes
|
|
|
8
8
|
src/ # ES6 and Handlebars templates
|
|
9
9
|
style/main.scss # which imports other SASS and/or CSS files
|
|
10
10
|
resource/ # Copied as is to build directory
|
|
11
|
-
lib-
|
|
11
|
+
src/.lib-exports.js # the entrypoint ala index.js
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Build Pipeline
|
|
@@ -17,6 +17,10 @@ lib-export.js # the entrypoint ala index.js
|
|
|
17
17
|
* ES6 files are compiled and concatenanted into `build/app.js` where 'app.js' is the `mainFile` in `package.json`
|
|
18
18
|
(inferred from package's name by default)
|
|
19
19
|
* CSS/LESS/SASS are compliled and concatened into `build/app.css`
|
|
20
|
+
* The version comes from `build/version` (written by `yarn simple-semantic-release-pre` in CI, see
|
|
21
|
+
[Semantic-release](#semantic-release); `build/.version` of older `simple-semantic-config` versions is read too):
|
|
22
|
+
`@@version` in the sources becomes `<version> <git hash>` (`[unknown] <git hash>` without the file), and `yarn build`
|
|
23
|
+
puts `build/version` into the `.war` / `.zip`
|
|
20
24
|
* In production mode all source is minified and source maps generated.
|
|
21
25
|
|
|
22
26
|
## Handlebars Templates
|
|
@@ -228,7 +232,7 @@ export GH_TOKEN=...
|
|
|
228
232
|
|
|
229
233
|
# Replace `repository.url` key in package.json to point to your fork temporarily: "git@github.com:my-gitusername/build-tools.git"
|
|
230
234
|
|
|
231
|
-
# Run semantic-release to find out the version number:
|
|
235
|
+
# Run semantic-release to find out the version number (printed and written to build/version):
|
|
232
236
|
BRANCH=my-branch yarn simple-semantic-release-pre
|
|
233
237
|
|
|
234
238
|
# Revert the `repository.url` change:
|
package/gulp/common.js
CHANGED
|
@@ -63,7 +63,9 @@ var gitHash = utils.sh('git rev-parse --short HEAD');
|
|
|
63
63
|
if (gitHash.includes('fatal')) {
|
|
64
64
|
gitHash = 'current';
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
// written by simple-semantic-release-pre in CI; .version is the name of older simple-semantic-config versions
|
|
67
|
+
var versionFile = ['build/version', 'build/.version'].find(file => utils.exists(file));
|
|
68
|
+
var pkgVersion = versionFile ? utils.sh('cat ' + versionFile) : '[unknown]';
|
|
67
69
|
var timestamp = utils.dateFormat(new Date(), '%Y-%m-%d %H:%M:%S')
|
|
68
70
|
var replaceAll = lazypipe()
|
|
69
71
|
.pipe(function ()
|
package/gulp/package.js
CHANGED
|
@@ -16,10 +16,8 @@ console.log('');
|
|
|
16
16
|
module.exports = function()
|
|
17
17
|
{
|
|
18
18
|
if (!common.module.main) return;
|
|
19
|
-
if (utils.exists('build
|
|
20
|
-
|
|
21
|
-
} else {
|
|
22
|
-
console.log('No build/.version - are we in dev mode?');
|
|
19
|
+
if (!utils.exists('build/version')) {
|
|
20
|
+
console.log('No build/version - are we in dev mode?');
|
|
23
21
|
}
|
|
24
22
|
var file = common.module.main + (pkg.plugin ? ".zip" : ".war");
|
|
25
23
|
del.sync('build/' + file);
|