54 Commits

Author SHA1 Message Date
renovate[bot]
13f9462293
fix(deps): update all non-major dependencies (#8348)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-29 14:54:18 +02:00
renovate[bot]
aa79e2733e
fix(deps): update all non-major dependencies (#8328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-21 13:00:58 +02:00
Vladimir
497cb94498
test: don't use __dirname and __filename in tests and configs (#8314) 2025-07-15 15:02:19 +02:00
renovate[bot]
0b89f8f89d
chore(deps): update dependency inquirer to v12 (#8299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-14 10:04:22 +02:00
Blake Newman
8aa2521213
fix(vite-node): unable to handle errors where sourcemap mapping empty (#8071)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-06-09 12:59:14 +02:00
Vladimir
c8d6264bf4
feat: support rolldown-vite (#7509)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-06-04 17:53:27 +02:00
renovate[bot]
9fe0f3df9d
chore(deps): update all non-major dependencies (#7929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-05-20 14:57:32 +02:00
renovate[bot]
7fc5a29083
fix(deps): update all non-major dependencies (#7600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-25 12:03:11 +09:00
Hiroshi Ogawa
29f5a848f7
fix(vite-node): fix missing buildStart (#7652) 2025-03-14 09:12:07 +01:00
renovate[bot]
4b0451d9e5
chore(deps): update dependency @antfu/eslint-config to v4 (#7407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-03-11 16:06:15 +01:00
Hiroshi Ogawa
20b39c41e3
test(vite-node): test css import (#7653) 2025-03-11 14:39:54 +01:00
Hiroshi Ogawa
c0f47e03b0
fix(vite-node): fix buildStart on Vite 6 (#7480) 2025-02-27 13:43:02 +01:00
Arya Emami
8dd2071376
chore: fix various typos (#7054) 2025-01-08 14:21:45 +01:00
Hiroshi Ogawa
bf7b36ac10
fix(vite-node): fix error stack on Windows (#6786) 2024-12-01 23:31:53 +01:00
vanaigr
cf0cbf6a37
fix(vite-node): top-level throw in module is not reported properly (#6840)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-11-05 12:25:29 +01:00
Hiroshi Ogawa
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02:00
Vladimir
0223bb79df
fix(ui): remove "filters" flickering (#6463) 2024-09-09 09:39:19 +02:00
Chris Wheeldon
03208017fb
fix: allow inlining vite's cached dependencies (#6284) 2024-09-04 11:08:29 +02:00
Ben McCann
00dfc1a450
chore: remove unused execa devDependencies (#6294)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-08-09 14:57:32 +02:00
renovate[bot]
f55dc0081d
chore(deps): update all non-major dependencies (#6046)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-07-15 17:10:15 +02:00
Vladimir
80a43d5c7c
fix(browser): inline pretty-format and replace picocolors with tinyrainbow (#6077) 2024-07-10 15:08:44 +02:00
Vladimir
d87bef9611
fix(vite-node): expose all envs from .env file, not just with a prefix VITE_ (#6017) 2024-07-02 10:44:32 +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
Vladimir
77f4af6578
chore: update eslint rules (#5721) 2024-05-14 19:25:40 +02:00
Vladimir
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00
Ari Perkkiö
780b187f22
feat(api): startVitest() to accept stdout and stdin (#5493) 2024-04-23 15:09:20 +02:00
Hiroshi Ogawa
23bd3cd2eb
chore: fix test fixture package (#5597) 2024-04-23 12:01:36 +02:00
Hiroshi Ogawa
6fb15280bc
fix(vite-node): fix isValidNodeImport to check "type": "module" first (#5416) 2024-03-26 16:04:48 +01:00
Vladimir
15bbbf8192
fix(vite-node): correctly return cached result (#4870) 2024-01-04 17:40:15 +01:00
Vladimir
cc19117d30
chore: migrate to flat eslint config (#4472) 2023-11-11 08:07:39 +01:00
Dunqing
8715e2cc83 chore: update needed type module 2023-11-10 13:24:26 +01:00
Dunqing
77ea932661
fix(vite-node): mjs files watch not work (#3982) 2023-10-03 13:24:02 +02:00
Vladimir
c9aeac4cf2
feat: running vitest with --related --watch reruns non-affected tests if they were changed during a run (#3844) 2023-07-30 13:07:22 +02:00
Vladimir
711a6249f1
fix(vite-node): correctly resolve hmr filepath (#3834) 2023-07-29 20:34:09 +02:00
Vladimir
54409a2733
chore: improve helpers to test vite-node (#3842) 2023-07-29 19:46:40 +02:00
rxliuli
1cd4eb0f1b
feat(vite-node): make CLI arguments parsing behavior consistent with node/tsx/ts-node (#3574) 2023-07-28 15:17:38 +02:00
rxliuli
b097cef8f4
fix(vite-node): fix errors caused by commonjs export circular references (#3570) 2023-06-15 13:33:03 +02:00
rxliuli
02dc9ea7fc
fix(vite-node): don't remove sourcemap string in source code (#2918) (#3379)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-05-25 11:53:32 +02:00
Anthony Fu
cbb593a8a7
fix(vite-node): circular imports (#3196) 2023-04-15 10:30:51 +02:00
Vladimir
6b1b4e68bf
fix: use relative paths in source map's "sources" field (#3177) 2023-04-11 13:22:54 +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
CattChen
5cee4fbf12
fix: stack trace point to incorrect file (#3004) (#3115)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-05 17:38:01 +02:00
Vladimir
45cc34230b
perf: don't resolve import path, if it was already resolved (#2659) 2023-01-16 13:22:39 +01:00
Hyeseong Kim
b4c43cd508
fix: allow assigning new hotContext (#2524)
* Allow assigning new hotContext

* fix lint

* add a regression case
2022-12-19 13:24:41 +03:00
Vladimir
58ee8e9b63
feat!: rewrite how vite-node resolves id (#2463)
* feat!: rewrite how vite-node resolves id

* chore: try to fix global setup test

* fix: remove /@fs/ from filepath

* chore: cleanup

* fix: normalize id for callstack

* fix: don't append "/" before disk drive on windows

* chore: cleanup

* chore: add test that windows drive is not repeated

* fix: dirname uses \\, update windows paths tests

* refactor: rename variables

* fix: don't provide importer only for /@id/

* chore: remove null byte placeholder as part of unwrapRef

* chore: cleanup

* chore: variables renaming

* fix: don't hang on circular mock

* test: update c8 snapshot

* chore: add compatibility layer for users who don't provide resolveId

* test: fix url handling in web worker

* test: fix file tests on windows

* chore: remove unnecessary normalizations in mocker

* chore: use /@fs/ when fetching module, if possible
2022-12-16 15:32:34 +01:00
btea
4f5efdb234
chore: remove cross-env (#2346) 2022-11-21 16:50:58 +01:00
Vladimir
7f55c54e51
fix: respect folders with dot at the start, when mocking (#2244) 2022-10-31 15:17:06 +01:00
yoho
dc00ae7073
feat(vite-node): don't exit on uncaughtException in watch mode (#2186)
* feat: dont exit when uncaughtException

* chore: update

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-10-25 11:31:51 +02:00
Vladimir Sheremet
a59cefc146 chore: extend vite-node timeout 2022-08-04 13:45:28 +03:00
Anthony Fu
7ff551b022 chore: increase test timeout 2022-07-07 16:51:25 +08:00