diff --git a/fixtures/async-throttle/init-snapshot/tsconfig.json b/fixtures/async-throttle/init-snapshot/tsconfig.json index fda74dd9..bf66ea97 100644 --- a/fixtures/async-throttle/init-snapshot/tsconfig.json +++ b/fixtures/async-throttle/init-snapshot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test", "./*.ts"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/async-throttle/input-noesm/tsconfig.json b/fixtures/async-throttle/input-noesm/tsconfig.json index a72f4ade..f099029d 100644 --- a/fixtures/async-throttle/input-noesm/tsconfig.json +++ b/fixtures/async-throttle/input-noesm/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/async-throttle/input-upgrade/tsconfig.json b/fixtures/async-throttle/input-upgrade/tsconfig.json index fdfe49b4..6a1bb16d 100644 --- a/fixtures/async-throttle/input-upgrade/tsconfig.json +++ b/fixtures/async-throttle/input-upgrade/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/async-throttle/noesm-snapshot/tsconfig.json b/fixtures/async-throttle/noesm-snapshot/tsconfig.json index a72f4ade..f099029d 100644 --- a/fixtures/async-throttle/noesm-snapshot/tsconfig.json +++ b/fixtures/async-throttle/noesm-snapshot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/async-throttle/upgrade-snapshot/tsconfig.json b/fixtures/async-throttle/upgrade-snapshot/tsconfig.json index fdfe49b4..6a1bb16d 100644 --- a/fixtures/async-throttle/upgrade-snapshot/tsconfig.json +++ b/fixtures/async-throttle/upgrade-snapshot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/cli-example/input/tsconfig.json b/fixtures/cli-example/input/tsconfig.json index b94eed7f..e29f66d5 100644 --- a/fixtures/cli-example/input/tsconfig.json +++ b/fixtures/cli-example/input/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test", "./*.ts"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/cli-example/prepublish-snapshot/tsconfig.json b/fixtures/cli-example/prepublish-snapshot/tsconfig.json index b94eed7f..e29f66d5 100644 --- a/fixtures/cli-example/prepublish-snapshot/tsconfig.json +++ b/fixtures/cli-example/prepublish-snapshot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test", "./*.ts"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/log4jcore/init-snapshot/tsconfig.json b/fixtures/log4jcore/init-snapshot/tsconfig.json index e3474c8b..1a5d0bc6 100644 --- a/fixtures/log4jcore/init-snapshot/tsconfig.json +++ b/fixtures/log4jcore/init-snapshot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test", "./*.ts", "./run.ts"], "exclude": ["node_modules"] } diff --git a/fixtures/monorepo/input/packages/bar/tsconfig.json b/fixtures/monorepo/input/packages/bar/tsconfig.json index 1236c5ab..a03be883 100644 --- a/fixtures/monorepo/input/packages/bar/tsconfig.json +++ b/fixtures/monorepo/input/packages/bar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test"], "exclude": ["node_modules"] } diff --git a/fixtures/monorepo/input/packages/foo/tsconfig.json b/fixtures/monorepo/input/packages/foo/tsconfig.json index 1236c5ab..a03be883 100644 --- a/fixtures/monorepo/input/packages/foo/tsconfig.json +++ b/fixtures/monorepo/input/packages/foo/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test"], "exclude": ["node_modules"] } diff --git a/fixtures/monorepo/prepublish-snapshot/packages/bar/tsconfig.json b/fixtures/monorepo/prepublish-snapshot/packages/bar/tsconfig.json index 1236c5ab..a03be883 100644 --- a/fixtures/monorepo/prepublish-snapshot/packages/bar/tsconfig.json +++ b/fixtures/monorepo/prepublish-snapshot/packages/bar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test"], "exclude": ["node_modules"] } diff --git a/fixtures/monorepo/prepublish-snapshot/packages/foo/tsconfig.json b/fixtures/monorepo/prepublish-snapshot/packages/foo/tsconfig.json index 1236c5ab..a03be883 100644 --- a/fixtures/monorepo/prepublish-snapshot/packages/foo/tsconfig.json +++ b/fixtures/monorepo/prepublish-snapshot/packages/foo/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test"], "exclude": ["node_modules"] } diff --git a/fixtures/react-view-slider-ts/init-snapshot/tsconfig.json b/fixtures/react-view-slider-ts/init-snapshot/tsconfig.json index 98667206..66bf93bc 100644 --- a/fixtures/react-view-slider-ts/init-snapshot/tsconfig.json +++ b/fixtures/react-view-slider-ts/init-snapshot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test", "./*.ts"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/type-module/input/tsconfig.json b/fixtures/type-module/input/tsconfig.json index 69ca06ec..fb91248a 100644 --- a/fixtures/type-module/input/tsconfig.json +++ b/fixtures/type-module/input/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test", "./*.ts"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/fixtures/type-module/prepublish-snapshot/tsconfig.json b/fixtures/type-module/prepublish-snapshot/tsconfig.json index 69ca06ec..fb91248a 100644 --- a/fixtures/type-module/prepublish-snapshot/tsconfig.json +++ b/fixtures/type-module/prepublish-snapshot/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "./node_modules/@jcoreio/toolchain-typescript/tsconfig.json", + "extends": "@jcoreio/toolchain-typescript/tsconfig.json", "include": ["./src", "./test", "./*.ts"], "exclude": ["node_modules"], "compilerOptions": { diff --git a/packages/typescript/plugins/getConfigFiles.cjs b/packages/typescript/plugins/getConfigFiles.cjs index b12dc4cd..2524b752 100644 --- a/packages/typescript/plugins/getConfigFiles.cjs +++ b/packages/typescript/plugins/getConfigFiles.cjs @@ -11,7 +11,6 @@ async function getRootTsconfig() { module.exports = [ async function getConfigFiles({ fromVersion }) { - if (fromVersion) return {} const rootTsconfig = await getRootTsconfig() const lib = rootTsconfig && @@ -37,8 +36,7 @@ module.exports = [ 'tsconfig.json': { content: JSON.stringify( { - extends: - './node_modules/@jcoreio/toolchain-typescript/tsconfig.json', + extends: '@jcoreio/toolchain-typescript/tsconfig.json', include: [ './src', './test',