@dword-design/base 11.2.0 → 11.2.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.
Files changed (23) hide show
  1. package/dist/commands/check-unknown-files/common-allowed-matches.js +2 -2
  2. package/dist/commands/prepare/__snapshots__/index.spec.js.snap +2 -2
  3. package/dist/commands/test-docker/index.js +1 -1
  4. package/dist/get-generated-files/__snapshots__/index.spec.js.snap +1 -2
  5. package/dist/get-generated-files/common-editor-ignore.js +1 -1
  6. package/dist/get-generated-files/common-gitignore.js +1 -1
  7. package/dist/get-generated-files/get-editor-ignore/__snapshots__/index.spec.js.snap +1 -3
  8. package/dist/get-generated-files/get-github-codespaces/__snapshots__/index.spec.js.snap +1 -1
  9. package/dist/get-generated-files/get-github-codespaces/index.js +1 -1
  10. package/dist/get-generated-files/get-github-workflow/__snapshots__/index.spec.js.snap +50 -50
  11. package/dist/get-generated-files/get-github-workflow/steps/check-unknown-files.js +1 -1
  12. package/dist/get-generated-files/get-github-workflow/steps/get-release.js +2 -2
  13. package/dist/get-generated-files/get-github-workflow/steps/get-test.js +1 -1
  14. package/dist/get-generated-files/get-github-workflow/strategies/job-matrix.js +3 -3
  15. package/dist/get-generated-files/get-github-workflow/strategies/simple.js +1 -1
  16. package/dist/get-generated-files/get-gitignore/__snapshots__/index.spec.js.snap +0 -1
  17. package/dist/get-generated-files/get-gitpod/__snapshots__/index.spec.js.snap +1 -1
  18. package/dist/get-generated-files/get-gitpod/index.js +1 -1
  19. package/dist/get-generated-files/get-vscode/__snapshots__/index.spec.js.snap +1 -3
  20. package/dist/get-generated-files/index.js +3 -3
  21. package/dist/get-generated-files/npmrc.js +1 -0
  22. package/package.json +2 -3
  23. package/dist/get-generated-files/yarn.js +0 -3
@@ -16,6 +16,6 @@ export default Object.keys({
16
16
  demo: true,
17
17
  doc: true,
18
18
  'global-test-hooks.js': true,
19
- 'types.d.ts': true,
20
- 'yarn.lock': true
19
+ 'pnpm-lock.yaml': true,
20
+ 'types.d.ts': true
21
21
  });
@@ -17,17 +17,17 @@ Object {
17
17
  ".gitpod.Dockerfile": true,
18
18
  ".gitpod.yml": true,
19
19
  ".husky": true,
20
+ ".npmrc": true,
20
21
  ".releaserc.json": true,
21
22
  ".renovaterc.json": true,
22
23
  ".test.env.json": true,
23
24
  ".vscode": true,
24
- ".yarnrc.yml": true,
25
25
  "CHANGELOG.md": true,
26
26
  "LICENSE.md": true,
27
27
  "README.md": true,
28
28
  "package.json": true,
29
+ "pnpm-lock.yaml": true,
29
30
  "src": true,
30
- "yarn.lock": true,
31
31
  }
