declapract-typescript-ehmpathy 0.47.73 → 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.
@@ -8,6 +8,7 @@ import expect from 'expect';
8
8
  const ignoresSortable = [
9
9
  '*.log',
10
10
  '*.tsbuildinfo',
11
+ '.agent/.cache/', // agent cache (trash dir, temp files)
11
12
  '.artifact', // deployment artifacts from `simple-artifact-builder` are produced here
12
13
  '.cache/', // cache directories from various tools
13
14
  '.env',
@@ -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: []
@@ -12,6 +12,7 @@
12
12
  "!**/dist",
13
13
  "!**/coverage",
14
14
  "!**/node_modules",
15
+ "!**/.agent/.cache",
15
16
  "!**/.artifact",
16
17
  "!**/.generated",
17
18
  "!**/.test*"
@@ -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
  }
@@ -29,7 +29,7 @@ const config: Config = {
29
29
  // here's an example of how to ignore esm module transformation, when needed
30
30
  // 'node_modules/(?!(@octokit|universal-user-agent|before-after-hook)/)',
31
31
  ],
32
- testMatch: ['**/*.acceptance.test.ts', '!**/.yalc/**'],
32
+ testMatch: ['**/*.acceptance.test.ts', '!**/.agent/.cache/**', '!**/.yalc/**'],
33
33
  setupFilesAfterEnv: ['./jest.acceptance.env.ts'],
34
34
 
35
35
  // use 50% of threads to leave headroom for other processes
@@ -29,7 +29,7 @@ const config: Config = {
29
29
  // here's an example of how to ignore esm module transformation, when needed
30
30
  // 'node_modules/(?!(@octokit|universal-user-agent|before-after-hook)/)',
31
31
  ],
32
- testMatch: ['**/*.integration.test.ts', '!**/.yalc/**'],
32
+ testMatch: ['**/*.integration.test.ts', '!**/.agent/.cache/**', '!**/.yalc/**'],
33
33
  setupFilesAfterEnv: ['./jest.integration.env.ts'],
34
34
 
35
35
  // use 50% of threads to leave headroom for other processes
@@ -33,6 +33,7 @@ const config: Config = {
33
33
  '**/*.test.ts',
34
34
  '!**/*.acceptance.test.ts',
35
35
  '!**/*.integration.test.ts',
36
+ '!**/.agent/.cache/**',
36
37
  '!**/.yalc/**',
37
38
  ],
38
39
  setupFilesAfterEnv: ['./jest.unit.env.ts'],
@@ -27,6 +27,7 @@
27
27
  "**/*.ts"
28
28
  ],
29
29
  "exclude": [
30
+ ".agent/.cache",
30
31
  "dist",
31
32
  "coverage",
32
33
  "node_modules",
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.73",
5
+ "version": "0.47.75",
6
6
  "license": "MIT",
7
7
  "main": "src/index.js",
8
8
  "repository": "ehmpathy/declapract-typescript-ehmpathy",
@@ -79,8 +79,8 @@
79
79
  "rhachet-brains-anthropic": "0.4.1",
80
80
  "rhachet-brains-xai": "0.3.3",
81
81
  "rhachet-roles-bhrain": "0.27.8",
82
- "rhachet-roles-bhuild": "0.21.11",
83
- "rhachet-roles-ehmpathy": "1.35.8",
82
+ "rhachet-roles-bhuild": "0.21.13",
83
+ "rhachet-roles-ehmpathy": "1.35.12",
84
84
  "tsc-alias": "1.8.10",
85
85
  "tsx": "4.20.6",
86
86
  "type-fns": "1.21.2",