Skip to content

Commit

Permalink
fix(@schematics/angular): add links to generated app package.json files
Browse files Browse the repository at this point in the history
We now add a link to generated app package.json to make is easier for users to find relevant information.

(cherry picked from commit 1b06562)
  • Loading branch information
alan-agius4 committed Jun 16, 2020
1 parent b6b0718 commit 117d142
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"name": "<%= utils.dasherize(name) %>",
"private": true,
"description": "This is a special package.json file that is not used by package managers. It is however used to tell the tools and bundlers whether the code under this directory is free of code with non-local side-effect. Any code that does have non-local side-effects can't be well optimized (tree-shaken) and will result in unnecessary increased payload size. It should be safe to set this option to 'false' for new applications, but existing code bases could be broken when built with the production config if the application code does contain non-local side-effects that the application depends on.",
"description_1": "This is a special package.json file that is not used by package managers.",
"description_2": "It is used to tell the tools and bundlers whether the code under this directory is free of code with non-local side-effect. Any code that does have non-local side-effects can't be well optimized (tree-shaken) and will result in unnecessary increased payload size.",
"description_3": "It should be safe to set this option to 'false' for new applications, but existing code bases could be broken when built with the production config if the application code does contain non-local side-effects that the application depends on.",
"description_4": "To learn more about this file see: https://angular.io/config/app-package-json.",
"sideEffects": <%= !strict %>
}

0 comments on commit 117d142

Please sign in to comment.