32
32
  `;
33
33
 
@@ -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 = ['yarn --immutable', '&&', 'yarn test:raw', ...(options.updateSnapshots ? [' --update-snapshots'] : []), ...options.patterns, ...(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 = ['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
@@ -20,7 +20,6 @@ Array [
20
20
  ".releaserc.json",
21
21
  ".renovaterc.json",
22
22
  ".vscode/settings.json",
23
- ".yarnrc.yml",
24
23
  "LICENSE.md",
25
24
  "README.md",
26
25
  "package.json",
@@ -46,10 +45,10 @@ Array [
46
45
  ".gitignore",
47
46
  ".gitpod.Dockerfile",
48
47
  ".gitpod.yml",
48
+ ".npmrc",
49
49
  ".releaserc.json",
50
50
  ".renovaterc.json",
51
51
  ".vscode/settings.json",
52
- ".yarnrc.yml",
53
52
  "LICENSE.md",
54
53
  "README.md",
55
54
  "package.json",
@@ -1 +1 @@
1
- export default ['.babelrc.json', '.commitlintrc.json', '.cz.json', '.devcontainer', '.editorconfig', '.eslintrc.json', '.gitattributes', '.github', '.gitignore', '.gitpod.Dockerfile', '.gitpod.yml', '.husky', '.nyc_output', '.releaserc.json', '.renovaterc.json', '.vscode', '.yarn', '.yarnrc.yml', 'CHANGELOG.md', 'coverage', 'LICENSE.md', 'node_modules', 'yarn.lock'];
1
+ export default ['.babelrc.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 +1 @@
1
- export default ['.DS_Store', '/.env.json', '/.test.env.json', '/.nyc_output', '/.yarn', '/coverage', '/node_modules'];
1
+ export default ['.DS_Store', '/.env.json', '/.test.env.json', '/.nyc_output', '/coverage', '/node_modules'];
@@ -18,13 +18,11 @@ Array [
18
18
  ".releaserc.json",
19
19
  ".renovaterc.json",
20
20
  ".vscode",
21
- ".yarn",
22
- ".yarnrc.yml",
23
21
  "CHANGELOG.md",
24
22
  "LICENSE.md",
25
23
  "coverage",
26
24
  "foo",
27
25
  "node_modules",
28
- "yarn.lock",
26
+ "pnpm-lock.yaml",
29
27
  ]
30
28
  `;
@@ -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": "yarn --frozen-lockfile",
9
+ "updateContentCommand": "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: 'yarn --frozen-lockfile'
7
+ updateContentCommand: 'pnpm install --frozen-lockfile'
8
8
  };
9
9
  }
@@ -42,13 +42,13 @@ Object {
42
42
  "run": "git config --global user.name \\"GitHub Actions\\"",
43
43
  },
44
44
  Object {
45
- "run": "yarn --frozen-lockfile",
45
+ "run": "pnpm install --frozen-lockfile",
46
46
  },
47
47
  Object {
48
- "run": "yarn checkUnknownFiles",
48
+ "run": "pnpm checkUnknownFiles",
49
49
  },
50
50
  Object {
51
- "run": "yarn lint",
51
+ "run": "pnpm lint",
52
52
  },
53
53
  Object {
54
54
  "env": Object {
@@ -56,7 +56,7 @@ Object {
56
56
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
57
57
  },
58
58
  "name": "Push changed files",
59
- "run": "yarn dw-ci push-changed-files",
59
+ "run": "pnpm dw-ci push-changed-files",
60
60
  },
61
61
  Object {
62
62
  "env": Object {
@@ -64,7 +64,7 @@ Object {
64
64
  },
65
65
  "if": "github.ref == 'refs/heads/master'",
66
66
  "name": "Release",
67
- "run": "yarn semantic-release",
67
+ "run": "pnpm semantic-release",
68
68
  },
69
69
  ],
70
70
  },
@@ -89,13 +89,13 @@ Object {
89
89
  "run": "corepack enable",
90
90
  },
91
91
  Object {
92
- "run": "yarn --frozen-lockfile",
92
+ "run": "pnpm install --frozen-lockfile",
93
93
  },
94
94
  Object {
95
95
  "env": Object {
96
96
  "GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
97
97
  },
98
- "run": "yarn test",
98
+ "run": "pnpm test",
99
99
  },
