rainbow-actions
Advanced tools
+1
-1
@@ -35,2 +35,2 @@ import type {AbstractAction, ActionUnionToDictionary, DeepWriteable} from './_types'; | ||
| state: S, | ||
| ): (state: S, action: A) => S; | ||
| ): (state: S | undefined, action: A) => S; |
+6
-2
| { | ||
| "name": "rainbow-actions", | ||
| "version": "0.2.1", | ||
| "version": "0.2.2", | ||
| "description": "Type safe and namespaced redux actions", | ||
@@ -8,5 +8,6 @@ "main": "index.js", | ||
| "scripts": { | ||
| "preversion": "npm run clean && npm ci && npm run types", | ||
| "preversion": "npm run clean && npm ci && npm run install-peers && npm run types && npm test", | ||
| "postversion": "npm run prep && npm publish dist && git push --follow-tags", | ||
| "prep": "rm -rf dist && copyfiles ./src/* package.json README.md -f -a ./dist/", | ||
| "install-peers": "npm i immer@8 --no-save", | ||
| "clean": "rm -rf node_modules", | ||
@@ -34,3 +35,6 @@ "types": "tsc", | ||
| "immer": "^8.*.*" | ||
| }, | ||
| "engines": { | ||
| "node": ">=12" | ||
| } | ||
| } |
+1
-1
@@ -33,2 +33,2 @@ import type {AbstractAction, ActionUnionToDictionary, DeepReadonly} from './_types'; | ||
| state: S, | ||
| ): (state: S, action: A) => S; | ||
| ): (state: S | undefined, action: A) => S; |
19523
0.76%