@dword-design/base 8.7.6 → 9.0.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/dist/config.js
CHANGED
|
@@ -34,7 +34,7 @@ const defaultConfig = {
|
|
|
34
34
|
editorIgnore: [],
|
|
35
35
|
gitignore: [],
|
|
36
36
|
lint: _identity.default,
|
|
37
|
-
nodeVersion:
|
|
37
|
+
nodeVersion: 16,
|
|
38
38
|
preDeploySteps: [],
|
|
39
39
|
prepare: _identity.default,
|
|
40
40
|
readmeInstallString: (0, _endent.default)`
|
|
@@ -49,7 +49,7 @@ const defaultConfig = {
|
|
|
49
49
|
\`\`\`
|
|
50
50
|
`,
|
|
51
51
|
seeAlso: [],
|
|
52
|
-
supportedNodeVersions: [
|
|
52
|
+
supportedNodeVersions: [14, 16, 18],
|
|
53
53
|
syncKeywords: true
|
|
54
54
|
};
|
|
55
55
|
let inheritedConfig = _importCwd.default.silent(_rawConfig.default.name) || require(_rawConfig.default.name);
|
|
@@ -102,9 +102,8 @@ Object {
|
|
|
102
102
|
},
|
|
103
103
|
Object {
|
|
104
104
|
"if": "matrix.os == 'ubuntu-latest' && matrix.node == 14",
|
|
105
|
-
"uses": "codecov/codecov-action@
|
|
105
|
+
"uses": "codecov/codecov-action@v3",
|
|
106
106
|
"with": Object {
|
|
107
|
-
"fail_ci_if_error": true,
|
|
108
107
|
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
109
108
|
},
|
|
110
109
|
},
|
|
@@ -113,11 +112,11 @@ Object {
|
|
|
113
112
|
"matrix": Object {
|
|
114
113
|
"include": Array [
|
|
115
114
|
Object {
|
|
116
|
-
"node":
|
|
115
|
+
"node": 14,
|
|
117
116
|
"os": "ubuntu-latest",
|
|
118
117
|
},
|
|
119
118
|
Object {
|
|
120
|
-
"node":
|
|
119
|
+
"node": 16,
|
|
121
120
|
"os": "ubuntu-latest",
|
|
122
121
|
},
|
|
123
122
|
Object {
|
|
@@ -196,9 +195,8 @@ Object {
|
|
|
196
195
|
},
|
|
197
196
|
},
|
|
198
197
|
Object {
|
|
199
|
-
"uses": "codecov/codecov-action@
|
|
198
|
+
"uses": "codecov/codecov-action@v3",
|
|
200
199
|
"with": Object {
|
|
201
|
-
"fail_ci_if_error": true,
|
|
202
200
|
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
203
201
|
},
|
|
204
202
|
},
|
|
@@ -266,7 +264,7 @@ Object {
|
|
|
266
264
|
Object {
|
|
267
265
|
"uses": "actions/setup-node@v3",
|
|
268
266
|
"with": Object {
|
|
269
|
-
"node-version":
|
|
267
|
+
"node-version": 16,
|
|
270
268
|
},
|
|
271
269
|
},
|
|
272
270
|
Object {
|
|
@@ -338,10 +336,9 @@ Object {
|
|
|
338
336
|
},
|
|
339
337
|
},
|
|
340
338
|
Object {
|
|
341
|
-
"if": "matrix.os == 'ubuntu-latest' && matrix.node ==
|
|
342
|
-
"uses": "codecov/codecov-action@
|
|
339
|
+
"if": "matrix.os == 'ubuntu-latest' && matrix.node == 16",
|
|
340
|
+
"uses": "codecov/codecov-action@v3",
|
|
343
341
|
"with": Object {
|
|
344
|
-
"fail_ci_if_error": true,
|
|
345
342
|
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
346
343
|
},
|
|
347
344
|
},
|
|
@@ -350,23 +347,23 @@ Object {
|
|
|
350
347
|
"matrix": Object {
|
|
351
348
|
"include": Array [
|
|
352
349
|
Object {
|
|
353
|
-
"node":
|
|
350
|
+
"node": 14,
|
|
354
351
|
"os": "ubuntu-latest",
|
|
355
352
|
},
|
|
356
353
|
Object {
|
|
357
|
-
"node":
|
|
354
|
+
"node": 16,
|
|
358
355
|
"os": "ubuntu-latest",
|
|
359
356
|
},
|
|
360
357
|
Object {
|
|
361
|
-
"node":
|
|
358
|
+
"node": 18,
|
|
362
359
|
"os": "ubuntu-latest",
|
|
363
360
|
},
|
|
364
361
|
Object {
|
|
365
|
-
"node":
|
|
362
|
+
"node": 16,
|
|
366
363
|
"os": "macos-latest",
|
|
367
364
|
},
|
|
368
365
|
Object {
|
|
369
|
-
"node":
|
|
366
|
+
"node": 16,
|
|
370
367
|
"os": "windows-latest",
|
|
371
368
|
},
|
|
372
369
|
],
|
|
@@ -415,7 +412,7 @@ Object {
|
|
|
415
412
|
Object {
|
|
416
413
|
"uses": "actions/setup-node@v3",
|
|
417
414
|
"with": Object {
|
|
418
|
-
"node-version":
|
|
415
|
+
"node-version": 16,
|
|
419
416
|
},
|
|
420
417
|
},
|
|
421
418
|
Object {
|
|
@@ -488,10 +485,9 @@ Object {
|
|
|
488
485
|
},
|
|
489
486
|
},
|
|
490
487
|
Object {
|
|
491
|
-
"if": "matrix.os == 'ubuntu-latest' && matrix.node ==
|
|
492
|
-
"uses": "codecov/codecov-action@
|
|
488
|
+
"if": "matrix.os == 'ubuntu-latest' && matrix.node == 16",
|
|
489
|
+
"uses": "codecov/codecov-action@v3",
|
|
493
490
|
"with": Object {
|
|
494
|
-
"fail_ci_if_error": true,
|
|
495
491
|
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
496
492
|
},
|
|
497
493
|
},
|
|
@@ -500,23 +496,23 @@ Object {
|
|
|
500
496
|
"matrix": Object {
|
|
501
497
|
"include": Array [
|
|
502
498
|
Object {
|
|
503
|
-
"node":
|
|
499
|
+
"node": 14,
|
|
504
500
|
"os": "ubuntu-latest",
|
|
505
501
|
},
|
|
506
502
|
Object {
|
|
507
|
-
"node":
|
|
503
|
+
"node": 16,
|
|
508
504
|
"os": "ubuntu-latest",
|
|
509
505
|
},
|
|
510
506
|
Object {
|
|
511
|
-
"node":
|
|
507
|
+
"node": 18,
|
|
512
508
|
"os": "ubuntu-latest",
|
|
513
509
|
},
|
|
514
510
|
Object {
|
|
515
|
-
"node":
|
|
511
|
+
"node": 16,
|
|
516
512
|
"os": "macos-latest",
|
|
517
513
|
},
|
|
518
514
|
Object {
|
|
519
|
-
"node":
|
|
515
|
+
"node": 16,
|
|
520
516
|
"os": "windows-latest",
|
|
521
517
|
},
|
|
522
518
|
],
|
|
@@ -635,9 +631,8 @@ Object {
|
|
|
635
631
|
},
|
|
636
632
|
Object {
|
|
637
633
|
"if": "matrix.os == 'ubuntu-latest' && matrix.node == 14",
|
|
638
|
-
"uses": "codecov/codecov-action@
|
|
634
|
+
"uses": "codecov/codecov-action@v3",
|
|
639
635
|
"with": Object {
|
|
640
|
-
"fail_ci_if_error": true,
|
|
641
636
|
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
642
637
|
},
|
|
643
638
|
},
|
|
@@ -646,20 +641,20 @@ Object {
|
|
|
646
641
|
"matrix": Object {
|
|
647
642
|
"include": Array [
|
|
648
643
|
Object {
|
|
649
|
-
"node":
|
|
644
|
+
"node": 14,
|
|
650
645
|
"os": "ubuntu-latest",
|
|
651
646
|
},
|
|
652
647
|
Object {
|
|
653
|
-
"node":
|
|
648
|
+
"node": 16,
|
|
654
649
|
"os": "ubuntu-latest",
|
|
655
650
|
},
|
|
656
651
|
Object {
|
|
657
652
|
"os": "macos-latest",
|
|
658
|
-
"version":
|
|
653
|
+
"version": 16,
|
|
659
654
|
},
|
|
660
655
|
Object {
|
|
661
656
|
"os": "windows-latest",
|
|
662
|
-
"version":
|
|
657
|
+
"version": 16,
|
|
663
658
|
},
|
|
664
659
|
],
|
|
665
660
|
},
|
|
@@ -731,9 +726,8 @@ Object {
|
|
|
731
726
|
},
|
|
732
727
|
},
|
|
733
728
|
Object {
|
|
734
|
-
"uses": "codecov/codecov-action@
|
|
729
|
+
"uses": "codecov/codecov-action@v3",
|
|
735
730
|
"with": Object {
|
|
736
|
-
"fail_ci_if_error": true,
|
|
737
731
|
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
738
732
|
},
|
|
739
733
|
},
|
|
@@ -823,9 +817,8 @@ Object {
|
|
|
823
817
|
},
|
|
824
818
|
},
|
|
825
819
|
Object {
|
|
826
|
-
"uses": "codecov/codecov-action@
|
|
820
|
+
"uses": "codecov/codecov-action@v3",
|
|
827
821
|
"with": Object {
|
|
828
|
-
"fail_ci_if_error": true,
|
|
829
822
|
"token": "\${{ secrets.CODECOV_TOKEN }}",
|
|
830
823
|
},
|
|
831
824
|
},
|
|
@@ -5,9 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = [{
|
|
8
|
-
uses: 'codecov/codecov-action@
|
|
8
|
+
uses: 'codecov/codecov-action@v3',
|
|
9
9
|
with: {
|
|
10
|
-
fail_ci_if_error: true,
|
|
11
10
|
token: '${{ secrets.CODECOV_TOKEN }}'
|
|
12
11
|
}
|
|
13
12
|
}];
|
|
@@ -31,7 +31,7 @@ var _default = config => {
|
|
|
31
31
|
}, {
|
|
32
32
|
uses: 'actions/setup-node@v3',
|
|
33
33
|
with: {
|
|
34
|
-
'node-version':
|
|
34
|
+
'node-version': config.nodeVersion
|
|
35
35
|
}
|
|
36
36
|
}, {
|
|
37
37
|
run: 'git config --global user.email "actions@github.com"'
|
|
@@ -60,7 +60,7 @@ var _default = config => {
|
|
|
60
60
|
}, {
|
|
61
61
|
run: 'yarn --frozen-lockfile'
|
|
62
62
|
}, ..._test.default, ...(_coverageSteps = _coverage.default, (0, _map.default)(step => ({
|
|
63
|
-
if:
|
|
63
|
+
if: `matrix.os == 'ubuntu-latest' && matrix.node == ${config.nodeVersion}`,
|
|
64
64
|
...step
|
|
65
65
|
}))(_coverageSteps))],
|
|
66
66
|
strategy: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"with-tmp-dir-promise": "^1.1.2"
|
|
96
96
|
},
|
|
97
97
|
"engines": {
|
|
98
|
-
"node": ">=
|
|
98
|
+
"node": ">=14"
|
|
99
99
|
},
|
|
100
100
|
"publishConfig": {
|
|
101
101
|
"access": "public"
|