Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(misc): update typescript to 4.7 #10560

Merged
merged 1 commit into from
Jun 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,15 @@
"tree-kill": "1.2.2",
"ts-jest": "27.1.4",
"ts-loader": "^9.2.6",
"ts-node": "9.1.1",
"ts-node": "~10.8.0",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "3.5.2",
"tslib": "^2.3.0",
"tslint": "6.1.3",
"tslint-to-eslint-config": "^2.4.0",
"tslint-to-eslint-config": "^2.13.0",
"typedoc": "0.22.9",
"typedoc-plugin-markdown": "3.11.6",
"typescript": "~4.6.2",
"typescript": "~4.7.2",
"unzipper": "^0.10.11",
"url-loader": "^4.1.1",
"verdaccio": "^5.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"jasmine-marbles": "~0.8.4",
"rxjs-for-await": "0.0.2",
"semver": "7.3.4",
"ts-node": "~9.1.1",
"ts-node": "~10.8.0",
"tsconfig-paths": "^3.9.0",
"webpack": "^5.58.1",
"webpack-merge": "5.7.3"
Expand Down
3 changes: 2 additions & 1 deletion packages/angular/src/generators/init/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
angularDevkitVersion,
jestPresetAngularVersion,
rxjsVersion,
tsNodeVersion,
} from '../../utils/versions';
import { karmaGenerator } from '../karma/karma';
import { Schema } from './schema';
Expand Down Expand Up @@ -156,7 +157,7 @@ function addE2ETestRunner(host: Tree, options: Schema): GeneratorCallback {
protractor: '~7.0.0',
'jasmine-core': '~3.6.0',
'jasmine-spec-reporter': '~5.0.0',
'ts-node': '~9.1.1',
'ts-node': tsNodeVersion,
'@types/jasmine': '~3.6.0',
'@types/jasminewd2': '~2.0.3',
}
Expand Down
1 change: 1 addition & 0 deletions packages/angular/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export const angularEslintVersion = '~13.2.1';
export const tailwindVersion = '^3.0.2';
export const postcssVersion = '^8.4.5';
export const autoprefixerVersion = '^10.4.0';
export const tsNodeVersion = '~10.8.0';
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Object {
"eslint-plugin-import",
"@typescript-eslint",
],
"root": true,
"rules": Object {
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export const tsJestVersion = '27.1.4';
export const babelJestVersion = '27.5.1';
export const swcJestVersion = '0.2.20';
export const typesNodeVersion = '16.11.7';
export const tsNodeVersion = '9.1.1';
export const tsNodeVersion = '~10.8.0';
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Object {
"plugins": Array [
"@typescript-eslint",
],
"root": true,
},
"ensureESLintPlugins": Array [],
"unconvertedTSLintRules": Array [],
Expand All @@ -60,6 +61,7 @@ Object {
"@angular-eslint/eslint-plugin",
"@typescript-eslint",
],
"root": true,
"rules": Object {
"@angular-eslint/component-selector": Array [
"error",
Expand Down Expand Up @@ -103,6 +105,7 @@ Object {
"@angular-eslint/eslint-plugin-template",
"@typescript-eslint",
],
"root": true,
"rules": Object {
"@angular-eslint/component-selector": Array [
"error",
Expand Down Expand Up @@ -244,6 +247,7 @@ Object {
"plugins": Array [
"@typescript-eslint",
],
"root": true,
},
"ensureESLintPlugins": Array [],
"unconvertedTSLintRules": Array [],
Expand Down
2 changes: 1 addition & 1 deletion packages/linter/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const nxVersion = require('../../package.json').version;

export const tslintVersion = '~6.1.0';
export const tslintToEslintConfigVersion = '^2.4.0';
export const tslintToEslintConfigVersion = '^2.13.0';
export const buildAngularVersion = '~14.0.0-rc.3';

export const typescriptESLintVersion = '~5.24.0';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ Object {
"eslint-plugin-import",
"@typescript-eslint",
],
"root": true,
"rules": Object {
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
Expand Down Expand Up @@ -447,6 +448,7 @@ Object {
"eslint-plugin-import",
"@typescript-eslint",
],
"root": true,
"rules": Object {
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"chalk": "4.1.0",
"eslint-config-next": "^12.1.0",
"fs-extra": "^10.1.0",
"ts-node": "~9.1.1",
"ts-node": "~10.8.0",
"tsconfig-paths": "^3.9.0",
"url-loader": "^4.1.1",
"webpack-merge": "^5.8.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"terser-webpack-plugin": "^5.3.0",
"tree-kill": "1.2.2",
"ts-loader": "^9.2.6",
"ts-node": "~9.1.1",
"ts-node": "~10.8.0",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "3.5.2",
"tslib": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const nxVersion = require('../../package.json').version;

export const angularCliVersion = '~14.0.0-rc.3';
export const typescriptVersion = '~4.6.2';
export const typescriptVersion = '~4.7.2';
export const prettierVersion = '^2.5.1';
export const tslintVersion = '~6.1.0';
export const typescriptESLintVersion = '~5.24.0';
Expand Down
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"stylus-loader": "^6.2.0",
"terser-webpack-plugin": "^5.3.0",
"ts-loader": "^9.2.6",
"ts-node": "~9.1.1",
"ts-node": "~10.8.0",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "3.5.2",
"tslib": "^2.3.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/workspace/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@
"alwaysAddToPackageJson": false
}
}
},
"14.2.0": {
"version": "14.2.0-beta.4",
"packages": {
"typescript": {
"version": "~4.7.2",
"alwaysAddToPackageJson": false
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Object {
"@nrwl/workspace": "0.0.1",
"nx": "0.0.1",
"prettier": "^2.5.1",
"typescript": "~4.6.2",
"typescript": "~4.7.2",
},
"license": "MIT",
"name": "my-workspace",
Expand All @@ -32,7 +32,7 @@ Object {
"@nrwl/workspace": "0.0.1",
"nx": "0.0.1",
"prettier": "^2.5.1",
"typescript": "~4.6.2",
"typescript": "~4.7.2",
},
"license": "MIT",
"name": "my-workspace",
Expand All @@ -55,7 +55,7 @@ Object {
"@nrwl/workspace": "0.0.1",
"nx": "0.0.1",
"prettier": "^2.5.1",
"typescript": "~4.6.2",
"typescript": "~4.7.2",
},
"license": "MIT",
"name": "my-workspace",
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const nxVersion = require('../../package.json').version;

export const angularCliVersion = '~14.0.0-rc.3';
export const typescriptVersion = '~4.6.2';
export const typescriptVersion = '~4.7.2';
export const prettierVersion = '^2.5.1';
export const tslintVersion = '~6.1.0';
export const typescriptESLintVersion = '~5.24.0';
Expand Down