Commit Graph

5818 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng 31f497b1d1
refactor: id rewrite of vapor v-for 2024-02-01 17:42:46 +08:00
Rizumu Ayaka 757af933dc
test(runtime-vapor): `dom/patchProp.ts` (#102)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-01 14:35:52 +08:00
三咲智子 Kevin Deng bbf5e1dc0b
chore: update todo 2024-01-31 18:59:00 +08:00
三咲智子 Kevin Deng 261b7d40a4
feat(runtime-vapor): add defineComponent 2024-01-31 18:08:07 +08:00
三咲智子 Kevin Deng a972894721
refactor(sfc-playground): enable vapor by default 2024-01-31 18:04:28 +08:00
三咲智子 Kevin Deng 21bec835f0
refactor(compiler-vapor): extract imports & unify context name 2024-01-31 18:00:16 +08:00
三咲智子 Kevin Deng 4062c6805a
refactor(compiler-vapor): remove loc in IR 2024-01-31 17:37:54 +08:00
三咲智子 Kevin Deng 2bc107a7a7
refactor(compiler-vapor): missing check in genOperation 2024-01-31 17:32:01 +08:00
三咲智子 Kevin Deng 3817bbf134
refactor(compiler-vapor): remove source in codegen context 2024-01-31 17:28:19 +08:00
三咲智子 Kevin Deng 46e83e9681
refactor(compiler-vapor): symbol for newline (#104) 2024-01-31 17:26:07 +08:00
三咲智子 Kevin Deng c88c6d12aa
Merge remote-tracking branch 'upstream/main' 2024-01-31 17:01:56 +08:00
三咲智子 Kevin Deng 681dc5d954
feat(compiler-vapor): v-for (#101) 2024-01-31 17:00:19 +08:00
三咲智子 Kevin Deng 7b036fd4c0
fix(compiler-vapor): source map position 2024-01-31 15:43:37 +08:00
三咲智子 Kevin Deng f7642ab77c
refactor(compiler-vapor): remove createTextNode argument 2024-01-31 13:16:03 +08:00
三咲智子 Kevin Deng ccfadc1fb4
refactor(compiler-vapor): re-organize 2024-01-30 23:02:16 +08:00
三咲智子 Kevin Deng 38a06394f7
refactor(compiler-vapor): rename dynamicFlags to flags 2024-01-30 22:52:42 +08:00
三咲智子 Kevin Deng b8806f0954
refactor(compiler-vapor): class-based CodegenContext 2024-01-30 22:46:56 +08:00
三咲智子 Kevin Deng e02725665d
fix(compiler-vapor): import helper with type check 2024-01-30 22:21:59 +08:00
三咲智子 Kevin Deng 7f8a94b48e
refactor(compiler-vapor): fast path for string 2024-01-30 22:17:34 +08:00
三咲智子 Kevin Deng c0b7515369
refactor(compiler-vapor): CodeFragment for codegen 2024-01-30 22:08:28 +08:00
三咲智子 Kevin Deng d942be14f2
refactor(compiler-vapor): simplify codegen context 2024-01-30 19:35:29 +08:00
三咲智子 Kevin Deng d7ab873f1e
refactor(compiler-vapor): remove unnecessary DynamicFlag.INSERT 2024-01-30 06:12:01 +08:00
三咲智子 Kevin Deng 74f7e56fb8
refactor(runtime-vapor): throw errors when node is not found 2024-01-30 05:39:53 +08:00
三咲智子 Kevin Deng cd0e3273d2
test: add normalizeBlock 2024-01-30 05:39:53 +08:00
Rizumu Ayaka 489f11a1f9
refactor(runtime-vapor): template fragment (#100)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-30 04:15:52 +08:00
三咲智子 Kevin Deng 93db0a70eb
test: simplify 2024-01-30 03:16:33 +08:00
三咲智子 Kevin Deng 48d2aa3bcb
fix(compiler-vapor): handle no template 2024-01-29 23:06:21 +08:00
三咲智子 Kevin Deng ed9368c06c
refactor(compiler-vapor): make dynamic.children an array 2024-01-29 22:28:40 +08:00
三咲智子 Kevin Deng 22436ea341
refactor(compiler-vapor): decoupe insert and non-template 2024-01-29 22:15:34 +08:00
三咲智子 Kevin Deng 79636ddc5b
refactor(compiler-vapor): dynamicFlag 2024-01-29 22:08:57 +08:00
renovate[bot] d276a4f3e9
chore(deps): update test (#10229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 09:44:12 +08:00
renovate[bot] 26c79cc8fa
chore(deps): update all non-major dependencies (#10175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 09:41:48 +08:00
renovate[bot] e3713c0474
chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 (#10228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 09:36:14 +08:00
dependabot[bot] 733f63a0a9
build(deps-dev): bump vite from 5.0.7 to 5.0.12 (#10162)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.7 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 09:35:50 +08:00
Neo 4082426c01
workflow: minor tweaks for release script (#10220)
- `pnpm run test` instead of `pnpm test run`
- also need `--no-git-checks` when drying run
- fix spelling of `remote`
2024-01-29 09:32:56 +08:00
Rizumu Ayaka 63a127b612
feat(compiler-vapor): `v-else` / `v-else-if` (#98)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-29 03:42:56 +08:00
三咲智子 Kevin Deng 63aacf6194
style: respect root prettier config 2024-01-29 03:11:30 +08:00
三咲智子 Kevin Deng 17af64c0c1
feat(runtime-vapor): createFor 2024-01-28 20:16:35 +08:00
三咲智子 Kevin Deng 4be1fc1d60
ci: show size report for push job 2024-01-28 03:41:04 +08:00
三咲智子 Kevin Deng fcaa315493
chore: add compiler-vapor & dom for size report 2024-01-28 03:37:36 +08:00
三咲智子 Kevin Deng 86ed0eddae
perf(compiler-vapor): use array instead of regex 2024-01-28 03:35:04 +08:00
三咲智子 Kevin Deng d3baff92b1
fix(compiler-vapor): don't mutate ast 2024-01-28 03:32:27 +08:00
三咲智子 Kevin Deng 7e47ae17f9
feat(compiler-vapor): add error check and simplify for v-if 2024-01-28 02:14:42 +08:00
三咲智子 Kevin Deng 61bec8a71d
refactor(playground): replace v-show with v-if 2024-01-28 01:54:26 +08:00
三咲智子 Kevin Deng 9c9e9b2862
refactor(compiler-vapor): dedpue fragment 2024-01-28 01:39:21 +08:00
Rizumu Ayaka ede6c29434
feat(compiler-vapor): `v-if` (#96)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-28 01:31:20 +08:00
三咲智子 Kevin Deng 2b5e8e4df6
test(compiler-vapor): refactor compile 2024-01-27 22:13:37 +08:00
三咲智子 Kevin Deng 164fd90df4
refactor(compiler-vapor): codegen result 2024-01-27 22:00:34 +08:00
三咲智子 Kevin Deng c2c8070207
refactor(compiler-vapor): group directives by same element 2024-01-27 20:49:43 +08:00
三咲智子 Kevin Deng 0255505b5d
feat(playground): todo mvc 2024-01-25 17:00:19 +08:00