@angular-devkit/schematics 20.3.6 → 20.3.8

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-devkit/schematics",
3
- "version": "20.3.6",
3
+ "version": "20.3.8",
4
4
  "description": "Angular Schematics - Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "tooling"
19
19
  ],
20
20
  "dependencies": {
21
- "@angular-devkit/core": "20.3.6",
21
+ "@angular-devkit/core": "20.3.8",
22
22
  "jsonc-parser": "3.3.1",
23
23
  "magic-string": "0.30.17",
24
24
  "ora": "8.2.0",
@@ -28,7 +28,7 @@
28
28
  "type": "git",
29
29
  "url": "https://github.com/angular/angular-cli.git"
30
30
  },
31
- "packageManager": "pnpm@10.18.3",
31
+ "packageManager": "pnpm@10.19.0",
32
32
  "engines": {
33
33
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
34
34
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
@@ -315,12 +315,8 @@ class HostTree {
315
315
  }
316
316
  // Structural methods.
317
317
  create(path, content) {
318
- const p = this._normalizePath(path);
319
- if (this._recordSync.exists(p)) {
320
- throw new exception_1.FileAlreadyExistException(p);
321
- }
322
318
  const c = typeof content == 'string' ? Buffer.from(content) : content;
323
- this._record.create(p, c).subscribe();
319
+ this._record.create(this._normalizePath(path), c).subscribe();
324
320
  }
325
321
  delete(path) {
326
322
  this._recordSync.delete(this._normalizePath(path));