diff --git a/packages/schematics/angular/BUILD.bazel b/packages/schematics/angular/BUILD.bazel index 09d15d1439e5..55d40efae377 100644 --- a/packages/schematics/angular/BUILD.bazel +++ b/packages/schematics/angular/BUILD.bazel @@ -107,17 +107,8 @@ ts_project( ":node_modules/@angular-devkit/core", ":node_modules/@angular-devkit/schematics", ":node_modules/jsonc-parser", + ":node_modules/typescript", "//:node_modules/@types/node", - "//packages/schematics/angular/third_party/typescript", - ], -) - -jasmine_test( - name = "no_typescript_runtime_dep_test", - data = [ - "no_typescript_runtime_dep_spec.js", - ":angular", - "//:node_modules/@types/jasmine", ], ) @@ -139,10 +130,10 @@ ts_project( ":node_modules/@angular-devkit/core", ":node_modules/@angular-devkit/schematics", ":node_modules/jsonc-parser", + ":node_modules/typescript", "//:node_modules/@types/jasmine", "//:node_modules/@types/node", "//:node_modules/prettier", - "//packages/schematics/angular/third_party/typescript", ], ) @@ -173,6 +164,5 @@ npm_package( ":README.md", ":angular", ":license", - "//packages/schematics/angular/third_party/typescript", ], ) diff --git a/packages/schematics/angular/app-shell/index.ts b/packages/schematics/angular/app-shell/index.ts index 419a85178b63..20793404782b 100644 --- a/packages/schematics/angular/app-shell/index.ts +++ b/packages/schematics/angular/app-shell/index.ts @@ -15,7 +15,7 @@ import { schematic, } from '@angular-devkit/schematics'; import { dirname, join } from 'node:path/posix'; -import ts from '../third_party/typescript'; +import ts from 'typescript'; import { findNode, findNodes, diff --git a/packages/schematics/angular/migrations/migrate-karma-to-vitest/karma-config-analyzer.ts b/packages/schematics/angular/migrations/migrate-karma-to-vitest/karma-config-analyzer.ts index 57e394477b2f..79bfa9e98a41 100644 --- a/packages/schematics/angular/migrations/migrate-karma-to-vitest/karma-config-analyzer.ts +++ b/packages/schematics/angular/migrations/migrate-karma-to-vitest/karma-config-analyzer.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import ts from '../../third_party/typescript'; +import ts from 'typescript'; export interface RequireInfo { module: string; diff --git a/packages/schematics/angular/module/index.ts b/packages/schematics/angular/module/index.ts index 5f9142fa6069..adf0474a08a3 100644 --- a/packages/schematics/angular/module/index.ts +++ b/packages/schematics/angular/module/index.ts @@ -22,8 +22,8 @@ import { url, } from '@angular-devkit/schematics'; import { join } from 'node:path/posix'; +import ts from 'typescript'; import { Schema as ComponentOptions } from '../component/schema'; -import * as ts from '../third_party/typescript'; import { addImportToModule, addRouteDeclarationToModule } from '../utility/ast-utils'; import { InsertChange } from '../utility/change'; import { diff --git a/packages/schematics/angular/no_typescript_runtime_dep_spec.js b/packages/schematics/angular/no_typescript_runtime_dep_spec.js deleted file mode 100644 index a6395154ad0d..000000000000 --- a/packages/schematics/angular/no_typescript_runtime_dep_spec.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.dev/license - */ - -const fs = require('fs'); -const path = require('path'); - -const pkg = path.dirname(require.resolve(__filename)); -describe('@schematics/angular javascript code', () => { - fs.readdirSync(pkg).forEach((d) => { - const dir = path.join(pkg, d); - if (!fs.statSync(dir).isDirectory()) return; - - it(`${d} has no typescript dependency`, () => { - function check(subdir) { - fs.readdirSync(subdir).forEach((f) => { - const file = path.join(subdir, f); - if (fs.statSync(file).isDirectory()) { - check(file); - } else if (file.endsWith('.js')) { - const content = fs.readFileSync(file, { encoding: 'utf-8' }); - if ( - content.includes(`require("typescript")`) || - content.includes(`require('typescript')`) - ) { - fail(`${file} has a typescript import`); - } - } - }); - } - check(dir); - }); - }); -}); diff --git a/packages/schematics/angular/package.json b/packages/schematics/angular/package.json index 146f4bb1e622..17b55e384252 100644 --- a/packages/schematics/angular/package.json +++ b/packages/schematics/angular/package.json @@ -19,6 +19,7 @@ "dependencies": { "@angular-devkit/core": "workspace:0.0.0-PLACEHOLDER", "@angular-devkit/schematics": "workspace:0.0.0-PLACEHOLDER", - "jsonc-parser": "3.3.1" + "jsonc-parser": "3.3.1", + "typescript": "6.0.3" } } diff --git a/packages/schematics/angular/refactor/jasmine-vitest/test-file-transformer.ts b/packages/schematics/angular/refactor/jasmine-vitest/test-file-transformer.ts index d0aad192133c..de80052d0b2a 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/test-file-transformer.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/test-file-transformer.ts @@ -13,7 +13,7 @@ * blank line preservation, and reporting of transformation details. */ -import ts from '../../third_party/typescript'; +import ts from 'typescript'; import { transformDoneCallback, transformFocusedAndSkippedTests, diff --git a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-lifecycle.ts b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-lifecycle.ts index c0088861215f..78ddd1e99316 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-lifecycle.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-lifecycle.ts @@ -13,7 +13,7 @@ * operations that use the `done` callback. */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { createPropertyAccess } from '../utils/ast-helpers'; import { addTodoComment } from '../utils/comment-helpers'; import { RefactorContext } from '../utils/refactor-context'; diff --git a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-matcher.ts b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-matcher.ts index 450948a7c8c1..c1e669b144ef 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-matcher.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-matcher.ts @@ -14,7 +14,7 @@ * `toHaveBeenCalledOnceWith` and `arrayWithExactContents`. */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { addVitestValueImport, createExpectCallExpression, diff --git a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-misc.ts b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-misc.ts index 0db3e7b6a55a..243eea1b2878 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-misc.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-misc.ts @@ -13,7 +13,7 @@ * includes logic to identify and add TODO comments for unsupported Jasmine features. */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { addVitestValueImport, createViCallExpression } from '../utils/ast-helpers'; import { getJasmineMethodName, isJasmineCallExpression } from '../utils/ast-validation'; import { addTodoComment } from '../utils/comment-helpers'; diff --git a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-spy.ts b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-spy.ts index 8c7f348ac681..2c9b6f8cc686 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-spy.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-spy.ts @@ -13,7 +13,7 @@ * and the inspection of spy calls (`spy.calls.reset`, `spy.calls.mostRecent`). */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { addVitestValueImport, createPropertyAccess, diff --git a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-type.ts b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-type.ts index a455172eb460..c15962eb5e91 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-type.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/transformers/jasmine-type.ts @@ -13,7 +13,7 @@ * necessary `vitest` imports are added to the file. */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { addVitestTypeImport } from '../utils/ast-helpers'; import { RefactorContext } from '../utils/refactor-context'; diff --git a/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-helpers.ts b/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-helpers.ts index 7a80a77221dd..8cbf089d05a8 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-helpers.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-helpers.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; export function addVitestValueImport(imports: Set, importName: string): void { imports.add(importName); diff --git a/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-validation.ts b/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-validation.ts index dcc9a9d50b03..25540333827d 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-validation.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/utils/ast-validation.ts @@ -11,7 +11,7 @@ * TypeScript AST nodes, particularly for identifying specific patterns in Jasmine tests. */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; /** * If a node is a `jasmine.method()` call, returns the method name. diff --git a/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers.ts b/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers.ts index 233b7e10409d..2ece945e2951 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { TODO_NOTES, TodoCategory, TodoContextMap } from './todo-notes'; // A helper type to find all `TodoCategory` keys that do not require a context. diff --git a/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers_spec.ts b/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers_spec.ts index 450c41167ad0..ddfb1b8b7ad1 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers_spec.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/utils/comment-helpers_spec.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { addTodoComment } from './comment-helpers'; describe('addTodoComment', () => { diff --git a/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-context.ts b/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-context.ts index da07906d84bf..d2599ed16ed7 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-context.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-context.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { RefactorReporter } from './refactor-reporter'; /** diff --git a/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter.ts b/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter.ts index 22905acbe86f..13b49f555216 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { TodoCategory } from './todo-notes'; export class RefactorReporter { diff --git a/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter_spec.ts b/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter_spec.ts index b6be86a363f4..c80e97f4bc7b 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter_spec.ts +++ b/packages/schematics/angular/refactor/jasmine-vitest/utils/refactor-reporter_spec.ts @@ -7,7 +7,7 @@ */ import { logging } from '@angular-devkit/core'; -import ts from '../../../third_party/typescript'; +import ts from 'typescript'; import { RefactorReporter } from './refactor-reporter'; describe('RefactorReporter', () => { diff --git a/packages/schematics/angular/server/index_spec.ts b/packages/schematics/angular/server/index_spec.ts index b54776f9fd54..42c086559e8f 100644 --- a/packages/schematics/angular/server/index_spec.ts +++ b/packages/schematics/angular/server/index_spec.ts @@ -8,8 +8,8 @@ import { SchematicTestRunner, UnitTestTree } from '@angular-devkit/schematics/testing'; import { parse as parseJson } from 'jsonc-parser'; +import { CompilerOptions } from 'typescript'; import { Schema as ApplicationOptions, Style } from '../application/schema'; -import { CompilerOptions } from '../third_party/typescript'; import { NodeDependencyType, addPackageJsonDependency } from '../utility/dependencies'; import { Builders } from '../utility/workspace-models'; import { Schema as WorkspaceOptions } from '../workspace/schema'; diff --git a/packages/schematics/angular/service-worker/index.ts b/packages/schematics/angular/service-worker/index.ts index 695598ee64f0..5d72dd8ed934 100644 --- a/packages/schematics/angular/service-worker/index.ts +++ b/packages/schematics/angular/service-worker/index.ts @@ -20,7 +20,7 @@ import { url, } from '@angular-devkit/schematics'; import { join } from 'node:path/posix'; -import ts from '../third_party/typescript'; +import ts from 'typescript'; import { addDependency, addRootProvider, writeWorkspace } from '../utility'; import { addSymbolToNgModuleMetadata, insertImport } from '../utility/ast-utils'; import { applyToUpdateRecorder } from '../utility/change'; diff --git a/packages/schematics/angular/third_party/typescript/BUILD.bazel b/packages/schematics/angular/third_party/typescript/BUILD.bazel deleted file mode 100644 index 3018fc3bb792..000000000000 --- a/packages/schematics/angular/third_party/typescript/BUILD.bazel +++ /dev/null @@ -1,31 +0,0 @@ -load("@aspect_rules_js//js:defs.bzl", "js_library") - -package(default_visibility = ["//packages/schematics/angular:__subpackages__"]) - -licenses(["notice"]) # Apache 2.0 - -genrule( - name = "typescript_sources", - srcs = ["//:node_modules/typescript/dir"], - outs = [ - "index.d.ts", - "index.js", - "LICENSE", - ], - cmd = """ - # Find the source directory - SRC_DIR="$(location //:node_modules/typescript/dir)" - - # Copy to the specific output paths - cp "$$SRC_DIR/lib/typescript.d.ts" "$(location index.d.ts)" - cp "$$SRC_DIR/lib/typescript.js" "$(location index.js)" - cp "$$SRC_DIR/LICENSE.txt" "$(location LICENSE)" - """, -) - -js_library( - name = "typescript", - srcs = [ - ":typescript_sources", - ], -) diff --git a/packages/schematics/angular/third_party/typescript/README.md b/packages/schematics/angular/third_party/typescript/README.md deleted file mode 100644 index 34204208f351..000000000000 --- a/packages/schematics/angular/third_party/typescript/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# TypeScript Third-Party Dependency - -This directory provides a local target for the `typescript` package files used by Angular schematics. - -Rather than checking in the TypeScript source files directly (vendoring), this directory uses a Bazel `genrule` to copy the required files directly from the repository's root `node_modules/typescript` to reduce the size of the installation. diff --git a/packages/schematics/angular/third_party/typescript/index.d.ts b/packages/schematics/angular/third_party/typescript/index.d.ts deleted file mode 100644 index 19b5dde28db3..000000000000 --- a/packages/schematics/angular/third_party/typescript/index.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.dev/license - */ -import ts from 'typescript'; -export = ts; diff --git a/packages/schematics/angular/utility/add-declaration-to-ng-module.ts b/packages/schematics/angular/utility/add-declaration-to-ng-module.ts index 6f65e3a23edc..96c978f94aab 100644 --- a/packages/schematics/angular/utility/add-declaration-to-ng-module.ts +++ b/packages/schematics/angular/utility/add-declaration-to-ng-module.ts @@ -7,7 +7,7 @@ */ import { Rule, Tree, strings } from '@angular-devkit/schematics'; -import * as ts from '../third_party/typescript'; +import ts from 'typescript'; import { addDeclarationToModule, addSymbolToNgModuleMetadata } from './ast-utils'; import { InsertChange } from './change'; import { buildRelativePath } from './find-module'; diff --git a/packages/schematics/angular/utility/ast-utils.ts b/packages/schematics/angular/utility/ast-utils.ts index bff5b32a8660..da7fbf8f526c 100644 --- a/packages/schematics/angular/utility/ast-utils.ts +++ b/packages/schematics/angular/utility/ast-utils.ts @@ -6,7 +6,7 @@ * found in the LICENSE file at https://angular.dev/license */ -import * as ts from '../third_party/typescript'; +import ts from 'typescript'; import { Change, InsertChange, NoopChange } from './change'; import { getEOL } from './eol'; diff --git a/packages/schematics/angular/utility/ast-utils_spec.ts b/packages/schematics/angular/utility/ast-utils_spec.ts index 20e3f2cae2e2..c937d7124ebe 100644 --- a/packages/schematics/angular/utility/ast-utils_spec.ts +++ b/packages/schematics/angular/utility/ast-utils_spec.ts @@ -7,7 +7,7 @@ */ import { HostTree } from '@angular-devkit/schematics'; -import * as ts from '../third_party/typescript'; +import ts from 'typescript'; import { Change, InsertChange } from '../utility/change'; import { addDeclarationToModule, diff --git a/packages/schematics/angular/utility/ng-ast-utils.ts b/packages/schematics/angular/utility/ng-ast-utils.ts index 3a57e38b8f0e..150510cd233e 100644 --- a/packages/schematics/angular/utility/ng-ast-utils.ts +++ b/packages/schematics/angular/utility/ng-ast-utils.ts @@ -8,7 +8,7 @@ import { SchematicsException, Tree } from '@angular-devkit/schematics'; import { dirname, join } from 'node:path/posix'; -import * as ts from '../third_party/typescript'; +import ts from 'typescript'; import { findNode, getSourceNodes } from '../utility/ast-utils'; import { findBootstrapApplicationCall } from './standalone/util'; diff --git a/packages/schematics/angular/utility/standalone/app_component.ts b/packages/schematics/angular/utility/standalone/app_component.ts index 77a78d25d40a..dff6c953f88b 100644 --- a/packages/schematics/angular/utility/standalone/app_component.ts +++ b/packages/schematics/angular/utility/standalone/app_component.ts @@ -7,7 +7,7 @@ */ import { SchematicsException, Tree } from '@angular-devkit/schematics'; -import ts from '../../third_party/typescript'; +import ts from 'typescript'; import { getDecoratorMetadata, getMetadataField } from '../ast-utils'; import { findBootstrapModuleCall, getAppModulePath } from '../ng-ast-utils'; import { findBootstrapApplicationCall, getSourceFile } from './util'; diff --git a/packages/schematics/angular/utility/standalone/app_config.ts b/packages/schematics/angular/utility/standalone/app_config.ts index 332a2a4052d1..01fd7df1d9ab 100644 --- a/packages/schematics/angular/utility/standalone/app_config.ts +++ b/packages/schematics/angular/utility/standalone/app_config.ts @@ -8,7 +8,7 @@ import { Tree } from '@angular-devkit/schematics'; import { dirname, join } from 'node:path'; -import ts from '../../third_party/typescript'; +import ts from 'typescript'; import { getSourceFile } from './util'; /** App config that was resolved to its source node. */ diff --git a/packages/schematics/angular/utility/standalone/code_block.ts b/packages/schematics/angular/utility/standalone/code_block.ts index 6a79d8fdc9b0..8404d757da67 100644 --- a/packages/schematics/angular/utility/standalone/code_block.ts +++ b/packages/schematics/angular/utility/standalone/code_block.ts @@ -7,7 +7,7 @@ */ import { Rule, Tree } from '@angular-devkit/schematics'; -import ts from '../../third_party/typescript'; +import ts from 'typescript'; import { hasTopLevelIdentifier, insertImport } from '../ast-utils'; import { applyToUpdateRecorder } from '../change'; diff --git a/packages/schematics/angular/utility/standalone/rules.ts b/packages/schematics/angular/utility/standalone/rules.ts index b2bfbda4b048..15f67da04901 100644 --- a/packages/schematics/angular/utility/standalone/rules.ts +++ b/packages/schematics/angular/utility/standalone/rules.ts @@ -7,7 +7,7 @@ */ import { Rule, SchematicsException, Tree, chain } from '@angular-devkit/schematics'; -import ts from '../../third_party/typescript'; +import ts from 'typescript'; import { addSymbolToNgModuleMetadata, insertAfterLastOccurrence } from '../ast-utils'; import { InsertChange } from '../change'; import { getAppModulePath, isStandaloneApp } from '../ng-ast-utils'; diff --git a/packages/schematics/angular/utility/standalone/util.ts b/packages/schematics/angular/utility/standalone/util.ts index 0cfca673476a..f964c2204c3b 100644 --- a/packages/schematics/angular/utility/standalone/util.ts +++ b/packages/schematics/angular/utility/standalone/util.ts @@ -8,7 +8,7 @@ import { SchematicsException, Tree } from '@angular-devkit/schematics'; import { join } from 'node:path/posix'; -import ts from '../../third_party/typescript'; +import ts from 'typescript'; import { Change, applyToUpdateRecorder } from '../change'; import { targetBuildNotFoundError } from '../project-targets'; import { getWorkspace } from '../workspace'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9a2f5149406d..b56d10ced317 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -327,7 +327,7 @@ importers: version: 29.0.2 ng-packagr: specifier: 22.0.0-next.3 - version: 22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.2))(tslib@2.8.1)(typescript@6.0.2) + version: 22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.3))(tslib@2.8.1)(typescript@6.0.3) rxjs: specifier: 7.8.2 version: 7.8.2 @@ -430,7 +430,7 @@ importers: version: 4.6.4 ng-packagr: specifier: 22.0.0-next.3 - version: 22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.2))(tslib@2.8.1)(typescript@6.0.2) + version: 22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.3))(tslib@2.8.1)(typescript@6.0.3) postcss: specifier: 8.5.10 version: 8.5.10 @@ -675,7 +675,7 @@ importers: version: 8.5.10 postcss-loader: specifier: 8.2.1 - version: 8.2.1(postcss@8.5.10)(typescript@6.0.2)(webpack@5.106.2(esbuild@0.28.0)) + version: 8.2.1(postcss@8.5.10)(typescript@6.0.3)(webpack@5.106.2(esbuild@0.28.0)) resolve-url-loader: specifier: 5.0.0 version: 5.0.0 @@ -730,7 +730,7 @@ importers: version: 3.0.4(bufferutil@4.1.0)(utf-8-validate@6.0.6) ng-packagr: specifier: 22.0.0-next.3 - version: 22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.2))(tslib@2.8.1)(typescript@6.0.2) + version: 22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.3))(tslib@2.8.1)(typescript@6.0.3) undici: specifier: 8.1.0 version: 8.1.0 @@ -845,6 +845,9 @@ importers: jsonc-parser: specifier: 3.3.1 version: 3.3.1 + typescript: + specifier: 6.0.3 + version: 6.0.3 tests: devDependencies: @@ -8045,6 +8048,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@6.0.3: + resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} + engines: {node: '>=14.17'} + hasBin: true + ua-parser-js@0.7.41: resolution: {integrity: sha512-O3oYyCMPYgNNHuO7Jjk3uacJWZF8loBgwrfd/5LE/HyZ3lUIOdniQ7DNXJcIgZbwioZxk0fLfI4EVnetdiX5jg==} hasBin: true @@ -8701,6 +8709,22 @@ snapshots: transitivePeerDependencies: - supports-color + '@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.3)': + dependencies: + '@angular/compiler': 22.0.0-next.8 + '@babel/core': 7.29.0 + '@jridgewell/sourcemap-codec': 1.5.5 + chokidar: 5.0.0 + convert-source-map: 1.9.0 + reflect-metadata: 0.2.2 + semver: 7.7.4 + tslib: 2.8.1 + yargs: 18.0.0 + optionalDependencies: + typescript: 6.0.3 + transitivePeerDependencies: + - supports-color + '@angular/compiler@22.0.0-next.8': dependencies: tslib: 2.8.1 @@ -12878,6 +12902,15 @@ snapshots: optionalDependencies: typescript: 6.0.2 + cosmiconfig@9.0.1(typescript@6.0.3): + dependencies: + env-paths: 2.2.1 + import-fresh: 3.3.1 + js-yaml: 4.1.1 + parse-json: 5.2.0 + optionalDependencies: + typescript: 6.0.3 + cross-fetch@4.1.0(encoding@0.1.13): dependencies: node-fetch: 2.7.0(encoding@0.1.13) @@ -15123,10 +15156,10 @@ snapshots: netmask@2.1.1: {} - ng-packagr@22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.2))(tslib@2.8.1)(typescript@6.0.2): + ng-packagr@22.0.0-next.3(@angular/compiler-cli@22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.3))(tslib@2.8.1)(typescript@6.0.3): dependencies: '@ampproject/remapping': 2.3.0 - '@angular/compiler-cli': 22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.2) + '@angular/compiler-cli': 22.0.0-next.8(@angular/compiler@22.0.0-next.8)(typescript@6.0.3) '@rollup/plugin-json': 6.1.0(rollup@4.60.2) '@rollup/wasm-node': 4.60.2 ajv: 8.18.0 @@ -15142,12 +15175,12 @@ snapshots: ora: 9.3.0 piscina: 5.1.4 postcss: 8.5.10 - rollup-plugin-dts: 6.4.1(rollup@4.60.2)(typescript@6.0.2) + rollup-plugin-dts: 6.4.1(rollup@4.60.2)(typescript@6.0.3) rxjs: 7.8.2 sass: 1.99.0 tinyglobby: 0.2.16 tslib: 2.8.1 - typescript: 6.0.2 + typescript: 6.0.3 optionalDependencies: rollup: 4.60.2 @@ -15598,9 +15631,9 @@ snapshots: possible-typed-array-names@1.1.0: {} - postcss-loader@8.2.1(postcss@8.5.10)(typescript@6.0.2)(webpack@5.106.2(esbuild@0.28.0)): + postcss-loader@8.2.1(postcss@8.5.10)(typescript@6.0.3)(webpack@5.106.2(esbuild@0.28.0)): dependencies: - cosmiconfig: 9.0.1(typescript@6.0.2) + cosmiconfig: 9.0.1(typescript@6.0.3) jiti: 2.6.1 postcss: 8.5.10 semver: 7.7.4 @@ -16021,6 +16054,17 @@ snapshots: optionalDependencies: '@babel/code-frame': 7.29.0 + rollup-plugin-dts@6.4.1(rollup@4.60.2)(typescript@6.0.3): + dependencies: + '@jridgewell/remapping': 2.3.5 + '@jridgewell/sourcemap-codec': 1.5.5 + convert-source-map: 2.0.0 + magic-string: 0.30.21 + rollup: 4.60.2 + typescript: 6.0.3 + optionalDependencies: + '@babel/code-frame': 7.29.0 + rollup-plugin-sourcemaps2@0.5.6(@types/node@22.19.17)(rollup@4.60.2): dependencies: '@rollup/pluginutils': 5.3.0(rollup@4.60.2) @@ -16861,6 +16905,8 @@ snapshots: typescript@6.0.2: {} + typescript@6.0.3: {} + ua-parser-js@0.7.41: {} ua-parser-js@1.0.41: {}