@dword-design/base 11.2.6 → 11.2.8
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/commands/test-docker/index.js +1 -1
- package/dist/get-generated-files/common-editor-ignore.js +1 -1
- package/dist/get-generated-files/get-editor-ignore/__snapshots__/index.spec.js.snap +1 -0
- package/dist/get-generated-files/get-github-codespaces/__snapshots__/index.spec.js.snap +1 -1
- package/dist/get-generated-files/get-github-codespaces/index.js +1 -1
- package/dist/get-generated-files/get-github-workflow/__snapshots__/index.spec.js.snap +47 -8
- package/dist/get-generated-files/get-github-workflow/steps/get-test.js +1 -1
- package/dist/get-generated-files/get-github-workflow/strategies/job-matrix.js +6 -0
- package/dist/get-generated-files/get-github-workflow/strategies/simple.js +3 -0
- package/dist/get-generated-files/get-gitpod/__snapshots__/index.spec.js.snap +1 -1
- package/dist/get-generated-files/get-gitpod/index.js +1 -1
- package/dist/get-generated-files/get-vscode/__snapshots__/index.spec.js.snap +1 -0
- package/package.json +2 -2
|
@@ -20,7 +20,7 @@ export default async function (options) {
|
|
|
20
20
|
const userInfo = os.userInfo();
|
|
21
21
|
try {
|
|
22
22
|
var _ref4, _envVariableNames, _ref5;
|
|
23
|
-
return await execa('docker', ['run', '--rm', ...(_ref4 = (_envVariableNames = envVariableNames, filter(name => process.env[name] !== undefined)(_envVariableNames)), flatMap(name => ['--env', `${name}=${process.env[name]}`])(_ref4)), '-v', `${process.cwd()}:/app`, '-v', `${volumeName}:/app/node_modules`, 'dworddesign/testing:latest', 'bash', '-c', (_ref5 = ['pnpm install --frozen-lockfile', '&&', 'pnpm test:raw', ...(options.updateSnapshots ? [' --update-snapshots'] : []), ...options.patterns.map(pattern => `"${pattern}"`), ...(options.grep ? [`-g "${options.grep}"`] : [])], join(' ')(_ref5))], options.log ? {
|
|
23
|
+
return await execa('docker', ['run', '--rm', ...(_ref4 = (_envVariableNames = envVariableNames, filter(name => process.env[name] !== undefined)(_envVariableNames)), flatMap(name => ['--env', `${name}=${process.env[name]}`])(_ref4)), '-v', `${process.cwd()}:/app`, '-v', `${volumeName}:/app/node_modules`, 'dworddesign/testing:latest', 'bash', '-c', (_ref5 = ['COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile', '&&', 'pnpm test:raw', ...(options.updateSnapshots ? [' --update-snapshots'] : []), ...options.patterns.map(pattern => `"${pattern}"`), ...(options.grep ? [`-g "${options.grep}"`] : [])], join(' ')(_ref5))], options.log ? {
|
|
24
24
|
stdio: 'inherit'
|
|
25
25
|
} : {
|
|
26
26
|
all: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ['babel.config.json', '.commitlintrc.json', '.cz.json', '.devcontainer', '.editorconfig', '.eslintrc.json', '.gitattributes', '.github', '.gitignore', '.gitpod.Dockerfile', '.gitpod.yml', '.husky', '.nyc_output', '.releaserc.json', '.renovaterc.json', '.vscode', 'CHANGELOG.md', 'coverage', 'LICENSE.md', 'node_modules', 'pnpm-lock.yaml'];
|
|
1
|
+
export default ['babel.config.json', '.commitlintrc.json', '.cz.json', '.devcontainer', '.editorconfig', '.eslintrc.json', '.gitattributes', '.github', '.gitignore', '.gitpod.Dockerfile', '.gitpod.yml', '.husky', '.npmrc', '.nyc_output', '.releaserc.json', '.renovaterc.json', '.vscode', 'CHANGELOG.md', 'coverage', 'LICENSE.md', 'node_modules', 'pnpm-lock.yaml'];
|
|
@@ -6,6 +6,6 @@ Object {
|
|
|
6
6
|
"ghcr.io/devcontainers/features/docker-in-docker:2": Object {},
|
|
7
7
|
},
|
|
8
8
|
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18",
|
|
9
|
-
"updateContentCommand": "pnpm install --frozen-lockfile",
|
|
9
|
+
"updateContentCommand": "COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile",
|
|
10
10
|
}
|
|
11
11
|
`;
|
|
@@ -4,6 +4,6 @@ export default function () {
|
|
|
4
4
|
'ghcr.io/devcontainers/features/docker-in-docker:2': {}
|
|
5
5
|
},
|
|
6
6
|
image: `mcr.microsoft.com/devcontainers/javascript-node:1-${this.config.nodeVersion}`,
|
|
7
|
-
updateContentCommand: 'pnpm install --frozen-lockfile'
|
|
7
|
+
updateContentCommand: 'COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile'
|
|
8
8
|
};
|
|
9
9
|
}
|
|
@@ -42,6 +42,9 @@ Object {
|
|
|
42
42
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
43
43
|
},
|
|
44
44
|
Object {
|
|
45
|
+
"env": Object {
|
|
46
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
47
|
+
},
|
|
45
48
|
"run": "pnpm install --frozen-lockfile",
|
|
46
49
|
},
|
|
47
50
|
Object {
|
|
@@ -90,6 +93,9 @@ Object {
|
|
|
90
93
|
"run": "corepack enable",
|
|
91
94
|
},
|
|
92
95
|
Object {
|
|
96
|
+
"env": Object {
|
|
97
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
98
|
+
},
|
|
93
99
|
"run": "pnpm install --frozen-lockfile",
|
|
94
100
|
},
|
|
95
101
|
Object {
|
|
@@ -100,7 +106,7 @@ Object {
|
|
|
100
106
|
},
|
|
101
107
|
Object {
|
|
102
108
|
"if": "failure()",
|
|
103
|
-
"uses": "actions/upload-artifact@
|
|
109
|
+
"uses": "actions/upload-artifact@v4",
|
|
104
110
|
"with": Object {
|
|
105
111
|
"name": "Image Snapshot Diffs",
|
|
106
112
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -192,6 +198,9 @@ Object {
|
|
|
192
198
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
193
199
|
},
|
|
194
200
|
Object {
|
|
201
|
+
"env": Object {
|
|
202
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
203
|
+
},
|
|
195
204
|
"run": "pnpm install --frozen-lockfile",
|
|
196
205
|
},
|
|
197
206
|
Object {
|
|
@@ -240,6 +249,9 @@ Object {
|
|
|
240
249
|
"run": "corepack enable",
|
|
241
250
|
},
|
|
242
251
|
Object {
|
|
252
|
+
"env": Object {
|
|
253
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
254
|
+
},
|
|
243
255
|
"run": "pnpm install --frozen-lockfile",
|
|
244
256
|
},
|
|
245
257
|
Object {
|
|
@@ -250,7 +262,7 @@ Object {
|
|
|
250
262
|
},
|
|
251
263
|
Object {
|
|
252
264
|
"if": "failure()",
|
|
253
|
-
"uses": "actions/upload-artifact@
|
|
265
|
+
"uses": "actions/upload-artifact@v4",
|
|
254
266
|
"with": Object {
|
|
255
267
|
"name": "Image Snapshot Diffs",
|
|
256
268
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -338,6 +350,9 @@ Object {
|
|
|
338
350
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
339
351
|
},
|
|
340
352
|
Object {
|
|
353
|
+
"env": Object {
|
|
354
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
355
|
+
},
|
|
341
356
|
"run": "pnpm install --frozen-lockfile",
|
|
342
357
|
},
|
|
343
358
|
Object {
|
|
@@ -386,6 +401,9 @@ Object {
|
|
|
386
401
|
"run": "corepack enable",
|
|
387
402
|
},
|
|
388
403
|
Object {
|
|
404
|
+
"env": Object {
|
|
405
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
406
|
+
},
|
|
389
407
|
"run": "pnpm install --frozen-lockfile",
|
|
390
408
|
},
|
|
391
409
|
Object {
|
|
@@ -396,7 +414,7 @@ Object {
|
|
|
396
414
|
},
|
|
397
415
|
Object {
|
|
398
416
|
"if": "failure()",
|
|
399
|
-
"uses": "actions/upload-artifact@
|
|
417
|
+
"uses": "actions/upload-artifact@v4",
|
|
400
418
|
"with": Object {
|
|
401
419
|
"name": "Image Snapshot Diffs",
|
|
402
420
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -480,6 +498,9 @@ Object {
|
|
|
480
498
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
481
499
|
},
|
|
482
500
|
Object {
|
|
501
|
+
"env": Object {
|
|
502
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
503
|
+
},
|
|
483
504
|
"run": "pnpm install --frozen-lockfile",
|
|
484
505
|
},
|
|
485
506
|
Object {
|
|
@@ -490,7 +511,7 @@ Object {
|
|
|
490
511
|
},
|
|
491
512
|
Object {
|
|
492
513
|
"if": "failure()",
|
|
493
|
-
"uses": "actions/upload-artifact@
|
|
514
|
+
"uses": "actions/upload-artifact@v4",
|
|
494
515
|
"with": Object {
|
|
495
516
|
"name": "Image Snapshot Diffs",
|
|
496
517
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -578,6 +599,9 @@ Object {
|
|
|
578
599
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
579
600
|
},
|
|
580
601
|
Object {
|
|
602
|
+
"env": Object {
|
|
603
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
604
|
+
},
|
|
581
605
|
"run": "pnpm install --frozen-lockfile",
|
|
582
606
|
},
|
|
583
607
|
Object {
|
|
@@ -627,6 +651,9 @@ Object {
|
|
|
627
651
|
"run": "corepack enable",
|
|
628
652
|
},
|
|
629
653
|
Object {
|
|
654
|
+
"env": Object {
|
|
655
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
656
|
+
},
|
|
630
657
|
"run": "pnpm install --frozen-lockfile",
|
|
631
658
|
},
|
|
632
659
|
Object {
|
|
@@ -637,7 +664,7 @@ Object {
|
|
|
637
664
|
},
|
|
638
665
|
Object {
|
|
639
666
|
"if": "failure()",
|
|
640
|
-
"uses": "actions/upload-artifact@
|
|
667
|
+
"uses": "actions/upload-artifact@v4",
|
|
641
668
|
"with": Object {
|
|
642
669
|
"name": "Image Snapshot Diffs",
|
|
643
670
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -729,6 +756,9 @@ Object {
|
|
|
729
756
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
730
757
|
},
|
|
731
758
|
Object {
|
|
759
|
+
"env": Object {
|
|
760
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
761
|
+
},
|
|
732
762
|
"run": "pnpm install --frozen-lockfile",
|
|
733
763
|
},
|
|
734
764
|
Object {
|
|
@@ -778,6 +808,9 @@ Object {
|
|
|
778
808
|
"run": "corepack enable",
|
|
779
809
|
},
|
|
780
810
|
Object {
|
|
811
|
+
"env": Object {
|
|
812
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
813
|
+
},
|
|
781
814
|
"run": "pnpm install --frozen-lockfile",
|
|
782
815
|
},
|
|
783
816
|
Object {
|
|
@@ -789,7 +822,7 @@ Object {
|
|
|
789
822
|
},
|
|
790
823
|
Object {
|
|
791
824
|
"if": "failure()",
|
|
792
|
-
"uses": "actions/upload-artifact@
|
|
825
|
+
"uses": "actions/upload-artifact@v4",
|
|
793
826
|
"with": Object {
|
|
794
827
|
"name": "Image Snapshot Diffs",
|
|
795
828
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -1024,6 +1057,9 @@ Object {
|
|
|
1024
1057
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
1025
1058
|
},
|
|
1026
1059
|
Object {
|
|
1060
|
+
"env": Object {
|
|
1061
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
1062
|
+
},
|
|
1027
1063
|
"run": "pnpm install --frozen-lockfile",
|
|
1028
1064
|
},
|
|
1029
1065
|
Object {
|
|
@@ -1036,7 +1072,7 @@ Object {
|
|
|
1036
1072
|
},
|
|
1037
1073
|
Object {
|
|
1038
1074
|
"if": "failure()",
|
|
1039
|
-
"uses": "actions/upload-artifact@
|
|
1075
|
+
"uses": "actions/upload-artifact@v4",
|
|
1040
1076
|
"with": Object {
|
|
1041
1077
|
"name": "Image Snapshot Diffs",
|
|
1042
1078
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -1120,6 +1156,9 @@ Object {
|
|
|
1120
1156
|
"run": "git config --global user.name \\"GitHub Actions\\"",
|
|
1121
1157
|
},
|
|
1122
1158
|
Object {
|
|
1159
|
+
"env": Object {
|
|
1160
|
+
"COREPACK_INTEGRITY_KEYS": 0,
|
|
1161
|
+
},
|
|
1123
1162
|
"run": "pnpm install --frozen-lockfile",
|
|
1124
1163
|
},
|
|
1125
1164
|
Object {
|
|
@@ -1130,7 +1169,7 @@ Object {
|
|
|
1130
1169
|
},
|
|
1131
1170
|
Object {
|
|
1132
1171
|
"if": "failure()",
|
|
1133
|
-
"uses": "actions/upload-artifact@
|
|
1172
|
+
"uses": "actions/upload-artifact@v4",
|
|
1134
1173
|
"with": Object {
|
|
1135
1174
|
"name": "Image Snapshot Diffs",
|
|
1136
1175
|
"path": "**/__image_snapshots__/__diff_output__",
|
|
@@ -27,7 +27,7 @@ export default (() => {
|
|
|
27
27
|
run: 'pnpm test'
|
|
28
28
|
}, {
|
|
29
29
|
if: 'failure()',
|
|
30
|
-
uses: gitHubAction`actions/upload-artifact@
|
|
30
|
+
uses: gitHubAction`actions/upload-artifact@v4`,
|
|
31
31
|
with: {
|
|
32
32
|
name: 'Image Snapshot Diffs',
|
|
33
33
|
path: '**/__image_snapshots__/__diff_output__'
|
|
@@ -34,6 +34,9 @@ export default (config => {
|
|
|
34
34
|
}, {
|
|
35
35
|
run: 'git config --global user.name "GitHub Actions"'
|
|
36
36
|
}, {
|
|
37
|
+
env: {
|
|
38
|
+
COREPACK_INTEGRITY_KEYS: 0
|
|
39
|
+
},
|
|
37
40
|
run: 'pnpm install --frozen-lockfile'
|
|
38
41
|
}, ...checkUnknownFilesSteps, {
|
|
39
42
|
run: 'pnpm lint'
|
|
@@ -57,6 +60,9 @@ export default (config => {
|
|
|
57
60
|
}, {
|
|
58
61
|
run: 'corepack enable'
|
|
59
62
|
}, {
|
|
63
|
+
env: {
|
|
64
|
+
COREPACK_INTEGRITY_KEYS: 0
|
|
65
|
+
},
|
|
60
66
|
run: 'pnpm install --frozen-lockfile'
|
|
61
67
|
}, ...getTestSteps(), ...(_coverageSteps = coverageSteps, map(step => ({
|
|
62
68
|
if: `matrix.os == 'ubuntu-latest' && matrix.node == ${config.nodeVersion}`,
|
|
@@ -28,6 +28,9 @@ export default (config => ({
|
|
|
28
28
|
}, {
|
|
29
29
|
run: 'git config --global user.name "GitHub Actions"'
|
|
30
30
|
}, {
|
|
31
|
+
env: {
|
|
32
|
+
COREPACK_INTEGRITY_KEYS: 0
|
|
33
|
+
},
|
|
31
34
|
run: 'pnpm install --frozen-lockfile'
|
|
32
35
|
}, ...getTestSteps(), ...coverageSteps, ...checkUnknownFilesSteps, ...getReleaseSteps(config)]
|
|
33
36
|
}
|
|
@@ -16,7 +16,7 @@ source /home/gitpod/.bashrc",
|
|
|
16
16
|
"init": "git config --global user.name \\"Sebastian Landwehr\\"
|
|
17
17
|
git config diff.lfs.textconv cat
|
|
18
18
|
git lfs pull
|
|
19
|
-
pnpm install --frozen-lockfile",
|
|
19
|
+
COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile",
|
|
20
20
|
},
|
|
21
21
|
],
|
|
22
22
|
"vscode": Object {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.8",
|
|
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
|
"sharp": "^0.32.1",
|
|
96
96
|
"unify-mocha-output": "^2.0.0"
|
|
97
97
|
},
|
|
98
|
-
"packageManager": "pnpm@9.
|
|
98
|
+
"packageManager": "pnpm@9.15.5+sha512.845196026aab1cc3f098a0474b64dfbab2afe7a1b4e91dd86895d8e4aa32a7a6d03049e2d0ad770bbe4de023a7122fb68c1a1d6e0d033c7076085f9d5d4800d4",
|
|
99
99
|
"engines": {
|
|
100
100
|
"node": ">=18"
|
|
101
101
|
},
|