这是indexloc提供的服务,不要输入任何密码
Skip to content

fix(deps): update all non-major dependencies #1306

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ When you use legacy TypeScript decorator by enabling `emitDecoratorMetadata` in
decorators. In this case, you can give extra swc configuration in the `tsup.config.ts` file.

For example, if you have to define `useDefineForClassFields`, you can do that as follows:

```ts
import { defineConfig } from 'tsup'

Expand All @@ -626,10 +627,10 @@ export default defineConfig({
swc: {
jsc: {
transform: {
useDefineForClassFields: true
}
}
}
useDefineForClassFields: true,
},
},
},
})
```

Expand All @@ -648,9 +649,9 @@ Note: some SWC options cannot be configured:
"keepClassNames": true,
"target": "es2022"
}
```
```

You can also define a custom `.swcrc` configuration file. Just set `swcrc` to `true`
You can also define a custom `.swcrc` configuration file. Just set `swcrc` to `true`
in `tsup.config.ts` to allow SWC plugin to discover automatically your custom swc config file.

```ts
Expand All @@ -662,8 +663,8 @@ export default defineConfig({
sourcemap: true,
clean: true,
swc: {
swcrc: true
}
swcrc: true,
},
})
```

Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tsup",
"version": "8.5.0",
"packageManager": "pnpm@10.4.1",
"packageManager": "pnpm@10.11.0",
"description": "Bundle your TypeScript library with no config, powered by esbuild",
"license": "MIT",
"homepage": "https://tsup.egoist.dev/",
Expand Down Expand Up @@ -55,44 +55,44 @@
"bundle-require": "^5.1.0",
"cac": "^6.7.14",
"chokidar": "^4.0.3",
"consola": "^3.4.0",
"debug": "^4.4.0",
"esbuild": "^0.25.0",
"fix-dts-default-cjs-exports": "^1.0.0",
"consola": "^3.4.2",
"debug": "^4.4.1",
"esbuild": "^0.25.4",
"fix-dts-default-cjs-exports": "^1.0.1",
"joycon": "^3.1.1",
"picocolors": "^1.1.1",
"postcss-load-config": "^6.0.1",
"resolve-from": "^5.0.0",
"rollup": "^4.34.8",
"rollup": "^4.40.2",
"source-map": "0.8.0-beta.0",
"sucrase": "^3.35.0",
"tinyexec": "^0.3.2",
"tinyglobby": "^0.2.11",
"tinyglobby": "^0.2.13",
"tree-kill": "^1.2.2"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.50.0",
"@microsoft/api-extractor": "^7.52.8",
"@rollup/plugin-json": "6.1.0",
"@swc/core": "1.10.18",
"@swc/core": "1.11.24",
"@types/debug": "4.1.12",
"@types/node": "22.13.4",
"@types/node": "22.15.18",
"@types/resolve": "1.20.6",
"bumpp": "^10.0.3",
"bumpp": "^10.1.1",
"flat": "6.0.1",
"postcss": "8.5.2",
"postcss": "8.5.3",
"postcss-simple-vars": "7.0.1",
"prettier": "3.5.1",
"prettier": "3.5.3",
"resolve": "1.22.10",
"rollup-plugin-dts": "6.1.1",
"sass": "1.85.0",
"rollup-plugin-dts": "6.2.1",
"sass": "1.89.0",
"strip-json-comments": "5.0.1",
"svelte": "5.19.9",
"svelte": "5.30.1",
"svelte-preprocess": "6.0.3",
"terser": "^5.39.0",
"terser": "^5.39.2",
"ts-essentials": "10.0.4",
"tsup": "8.3.6",
"typescript": "5.7.3",
"vitest": "3.0.6",
"tsup": "8.4.0",
"typescript": "5.8.3",
"vitest": "3.1.3",
"wait-for-expect": "3.0.2"
},
"engines": {
Expand Down
Loading