mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
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.
8 lines
179 B
JavaScript
8 lines
179 B
JavaScript
#!/usr/bin/env node
|
|
'use strict';
|
|
|
|
// These should not fail but if they do they should not block installation of the package
|
|
try {
|
|
require('./analytics-prompt');
|
|
} catch (_) {}
|