Skip to content

Comments

wip: patch tsc-multi with https://github.com/tommy351/tsc-multi/pull/24#19586

Closed
tylerbutler wants to merge 2 commits intomicrosoft:mainfrom
tylerbutler:jason-tsc-multi-patch
Closed

wip: patch tsc-multi with https://github.com/tommy351/tsc-multi/pull/24#19586
tylerbutler wants to merge 2 commits intomicrosoft:mainfrom
tylerbutler:jason-tsc-multi-patch

Conversation

@tylerbutler
Copy link
Member

work in progress. not ready for review

@github-actions github-actions bot added dependencies Pull requests that update a dependency file base: main PRs targeted against main branch labels Feb 9, 2024
@github-actions github-actions bot added the area: build Build related issues label Feb 9, 2024
"extends": [
"../../../common/build/build-common/tsconfig.base.json",
"../../../common/build/build-common/tsconfig.cjs.json",
"../../../common/build/build-common/tsconfig.bundler.json",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed because the auto-gwenerated type test files have bare imports (no extensions). Once that is fixed this should be changed.

"rootDir": "./",
"outDir": "../../dist/test",
"module": "ESNext",
"moduleResolution": "Bundler",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workaround because the generated type tests use bare imports.

{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"extends": "../../../common/build/build-common/api-extractor-base.json"
"extends": "../../../common/build/build-common/api-extractor-base.cjs.primary.json"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using primary for both esm and cjs because both use the js file extension.

@tylerbutler tylerbutler deleted the jason-tsc-multi-patch branch March 19, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build related issues base: main PRs targeted against main branch dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant