Skip to content

Commit

Permalink
build: update to TypeScript 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-agius4 authored and clydin committed Sep 28, 2021
1 parent 505438c commit 9c924a4
Show file tree
Hide file tree
Showing 12 changed files with 15,647 additions and 12,085 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@
"packages/angular_devkit/*",
"packages/ngtools/*",
"packages/schematics/*"
],
"nohoist": [
"@angular/compiler-cli"
]
},
"resolutions": {
Expand Down Expand Up @@ -221,7 +218,7 @@
"tree-kill": "1.2.2",
"ts-node": "^10.0.0",
"tslib": "2.3.1",
"typescript": "4.3.5",
"typescript": "4.4.3",
"verdaccio": "5.1.6",
"verdaccio-auth-memory": "^10.0.0",
"webpack": "5.54.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_optimizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"source-map": "0.7.3",
"tslib": "2.3.1",
"typescript": "4.3.5"
"typescript": "4.4.3"
},
"peerDependencies": {
"webpack": "^5.30.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@angular-devkit/core": "^<%= coreVersion %>",
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
"typescript": "~4.3.2"
"typescript": "~4.4.3"
},
"devDependencies": {
"@types/node": "^12.11.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@angular-devkit/core": "^<%= coreVersion %>",
"@angular-devkit/schematics": "^<%= schematicsVersion %>",
"typescript": "~4.3.2"
"typescript": "~4.4.3"
},
"devDependencies": {
"@types/node": "^12.11.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/ngtools/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"dependencies": {},
"peerDependencies": {
"@angular/compiler-cli": "^13.0.0 || ^13.0.0-next",
"typescript": "~4.2.3 || ~4.3.2",
"typescript": "~4.4.3",
"webpack": "^5.30.0"
},
"devDependencies": {
"@angular-devkit/core": "0.0.0",
"@angular/compiler": "12.2.7",
"@angular/compiler-cli": "12.2.7",
"typescript": "4.3.5",
"typescript": "4.4.3",
"webpack": "5.54.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ describe('@ngtools/webpack transformers', () => {
title = 'app';
}
`;

const output = tags.stripIndent`
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
Expand All @@ -98,8 +99,8 @@ describe('@ngtools/webpack transformers', () => {
let AppComponent = class AppComponent {
constructor() { this.title = 'app'; }
};
AppComponent = tslib_1.__decorate([
core_1.Component({
AppComponent = (0, tslib_1.__decorate)([
(0, core_1.Component)({
selector: 'app-root',
template: require("!${DirectAngularResourceLoaderPath}!./app.component.html").default,
styles: [require("./app.component.css").default, require("./app.component.2.css").default] }) ], AppComponent);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("//tools:defaults.bzl", "ts_library")

# files fetched on 2021-03-17 from
# https://github.com/microsoft/TypeScript/releases/tag/v4.2.3
# files fetched on 2021-09-28 from
# https://github.com/microsoft/TypeScript/releases/tag/v4.4.3
licenses(["notice"]) # Apache 2.0

ts_library(
Expand Down
Loading

0 comments on commit 9c924a4

Please sign in to comment.