@ts-dev-tools/react 1.9.0 → 1.9.1
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/README.md +3 -3
- package/package.json +10 -15
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
### _1_. Install
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
npm install --
|
|
40
|
+
npm install --save-dev @ts-dev-tools/react
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
Or
|
|
@@ -49,7 +49,7 @@ yarn add --dev @ts-dev-tools/react
|
|
|
49
49
|
### _2_. Enable ts-dev-tools
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
|
|
52
|
+
npm exec ts-dev-tools install
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Or
|
|
@@ -58,4 +58,4 @@ Or
|
|
|
58
58
|
yarn ts-dev-tools install
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
⚠️ If your package is not private and you're publishing it on a registry like npmjs.com, you need to disable postinstall script using [pinst](https://github.com/typicode/pinst). Otherwise, postinstall will run when someone installs your package and result in an error.
|
|
61
|
+
⚠️ If your package is using yarn, is not private and you're publishing it on a registry like npmjs.com, you need to disable postinstall script using [pinst](https://github.com/typicode/pinst). Otherwise, postinstall will run when someone installs your package and result in an error.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-dev-tools/react",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "TS dev tools for React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"linter",
|
|
@@ -28,17 +28,15 @@
|
|
|
28
28
|
"url": "git+https://github.com/escemi-tech/ts-dev-tools.git"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
|
-
"start": "
|
|
32
|
-
"stop": "
|
|
31
|
+
"start": "pnpm link && tsc -w",
|
|
32
|
+
"stop": "pnpm unlink",
|
|
33
33
|
"build": "rimraf dist && tsc",
|
|
34
34
|
"jest": "jest --detectOpenHandles --forceExit",
|
|
35
|
-
"test": "
|
|
36
|
-
"test:unit": "
|
|
37
|
-
"test:e2e": "
|
|
38
|
-
"test:coverage": "
|
|
39
|
-
"lint": "eslint \"src/**/*.{ts,tsx}\""
|
|
40
|
-
"prepublishOnly": "pinst --disable",
|
|
41
|
-
"postpublish": "pinst --enable"
|
|
35
|
+
"test": "npm run jest -- --maxWorkers=50%",
|
|
36
|
+
"test:unit": "npm run test -- --testPathPattern \".+spec\\.ts\"",
|
|
37
|
+
"test:e2e": "npm run test -- --testPathPattern \".+e2e\\.spec\\.ts\"",
|
|
38
|
+
"test:coverage": "npm run test -- --coverage",
|
|
39
|
+
"lint": "eslint \"src/**/*.{ts,tsx}\""
|
|
42
40
|
},
|
|
43
41
|
"bugs": {
|
|
44
42
|
"url": "https://github.com/escemi-tech/ts-dev-tools/issues"
|
|
@@ -47,16 +45,13 @@
|
|
|
47
45
|
"@testing-library/dom": "^10.4.0",
|
|
48
46
|
"@testing-library/jest-dom": "^6.5.0",
|
|
49
47
|
"@testing-library/react": "^16.3.0",
|
|
50
|
-
"@ts-dev-tools/core": "^1.9.
|
|
48
|
+
"@ts-dev-tools/core": "^1.9.1",
|
|
51
49
|
"@types/react": "^19.1.2",
|
|
52
50
|
"@types/react-dom": "^19.1.2",
|
|
53
51
|
"eslint-plugin-react": "^7.37.5",
|
|
54
52
|
"jest-environment-jsdom": "^29.3.1",
|
|
55
53
|
"react-test-renderer": "^19.1.0"
|
|
56
54
|
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"pinst": "^3.0.0"
|
|
59
|
-
},
|
|
60
55
|
"prettier": {
|
|
61
56
|
"semi": true,
|
|
62
57
|
"printWidth": 100,
|
|
@@ -82,5 +77,5 @@
|
|
|
82
77
|
"github-actions"
|
|
83
78
|
]
|
|
84
79
|
},
|
|
85
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "cec0352615e50a8aa5716e057abbd970bccbddd7"
|
|
86
81
|
}
|