-
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.
feat: make pure inject stores & injectables
- Loading branch information
Amir Hossein Qasemi Moqaddam
committed
Aug 2, 2022
1 parent
6e4c309
commit 1c3ab80
Showing
22 changed files
with
1,550 additions
and
2,300 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,13 +1,13 @@ | ||
{ | ||
"name": "@react-store/core", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"main": "dist/index.js", | ||
"repository": "https://github.com/sahabpardaz/react-store.git", | ||
"author": "Amir Hossein Qasemi Moqaddam <[email protected]>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"clone-deep": "^4.0.1", | ||
"dequal": "^2.0.2", | ||
"dequal": "^2.0.3", | ||
"is-promise": "^4.0.0", | ||
"lodash": "^4.17.21", | ||
"reflect-metadata": "^0.1.13" | ||
|
@@ -17,50 +17,50 @@ | |
"react-dom": "^17.0.0 || ^18.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/plugin-proposal-class-properties": "^7.17.12", | ||
"@babel/plugin-proposal-decorators": "^7.18.2", | ||
"@babel/plugin-transform-runtime": "^7.18.5", | ||
"@babel/preset-env": "^7.18.2", | ||
"@babel/preset-react": "^7.17.12", | ||
"@babel/preset-typescript": "^7.17.12", | ||
"@commitlint/cli": "^17.0.2", | ||
"@commitlint/config-conventional": "^17.0.2", | ||
"@babel/plugin-proposal-class-properties": "^7.18.6", | ||
"@babel/plugin-proposal-decorators": "^7.18.6", | ||
"@babel/plugin-transform-runtime": "^7.18.6", | ||
"@babel/preset-env": "^7.18.6", | ||
"@babel/preset-react": "^7.18.6", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@commitlint/cli": "^17.0.3", | ||
"@commitlint/config-conventional": "^17.0.3", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^13.3.0", | ||
"@trivago/prettier-plugin-sort-imports": "^3.2.0", | ||
"@types/clone-deep": "^4.0.1", | ||
"@types/jest": "^28.1.1", | ||
"@types/jest": "^28.1.5", | ||
"@types/lodash": "^4.14.182", | ||
"@types/react": "^18.0.12", | ||
"@types/react-dom": "^18.0.5", | ||
"@types/react": "^18.0.15", | ||
"@types/react-dom": "^18.0.6", | ||
"@types/styled-components": "^5.1.25", | ||
"@types/testing-library__jest-dom": "^5.14.3", | ||
"@typescript-eslint/eslint-plugin": "^5.27.1", | ||
"@typescript-eslint/parser": "^5.27.1", | ||
"@types/testing-library__jest-dom": "^5.14.5", | ||
"@typescript-eslint/eslint-plugin": "^5.30.6", | ||
"@typescript-eslint/parser": "^5.30.6", | ||
"@zerollup/ts-transform-paths": "^1.7.18", | ||
"babel-jest": "^28.1.1", | ||
"babel-jest": "^28.1.3", | ||
"babel-plugin-transform-typescript-metadata": "^0.3.2", | ||
"eslint": "^8.17.0", | ||
"eslint": "^8.19.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"html-webpack-plugin": "^5.5.0", | ||
"husky": "^8.0.1", | ||
"jest": "^28.1.1", | ||
"jest-environment-jsdom": "^28.1.1", | ||
"jest": "^28.1.3", | ||
"jest-environment-jsdom": "^28.1.3", | ||
"lint-staged": ">=13", | ||
"prettier": "^2.6.2", | ||
"react": "^18.1.0", | ||
"react-dom": "^18.1.0", | ||
"react-refresh-typescript": "^2.0.5", | ||
"prettier": "^2.7.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-refresh-typescript": "^2.0.7", | ||
"react-router-dom": "6", | ||
"rollup": "^2.75.6", | ||
"rollup": "^2.77.0", | ||
"rollup-plugin-typescript2": "^0.32.1", | ||
"styled-components": "^5.3.5", | ||
"ts-loader": "^9.3.0", | ||
"ts-loader": "^9.3.1", | ||
"ttypescript": "^1.5.13", | ||
"typescript": "^4.7.3", | ||
"typescript": "^4.7.4", | ||
"webpack": "^5.73.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-dev-server": "^4.9.2", | ||
"webpack-dev-server": "^4.9.3", | ||
"websocket-extensions": "^0.1.4" | ||
}, | ||
"scripts": { | ||
|
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
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
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export class ReadonlyProperty { | ||
constructor(private value: unknown) {} | ||
|
||
setValue(value: unknown) { | ||
this.value = value; | ||
} | ||
|
||
getValue() { | ||
return this.value; | ||
} | ||
} |
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
Oops, something went wrong.