-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
chore:remove symlink for windows #9410
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
base: main
Are you sure you want to change the base?
Changes from all commits
68da9f6
09c4c9c
45fee1e
261ec91
3271826
5cc04d4
ff26968
4b424c1
fdb86d3
d8a766c
cd4132b
4113921
3d5cec7
8c16e7e
51a5569
231a05b
7809ac4
73e198b
3ccc6c3
04395aa
e7e79b7
9a6d497
1ea6a32
57d23b5
3ccf298
2b7d6eb
14fac87
0334e56
d765f30
2af4646
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
import { defineConfig } from 'tsup' | ||
import { legacyConfig, modernConfig } from './root.tsup.config.js' | ||
|
||
// @ts-ignore out of scope | ||
import { legacyConfig, modernConfig } from '../../scripts/getTsupConfig.js' | ||
|
||
export default defineConfig([ | ||
modernConfig({ entry: ['src/*.ts'] }), | ||
legacyConfig({ entry: ['src/*.ts'] }), | ||
{ | ||
...modernConfig({ entry: ['src/*.ts'] }), | ||
external: ['typescript'], | ||
footer: ({ format }) => { | ||
if (format === 'cjs') { | ||
// workaround for CJS default export | ||
// @see https://github.com/evanw/esbuild/issues/1182#issuecomment-1011414271 | ||
return { js: `module.exports = module.exports.default` } | ||
} | ||
|
||
return | ||
}, | ||
esbuildPlugins: undefined, | ||
}, | ||
{ | ||
...legacyConfig({ entry: ['src/*.ts'] }), | ||
external: ['typescript'], | ||
esbuildPlugins: undefined, | ||
}, | ||
]) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// @ts-check | ||
|
||
import rootConfig from './root.eslint.config.js' | ||
// @ts-ignore out of scope | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [...rootConfig] |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// @ts-check | ||
|
||
import rootConfig from './root.eslint.config.js' | ||
// @ts-ignore out of scope | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [...rootConfig] |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// @ts-check | ||
|
||
import rootConfig from './root.eslint.config.js' | ||
// @ts-ignore out of scope | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [...rootConfig] |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// @ts-check | ||
|
||
import rootConfig from './root.eslint.config.js' | ||
// @ts-ignore out of scope | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [...rootConfig] |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// @ts-check | ||
|
||
import rootConfig from './root.eslint.config.js' | ||
// @ts-ignore out of scope | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [...rootConfig] |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// @ts-check | ||
|
||
import rootConfig from './root.eslint.config.js' | ||
// @ts-ignore out of scope | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [...rootConfig] |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// @ts-check | ||
|
||
import rootConfig from './root.eslint.config.js' | ||
// @ts-ignore out of scope | ||
import rootConfig from '../../eslint.config.js' | ||
|
||
export default [...rootConfig] |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In eslint-plugin-query, applying the parent-level esbuildPlugin settings directly caused build failures.
To address this, previous versions used a modified copy of scripts/getTsupConfig.js instead of the original.
Considering potential future changes to getTsupConfig, this issue needed to be handled.
Thus, scripts/getTsupConfig.js was imported using a relative path, and settings specific to eslint-plugin-query were added separately.