-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: types has been completely redesigned
Types are not inferred anymore, types are now pre-defined instead.
- Loading branch information
Showing
3 changed files
with
148 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = true | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,54 @@ | ||
{ | ||
"name": "@teroneko/redux-saga-promise", | ||
"version": "1.2.2", | ||
"description": "Create actions that return promises, which are resolved or rejected by a redux saga", | ||
"main": "dist/src/index.js", | ||
"typings": "dist/src/index.d.ts", | ||
"scripts": { | ||
"build": "npx tsc", | ||
"pretest": "npm run build", | ||
"test": "npx jest", | ||
"prepublishOnly": "npm run test" | ||
}, | ||
"keywords": [ | ||
"redux", | ||
"saga", | ||
"action", | ||
"promise", | ||
"promises", | ||
"resolve", | ||
"reject" | ||
], | ||
"author": "teroneko", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/jest": "^27.0.2", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"eslint-config-airbnb-typescript": "^14.0.1", | ||
"eslint-plugin-import": "^2.24.2", | ||
"jest": "^27.3.1", | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.4.4" | ||
}, | ||
"dependencies": { | ||
"@reduxjs/toolkit": "^1.6.2", | ||
"@types/lodash": "^4.14.176", | ||
"lodash": "^4.17.21", | ||
"redux": "^4.1.2", | ||
"redux-saga": "^1.1.3" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/teroneko/redux-saga-promise.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/teroneko/redux-saga-promise/issues" | ||
}, | ||
"homepage": "https://github.com/teroneko/redux-saga-promise#readme" | ||
} | ||
{ | ||
"name": "@teroneko/redux-saga-promise", | ||
"version": "1.2.2", | ||
"description": "Create actions that return promises, which are resolved or rejected by a redux saga", | ||
"main": "dist/src/index.js", | ||
"typings": "dist/src/index.d.ts", | ||
"scripts": { | ||
"build": "npx tsc", | ||
"pretest": "npm run build", | ||
"test": "npx jest", | ||
"prepublishOnly": "rm -r dist && npm run test" | ||
}, | ||
"keywords": [ | ||
"redux", | ||
"saga", | ||
"action", | ||
"promise", | ||
"promises", | ||
"resolve", | ||
"reject" | ||
], | ||
"author": "teroneko", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/jest": "^27.0.2", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"eslint-config-airbnb-typescript": "^14.0.1", | ||
"eslint-plugin-import": "^2.24.2", | ||
"jest": "^27.3.1", | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.4.4" | ||
}, | ||
"dependencies": { | ||
"@reduxjs/toolkit": "^1.6.2", | ||
"@types/lodash": "^4.14.176", | ||
"lodash": "^4.17.21", | ||
"redux": "^4.1.2", | ||
"redux-saga": "^1.1.3" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/teroneko/redux-saga-promise.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/teroneko/redux-saga-promise/issues" | ||
}, | ||
"homepage": "https://github.com/teroneko/redux-saga-promise#readme" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters