dev-react-microstore 1.0.0 → 1.0.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.
- package/README.md +11 -7
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -162,13 +162,17 @@ npm install --save-dev eslint-plugin-react-microstore
|
|
|
162
162
|
|
|
163
163
|
ESLint configuration:
|
|
164
164
|
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
}
|
|
165
|
+
```tsx
|
|
166
|
+
import reactMicrostore from 'eslint-plugin-react-microstore';
|
|
167
|
+
|
|
168
|
+
const eslintConfig = [{
|
|
169
|
+
"plugins": {
|
|
170
|
+
"react-microstore": reactMicrostore
|
|
171
|
+
},
|
|
172
|
+
"rules": {
|
|
173
|
+
"react-microstore/no-unused-selector-keys": "warn"
|
|
174
|
+
}
|
|
175
|
+
}]
|
|
172
176
|
```
|
|
173
177
|
|
|
174
178
|
`react-microstore/no-unused-selector-keys`
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dev-react-microstore",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "A minimal global state manager for React with fine-grained subscriptions.",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsup src/index.ts --format esm,cjs --dts --minify",
|
|
9
|
-
"prepare": "npm run build"
|
|
10
|
-
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
"react",
|
|
13
|
-
"state",
|
|
14
|
-
"store",
|
|
15
|
-
"microstore",
|
|
16
|
-
"selector",
|
|
17
|
-
"hook",
|
|
18
|
-
"tiny",
|
|
19
|
-
"minimal"
|
|
20
|
-
],
|
|
21
|
-
"author": "Ohad Baehr",
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"peerDependencies": {
|
|
24
|
-
"react": ">=17.0.0",
|
|
25
|
-
"react-dom": ">=17.0.0"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@types/react": "^19.1.2",
|
|
29
|
-
"tsup": "^8.4.0",
|
|
30
|
-
"typescript": "^5.8.3"
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dev-react-microstore",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "A minimal global state manager for React with fine-grained subscriptions.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsup src/index.ts --format esm,cjs --dts --minify",
|
|
9
|
+
"prepare": "npm run build"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"react",
|
|
13
|
+
"state",
|
|
14
|
+
"store",
|
|
15
|
+
"microstore",
|
|
16
|
+
"selector",
|
|
17
|
+
"hook",
|
|
18
|
+
"tiny",
|
|
19
|
+
"minimal"
|
|
20
|
+
],
|
|
21
|
+
"author": "Ohad Baehr",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"react": ">=17.0.0",
|
|
25
|
+
"react-dom": ">=17.0.0"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/react": "^19.1.2",
|
|
29
|
+
"tsup": "^8.4.0",
|
|
30
|
+
"typescript": "^5.8.3"
|
|
31
|
+
}
|
|
32
32
|
}
|