@dword-design/base 12.0.9 → 12.0.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.
@@ -16,8 +16,6 @@ export default async function () {
16
16
  '.husky/pre-push': true,
17
17
  'CHANGELOG.md': true,
18
18
  PRCHECKLIST: true,
19
- __image_snapshots__: true,
20
- __snapshots__: true,
21
19
  demo: true,
22
20
  doc: true,
23
21
  'eslint.config.js': true,
@@ -25,7 +23,13 @@ export default async function () {
25
23
  'pnpm-lock.yaml': true,
26
24
  'pnpm-workspace.yaml': true,
27
25
  'types.d.ts': true
28
- }), ...(this.config.testRunner === 'playwright' ? ['playwright.config.js'] : []), ...this.config.allowedMatches];
26
+ }), ...Object.keys(this.config.testRunner === 'playwright' ? {
27
+ '**/__image_snapshots__': true,
28
+ '**/__snapshots__': true,
29
+ 'playwright.config.js': true
30
+ } : {
31
+ '**/*-snapshots/**': true // For some reason without the trailing ** didn't work
32
+ }), ...this.config.allowedMatches];
29
33
  const unknownFiles = (_ref = (_globby = globby('**', {
30
34
  dot: true,
31
35
  gitignore: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "12.0.9",
3
+ "version": "12.0.11",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",