100
100
  Object {
101
101
  "if": "failure()",
@@ -191,13 +191,13 @@ Object {
191
191
  "run": "git config --global user.name \\"GitHub Actions\\"",
192
192
  },
193
193
  Object {
194
- "run": "yarn --frozen-lockfile",
194
+ "run": "pnpm install --frozen-lockfile",
195
195
  },
196
196
  Object {
197
- "run": "yarn checkUnknownFiles",
197
+ "run": "pnpm checkUnknownFiles",
198
198
  },
199
199
  Object {
200
- "run": "yarn lint",
200
+ "run": "pnpm lint",
201
201
  },
202
202
  Object {
203
203
  "env": Object {
@@ -205,7 +205,7 @@ Object {
205
205
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
206
206
  },
207
207
  "name": "Push changed files",
208
- "run": "yarn dw-ci push-changed-files",
208
+ "run": "pnpm dw-ci push-changed-files",
209
209
  },
210
210
  Object {
211
211
  "env": Object {
@@ -213,7 +213,7 @@ Object {
213
213
  },
214
214
  "if": "github.ref == 'refs/heads/master'",
215
215
  "name": "Release",
216
- "run": "yarn semantic-release",
216
+ "run": "pnpm semantic-release",
217
217
  },
218
218
  ],
219
219
  },
@@ -238,13 +238,13 @@ Object {
238
238
  "run": "corepack enable",
239
239
  },
240
240
  Object {
241
- "run": "yarn --frozen-lockfile",
241
+ "run": "pnpm install --frozen-lockfile",
242
242
  },
243
243
  Object {
244
244
  "env": Object {
245
245
  "GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
246
246
  },
247
- "run": "yarn test",
247
+ "run": "pnpm test",
248
248
  },
249
249
  Object {
250
250
  "if": "failure()",
@@ -336,13 +336,13 @@ Object {
336
336
  "run": "git config --global user.name \\"GitHub Actions\\"",
337
337
  },
338
338
  Object {
339
- "run": "yarn --frozen-lockfile",
339
+ "run": "pnpm install --frozen-lockfile",
340
340
  },
341
341
  Object {
342
- "run": "yarn checkUnknownFiles",
342
+ "run": "pnpm checkUnknownFiles",
343
343
  },
344
344
  Object {
345
- "run": "yarn lint",
345
+ "run": "pnpm lint",
346
346
  },
347
347
  Object {
348
348
  "env": Object {
@@ -350,7 +350,7 @@ Object {
350
350
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
351
351
  },
352
352
  "name": "Push changed files",
353
- "run": "yarn dw-ci push-changed-files",
353
+ "run": "pnpm dw-ci push-changed-files",
354
354
  },
355
355
  Object {
356
356
  "env": Object {
@@ -358,7 +358,7 @@ Object {
358
358
  },
359
359
  "if": "github.ref == 'refs/heads/master'",
360
360
  "name": "Release",
361
- "run": "yarn semantic-release",
361
+ "run": "pnpm semantic-release",
362
362
  },
363
363
  ],
364
364
  },
@@ -383,13 +383,13 @@ Object {
383
383
  "run": "corepack enable",
384
384
  },
385
385
  Object {
386
- "run": "yarn --frozen-lockfile",
386
+ "run": "pnpm install --frozen-lockfile",
387
387
  },
388
388
  Object {
389
389
  "env": Object {
390
390
  "GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
391
391
  },
392
- "run": "yarn test",
392
+ "run": "pnpm test",
393
393
  },
394
394
  Object {
395
395
  "if": "failure()",
@@ -476,13 +476,13 @@ Object {
476
476
  "run": "git config --global user.name \\"GitHub Actions\\"",
477
477
  },
478
478
  Object {
479
- "run": "yarn --frozen-lockfile",
479
+ "run": "pnpm install --frozen-lockfile",
480
480
  },
481
481
  Object {
482
482
  "env": Object {
483
483
  "GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
484
484
  },
485
- "run": "yarn test",
485
+ "run": "pnpm test",
486
486
  },
487
487
  Object {
488
488
  "if": "failure()",
@@ -499,7 +499,7 @@ Object {
499
499
  },
500
500
  },
501
501
  Object {
502
- "run": "yarn checkUnknownFiles",
502
+ "run": "pnpm checkUnknownFiles",
503
503
  },
504
504
  Object {
505
505
  "env": Object {
@@ -507,7 +507,7 @@ Object {
507
507
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
508
508
  },
509
509
  "name": "Push changed files",
510
- "run": "yarn dw-ci push-changed-files",
510
+ "run": "pnpm dw-ci push-changed-files",
511
511
  },
512
512
  Object {
513
513
  "env": Object {
@@ -515,7 +515,7 @@ Object {
515
515
  },
516
516
  "if": "github.ref == 'refs/heads/master'",
517
517
  "name": "Release",
518
- "run": "yarn semantic-release",
518
+ "run": "pnpm semantic-release",
519
519
  },
520
520
  ],
521
521
  },
@@ -574,13 +574,13 @@ Object {
574
574
  "run": "git config --global user.name \\"GitHub Actions\\"",
575
575
  },
576
576
  Object {
577
- "run": "yarn --frozen-lockfile",
577
+ "run": "pnpm install --frozen-lockfile",
578
578
  },
579
579
  Object {
580
- "run": "yarn checkUnknownFiles",
580
+ "run": "pnpm checkUnknownFiles",
581
581
  },
582
582
  Object {
583
- "run": "yarn lint",
583
+ "run": "pnpm lint",
584
584
  },
585
585
  Object {
586
586
  "env": Object {
@@ -588,7 +588,7 @@ Object {
588
588
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
589
589
  },
590
590
  "name": "Push changed files",
591
- "run": "yarn dw-ci push-changed-files",
591
+ "run": "pnpm dw-ci push-changed-files",
592
592
  },
593
593
  Object {
594
594
  "env": Object {
@@ -597,7 +597,7 @@ Object {
597
597
  },
598
598
  "if": "github.ref == 'refs/heads/master'",
599
599
  "name": "Release",
600
- "run": "yarn semantic-release",
600
+ "run": "pnpm semantic-release",
601
601
  },
602
602
  ],
603
603
  },
@@ -622,13 +622,13 @@ Object {
622
622
  "run": "corepack enable",
623
623
  },
624
624
  Object {
625
- "run": "yarn --frozen-lockfile",
625
+ "run": "pnpm install --frozen-lockfile",
626
626
  },
627
627
  Object {
628
628
  "env": Object {
629
629
  "GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
630
630
  },
631
- "run": "yarn test",
631
+ "run": "pnpm test",
632
632
  },
633
633
  Object {
634
634
  "if": "failure()",
@@ -724,13 +724,13 @@ Object {
724
724
  "run": "git config --global user.name \\"GitHub Actions\\"",
725
725
  },
726
726
  Object {
727
- "run": "yarn --frozen-lockfile",
727
+ "run": "pnpm install --frozen-lockfile",
728
728
  },
729
729
  Object {
730
- "run": "yarn checkUnknownFiles",
730
+ "run": "pnpm checkUnknownFiles",
731
731
  },
732
732
  Object {
733
- "run": "yarn lint",
733
+ "run": "pnpm lint",
734
734
  },
735
735
  Object {
736
736
  "env": Object {
@@ -738,7 +738,7 @@ Object {
738
738
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
739
739
  },
740
740
  "name": "Push changed files",
741
- "run": "yarn dw-ci push-changed-files",
741
+ "run": "pnpm dw-ci push-changed-files",
742
742
  },
743
743
  Object {
744
744
  "env": Object {
@@ -747,7 +747,7 @@ Object {
747
747
  },
748
748
  "if": "github.ref == 'refs/heads/master'",
749
749
  "name": "Release",
750
- "run": "yarn semantic-release",
750
+ "run": "pnpm semantic-release",
751
751
  },
752
752
  ],
753
753
  },
@@ -772,14 +772,14 @@ Object {
772
772
  "run": "corepack enable",
773
773
  },
774
774
  Object {
775
- "run": "yarn --frozen-lockfile",
775
+ "run": "pnpm install --frozen-lockfile",
776
776
  },
777
777
  Object {
778
778
  "env": Object {
779
779
  "GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
780
780
  "TEST_FOO": "\${{ secrets.TEST_FOO }}",
781
781
  },
782
- "run": "yarn test",
782
+ "run": "pnpm test",
783
783
  },
784
784
  Object {
785
785
  "if": "failure()",
@@ -1017,7 +1017,7 @@ Object {
1017
1017
  "run": "git config --global user.name \\"GitHub Actions\\"",
1018
1018
  },
1019
1019
  Object {
1020
- "run": "yarn --frozen-lockfile",
1020
+ "run": "pnpm install --frozen-lockfile",
1021
1021
  },
1022
1022
  Object {
1023
1023
  "env": Object {
@@ -1025,7 +1025,7 @@ Object {
1025
1025
  "TEST_BAR": "\${{ secrets.TEST_BAR }}",
1026
1026
  "TEST_FOO": "\${{ secrets.TEST_FOO }}",
1027
1027
  },
1028
- "run": "yarn test",
1028
+ "run": "pnpm test",
1029
1029
  },
1030
1030
  Object {
1031
1031
  "if": "failure()",
@@ -1042,7 +1042,7 @@ Object {
1042
1042
  },
1043
1043
  },
1044
1044
  Object {
1045
- "run": "yarn checkUnknownFiles",
1045
+ "run": "pnpm checkUnknownFiles",
1046
1046
  },
1047
1047
  Object {
1048
1048
  "env": Object {
@@ -1050,7 +1050,7 @@ Object {
1050
1050
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
1051
1051
  },
1052
1052
  "name": "Push changed files",
1053
- "run": "yarn dw-ci push-changed-files",
1053
+ "run": "pnpm dw-ci push-changed-files",
1054
1054
  },
1055
1055
  Object {
1056
1056
  "env": Object {
@@ -1058,7 +1058,7 @@ Object {
1058
1058
  },
1059
1059
  "if": "github.ref == 'refs/heads/master'",
1060
1060
  "name": "Release",
1061
- "run": "yarn semantic-release",
1061
+ "run": "pnpm semantic-release",
1062
1062
  },
1063
1063
  ],
1064
1064
  },
@@ -1112,13 +1112,13 @@ Object {
1112
1112
  "run": "git config --global user.name \\"GitHub Actions\\"",
1113
1113
  },
1114
1114
  Object {
1115
- "run": "yarn --frozen-lockfile",
1115
+ "run": "pnpm install --frozen-lockfile",
1116
1116
  },
1117
1117
  Object {
1118
1118
  "env": Object {
1119
1119
  "GH_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
1120
1120
  },
1121
- "run": "yarn test",
1121
+ "run": "pnpm test",
1122
1122
  },
1123
1123
  Object {
1124
1124
  "if": "failure()",
@@ -1135,7 +1135,7 @@ Object {
1135
1135
  },
1136
1136
  },
1137
1137
  Object {
1138
- "run": "yarn checkUnknownFiles",
1138
+ "run": "pnpm checkUnknownFiles",
1139
1139
  },
1140
1140
  Object {
1141
1141
  "env": Object {
@@ -1143,7 +1143,7 @@ Object {
1143
1143
  "GITHUB_TOKEN": "\${{ secrets.GITHUB_TOKEN }}",
1144
1144
  },
1145
1145
  "name": "Push changed files",
1146
- "run": "yarn dw-ci push-changed-files",
1146
+ "run": "pnpm dw-ci push-changed-files",
1147
1147
  },
1148
1148
  Object {
1149
1149
  "env": Object {
@@ -1151,7 +1151,7 @@ Object {
1151
1151
  },
1152
1152
  "if": "github.ref == 'refs/heads/master'",
1153
1153
  "name": "Release",
1154
- "run": "yarn semantic-release",
1154
+ "run": "pnpm semantic-release",
1155
1155
  },
1156
1156
  ],
1157
1157
  },
@@ -1,3 +1,3 @@
1
1
  export default [{
2
- run: 'yarn checkUnknownFiles'
2
+ run: 'pnpm checkUnknownFiles'
3
3
  }];
@@ -10,7 +10,7 @@ export default (config => {
10
10
  GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
11
11
  },
12
12
  name: 'Push changed files',
13
- run: `yarn ${ci} push-changed-files`
13
+ run: `pnpm ${ci} push-changed-files`
14
14
  }, ...(_ref = [...config.preDeploySteps, {
15
15
  env: {
16
16
  GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}',
@@ -20,7 +20,7 @@ export default (config => {
20
20
  ...config.deployEnv
21
21
  },
22
22
  name: 'Release',
23
- run: 'yarn semantic-release'
23
+ run: 'pnpm semantic-release'
24
24
  }], map(step => ({
25
25
  if: "github.ref == 'refs/heads/master'",
26
26
  ...step
@@ -24,7 +24,7 @@ export default (() => {
24
24
  ...(_ref3 = (_envVariableNames = envVariableNames, map(name => [name, `\${{ secrets.${name} }}`])(_envVariableNames)), fromPairs(_ref3)),
25
25
  GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
26
26
  },
27
- run: 'yarn test'
27
+ run: 'pnpm test'
28
28
  }, {
29
29
  if: 'failure()',
30
30
  uses: gitHubAction`actions/upload-artifact@v3`,
@@ -34,9 +34,9 @@ export default (config => {
34
34
  }, {
35
35
  run: 'git config --global user.name "GitHub Actions"'
36
36
  }, {
37
- run: 'yarn --frozen-lockfile'
37
+ run: 'pnpm install --frozen-lockfile'
38
38
  }, ...checkUnknownFilesSteps, {
39
- run: 'yarn lint'
39
+ run: 'pnpm lint'
40
40
  }, ...getReleaseSteps(config)]
41
41
  },
42
42
  test: {
@@ -56,7 +56,7 @@ export default (config => {
56
56
  }, {
57
57
  run: 'corepack enable'
58
58
  }, {
59
- run: 'yarn --frozen-lockfile'
59
+ run: 'pnpm install --frozen-lockfile'
60
60
  }, ...getTestSteps(), ...(_coverageSteps = coverageSteps, map(step => ({
61
61
  if: `matrix.os == 'ubuntu-latest' && matrix.node == ${config.nodeVersion}`,
62
62
  ...step
@@ -27,7 +27,7 @@ export default (config => ({
27
27
  }, {
28
28
  run: 'git config --global user.name "GitHub Actions"'
29
29
  }, {
30
- run: 'yarn --frozen-lockfile'
30
+ run: 'pnpm install --frozen-lockfile'
31
31
  }, ...getTestSteps(), ...coverageSteps, ...checkUnknownFilesSteps, ...getReleaseSteps(config)]
32
32
  }
33
33
  }));
@@ -6,7 +6,6 @@ Array [
6
6
  "/.env.json",
7
7
  "/.nyc_output",
8
8
  "/.test.env.json",
9
- "/.yarn",
10
9
  "/coverage",
11
10
  "/node_modules",
12
11
  "foo",
@@ -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
- yarn --frozen-lockfile",
19
+ pnpm install --frozen-lockfile",
20
20
  },
21
21
  ],
22
22
  "vscode": Object {
@@ -23,7 +23,7 @@ export default function () {
23
23
  git config --global user.name "${personalData.name}"
24
24
  git config diff.lfs.textconv cat
25
25
  git lfs pull
26
- yarn --frozen-lockfile
26
+ pnpm install --frozen-lockfile
27
27
  `
28
28
  }],
29
29
  vscode: {
@@ -21,15 +21,13 @@ Object {
21
21
  ".releaserc.json": true,
22
22
  ".renovaterc.json": true,
23
23
  ".vscode": true,
24
- ".yarn": true,
25
- ".yarnrc.yml": true,
26
24
  "CHANGELOG.md": true,
27
25
  "LICENSE.md": true,
28
26
  "bar": true,
29
27
  "coverage": true,
30
28
  "foo": true,
31
29
  "node_modules": true,
32
- "yarn.lock": true,
30
+ "pnpm-lock.yaml": true,
33
31
  },
34
32
  "workbench.editor.enablePreview": false,
35
33
  }
@@ -12,9 +12,9 @@ import deprecatedDependenciesIssueTemplate from "./github-deprecated-dependencie
12
12
  import githubFunding from "./github-funding.js";
13
13
  import githubLabelsConfig from "./github-labels.js";
14
14
  import githubSyncLabelsConfig from "./github-sync-labels.js";
15
- import yarn from "./yarn.js";
15
+ import npmrc from "./npmrc.js";
16
16
  export default function () {
17
- var _babelConfig, _commitlintConfig, _commitizenConfig, _this$getGithubCodesp, _this$getEslintConfig, _githubFunding, _sortKeys, _sortKeys2, _sortKeys3, _sortKeys4, _sortKeys5, _ref, _this$getGitignoreCon, _this$getGitpodConfig, _this$getReleaseConfi, _sortKeys6, _this$getVscodeConfig, _yarn, _ref2, _packageConfig;
17
+ var _babelConfig, _commitlintConfig, _commitizenConfig, _this$getGithubCodesp, _this$getEslintConfig, _githubFunding, _sortKeys, _sortKeys2, _sortKeys3, _sortKeys4, _sortKeys5, _ref, _this$getGitignoreCon, _this$getGitpodConfig, _this$getReleaseConfi, _sortKeys6, _this$getVscodeConfig, _ref2, _packageConfig;
18
18
  const packageConfig = this.getPackageConfig();
19
19
  return {
20
20
  '.babelrc.json': `${(_babelConfig = babelConfig, jsonToString({
@@ -54,6 +54,7 @@ export default function () {
54
54
  '.gitignore': (_ref = (_this$getGitignoreCon = this.getGitignoreConfig(), map(entry => `${entry}\n`)(_this$getGitignoreCon)), join('')(_ref)),
55
55
  '.gitpod.Dockerfile': this.getGitpodDockerfile(),
56
56
  '.gitpod.yml': (_this$getGitpodConfig = this.getGitpodConfig(), yaml.stringify(_this$getGitpodConfig)),
57
+ '.npmrc': `${npmrc}\n`,
57
58
  '.releaserc.json': `${(_this$getReleaseConfi = this.getReleaseConfig(), jsonToString({
58
59
  indent: 2
59
60
  })(_this$getReleaseConfi))}\n`,
@@ -65,7 +66,6 @@ export default function () {
65
66
  '.vscode/settings.json': `${(_this$getVscodeConfig = this.getVscodeConfig(), jsonToString({
66
67
  indent: 2
67
68
  })(_this$getVscodeConfig))}\n`,
68
- '.yarnrc.yml': (_yarn = yarn, yaml.stringify(_yarn)),
69
69
  'LICENSE.md': this.getLicenseString(),
70
70
  'README.md': this.getReadmeString(),
71
71
  'package.json': `${(_ref2 = (_packageConfig = packageConfig, sortPackageJson(_packageConfig)), jsonToString({
@@ -0,0 +1 @@
1
+ export default 'node-linker=hoisted';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "11.2.0",
3
+ "version": "11.2.1",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",
@@ -88,14 +88,13 @@
88
88
  "@dword-design/chdir": "^3.0.0",
89
89
  "@dword-design/tester": "^2.0.0",
90
90
  "@dword-design/tester-plugin-tmp-dir": "^2.0.0",
91
- "is-docker": "^3.0.0",
92
91
  "node-version": "^3.0.0",
93
92
  "p-event": "^6.0.0",
94
93
  "rimraf": "^5.0.1",
95
94
  "sharp": "^0.32.1",
96
95
  "unify-mocha-output": "^2.0.0"
97
96
  },
98
- "packageManager": "yarn@4.4.0",
97
+ "packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247",
99
98
  "engines": {
100
99
  "node": ">=18"
101
100
  },
@@ -1,3 +0,0 @@
1
- export default {
2
- nodeLinker: 'node-modules'
3
- };