53 Commits

Author SHA1 Message Date
Kevin Deng
dee909940c
ci: upgrade deps 2025-11-21 10:15:59 +08:00
Alistair Smith
f674d582bc
feat: support bun plugin (#539)
* loose start for bun plugin

* implement bun

* support emitFile()

* fix Bun cases in integration test

* add bun to other test files

* remove bun-types-no-globals from github

* restore bun-types-no-globals from npm @^1.2

* bun does not yet support .onEnd, so for now we shouldn't fake it with brittle workarounds

* add Bun in the documentation

* some missing bun references in docs

* support multiple plugins

* use Bun namespace instead of importing module that won't necessarily exist

* Bun is a cute pink color!

* fix the transform hook

* fix for virtual modules

* tidy up

* setup bun in ci

* revert unplugin require path

* ignore bun in test-out folders

* update tests

* support onEnd

* remove

* implement guessLoader(), bun also now supports onEnd()

* don't eat errors/warnings

* we dont need to outdir for bun in this test

* bun writebundle test

* Update to bun@1.2.22 (supports onEnd and onResolve)

* use onStart()

* define onStart() in mocks

* onStart

* ci: run vitest in Bun so we can run bun's tests

* Bun error message if building outside of Bun

* skip bun specific tests when not running in bun

* refactor

* allow only

* ci: fix typecheck

---------

Co-authored-by: Kevin Deng <sxzz@sxzz.moe>
2025-11-03 18:30:00 +08:00
Kevin Deng
ffc1e55446
feat!: drop node 18 support, drop CJS build (#558)
* feat!: drop node 18 support, drop CJS build

Requires Node.js version 20.19.0, 22.12.0, or later.

* fix
2025-11-03 17:52:18 +08:00
Kevin Deng
5e81488d1c
ci: upgrade actions 2025-11-03 17:14:22 +08:00
Anthony Fu
b6b2e6e431
chore: simplify scripts 2025-09-24 08:51:33 +09:00
renovate[bot]
7055e3fb6a
chore(deps): update actions/setup-node action to v5 (#544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 13:40:17 +08:00
renovate[bot]
91df19ad8f
chore(deps): update actions/upload-pages-artifact action to v4 (#540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-23 05:05:55 +08:00
三咲智子 Kevin Deng
9907b6a1f8
ci: publish on CI 2025-08-16 17:51:50 +08:00
三咲智子 Kevin Deng
4237c714fe
ci: update 2025-08-14 06:07:36 +08:00
renovate[bot]
1e272c1fcc
chore(deps): update actions/checkout action to v5 (#533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 00:33:03 +08:00
abeer0
cd1b60e2b8
ci: use node v24 (#515) 2025-06-20 15:26:55 +09:00
renovate[bot]
dec576d424
chore(deps): update all non-major dependencies (#466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 01:27:37 +00:00
三咲智子 Kevin Deng
be365a17b9
ci: remove corepack 2025-02-04 19:34:39 +08:00
三咲智子 Kevin Deng
b9df6ff0fa
ci: remove duplicated action 2025-02-04 17:18:16 +08:00
三咲智子 Kevin Deng
92de2ebef8
ci: run unit test on v1 branch 2025-01-08 13:11:28 +08:00
三咲智子 Kevin Deng
d744b30cb5
chore: upgrade deps 2024-12-14 02:11:48 +08:00
三咲智子 Kevin Deng
d70264160f
fix: type error 2024-11-29 00:24:42 +08:00
三咲智子 Kevin Deng
c5b5709341
chore: release on github 2024-11-28 23:39:03 +08:00
三咲智子 Kevin Deng
72abb5f642
feat!: drop node 16 & webpack 4 support 2024-11-28 23:26:54 +08:00
三咲智子 Kevin Deng
0b5072f863
ci: remove node 16
Vite 6 and Vitest cannot run on node 16.
2024-11-28 23:18:49 +08:00
三咲智子 Kevin Deng
4c509e1d6b
ci: fix node 16 2024-11-28 22:29:58 +08:00
renovate[bot]
97bad11975
chore(config): migrate renovate config (#433)
* chore(config): migrate config .github/renovate.json5

* fix lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-11-11 00:00:28 +08:00
三咲智子 Kevin Deng
b30979d802
chore: group deps for renovate 2024-11-10 23:50:55 +08:00
@beer
da5f7132a5
ci: add node v22 (#432) 2024-11-10 22:41:01 +08:00
Anthony Fu
200c74cf0e
chore: update ci 2024-10-28 22:09:22 +09:00
Gengkun
7e4cecbfec
feat: support resolveId for rspack (#388)
* feat: support resolveId for rspack

* fix

* use resolve hook

* use alpha version

* remove skip rspack

* lint code

* Update src/rspack/utils.ts

Co-authored-by: Kevin Deng 三咲智子 <sxzz@sxzz.moe>

* Update docs/guide/index.md

Co-authored-by: Kevin Deng 三咲智子 <sxzz@sxzz.moe>

---------

Co-authored-by: Kevin Deng 三咲智子 <sxzz@sxzz.moe>
2024-07-23 11:30:44 +08:00
三咲智子 Kevin Deng
832673243d
ci: publish on every commit 2024-07-23 11:19:59 +08:00
三咲智子 Kevin Deng
6fb5709de1
ci: deploy docs 2024-03-12 16:06:21 +08:00
三咲智子 Kevin Deng
2a7c29d9ed
ci: upgrade node version 2024-03-09 01:58:15 +08:00
Anthony Fu
88482b3df8 chore: update ci 2023-12-26 15:24:19 +01:00
Anthony Fu
449c33fd31 chore: update ci 2023-12-26 15:21:02 +01:00
Anthony Fu
65ee85b45a chore: update ci version 2023-12-26 15:08:11 +01:00
renovate[bot]
ed3d95a002
chore(deps): update actions/checkout action to v4 (#335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 05:54:03 +08:00
renovate[bot]
cc6d420310
chore(deps): update actions/setup-node action to v4 (#346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-17 05:53:55 +08:00
Anthony Fu
33ed44af78 chore: update deps 2023-05-23 12:46:42 +02:00
三咲智子 Kevin Deng
525f69b277
feat: experimental support for rspack (#285)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-03-11 12:24:52 +01:00
三咲智子 (Kevin)
1b93bec3e5
chore: switch to @antfu/eslint-config (#184) 2022-10-31 21:57:36 +08:00
三咲智子 (Kevin)
969dacce58
ci: add node 18 (#185) 2022-10-31 21:55:40 +08:00
Anthony Fu
f416302110 chore: try test webpack 4 2022-08-04 02:36:09 +08:00
Anthony Fu
f32dd95d4e chore: remove release note ci 2022-07-26 12:38:35 +08:00
Anthony Fu
17a924c64d ci: setup release note 2022-07-26 12:37:49 +08:00
Anthony Fu
bae9ad797b chore: remove pnpm cache 2022-05-27 13:34:35 +08:00
Anthony Fu
225f55a99b chore: using corepack 2022-05-27 13:32:19 +08:00
Anthony Fu
a82b927fc2 chore: update node version 2022-05-06 01:05:02 +08:00
Anthony Fu
ba4887780a chore: update deps 2022-05-06 01:03:37 +08:00
renovate[bot]
97829b8242
chore(deps): update actions/setup-node action to v3 (#68)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 12:43:42 +08:00
renovate[bot]
b6f59f7170
chore(deps): update pnpm/action-setup action to v2.2.1 (#65)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 18:27:55 +08:00
renovate[bot]
f4bed77f1e
chore(deps): update actions/checkout action to v3 (#66)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 18:15:12 +08:00
Anthony Fu
dfaafcd53b chore: switch to pnpm 2021-12-28 21:12:26 +08:00
Anthony Fu
be4e182171 test: enable ci for mac and windows 2021-09-25 10:20:30 +08:00