@angular/material 21.1.0-next.4 → 21.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material",
|
|
3
|
-
"version": "21.1.0
|
|
3
|
+
"version": "21.1.0",
|
|
4
4
|
"description": "Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -353,11 +353,11 @@
|
|
|
353
353
|
}
|
|
354
354
|
},
|
|
355
355
|
"peerDependencies": {
|
|
356
|
-
"@angular/cdk": "21.1.0
|
|
357
|
-
"@angular/core": "^21.0.0
|
|
358
|
-
"@angular/common": "^21.0.0
|
|
359
|
-
"@angular/forms": "^21.0.0
|
|
360
|
-
"@angular/platform-browser": "^21.0.0
|
|
356
|
+
"@angular/cdk": "21.1.0",
|
|
357
|
+
"@angular/core": "^21.0.0 || ^22.0.0",
|
|
358
|
+
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
359
|
+
"@angular/forms": "^21.0.0 || ^22.0.0",
|
|
360
|
+
"@angular/platform-browser": "^21.0.0 || ^22.0.0",
|
|
361
361
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
362
362
|
},
|
|
363
363
|
"dependencies": {
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~21.1.0
|
|
22
|
+
const fallbackMaterialVersionRange = `~21.1.0`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -34,7 +34,7 @@ function default_1(options) {
|
|
|
34
34
|
// have the same version tag if possible.
|
|
35
35
|
const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/core');
|
|
36
36
|
const materialVersionRange = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/material');
|
|
37
|
-
const angularDependencyVersion = ngCoreVersionTag || `^21.0.0
|
|
37
|
+
const angularDependencyVersion = ngCoreVersionTag || `^21.0.0 || ^22.0.0`;
|
|
38
38
|
// The CLI inserts `@angular/material` into the `package.json` before this schematic runs.
|
|
39
39
|
// This means that we do not need to insert Angular Material into `package.json` files again.
|
|
40
40
|
// In some cases though, it could happen that this schematic runs outside of the CLI `ng add`
|