26 Commits

Author SHA1 Message Date
Vladimir
3f8159a2ff
ci(rollup): disable watcher for types generators (#8035) 2025-05-26 16:22:39 +02:00
Hiroshi Ogawa
9695d734eb
chore: replace rollup-plugin-esbuild with unplugin-oxc (#7680)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-18 16:13:38 +01:00
Hiroshi Ogawa
c0cf65f94f
chore: use unplugin-isolated-decl with oxc-transform for dts build (#7609)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2025-03-07 09:54:45 +01:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +02:00
Hiroshi Ogawa
75f48ba853
chore(deps): update vite (#5311) 2024-04-06 09:32:22 +02:00
Vladimir
7c2037dd4d
chore: use require('./package.json') in rollup.config instead of assert to remove the warning (#4469) 2023-11-10 15:21:17 +01:00
Vladimir
9527e65a38
chore: improve build time and memory usage (#4369) 2023-10-25 11:19:49 +02:00
Dunqing
701415b4d0
build: upgrade to rollup@3 and fix re-export error (#4108) 2023-09-15 11:05:58 +02:00
Vladimir
dff60e8280
fix(vite-node): inline HMR types (#3993) 2023-08-21 20:50:43 +02:00
Vladimir
b09298528b
feat!: support running tests using VM context (#3203)
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-08-01 08:59:55 +02:00
Vladimir
1f1189bc6b
fix: don't inline vite hmr and rollup types (#3291) 2023-05-03 17:12:39 +02:00
renovate[bot]
0f86ff9897
chore(deps): update all non-major dependencies (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-06 16:53:03 +02:00
Vladimir
1cbc24dca6
fix: don't resolve builtin Node modules (#2538)
* fix: use "node:" prefix in Vitest imports

* chore: add test for prefix

* chore: cleanup

* chore: use more node protocol

* chore: cleanup

* chore: cleanup
2022-12-20 12:57:48 +03:00
Vladimir
90c1801613
fix: show correct stack trace in errors and console (#2248)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Fixes https://github.com/vitest-dev/vitest/issues/2231
Fixes https://github.com/vitest-dev/vitest/issues/1331
Fixes https://github.com/vitest-dev/vitest/issues/2211
Fixes https://github.com/vitest-dev/vitest/issues/2195
2022-11-07 20:02:20 +08:00
Anthony Fu
b70593955f
chore: update deps (#1853) 2022-08-15 15:13:37 +08:00
Anthony Fu
695a7a2660 fix: move cache state to ctx.cache 2022-07-09 15:20:06 +08:00
yoho
4a95177356
feat(vite-node): vite hmr support (#1516)
* chore: update

* feat: vite-node hmr

* chore: lock.yaml

* chore: update

* chore: update

* chore: update

* feat: hmr module

* chore: package.json

* perf: create ctx only had `__vite_ssr_import_meta__.hot`

* chore: update

* chore: update

* chore: update

* chore: update

* perf: only install hmr plugin on watch mode

* chore: update lock

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-02 12:29:52 +03:00
Anthony Fu
692ad343f8 fix(vite-node): use .mjs for esm build 2022-06-05 22:57:35 +08:00
Alec Larson
f04a4275b4
chore: don't publish sourcemaps (#1074) 2022-04-02 20:50:09 +08:00
Anthony Fu
b2362bc8cd refactor(vite-node): type generation 2022-03-29 17:12:41 +08:00
Anthony Fu
6f265e0c21 fix(vite-node): fix externalizing 2022-03-19 16:11:54 +08:00
Anthony Fu
b04dd8ffef fix(vite-node): build spliting chunks 2022-02-18 21:44:23 +08:00
Anthony Fu
ce786c83b1 build(vite-node): cjs build 2022-01-17 23:16:27 +08:00
Anthony Fu
0045fcb50d fix(vite-node): submodule types 2022-01-12 01:16:18 +08:00
Anthony Fu
4498ae963a
refactor: seperate vite runner to vite-node package (#495) 2022-01-11 02:45:57 +08:00