Skip to content

Commit

Permalink
build: update to TypeScript 5.5 (#29217)
Browse files Browse the repository at this point in the history
Updates the repo to the latest Angular `next` version and TypeScript 5.5 beta.
  • Loading branch information
crisbeto authored Jun 10, 2024
1 parent 35f07c5 commit 6fd57c2
Show file tree
Hide file tree
Showing 46 changed files with 6,832 additions and 7,966 deletions.
2,034 changes: 1,027 additions & 1,007 deletions integration/harness-e2e-cli/yarn.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions integration/ng-add-standalone/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ node_integration_test(
"rm -f %s/package.json" % APP_NAME,
# Delete the Karma config since we need to use a headless browser.
"rm -f %s/karma.conf.js" % APP_NAME,
# Delete the tsconfig since we have a pre-defined one.
"rm -f %s/tsconfig.json" % APP_NAME,
# We can't name the checked-in config `angular.json`, because the CLI doesn't allow
# `ng new` to run in a directory that has an `angular.json` already.
"mv _angular.json angular.json",
Expand Down
2 changes: 1 addition & 1 deletion integration/ng-add-standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.4.2"
"typescript": "5.5.1-rc"
}
}
28 changes: 28 additions & 0 deletions integration/ng-add-standalone/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": false,
"target": "es2017",
"module": "es2020",
"lib": ["es2020", "dom"]
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}
Loading

0 comments on commit 6fd57c2

Please sign in to comment.