Skip to content

Commit

Permalink
fix: save package in devDependencies
Browse files Browse the repository at this point in the history
In the latest versions of the CLI `ng-add` packages can be added to `devDependencies` and this package is perfect for such use case since it's only needed for development.

See: angular/angular-cli#15815
(cherry picked from commit 3dfd8d64a6781a4081816a2022a66283c2b7247b)

closes #12
see angular-schule/angular-cli-ghpages#81
  • Loading branch information
alan-agius4 authored and federicoxella committed Oct 2, 2024
1 parent 76ba996 commit bc42c37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
},
"schematics": "./collection.json",
"builders": "./builders.json",
"ng-add": {
"save": "devDependencies"
},
"repository": {
"type": "git",
"url": "git+https://github.com/angular-schule/ngx-deploy-starter.git"
Expand Down

0 comments on commit bc42c37

Please sign in to comment.