declapract-typescript-ehmpathy 0.47.22 → 0.47.23
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.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Deprecated rhachet.use.ts File
|
|
2
|
+
|
|
3
|
+
This bad practice detects and removes the deprecated `@/rhachet.use.ts` (i.e., `rhachet.use.ts` at repo root) config file.
|
|
4
|
+
|
|
5
|
+
## Why
|
|
6
|
+
|
|
7
|
+
The `rhachet.use.ts` config file pattern has been deprecated. Projects should migrate away from this pattern.
|
|
8
|
+
|
|
9
|
+
## Fix
|
|
10
|
+
|
|
11
|
+
The fix automatically deletes the file from the repository.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FileCheckType, type FileFixFunction } from 'declapract';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* .what = detects the deprecated @/rhachet.use.ts config file
|
|
5
|
+
* .why = this config file pattern has been deprecated and should be removed
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export const check = FileCheckType.EXISTS;
|
|
9
|
+
|
|
10
|
+
export const fix: FileFixFunction = () => {
|
|
11
|
+
return { contents: null }; // delete the file
|
|
12
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"devDependencies": {
|
|
3
|
-
"rhachet": "@declapract{check.minVersion('1.
|
|
4
|
-
"rhachet-roles-ehmpathy": "@declapract{check.minVersion('1.17.
|
|
5
|
-
"rhachet-roles-bhrain": "@declapract{check.minVersion('0.5.
|
|
6
|
-
"rhachet-roles-bhuild": "@declapract{check.minVersion('0.
|
|
3
|
+
"rhachet": "@declapract{check.minVersion('1.22.7')}",
|
|
4
|
+
"rhachet-roles-ehmpathy": "@declapract{check.minVersion('1.17.20')}",
|
|
5
|
+
"rhachet-roles-bhrain": "@declapract{check.minVersion('0.5.11')}",
|
|
6
|
+
"rhachet-roles-bhuild": "@declapract{check.minVersion('0.6.6')}"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
|
-
"prepare:rhachet": "rhachet init --
|
|
9
|
+
"prepare:rhachet": "rhachet init --roles behaver mechanic reviewer"
|
|
10
10
|
}
|
|
11
11
|
}
|
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.23",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"repository": "ehmpathy/declapract-typescript-ehmpathy",
|
|
@@ -43,12 +43,11 @@
|
|
|
43
43
|
"preversion": "npm run prepush",
|
|
44
44
|
"postversion": "git push origin HEAD --tags --no-verify",
|
|
45
45
|
"prepare:husky": "husky install && chmod ug+x .husky/*",
|
|
46
|
-
"prepare:rhachet": "rhachet init
|
|
46
|
+
"prepare:rhachet": "npx rhachet init --roles behaver mechanic reviewer",
|
|
47
47
|
"prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"domain-objects": "0.31.
|
|
51
|
-
"esbuild-register": "3.6.0",
|
|
50
|
+
"domain-objects": "0.31.9",
|
|
52
51
|
"expect": "29.4.2",
|
|
53
52
|
"flat": "5.0.2",
|
|
54
53
|
"helpful-errors": "1.5.3",
|
|
@@ -75,10 +74,10 @@
|
|
|
75
74
|
"esbuild-register": "3.6.0",
|
|
76
75
|
"husky": "8.0.3",
|
|
77
76
|
"jest": "30.2.0",
|
|
78
|
-
"rhachet": "1.
|
|
79
|
-
"rhachet-roles-bhrain": "0.5.
|
|
80
|
-
"rhachet-roles-bhuild": "0.
|
|
81
|
-
"rhachet-roles-ehmpathy": "1.17.
|
|
77
|
+
"rhachet": "1.22.6",
|
|
78
|
+
"rhachet-roles-bhrain": "0.5.11",
|
|
79
|
+
"rhachet-roles-bhuild": "0.6.6",
|
|
80
|
+
"rhachet-roles-ehmpathy": "1.17.20",
|
|
82
81
|
"tsc-alias": "1.8.10",
|
|
83
82
|
"tsx": "4.20.6",
|
|
84
83
|
"type-fns": "0.8.1",
|