Skip to content

Commit ce4d59f

Browse files
committed
refactor(@angular/cli): remove v1 postinstall update check
This postinstall script was put in place during the v6.0 timeframe to aid users migrating from the v1.x configuration file format by displaying a message instructing the user to run `ng update`. The `ng update` migration is still functional and users can still use it to migrate from a v1.x project. However, the postinstall script will no longer be run for every install of the Angular CLI.
1 parent 41a6fb8 commit ce4d59f

File tree

2 files changed

+0
-45
lines changed

2 files changed

+0
-45
lines changed

packages/angular/cli/bin/postinstall/ng-update-message.js

Lines changed: 0 additions & 44 deletions
This file was deleted.

packages/angular/cli/bin/postinstall/script.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33

44
// These should not fail but if they do they should not block installation of the package
55
try {
6-
require('./ng-update-message');
76
require('./analytics-prompt');
87
} catch (_) {}

0 commit comments

Comments
 (0)