Skip to content

Commit a2e27d0

Browse files
committed
Fix various build failures
1 parent 988efaf commit a2e27d0

File tree

13 files changed

+1049
-381
lines changed

13 files changed

+1049
-381
lines changed

apps/heft/src/cli/HeftActionRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ async function _startLifecycleAsync(this: void, internalHeftSession: InternalHef
519519
if (lifecycle.hooks.clean.isUsed()) {
520520
try {
521521
await lifecycle.hooks.clean.promise(cleanHookOptions);
522-
} catch (e: unknown) {
522+
} catch (e) {
523523
// Log out using the clean logger, and return an error status
524524
if (!(e instanceof AlreadyReportedError)) {
525525
lifecycleLogger.emitError(e as Error);
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('local-eslint-config/patch/modern-module-resolution');
2+
require('@rushstack/eslint-config/patch/modern-module-resolution');
33
// This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4-
require('local-eslint-config/patch/custom-config-package-names');
4+
require('@rushstack/eslint-config/patch/custom-config-package-names');
55

66
module.exports = {
7-
extends: ['local-eslint-config/profile/node'],
7+
extends: ['@rushstack/eslint-config/profile/node'],
88
parserOptions: { tsconfigRootDir: __dirname }
99
};

build-tests/heft-typescript-v4-test/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
},
1313
"devDependencies": {
1414
"@microsoft/api-extractor": "workspace:*",
15-
"local-eslint-config": "workspace:*",
15+
"@rushstack/eslint-config": "3.4.0",
16+
"@rushstack/eslint-patch": "workspace:*",
1617
"@rushstack/heft": "workspace:*",
1718
"@rushstack/heft-api-extractor-plugin": "workspace:*",
1819
"@rushstack/heft-jest-plugin": "workspace:*",

0 commit comments

Comments
 (0)