@schematics/angular 14.2.0 → 15.0.0-next.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/app-shell/schema.d.ts +0 -4
- package/app-shell/schema.json +0 -5
- package/class/schema.d.ts +1 -1
- package/class/schema.json +1 -1
- package/component/index.js +8 -69
- package/component/schema.d.ts +1 -1
- package/component/schema.json +1 -1
- package/directive/index.js +8 -65
- package/directive/schema.d.ts +1 -1
- package/directive/schema.json +1 -1
- package/enum/schema.d.ts +1 -1
- package/enum/schema.json +1 -1
- package/guard/schema.d.ts +1 -1
- package/guard/schema.json +1 -1
- package/interceptor/schema.d.ts +1 -1
- package/interceptor/schema.json +1 -1
- package/interface/schema.d.ts +1 -1
- package/interface/schema.json +1 -1
- package/module/index.js +2 -2
- package/module/schema.d.ts +1 -1
- package/module/schema.json +1 -1
- package/package.json +4 -4
- package/pipe/index.js +8 -63
- package/pipe/schema.d.ts +1 -1
- package/pipe/schema.json +1 -1
- package/resolver/schema.d.ts +1 -1
- package/resolver/schema.json +1 -1
- package/service/schema.d.ts +1 -1
- package/service/schema.json +1 -1
- package/third_party/github.com/Microsoft/TypeScript/BUILD.bazel +4 -4
- package/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts +61 -117
- package/third_party/github.com/Microsoft/TypeScript/lib/typescript.js +133 -151
- package/universal/schema.d.ts +0 -5
- package/universal/schema.json +0 -7
- package/utility/add-declaration-to-ng-module.d.ts +19 -0
- package/utility/add-declaration-to-ng-module.js +68 -0
- package/utility/generate-from-files.d.ts +1 -1
- package/utility/latest-versions/package.json +3 -3
- package/utility/latest-versions.js +1 -1
package/app-shell/schema.d.ts
CHANGED
package/app-shell/schema.json
CHANGED
|
@@ -29,11 +29,6 @@
|
|
|
29
29
|
"description": "The name of the main entry-point file.",
|
|
30
30
|
"default": "main.server.ts"
|
|
31
31
|
},
|
|
32
|
-
"appDir": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "The name of the application directory.",
|
|
35
|
-
"default": "app"
|
|
36
|
-
},
|
|
37
32
|
"rootModuleFileName": {
|
|
38
33
|
"type": "string",
|
|
39
34
|
"description": "The name of the root module file",
|
package/class/schema.d.ts
CHANGED
package/class/schema.json
CHANGED
package/component/index.js
CHANGED
|
@@ -6,81 +6,14 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
-
}
|
|
15
|
-
Object.defineProperty(o, k2, desc);
|
|
16
|
-
}) : (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
o[k2] = m[k];
|
|
19
|
-
}));
|
|
20
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
-
}) : function(o, v) {
|
|
23
|
-
o["default"] = v;
|
|
24
|
-
});
|
|
25
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
-
if (mod && mod.__esModule) return mod;
|
|
27
|
-
var result = {};
|
|
28
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
-
__setModuleDefault(result, mod);
|
|
30
|
-
return result;
|
|
31
|
-
};
|
|
32
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
10
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
34
|
-
const
|
|
35
|
-
const ast_utils_1 = require("../utility/ast-utils");
|
|
36
|
-
const change_1 = require("../utility/change");
|
|
11
|
+
const add_declaration_to_ng_module_1 = require("../utility/add-declaration-to-ng-module");
|
|
37
12
|
const find_module_1 = require("../utility/find-module");
|
|
38
13
|
const parse_name_1 = require("../utility/parse-name");
|
|
39
14
|
const validation_1 = require("../utility/validation");
|
|
40
15
|
const workspace_1 = require("../utility/workspace");
|
|
41
16
|
const schema_1 = require("./schema");
|
|
42
|
-
function readIntoSourceFile(host, modulePath) {
|
|
43
|
-
const sourceText = host.readText(modulePath);
|
|
44
|
-
return ts.createSourceFile(modulePath, sourceText, ts.ScriptTarget.Latest, true);
|
|
45
|
-
}
|
|
46
|
-
function addDeclarationToNgModule(options) {
|
|
47
|
-
return (host) => {
|
|
48
|
-
if (options.skipImport || options.standalone || !options.module) {
|
|
49
|
-
return host;
|
|
50
|
-
}
|
|
51
|
-
options.type = options.type != null ? options.type : 'Component';
|
|
52
|
-
const modulePath = options.module;
|
|
53
|
-
const source = readIntoSourceFile(host, modulePath);
|
|
54
|
-
const componentPath = `/${options.path}/` +
|
|
55
|
-
(options.flat ? '' : schematics_1.strings.dasherize(options.name) + '/') +
|
|
56
|
-
schematics_1.strings.dasherize(options.name) +
|
|
57
|
-
(options.type ? '.' : '') +
|
|
58
|
-
schematics_1.strings.dasherize(options.type);
|
|
59
|
-
const relativePath = (0, find_module_1.buildRelativePath)(modulePath, componentPath);
|
|
60
|
-
const classifiedName = schematics_1.strings.classify(options.name) + schematics_1.strings.classify(options.type);
|
|
61
|
-
const declarationChanges = (0, ast_utils_1.addDeclarationToModule)(source, modulePath, classifiedName, relativePath);
|
|
62
|
-
const declarationRecorder = host.beginUpdate(modulePath);
|
|
63
|
-
for (const change of declarationChanges) {
|
|
64
|
-
if (change instanceof change_1.InsertChange) {
|
|
65
|
-
declarationRecorder.insertLeft(change.pos, change.toAdd);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
host.commitUpdate(declarationRecorder);
|
|
69
|
-
if (options.export) {
|
|
70
|
-
// Need to refresh the AST because we overwrote the file in the host.
|
|
71
|
-
const source = readIntoSourceFile(host, modulePath);
|
|
72
|
-
const exportRecorder = host.beginUpdate(modulePath);
|
|
73
|
-
const exportChanges = (0, ast_utils_1.addExportToModule)(source, modulePath, schematics_1.strings.classify(options.name) + schematics_1.strings.classify(options.type), relativePath);
|
|
74
|
-
for (const change of exportChanges) {
|
|
75
|
-
if (change instanceof change_1.InsertChange) {
|
|
76
|
-
exportRecorder.insertLeft(change.pos, change.toAdd);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
host.commitUpdate(exportRecorder);
|
|
80
|
-
}
|
|
81
|
-
return host;
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
17
|
function buildSelector(options, projectPrefix) {
|
|
85
18
|
let selector = schematics_1.strings.dasherize(options.name);
|
|
86
19
|
if (options.prefix) {
|
|
@@ -130,7 +63,13 @@ function default_1(options) {
|
|
|
130
63
|
: (0, schematics_1.noop)(),
|
|
131
64
|
(0, schematics_1.move)(parsedPath.path),
|
|
132
65
|
]);
|
|
133
|
-
return (0, schematics_1.chain)([
|
|
66
|
+
return (0, schematics_1.chain)([
|
|
67
|
+
(0, add_declaration_to_ng_module_1.addDeclarationToNgModule)({
|
|
68
|
+
type: 'component',
|
|
69
|
+
...options,
|
|
70
|
+
}),
|
|
71
|
+
(0, schematics_1.mergeWith)(templateSource),
|
|
72
|
+
]);
|
|
134
73
|
};
|
|
135
74
|
}
|
|
136
75
|
exports.default = default_1;
|
package/component/schema.d.ts
CHANGED
package/component/schema.json
CHANGED
package/directive/index.js
CHANGED
|
@@ -6,76 +6,13 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
-
}
|
|
15
|
-
Object.defineProperty(o, k2, desc);
|
|
16
|
-
}) : (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
o[k2] = m[k];
|
|
19
|
-
}));
|
|
20
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
-
}) : function(o, v) {
|
|
23
|
-
o["default"] = v;
|
|
24
|
-
});
|
|
25
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
-
if (mod && mod.__esModule) return mod;
|
|
27
|
-
var result = {};
|
|
28
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
-
__setModuleDefault(result, mod);
|
|
30
|
-
return result;
|
|
31
|
-
};
|
|
32
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
10
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
34
|
-
const
|
|
35
|
-
const ast_utils_1 = require("../utility/ast-utils");
|
|
36
|
-
const change_1 = require("../utility/change");
|
|
11
|
+
const add_declaration_to_ng_module_1 = require("../utility/add-declaration-to-ng-module");
|
|
37
12
|
const find_module_1 = require("../utility/find-module");
|
|
38
13
|
const parse_name_1 = require("../utility/parse-name");
|
|
39
14
|
const validation_1 = require("../utility/validation");
|
|
40
15
|
const workspace_1 = require("../utility/workspace");
|
|
41
|
-
function addDeclarationToNgModule(options) {
|
|
42
|
-
return (host) => {
|
|
43
|
-
if (options.skipImport || options.standalone || !options.module) {
|
|
44
|
-
return host;
|
|
45
|
-
}
|
|
46
|
-
const modulePath = options.module;
|
|
47
|
-
const sourceText = host.readText(modulePath);
|
|
48
|
-
const source = ts.createSourceFile(modulePath, sourceText, ts.ScriptTarget.Latest, true);
|
|
49
|
-
const directivePath = `/${options.path}/` +
|
|
50
|
-
(options.flat ? '' : schematics_1.strings.dasherize(options.name) + '/') +
|
|
51
|
-
schematics_1.strings.dasherize(options.name) +
|
|
52
|
-
'.directive';
|
|
53
|
-
const relativePath = (0, find_module_1.buildRelativePath)(modulePath, directivePath);
|
|
54
|
-
const classifiedName = schematics_1.strings.classify(`${options.name}Directive`);
|
|
55
|
-
const declarationChanges = (0, ast_utils_1.addDeclarationToModule)(source, modulePath, classifiedName, relativePath);
|
|
56
|
-
const declarationRecorder = host.beginUpdate(modulePath);
|
|
57
|
-
for (const change of declarationChanges) {
|
|
58
|
-
if (change instanceof change_1.InsertChange) {
|
|
59
|
-
declarationRecorder.insertLeft(change.pos, change.toAdd);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
host.commitUpdate(declarationRecorder);
|
|
63
|
-
if (options.export) {
|
|
64
|
-
// Need to refresh the AST because we overwrote the file in the host.
|
|
65
|
-
const sourceText = host.readText(modulePath);
|
|
66
|
-
const source = ts.createSourceFile(modulePath, sourceText, ts.ScriptTarget.Latest, true);
|
|
67
|
-
const exportRecorder = host.beginUpdate(modulePath);
|
|
68
|
-
const exportChanges = (0, ast_utils_1.addExportToModule)(source, modulePath, schematics_1.strings.classify(`${options.name}Directive`), relativePath);
|
|
69
|
-
for (const change of exportChanges) {
|
|
70
|
-
if (change instanceof change_1.InsertChange) {
|
|
71
|
-
exportRecorder.insertLeft(change.pos, change.toAdd);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
host.commitUpdate(exportRecorder);
|
|
75
|
-
}
|
|
76
|
-
return host;
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
16
|
function buildSelector(options, projectPrefix) {
|
|
80
17
|
let selector = options.name;
|
|
81
18
|
if (options.prefix) {
|
|
@@ -111,7 +48,13 @@ function default_1(options) {
|
|
|
111
48
|
}),
|
|
112
49
|
(0, schematics_1.move)(parsedPath.path),
|
|
113
50
|
]);
|
|
114
|
-
return (0, schematics_1.chain)([
|
|
51
|
+
return (0, schematics_1.chain)([
|
|
52
|
+
(0, add_declaration_to_ng_module_1.addDeclarationToNgModule)({
|
|
53
|
+
type: 'directive',
|
|
54
|
+
...options,
|
|
55
|
+
}),
|
|
56
|
+
(0, schematics_1.mergeWith)(templateSource),
|
|
57
|
+
]);
|
|
115
58
|
};
|
|
116
59
|
}
|
|
117
60
|
exports.default = default_1;
|
package/directive/schema.d.ts
CHANGED
package/directive/schema.json
CHANGED
package/enum/schema.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface Schema {
|
|
|
14
14
|
* The name of the project in which to create the enum. Default is the configured default
|
|
15
15
|
* project for the workspace.
|
|
16
16
|
*/
|
|
17
|
-
project
|
|
17
|
+
project: string;
|
|
18
18
|
/**
|
|
19
19
|
* Adds a developer-defined type to the filename, in the format "name.type.ts".
|
|
20
20
|
*/
|
package/enum/schema.json
CHANGED
package/guard/schema.d.ts
CHANGED
package/guard/schema.json
CHANGED
package/interceptor/schema.d.ts
CHANGED
package/interceptor/schema.json
CHANGED
package/interface/schema.d.ts
CHANGED
package/interface/schema.json
CHANGED
package/module/index.js
CHANGED
|
@@ -47,7 +47,7 @@ function buildRelativeModulePath(options, modulePath) {
|
|
|
47
47
|
'.module');
|
|
48
48
|
return (0, find_module_1.buildRelativePath)(modulePath, importModulePath);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function addImportToNgModule(options) {
|
|
51
51
|
return (host) => {
|
|
52
52
|
if (!options.module) {
|
|
53
53
|
return host;
|
|
@@ -144,7 +144,7 @@ function default_1(options) {
|
|
|
144
144
|
project: options.project,
|
|
145
145
|
};
|
|
146
146
|
return (0, schematics_1.chain)([
|
|
147
|
-
!isLazyLoadedModuleGen ?
|
|
147
|
+
!isLazyLoadedModuleGen ? addImportToNgModule(options) : (0, schematics_1.noop)(),
|
|
148
148
|
addRouteDeclarationToNgModule(options, routingModulePath),
|
|
149
149
|
(0, schematics_1.mergeWith)(templateSource),
|
|
150
150
|
isLazyLoadedModuleGen ? (0, schematics_1.schematic)('component', componentOptions) : (0, schematics_1.noop)(),
|
package/module/schema.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface Schema {
|
|
|
25
25
|
/**
|
|
26
26
|
* The name of the project.
|
|
27
27
|
*/
|
|
28
|
-
project
|
|
28
|
+
project: string;
|
|
29
29
|
/**
|
|
30
30
|
* The route path for a lazy-loaded module. When supplied, creates a component in the new
|
|
31
31
|
* module, and adds the route to that component in the `Routes` array declared in the module
|
package/module/schema.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0-next.0",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"schematics": "./collection.json",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@angular-devkit/core": "
|
|
27
|
-
"@angular-devkit/schematics": "
|
|
28
|
-
"jsonc-parser": "3.
|
|
26
|
+
"@angular-devkit/core": "15.0.0-next.0",
|
|
27
|
+
"@angular-devkit/schematics": "15.0.0-next.0",
|
|
28
|
+
"jsonc-parser": "3.2.0"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
package/pipe/index.js
CHANGED
|
@@ -6,74 +6,13 @@
|
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
8
|
*/
|
|
9
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
-
}
|
|
15
|
-
Object.defineProperty(o, k2, desc);
|
|
16
|
-
}) : (function(o, m, k, k2) {
|
|
17
|
-
if (k2 === undefined) k2 = k;
|
|
18
|
-
o[k2] = m[k];
|
|
19
|
-
}));
|
|
20
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
-
}) : function(o, v) {
|
|
23
|
-
o["default"] = v;
|
|
24
|
-
});
|
|
25
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
-
if (mod && mod.__esModule) return mod;
|
|
27
|
-
var result = {};
|
|
28
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
-
__setModuleDefault(result, mod);
|
|
30
|
-
return result;
|
|
31
|
-
};
|
|
32
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
10
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
34
|
-
const
|
|
35
|
-
const ast_utils_1 = require("../utility/ast-utils");
|
|
36
|
-
const change_1 = require("../utility/change");
|
|
11
|
+
const add_declaration_to_ng_module_1 = require("../utility/add-declaration-to-ng-module");
|
|
37
12
|
const find_module_1 = require("../utility/find-module");
|
|
38
13
|
const parse_name_1 = require("../utility/parse-name");
|
|
39
14
|
const validation_1 = require("../utility/validation");
|
|
40
15
|
const workspace_1 = require("../utility/workspace");
|
|
41
|
-
function addDeclarationToNgModule(options) {
|
|
42
|
-
return (host) => {
|
|
43
|
-
if (options.skipImport || options.standalone || !options.module) {
|
|
44
|
-
return host;
|
|
45
|
-
}
|
|
46
|
-
const modulePath = options.module;
|
|
47
|
-
const sourceText = host.readText(modulePath);
|
|
48
|
-
const source = ts.createSourceFile(modulePath, sourceText, ts.ScriptTarget.Latest, true);
|
|
49
|
-
const pipePath = `/${options.path}/` +
|
|
50
|
-
(options.flat ? '' : schematics_1.strings.dasherize(options.name) + '/') +
|
|
51
|
-
schematics_1.strings.dasherize(options.name) +
|
|
52
|
-
'.pipe';
|
|
53
|
-
const relativePath = (0, find_module_1.buildRelativePath)(modulePath, pipePath);
|
|
54
|
-
const changes = (0, ast_utils_1.addDeclarationToModule)(source, modulePath, schematics_1.strings.classify(`${options.name}Pipe`), relativePath);
|
|
55
|
-
const recorder = host.beginUpdate(modulePath);
|
|
56
|
-
for (const change of changes) {
|
|
57
|
-
if (change instanceof change_1.InsertChange) {
|
|
58
|
-
recorder.insertLeft(change.pos, change.toAdd);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
host.commitUpdate(recorder);
|
|
62
|
-
if (options.export) {
|
|
63
|
-
const sourceText = host.readText(modulePath);
|
|
64
|
-
const source = ts.createSourceFile(modulePath, sourceText, ts.ScriptTarget.Latest, true);
|
|
65
|
-
const exportRecorder = host.beginUpdate(modulePath);
|
|
66
|
-
const exportChanges = (0, ast_utils_1.addExportToModule)(source, modulePath, schematics_1.strings.classify(`${options.name}Pipe`), relativePath);
|
|
67
|
-
for (const change of exportChanges) {
|
|
68
|
-
if (change instanceof change_1.InsertChange) {
|
|
69
|
-
exportRecorder.insertLeft(change.pos, change.toAdd);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
host.commitUpdate(exportRecorder);
|
|
73
|
-
}
|
|
74
|
-
return host;
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
16
|
function default_1(options) {
|
|
78
17
|
return async (host) => {
|
|
79
18
|
var _a;
|
|
@@ -92,7 +31,13 @@ function default_1(options) {
|
|
|
92
31
|
}),
|
|
93
32
|
(0, schematics_1.move)(parsedPath.path),
|
|
94
33
|
]);
|
|
95
|
-
return (0, schematics_1.chain)([
|
|
34
|
+
return (0, schematics_1.chain)([
|
|
35
|
+
(0, add_declaration_to_ng_module_1.addDeclarationToNgModule)({
|
|
36
|
+
type: 'pipe',
|
|
37
|
+
...options,
|
|
38
|
+
}),
|
|
39
|
+
(0, schematics_1.mergeWith)(templateSource),
|
|
40
|
+
]);
|
|
96
41
|
};
|
|
97
42
|
}
|
|
98
43
|
exports.default = default_1;
|
package/pipe/schema.d.ts
CHANGED
package/pipe/schema.json
CHANGED
package/resolver/schema.d.ts
CHANGED
package/resolver/schema.json
CHANGED
package/service/schema.d.ts
CHANGED
package/service/schema.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
load("//tools:defaults.bzl", "ts_library")
|
|
2
2
|
|
|
3
|
-
# files fetched on 2022-
|
|
4
|
-
# https://github.com/microsoft/TypeScript/releases/tag/v4.8
|
|
3
|
+
# files fetched on 2022-09-01 from
|
|
4
|
+
# https://github.com/microsoft/TypeScript/releases/tag/v4.8.2
|
|
5
5
|
|
|
6
6
|
# Commands to download:
|
|
7
|
-
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v4.8
|
|
8
|
-
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v4.8
|
|
7
|
+
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v4.8.2/lib/typescript.d.ts -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.d.ts
|
|
8
|
+
# curl https://raw.githubusercontent.com/microsoft/TypeScript/v4.8.2/lib/typescript.js -o packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript.js
|
|
9
9
|
|
|
10
10
|
licenses(["notice"]) # Apache 2.0
|
|
11
11
|
|