Skip to content

Commit

Permalink
fix: add update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Nov 6, 2021
1 parent 2a64cd6 commit 6c50502
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"scripts": {
"test": "uvu -r ts-node/register -r tsconfig-paths/register src tests",
"build": "ng-packagr -p src/ng-package.json",
"postbuild": "cpy README.md LICENSE dist"
"postbuild": "cpy README.md LICENSE dist && cpy schematics ../dist --parents --cwd=src"
},
"devDependencies": {
"@angular/compiler": "^12.0.0",
Expand Down
3 changes: 3 additions & 0 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"homepage": "https://github.com/timdeschryver/ngrx-immer#readme",
"private": false,
"sideEffects": false,
"ng-update": {
"migrations": "./schematics/migrations/migration.json"
},
"peerDependencies": {
"immer": ">=7.0.0",
"@ngrx/component-store": ">=11.0.0",
Expand Down
3 changes: 3 additions & 0 deletions src/schematics/migrations/migration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"schematics": {}
}

0 comments on commit 6c50502

Please sign in to comment.