declapract-typescript-ehmpathy 0.47.74 → 0.47.75

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.
@@ -1,6 +1,9 @@
1
1
  # dpdm exclude patterns
2
2
  # each entry is joined with | to form a single regex for --exclude
3
3
  #
4
- # only exclude devDependencies here
5
- # if you exclude a prod dependency, you ship cycles to consumers and break their builds
4
+ # with --transform flag, type imports are erased before analysis
5
+ # and test files are excluded via glob pattern '!(*.test).ts'
6
+ # so excludes are rarely needed even for devDependencies
7
+ #
8
+ # never exclude prod dependencies — you'd ship cycles to consumers
6
9
  exclude: []
@@ -10,7 +10,7 @@
10
10
  "test:format:biome": "biome format",
11
11
  "test:lint:biome": "biome check --diagnostic-level=error",
12
12
  "test:lint:biome:all": "biome check",
13
- "test:lint:cycles": "dpdm --no-warning --no-tree --exit-code circular:1 --exclude \"$(yq -r '.exclude | join(\"|\") // \"^$\"' .dpdmrc.yaml)\" 'src/**/*.ts'",
13
+ "test:lint:cycles": "dpdm --no-warning --no-tree --transform --exit-code circular:1 --exclude \"$(yq -r '.exclude | join(\"|\") // \"^$\"' .dpdmrc.yaml)\" 'src/**/!(*.test).ts'",
14
14
  "test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
15
15
  "test:lint": "npm run test:lint:biome && npm run test:lint:cycles && npm run test:lint:deps"
16
16
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "declapract-typescript-ehmpathy",
3
3
  "author": "ehmpathy",
4
4
  "description": "declapract best practices declarations for typescript",
5
- "version": "0.47.74",
5
+ "version": "0.47.75",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
8
  "repository": "ehmpathy/declapract-typescript-ehmpathy",