diff --git a/package.json b/package.json index 202884a19..8b3502fea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular-devkit/schematics", - "version": "21.0.0-next.2+sha-9749ec6", + "version": "20.3.13+sha-948869d", "description": "Angular Schematics - Library", "main": "src/index.js", "typings": "src/index.d.ts", @@ -18,9 +18,9 @@ "tooling" ], "dependencies": { - "@angular-devkit/core": "github:angular/angular-devkit-core-builds#9749ec6", + "@angular-devkit/core": "github:angular/angular-devkit-core-builds#948869d", "jsonc-parser": "3.3.1", - "magic-string": "0.30.19", + "magic-string": "0.30.17", "ora": "8.2.0", "rxjs": "7.8.2" }, @@ -28,7 +28,7 @@ "type": "git", "url": "https://github.com/angular/angular-cli.git" }, - "packageManager": "pnpm@10.15.1", + "packageManager": "pnpm@10.19.0", "engines": { "node": "^20.19.0 || ^22.12.0 || >=24.0.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", diff --git a/src/tree/host-tree.js b/src/tree/host-tree.js index 8a660e09c..23b74249b 100644 --- a/src/tree/host-tree.js +++ b/src/tree/host-tree.js @@ -315,12 +315,8 @@ class HostTree { } // Structural methods. create(path, content) { - const p = this._normalizePath(path); - if (this._recordSync.exists(p)) { - throw new exception_1.FileAlreadyExistException(p); - } const c = typeof content == 'string' ? Buffer.from(content) : content; - this._record.create(p, c).subscribe(); + this._record.create(this._normalizePath(path), c).subscribe(); } delete(path) { this._recordSync.delete(this._normalizePath(path)); diff --git a/tasks/package-manager/executor.js b/tasks/package-manager/executor.js index aaffca0e6..a70a1270f 100644 --- a/tasks/package-manager/executor.js +++ b/tasks/package-manager/executor.js @@ -57,6 +57,12 @@ const packageManagers = { installPackage: 'install', }, }, + 'cnpm': { + commands: { + installAll: 'install', + installPackage: 'install', + }, + }, 'yarn': { commands: { installAll: 'install', diff --git a/uniqueId b/uniqueId index 3063b69b6..7fdc3d0ed 100644 --- a/uniqueId +++ b/uniqueId @@ -1 +1 @@ -Tue Sep 09 2025 16:40:31 GMT+0000 (Coordinated Universal Time) \ No newline at end of file +Wed Dec 03 2025 14:12:51 GMT+0000 (Coordinated Universal Time) \ No newline at end of file