Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const uuidMarkdownDocumenterFeature: string = '34196154-9eb3-4de0-a8c8-7e9539dfe
*/
export class MarkdownDocumenterFeature extends PluginFeature {
/** {@inheritdoc PluginFeature.context} */
public override context!: MarkdownDocumenterFeatureContext;
public declare context: MarkdownDocumenterFeatureContext;

/**
* This event occurs before each markdown file is written. It provides an opportunity to customize the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class Class2<T> extends Namespace1.Class3 {
export class Class1 extends Class2<number> {
/** A second prop. Overrides `Class2.secondProp`. */
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
override secondProp: boolean;
declare secondProp: boolean;

/** A fourth prop */
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
Expand Down
1 change: 1 addition & 0 deletions build-tests/localization-plugin-test-01/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"target": "ES2019",
"moduleResolution": "node",
"rootDirs": ["src", "temp/loc-json-ts"]
}
Expand Down
1 change: 1 addition & 0 deletions build-tests/localization-plugin-test-02/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"target": "ES2019",
"moduleResolution": "node",
"rootDirs": ["src", "temp/loc-json-ts"]
}
Expand Down
1 change: 1 addition & 0 deletions build-tests/localization-plugin-test-03/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"target": "ES2019",
"module": "esnext",
"outDir": "lib-esm",
"declarationDir": "lib-dts",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@microsoft/rush",
"comment": "Update class field declarations for ES2022 emit semantics.",
"type": "none"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/eslint-plugin",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/heft-jest-plugin",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/heft-typescript-plugin",
"comment": "Use ES2022 library definitions during TypeScript compilation.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/localization-utilities",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/lookup-by-path",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/module-minifier",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/operation-graph",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/rush-daemon",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/ts-command-line",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/webpack5-localization-plugin",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"changes": [
{
"packageName": "@rushstack/worker-pool",
"comment": "Compile package output for ES2022.",
"type": "patch"
}
]
}
6 changes: 1 addition & 5 deletions eslint/eslint-plugin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
"module": "Node16",

// TODO: Update the rest of the repo to target ES2020
"target": "ES2020",
"lib": ["ES2020"]
"module": "Node16"
}
}
7 changes: 1 addition & 6 deletions heft-plugins/heft-jest-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
// TODO: Remove when the repo is updated to ES2020
"target": "es2018"
}
"extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json"
}
7 changes: 1 addition & 6 deletions heft-plugins/heft-typescript-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
// TODO: Remove when the repo is updated to ES2020
"lib": ["ES2019"]
}
"extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json"
}
5 changes: 1 addition & 4 deletions libraries/localization-utilities/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"target": "ES2019"
}
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json"
}
6 changes: 1 addition & 5 deletions libraries/lookup-by-path/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
"target": "ES2019"
}
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json"
}
3 changes: 1 addition & 2 deletions libraries/module-minifier/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
"allowSyntheticDefaultImports": true,
"target": "ES2019"
"allowSyntheticDefaultImports": true
}
}
5 changes: 1 addition & 4 deletions libraries/operation-graph/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@

"compilerOptions": {
// TODO: Consider turning this on for all projects, or removing it here
"allowSyntheticDefaultImports": true,
// TODO: update the rest of the repo to use ES2020
"target": "ES2020",
"lib": ["ES2020"]
"allowSyntheticDefaultImports": true
}
}
7 changes: 1 addition & 6 deletions libraries/rush-daemon/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020"]
}
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json"
}
2 changes: 1 addition & 1 deletion libraries/rush-lib/src/cli/actions/BaseRushAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export abstract class BaseRushAction extends BaseConfiglessRushAction {
return this._eventHooksManager;
}

protected override readonly rushConfiguration!: RushConfiguration;
protected declare readonly rushConfiguration: RushConfiguration;

protected override async onExecuteAsync(): Promise<void> {
if (!this.rushConfiguration) {
Expand Down
7 changes: 1 addition & 6 deletions libraries/ts-command-line/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
// TODO: Remove when the repo is updated to ES2020
"target": "es2018"
}
"extends": "./node_modules/decoupled-local-node-rig/profiles/default/tsconfig-base.json"
}
6 changes: 1 addition & 5 deletions libraries/worker-pool/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",

"compilerOptions": {
"target": "ES2019"
}
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"compilerOptions": {
"resolveJsonModule": true,
"isolatedModules": true,
"target": "es2018",
"target": "es2022",
"lib": ["es2022"],

"outDir": "${configDir}/lib-commonjs",
"declarationDir": "${configDir}/lib-dts",
Expand Down
3 changes: 2 additions & 1 deletion rigs/local-node-rig/profiles/default/tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noImplicitOverride": true,
"target": "es2018",
"target": "es2022",
"lib": ["es2022"],

"outDir": "${configDir}/lib-commonjs",
"declarationDir": "${configDir}/lib-dts",
Expand Down
5 changes: 1 addition & 4 deletions webpack/webpack5-localization-plugin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json",
"compilerOptions": {
"target": "ES2019"
}
"extends": "./node_modules/local-node-rig/profiles/default/tsconfig-base.json"
}