-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore(build): migrate to tsdown workspace mode #5738
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
8e29b67
chore(build): migrate to tsdown workspace mode
fengmk2 df7bb7b
FIXUP
fengmk2 8f84e6b
FIXUP
fengmk2 8dbd208
remove unuse configs
fengmk2 ca060b9
remove unuse configs
fengmk2 393e0ec
FIXUP
fengmk2 a34d1e1
FIXUP
fengmk2 014c419
Merge remote-tracking branch 'origin/tsdown-workspace' into tsdown-wo…
fengmk2 60bcc35
FIXUP
fengmk2 e629ab7
FIXUP
fengmk2 c34b616
FIXUP
fengmk2 cce1b41
FIXUP
fengmk2 584cf85
FIXUP
fengmk2 5629b0b
FIXUP
fengmk2 f800397
FIXUP
fengmk2 0a32755
FIXUP
fengmk2 5f8051d
FIXUP
fengmk2 b5e6888
FIXUP
fengmk2 1ac55a2
FIXUP
fengmk2 9921c05
FIXUP
fengmk2 2ee0d13
FIXUP
fengmk2 d58041d
FIXUP
fengmk2 db06d64
FIXUP
fengmk2 f793891
FIXUP
fengmk2 4a30538
FIXUP
fengmk2 afb89fd
FIXUP
fengmk2 9b3cb68
FIXUP
fengmk2 074c069
FIXUP
fengmk2 d23cd9c
FIXUP
fengmk2 f93d23f
FIXUP
fengmk2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,9 @@ | ||
| import { defineConfig, type UserConfig } from 'tsdown'; | ||
| import { defineConfig } from 'tsdown'; | ||
|
|
||
| import baseConfig from '../../tsdown.config.json' with { type: 'json' }; | ||
|
|
||
| const config: UserConfig = defineConfig({ | ||
| ...(baseConfig as UserConfig), | ||
| export default defineConfig({ | ||
| entry: { | ||
| index: 'src/index.ts', | ||
| agent_worker: 'src/agent_worker.ts', | ||
| app_worker: 'src/app_worker.ts', | ||
| }, | ||
| }); | ||
|
|
||
| export default config; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,10 @@ | ||
| import { defineProject, type UserWorkspaceConfig } from 'vitest/config'; | ||
| import { defineProject } from 'vitest/config'; | ||
|
|
||
| const config: UserWorkspaceConfig = defineProject({ | ||
| export default defineProject({ | ||
| test: { | ||
| include: ['test/**/*.test.ts'], | ||
| exclude: ['test/fixtures/**', '**/node_modules/**', '**/dist/**'], | ||
| testTimeout: 25000, | ||
| hookTimeout: 25000, | ||
| }, | ||
| }); | ||
|
|
||
| export default config; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,7 @@ | ||
| import { defineConfig, type UserConfig } from 'tsdown'; | ||
| import { defineConfig } from 'tsdown'; | ||
|
|
||
| import baseConfig from '../../tsdown.config.json' with { type: 'json' }; | ||
|
|
||
| const config: UserConfig = defineConfig({ | ||
| ...(baseConfig as UserConfig), | ||
| export default defineConfig({ | ||
| entry: { | ||
| index: 'src/index.ts', | ||
| }, | ||
| }); | ||
|
|
||
| export default config; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.