@dword-design/base 11.3.9 → 11.3.11

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.
@@ -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 = ['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 ? {
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
@@ -30,7 +30,7 @@ export default async function (options) {
30
30
  await this.depcheck();
31
31
  }
32
32
  const runDockerTests = !isCI() || !(_ref = ['win32', 'darwin'], includes(process.platform)(_ref));
33
- return execa(this.packageConfig.type === 'module' ? packageName`c8` : packageName`nyc`, this.config.testRunner === 'playwright' ? ['playwright', 'test', ...(options.updateSnapshots ? ['--update-snapshots'] : []), ...(options.ui ? ['--ui'] : []), ...(options.uiHost ? ['--ui-host', options.uiHost] : []), ...(options.grep ? ['--grep', options.grep] : []), '--trace', 'retain-on-failure', ...(isCI() ? ['--forbid-only'] : []),
33
+ return execa(this.packageConfig.type === 'module' ? packageName`c8` : packageName`nyc`, this.config.testRunner === 'playwright' ? ['playwright', 'test', '--pass-with-no-tests', ...(runDockerTests ? [] : ['--grep-invert', '@usesdocker']), ...(options.updateSnapshots ? ['--update-snapshots'] : []), ...(options.ui ? ['--ui'] : []), ...(options.uiHost ? ['--ui-host', options.uiHost] : []), ...(options.grep ? ['--grep', options.grep] : []), '--trace', 'retain-on-failure', ...(isCI() ? ['--forbid-only'] : []),
34
34
  /**
35
35
  * Reporter set to dot in CI environments by default.
36
36
  * See https://github.com/microsoft/playwright/blob/42ade54975f6990c41cddc7b6e11c46a36648d0d/packages/playwright/src/common/config.ts#L301.
@@ -42,9 +42,6 @@ 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
- },
48
45
  "run": "pnpm install --frozen-lockfile",
49
46
  },
50
47
  Object {
@@ -93,9 +90,6 @@ Object {
93
90
  "run": "corepack enable",
94
91
  },
95
92
  Object {
96
- "env": Object {
97
- "COREPACK_INTEGRITY_KEYS": 0,
98
- },
99
93
  "run": "pnpm install --frozen-lockfile",
100
94
  },
101
95
  Object {
@@ -200,9 +194,6 @@ Object {
200
194
  "run": "git config --global user.name \\"GitHub Actions\\"",
201
195
  },
202
196
  Object {
203
- "env": Object {
204
- "COREPACK_INTEGRITY_KEYS": 0,
205
- },
206
197
  "run": "pnpm install --frozen-lockfile",
207
198
  },
208
199
  Object {
@@ -251,9 +242,6 @@ Object {
251
242
  "run": "corepack enable",
252
243
  },
253
244
  Object {
254
- "env": Object {
255
- "COREPACK_INTEGRITY_KEYS": 0,
256
- },
257
245
  "run": "pnpm install --frozen-lockfile",
258
246
  },
259
247
  Object {
@@ -354,9 +342,6 @@ Object {
354
342
  "run": "git config --global user.name \\"GitHub Actions\\"",
355
343
  },
356
344
  Object {
357
- "env": Object {
358
- "COREPACK_INTEGRITY_KEYS": 0,
359
- },
360
345
  "run": "pnpm install --frozen-lockfile",
361
346
  },
362
347
  Object {
@@ -405,9 +390,6 @@ Object {
405
390
  "run": "corepack enable",
406
391
  },
407
392
  Object {
408
- "env": Object {
409
- "COREPACK_INTEGRITY_KEYS": 0,
410
- },
411
393
  "run": "pnpm install --frozen-lockfile",
412
394
  },
413
395
  Object {
@@ -504,9 +486,6 @@ Object {
504
486
  "run": "git config --global user.name \\"GitHub Actions\\"",
505
487
  },
506
488
  Object {
507
- "env": Object {
508
- "COREPACK_INTEGRITY_KEYS": 0,
509
- },
510
489
  "run": "pnpm install --frozen-lockfile",
511
490
  },
512
491
  Object {
@@ -607,9 +586,6 @@ Object {
607
586
  "run": "git config --global user.name \\"GitHub Actions\\"",
608
587
  },
609
588
  Object {
610
- "env": Object {
611
- "COREPACK_INTEGRITY_KEYS": 0,
612
- },
613
589
  "run": "pnpm install --frozen-lockfile",
614
590
  },
615
591
  Object {
@@ -659,9 +635,6 @@ Object {
659
635
  "run": "corepack enable",
660
636
  },
661
637
  Object {
662
- "env": Object {
663
- "COREPACK_INTEGRITY_KEYS": 0,
664
- },
665
638
  "run": "pnpm install --frozen-lockfile",
666
639
  },
667
640
  Object {
@@ -766,9 +739,6 @@ Object {
766
739
  "run": "git config --global user.name \\"GitHub Actions\\"",
767
740
  },
768
741
  Object {
769
- "env": Object {
770
- "COREPACK_INTEGRITY_KEYS": 0,
771
- },
772
742
  "run": "pnpm install --frozen-lockfile",
773
743
  },
774
744
  Object {
@@ -818,9 +788,6 @@ Object {
818
788
  "run": "corepack enable",
819
789
  },
820
790
  Object {
821
- "env": Object {
822
- "COREPACK_INTEGRITY_KEYS": 0,
823
- },
824
791
  "run": "pnpm install --frozen-lockfile",
825
792
  },
826
793
  Object {
@@ -1068,9 +1035,6 @@ Object {
1068
1035
  "run": "git config --global user.name \\"GitHub Actions\\"",
1069
1036
  },
1070
1037
  Object {
1071
- "env": Object {
1072
- "COREPACK_INTEGRITY_KEYS": 0,
1073
- },
1074
1038
  "run": "pnpm install --frozen-lockfile",
1075
1039
  },
1076
1040
  Object {
@@ -1169,9 +1133,6 @@ Object {
1169
1133
  "run": "git config --global user.name \\"GitHub Actions\\"",
1170
1134
  },
1171
1135
  Object {
1172
- "env": Object {
1173
- "COREPACK_INTEGRITY_KEYS": 0,
1174
- },
1175
1136
  "run": "pnpm install --frozen-lockfile",
1176
1137
  },
1177
1138
  Object {
@@ -34,9 +34,6 @@ 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
- },
40
37
  run: 'pnpm install --frozen-lockfile'
41
38
  }, ...checkUnknownFilesSteps, {
42
39
  run: 'pnpm lint'
@@ -60,9 +57,6 @@ export default config => {
60
57
  }, {
61
58
  run: 'corepack enable'
62
59
  }, {
63
- env: {
64
- COREPACK_INTEGRITY_KEYS: 0
65
- },
66
60
  run: 'pnpm install --frozen-lockfile'
67
61
  }, ...getTestSteps(), ...(_coverageSteps = coverageSteps, map(step => ({
68
62
  if: `matrix.os == 'ubuntu-latest' && matrix.node == ${config.nodeVersion}`,
@@ -28,9 +28,6 @@ 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
- },
34
31
  run: 'pnpm install --frozen-lockfile'
35
32
  }, ...getTestSteps(), ...coverageSteps, ...checkUnknownFilesSteps, ...getReleaseSteps(config)]
36
33
  }
@@ -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
- COREPACK_INTEGRITY_KEYS=0 pnpm install --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
- COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile
26
+ pnpm install --frozen-lockfile
27
27
  `
28
28
  }],
29
29
  vscode: {
@@ -1,3 +1,3 @@
1
1
  export default {
2
- postCreateCommand: 'COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile'
2
+ postCreateCommand: 'pnpm install --frozen-lockfile'
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "11.3.9",
3
+ "version": "11.3.11",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",