@schematics/angular 19.1.6 → 19.2.0-next.1
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/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +2 -1
- package/library/index.js +1 -1
- package/migrations/update-ssr-imports/migration.js +0 -4
- package/package.json +3 -3
- package/utility/latest-versions/package.json +0 -2
- package/utility/latest-versions.d.ts +1 -0
- package/utility/latest-versions.js +5 -4
package/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template
CHANGED
|
@@ -3,7 +3,8 @@ import { <% if(changeDetection !== 'Default') { %>ChangeDetectionStrategy, <% }%
|
|
|
3
3
|
@Component({<% if(!skipSelector) {%>
|
|
4
4
|
selector: '<%= selector %>',<%}%><% if(standalone) {%>
|
|
5
5
|
imports: [],<%} else { %>
|
|
6
|
-
standalone: false
|
|
6
|
+
standalone: false,
|
|
7
|
+
<% }%><% if(inlineTemplate) { %>
|
|
7
8
|
template: `
|
|
8
9
|
<p>
|
|
9
10
|
<%= dasherize(name) %> works!
|
package/library/index.js
CHANGED
|
@@ -44,7 +44,7 @@ function addDependenciesToPackageJson() {
|
|
|
44
44
|
{
|
|
45
45
|
type: dependencies_1.NodeDependencyType.Dev,
|
|
46
46
|
name: 'ng-packagr',
|
|
47
|
-
version: latest_versions_1.latestVersions
|
|
47
|
+
version: latest_versions_1.latestVersions.NgPackagr,
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
type: dependencies_1.NodeDependencyType.Default,
|
|
@@ -42,7 +42,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
42
42
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
43
|
exports.default = default_1;
|
|
44
44
|
const ts = __importStar(require("../../third_party/github.com/Microsoft/TypeScript/lib/typescript"));
|
|
45
|
-
const dependencies_1 = require("../../utility/dependencies");
|
|
46
45
|
function* visit(directory) {
|
|
47
46
|
for (const path of directory.subfiles) {
|
|
48
47
|
if (path.endsWith('.ts') && !path.endsWith('.d.ts')) {
|
|
@@ -71,9 +70,6 @@ function* visit(directory) {
|
|
|
71
70
|
*/
|
|
72
71
|
function default_1() {
|
|
73
72
|
return (tree) => {
|
|
74
|
-
if (!(0, dependencies_1.getPackageJsonDependency)(tree, '@angular/ssr')) {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
73
|
for (const sourceFile of visit(tree.root)) {
|
|
78
74
|
let recorder;
|
|
79
75
|
const allImportDeclarations = sourceFile.statements.filter((n) => ts.isImportDeclaration(n));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "19.1
|
|
3
|
+
"version": "19.2.0-next.1",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"schematics": "./collection.json",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@angular-devkit/core": "19.1
|
|
26
|
-
"@angular-devkit/schematics": "19.1
|
|
25
|
+
"@angular-devkit/core": "19.2.0-next.1",
|
|
26
|
+
"@angular-devkit/schematics": "19.2.0-next.1",
|
|
27
27
|
"jsonc-parser": "3.3.1"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"comment": "This file is needed so that dependencies are synced by Renovate.",
|
|
4
4
|
"private": true,
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@angular/core": "^19.1.0",
|
|
7
6
|
"@types/express": "^4.17.17",
|
|
8
7
|
"@types/jasmine": "~5.1.0",
|
|
9
8
|
"@types/node": "^18.18.0",
|
|
@@ -17,7 +16,6 @@
|
|
|
17
16
|
"karma-jasmine": "~5.1.0",
|
|
18
17
|
"karma": "~6.4.0",
|
|
19
18
|
"less": "^4.2.0",
|
|
20
|
-
"ng-packagr": "^19.1.0",
|
|
21
19
|
"postcss": "^8.4.38",
|
|
22
20
|
"protractor": "~7.0.0",
|
|
23
21
|
"rxjs": "~7.8.0",
|
|
@@ -14,8 +14,9 @@ const dependencies = require('./latest-versions/package.json')['dependencies'];
|
|
|
14
14
|
exports.latestVersions = {
|
|
15
15
|
...dependencies,
|
|
16
16
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
17
|
-
Angular:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
Angular: '^19.2.0-next.0',
|
|
18
|
+
NgPackagr: '^19.2.0-next.0',
|
|
19
|
+
DevkitBuildAngular: '^19.2.0-next.1',
|
|
20
|
+
AngularBuild: '^19.2.0-next.1',
|
|
21
|
+
AngularSSR: '^19.2.0-next.1',
|
|
21
22
|
};
|