@dword-design/base 12.0.11 → 12.0.13

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.
@@ -24,11 +24,12 @@ export default async function () {
24
24
  'pnpm-workspace.yaml': true,
25
25
  'types.d.ts': true
26
26
  }), ...Object.keys(this.config.testRunner === 'playwright' ? {
27
- '**/__image_snapshots__': true,
28
- '**/__snapshots__': true,
27
+ '**/*-snapshots/**': true,
28
+ // For some reason without the trailing ** didn't work
29
29
  'playwright.config.js': true
30
30
  } : {
31
- '**/*-snapshots/**': true // For some reason without the trailing ** didn't work
31
+ '**/__image_snapshots__': true,
32
+ '**/__snapshots__': true
32
33
  }), ...this.config.allowedMatches];
33
34
  const unknownFiles = (_ref = (_globby = globby('**', {
34
35
  dot: true,
package/dist/index.js CHANGED
@@ -6,6 +6,7 @@ import depcheck from 'depcheck';
6
6
  import depcheckDetectorBinName from 'depcheck-detector-bin-name';
7
7
  import depcheckDetectorExeca from 'depcheck-detector-execa';
8
8
  import depcheckDetectorPackageName from 'depcheck-detector-package-name';
9
+ import depcheckDetectorTinyexec from 'depcheck-detector-tinyexec';
9
10
  import packageName from 'depcheck-package-name';
10
11
  import depcheckParserBabel from 'depcheck-parser-babel';
11
12
  import fs from 'fs-extra';
@@ -66,7 +67,7 @@ class Base {
66
67
  allowedMatches: [],
67
68
  commands: {},
68
69
  depcheckConfig: {
69
- detectors: [depcheck.detector.importDeclaration, depcheck.detector.requireCallExpression, depcheck.detector.requireResolveCallExpression, depcheckDetectorExeca, depcheckDetectorPackageName, depcheckDetectorBinName],
70
+ detectors: [depcheck.detector.importDeclaration, depcheck.detector.requireCallExpression, depcheck.detector.requireResolveCallExpression, depcheckDetectorExeca, depcheckDetectorTinyexec, depcheckDetectorPackageName, depcheckDetectorBinName],
70
71
  ignorePath: '.gitignore',
71
72
  parsers: {
72
73
  '**/*.js': depcheckParserBabel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "12.0.11",
3
+ "version": "12.0.13",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",
@@ -50,6 +50,7 @@
50
50
  "depcheck-detector-bin-name": "^1.0.2",
51
51
  "depcheck-detector-execa": "^4.0.0",
52
52
  "depcheck-detector-package-name": "^3.0.4",
53
+ "depcheck-detector-tinyexec": "^1.0.0",
53
54
  "depcheck-package-name": "^3.0.1",
54
55
  "depcheck-parser-babel": "^3.0.57",
55
56
  "eslint": "^9.27.0",