@angular/cli 9.0.0-rc.9 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/postinstall/script.js +5 -2
- package/commands/doc-impl.js +1 -1
- package/models/schematic-command.js +1 -1
- package/package.json +12 -12
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// These should not fail but if they do they should not block installation of the package
|
|
5
|
+
try {
|
|
6
|
+
require('./ng-update-message');
|
|
7
|
+
require('./analytics-prompt');
|
|
8
|
+
} catch (_) {}
|
package/commands/doc-impl.js
CHANGED
|
@@ -42,7 +42,7 @@ class DocCommand extends command_1.Command {
|
|
|
42
42
|
}
|
|
43
43
|
let searchUrl = `https://${domain}/api?query=${options.keyword}`;
|
|
44
44
|
if (options.search) {
|
|
45
|
-
searchUrl = `https
|
|
45
|
+
searchUrl = `https://${domain}/?search=${options.keyword}`;
|
|
46
46
|
}
|
|
47
47
|
// We should wrap `open` in a new Promise because `open` is already resolved
|
|
48
48
|
await new Promise(() => {
|
|
@@ -162,7 +162,7 @@ class SchematicCommand extends command_1.Command {
|
|
|
162
162
|
registry: new core_1.schema.CoreSchemaRegistry(schematics_1.formats.standardFormats),
|
|
163
163
|
resolvePaths: !!this.workspace.configFile
|
|
164
164
|
// Workspace
|
|
165
|
-
? [process.cwd(), this.workspace.root]
|
|
165
|
+
? [process.cwd(), this.workspace.root, __dirname]
|
|
166
166
|
// Global
|
|
167
167
|
: [__dirname, process.cwd()],
|
|
168
168
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cli",
|
|
3
|
-
"version": "9.0.0
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "CLI tool for Angular",
|
|
5
5
|
"main": "lib/cli/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/angular/angular-cli",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@angular-devkit/architect": "0.900.0
|
|
32
|
-
"@angular-devkit/core": "9.0.0
|
|
33
|
-
"@angular-devkit/schematics": "9.0.0
|
|
34
|
-
"@schematics/angular": "9.0.0
|
|
35
|
-
"@schematics/update": "0.900.0
|
|
31
|
+
"@angular-devkit/architect": "0.900.0",
|
|
32
|
+
"@angular-devkit/core": "9.0.0",
|
|
33
|
+
"@angular-devkit/schematics": "9.0.0",
|
|
34
|
+
"@schematics/angular": "9.0.0",
|
|
35
|
+
"@schematics/update": "0.900.0",
|
|
36
36
|
"@yarnpkg/lockfile": "1.1.0",
|
|
37
37
|
"ansi-colors": "4.1.1",
|
|
38
38
|
"debug": "^4.1.1",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"ng-update": {
|
|
53
53
|
"migrations": "@schematics/angular/migrations/migration-collection.json",
|
|
54
54
|
"packageGroup": {
|
|
55
|
-
"@angular/cli": "9.0.0
|
|
56
|
-
"@angular-devkit/build-angular": "0.900.0
|
|
57
|
-
"@angular-devkit/build-ng-packagr": "0.900.0
|
|
58
|
-
"@angular-devkit/build-webpack": "0.900.0
|
|
59
|
-
"@angular-devkit/core": "9.0.0
|
|
60
|
-
"@angular-devkit/schematics": "9.0.0
|
|
55
|
+
"@angular/cli": "9.0.0",
|
|
56
|
+
"@angular-devkit/build-angular": "0.900.0",
|
|
57
|
+
"@angular-devkit/build-ng-packagr": "0.900.0",
|
|
58
|
+
"@angular-devkit/build-webpack": "0.900.0",
|
|
59
|
+
"@angular-devkit/core": "9.0.0",
|
|
60
|
+
"@angular-devkit/schematics": "9.0.0"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|