@dword-design/base 8.7.5 → 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: 14,
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: [12, 14],
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@v2",
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": 12,
115
+ "node": 14,
117
116
  "os": "ubuntu-latest",
118
117
  },
119
118
  Object {
120
- "node": 14,
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@v2",
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": 14,
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 == 14",
342
- "uses": "codecov/codecov-action@v2",
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,19 +347,23 @@ Object {
350
347
  "matrix": Object {
351
348
  "include": Array [
352
349
  Object {
353
- "node": 12,
350
+ "node": 14,
354
351
  "os": "ubuntu-latest",
355
352
  },
356
353
  Object {
357
- "node": 14,
354
+ "node": 16,
358
355
  "os": "ubuntu-latest",
359
356
  },
360
357
  Object {
361
- "node": 14,
358
+ "node": 18,
359
+ "os": "ubuntu-latest",
360
+ },
361
+ Object {
362
+ "node": 16,
362
363
  "os": "macos-latest",
363
364
  },
364
365
  Object {
365
- "node": 14,
366
+ "node": 16,
366
367
  "os": "windows-latest",
367
368
  },
368
369
  ],
@@ -411,7 +412,7 @@ Object {
411
412
  Object {
412
413
  "uses": "actions/setup-node@v3",
413
414
  "with": Object {
414
- "node-version": 14,
415
+ "node-version": 16,
415
416
  },
416
417
  },
417
418
  Object {
@@ -484,10 +485,9 @@ Object {
484
485
  },
485
486
  },
486
487
  Object {
487
- "if": "matrix.os == 'ubuntu-latest' && matrix.node == 14",
488
- "uses": "codecov/codecov-action@v2",
488
+ "if": "matrix.os == 'ubuntu-latest' && matrix.node == 16",
489
+ "uses": "codecov/codecov-action@v3",
489
490
  "with": Object {
490
- "fail_ci_if_error": true,
491
491
  "token": "\${{ secrets.CODECOV_TOKEN }}",
492
492
  },
493
493
  },
@@ -496,19 +496,23 @@ Object {
496
496
  "matrix": Object {
497
497
  "include": Array [
498
498
  Object {
499
- "node": 12,
499
+ "node": 14,
500
500
  "os": "ubuntu-latest",
501
501
  },
502
502
  Object {
503
- "node": 14,
503
+ "node": 16,
504
504
  "os": "ubuntu-latest",
505
505
  },
506
506
  Object {
507
- "node": 14,
507
+ "node": 18,
508
+ "os": "ubuntu-latest",
509
+ },
510
+ Object {
511
+ "node": 16,
508
512
  "os": "macos-latest",
509
513
  },
510
514
  Object {
511
- "node": 14,
515
+ "node": 16,
512
516
  "os": "windows-latest",
513
517
  },
514
518
  ],
@@ -627,9 +631,8 @@ Object {
627
631
  },
628
632
  Object {
629
633
  "if": "matrix.os == 'ubuntu-latest' && matrix.node == 14",
630
- "uses": "codecov/codecov-action@v2",
634
+ "uses": "codecov/codecov-action@v3",
631
635
  "with": Object {
632
- "fail_ci_if_error": true,
633
636
  "token": "\${{ secrets.CODECOV_TOKEN }}",
634
637
  },
635
638
  },
@@ -638,20 +641,20 @@ Object {
638
641
  "matrix": Object {
639
642
  "include": Array [
640
643
  Object {
641
- "node": 12,
644
+ "node": 14,
642
645
  "os": "ubuntu-latest",
643
646
  },
644
647
  Object {
645
- "node": 14,
648
+ "node": 16,
646
649
  "os": "ubuntu-latest",
647
650
  },
648
651
  Object {
649
652
  "os": "macos-latest",
650
- "version": 14,
653
+ "version": 16,
651
654
  },
652
655
  Object {
653
656
  "os": "windows-latest",
654
- "version": 14,
657
+ "version": 16,
655
658
  },
656
659
  ],
657
660
  },
@@ -723,9 +726,8 @@ Object {
723
726
  },
724
727
  },
725
728
  Object {
726
- "uses": "codecov/codecov-action@v2",
729
+ "uses": "codecov/codecov-action@v3",
727
730
  "with": Object {
728
- "fail_ci_if_error": true,
729
731
  "token": "\${{ secrets.CODECOV_TOKEN }}",
730
732
  },
731
733
  },
@@ -815,9 +817,8 @@ Object {
815
817
  },
816
818
  },
817
819
  Object {
818
- "uses": "codecov/codecov-action@v2",
820
+ "uses": "codecov/codecov-action@v3",
819
821
  "with": Object {
820
- "fail_ci_if_error": true,
821
822
  "token": "\${{ secrets.CODECOV_TOKEN }}",
822
823
  },
823
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@v2',
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': 14
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: "matrix.os == 'ubuntu-latest' && matrix.node == 14",
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": "8.7.5",
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": ">=12"
98
+ "node": ">=14"
99
99
  },
100
100
  "publishConfig": {
101
101
  "access": "public"