@ts-dev-tools/react 1.9.0 → 1.9.2

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. 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 --include=dev @ts-dev-tools/react
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
- npx ts-dev-tools install
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.0",
3
+ "version": "1.9.2",
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": "yarn link && tsc -w",
32
- "stop": "yarn unlink",
31
+ "start": "pnpm link && tsc -w",
32
+ "stop": "pnpm unlink",
33
33
  "build": "rimraf dist && tsc",
34
34
  "jest": "jest --detectOpenHandles --forceExit",
35
- "test": "yarn jest --maxWorkers=50%",
36
- "test:unit": "yarn test --testPathPattern \".+spec\\.ts\"",
37
- "test:e2e": "yarn test --testPathPattern \".+e2e\\.spec\\.ts\"",
38
- "test:coverage": "yarn 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.0",
48
+ "@ts-dev-tools/core": "^1.9.2",
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": "81a30105d496ffa06a6d3c14140a822f9752278b"
80
+ "gitHead": "5ca47313d030a41f7a0191f97516e920232851d2"
86
81
  }