forked from timdeschryver/ngrx-immer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8edb8f1
commit c4451a7
Showing
22 changed files
with
95 additions
and
110 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
rootDir: 'src', | ||
}; |
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,62 +1,26 @@ | ||
{ | ||
"name": "ngrx-immer", | ||
"version": "0.0.2", | ||
"description": "Immer wrappers around NgRx methods createReducer, on, and ComponentStore", | ||
"keywords": [ | ||
"NgRx", | ||
"Redux", | ||
"Angular", | ||
"Immer" | ||
], | ||
"author": "Tim Deschryver", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/timdeschryver/ngrx-immer.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/timdeschryver/ngrx-immer/issues" | ||
}, | ||
"homepage": "https://github.com/timdeschryver/ngrx-immer#readme", | ||
"private": false, | ||
"sideEffects": false, | ||
"main": "cjs/shared.js", | ||
"module": "esm/shared.js", | ||
"types": "esm/shared.d.ts", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"version": "0.0.0", | ||
"scripts": { | ||
"test": "jest", | ||
"prebuild": "rimraf dist && rimraf *.tgz", | ||
"build": "npm run build:cjs && npm run build:esm", | ||
"build:cjs": "tsc -p tsconfig-build-cjs.json", | ||
"build:esm": "tsc -p tsconfig-build-esm.json", | ||
"postbuild": "cpy **/package.json ../dist --cwd=./src --parents && cpy package.json dist && cpy README.md dist" | ||
}, | ||
"peerDependencies": { | ||
"immer": ">=7.0.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@ngrx/component-store": { | ||
"optional": true | ||
}, | ||
"@ngrx/store": { | ||
"optional": true | ||
} | ||
"build": "ng-packagr -p src/ng-package.json", | ||
"postbuild": "cpy README.md dist" | ||
}, | ||
"devDependencies": { | ||
"@angular/compiler": "^11.0.5", | ||
"@angular/compiler-cli": "^11.0.5", | ||
"@angular/core": "^11.0.2", | ||
"@ngrx/component-store": "^10.1.0", | ||
"@ngrx/store": "^10.1.1", | ||
"@types/jest": "^26.0.15", | ||
"cpy-cli": "^3.1.1", | ||
"immer": "^8.0.0", | ||
"jest": "^26.6.3", | ||
"ng-packagr": "^11.0.3", | ||
"prettier": "^2.2.1", | ||
"rimraf": "^3.0.2", | ||
"rxjs": "^6.6.3", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.2" | ||
"typescript": "^4.0.5" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"main": "../cjs/component-store/index.js", | ||
"module": "../esm/component-store/index.js", | ||
"types": "../esm/component-store/index.d.ts" | ||
"ngPackage": { | ||
"lib": { | ||
"entryFile": "index.ts" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...store/tests/immer-component.store.test.ts → ...store/tests/immer-component-store.test.ts
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 @@ | ||
export * from './shared'; |
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,7 @@ | ||
{ | ||
"$schema": "../node_modules/ng-packagr/ng-package.schema.json", | ||
"dest": "../dist", | ||
"lib": { | ||
"entryFile": "index.ts" | ||
} | ||
} |
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,37 @@ | ||
{ | ||
"name": "ngrx-immer", | ||
"version": "0.0.4", | ||
"description": "Immer wrappers around NgRx methods createReducer, on, and ComponentStore", | ||
"keywords": [ | ||
"NgRx", | ||
"Redux", | ||
"Angular", | ||
"Immer", | ||
"Local State", | ||
"Component State", | ||
"State management" | ||
], | ||
"author": "Tim Deschryver", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/timdeschryver/ngrx-immer.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/timdeschryver/ngrx-immer/issues" | ||
}, | ||
"homepage": "https://github.com/timdeschryver/ngrx-immer#readme", | ||
"private": false, | ||
"sideEffects": false, | ||
"peerDependencies": { | ||
"immer": ">=7.0.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@ngrx/component-store": { | ||
"optional": true | ||
}, | ||
"@ngrx/store": { | ||
"optional": true | ||
} | ||
} | ||
} |
File renamed without changes.
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,7 @@ | ||
{ | ||
"ngPackage": { | ||
"lib": { | ||
"entryFile": "index.ts" | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"main": "../cjs/store/index.js", | ||
"module": "../esm/store/index.js", | ||
"types": "../esm/store/index.d.ts" | ||
"ngPackage": { | ||
"lib": { | ||
"entryFile": "index.ts" | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/* To learn more about this file see: https://angular.io/config/tsconfig. */ | ||
{ | ||
"extends": "./tsconfig.base.json", | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "./out-tsc/spec", | ||
"types": ["@types/jest"], | ||
"types": ["@types/jest"] | ||
}, | ||
"include": ["**/tests/*.test.ts"] | ||
} |