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.
- package/dist/practices/git/best-practice/.gitignore.declapract.ts +1 -0
- package/dist/practices/lint/best-practice/.dpdmrc.yaml +5 -2
- package/dist/practices/lint/best-practice/biome.jsonc +1 -0
- package/dist/practices/lint/best-practice/package.json +1 -1
- package/dist/practices/tests/best-practice/jest.acceptance.config.ts +1 -1
- package/dist/practices/tests/best-practice/jest.integration.config.ts +1 -1
- package/dist/practices/tests/best-practice/jest.unit.config.ts +1 -0
- package/dist/practices/typescript/best-practice/tsconfig.json +1 -0
- package/package.json +3 -3
|
@@ -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
|
-
#
|
|
5
|
-
#
|
|
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
|
|
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
|
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.
|
|
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.
|
|
83
|
-
"rhachet-roles-ehmpathy": "1.35.
|
|
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",
|