Commit Graph

1304 Commits

Author SHA1 Message Date
Evan You
49a50d3c9c feat(compiler): accept line offset in codeframe 2019-12-13 18:01:04 -05:00
Evan You
d6acb9c073 fix(hmr): force full diff on HMR 2019-12-13 17:57:21 -05:00
Evan You
b15951e190 chore: remove line numbers from default errors 2019-12-13 17:28:12 -05:00
Evan You
865c1ce9ee feat(compiler-sfc): generate source map for template block 2019-12-13 13:22:30 -05:00
Evan You
9e757b5cc5 refactor(compiler-core): move compile into separate file 2019-12-13 13:22:15 -05:00
Evan You
8277d131c4 refactor(compiler): downgrade to source-map v6 for sync API 2019-12-13 12:56:31 -05:00
Evan You
a0ee4fbc36 types: use more specific type names 2019-12-13 11:24:09 -05:00
Evan You
fa5390fb6f fix(fragment): properly remove compiler generated fragments 2019-12-13 10:31:40 -05:00
Cr
6797e35703 chore: fix typos (#541) 2019-12-13 11:49:01 +01:00
dependabot-preview[bot]
6a50d125f6 build(deps-dev): bump rollup from 1.27.11 to 1.27.12
Bumps [rollup](https://github.com/rollup/rollup) from 1.27.11 to 1.27.12.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.11...v1.27.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-13 07:26:34 +00:00
Evan You
7431c2e46e fix(runtime-core): ensure $forceUpdate behavior consistency with 2.x 2019-12-12 22:12:45 -05:00
Evan You
2c3c65772b perf: optimize props resolution
Store the keys for props that need default or boolean casting
during normalization, so that later we only need to iterate
through this array instead of the entire props object.
2019-12-12 22:07:48 -05:00
Evan You
4e91b1328d chore: add package dependency graph 2019-12-12 21:22:29 -05:00
Evan You
c36941c498 fix(compiler-core): should apply text transform to <template v-for> children 2019-12-12 21:09:47 -05:00
Evan You
8ffd79c754 fix(compiler-core): handle template root and template v-if as stable fragments 2019-12-12 21:09:47 -05:00
Evan You
f77ae132e5 feat(hmr): reload and force slot update on re-render 2019-12-12 21:09:47 -05:00
Evan You
ef50c333ce fix(core): generate fragment root with patchFlag + optimize fragment w/ patchFlag 2019-12-12 21:09:47 -05:00
Evan You
efe39db023 feat(runtime-core): hot module replacement 2019-12-12 21:09:47 -05:00
Evan You
3116b5d6c3 fix(runtime-core): initialize renderCache if not present 2019-12-12 21:09:47 -05:00
Evan You
5658f8b678 feat(compiler): expose generateCodeFrame 2019-12-12 21:09:47 -05:00
Evan You
3de7315b7a types: use RawSourceMap types 2019-12-12 21:09:46 -05:00
dependabot-preview[bot]
20ea67c834 build(deps-dev): bump rollup-plugin-terser from 5.1.2 to 5.1.3
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 07:57:43 +00:00
dependabot-preview[bot]
94ba8475eb build(deps-dev): bump rollup from 1.27.9 to 1.27.11
Bumps [rollup](https://github.com/rollup/rollup) from 1.27.9 to 1.27.11.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.27.9...v1.27.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-12 07:57:12 +00:00
Evan You
5ecc77df5a chore: fix missed save 2019-12-11 10:39:29 -05:00
Evan You
b983c68575 test(e2e): avoid relying on CDN + reduce debounce delay 2019-12-11 10:37:03 -05:00
Evan You
4d730f464d refactor: move runtime compile error handling to vue 2019-12-11 10:25:34 -05:00
Evan You
c202bd6ac0 test(e2e): use better mocking strategy for commits example 2019-12-11 10:15:52 -05:00
CodinCat
f48a4f71a7 test(e2e): add e2e test for commits example (#526)
* test(e2e): add e2e test for commits example

* test(e2e): add waitForResponse to enhance the test

* test(e2e): use mocks for commits test
2019-12-11 09:51:15 -05:00
Evan You
2a994094de test: ignore size-check in coverage 2019-12-11 09:46:52 -05:00
Evan You
d3d4fe84cd fix(vue): properly cache runtime compilation 2019-12-11 09:46:42 -05:00
宋铄运
559fa27185 test(compiler-sfc): more tests (#536) 2019-12-11 09:26:14 -05:00
CodinCat
532d3b68ab test(e2e): add e2e test for markdown example (#533) 2019-12-11 09:13:47 -05:00
Evan You
818bf17cb7 feat(compiler-sfc): use @vue/compiler-dom by default 2019-12-10 22:23:55 -05:00
Evan You
136ab753b3 build: adjust esm formats 2019-12-10 22:14:02 -05:00
Evan You
8ed04ed503 build: release script 2019-12-10 21:29:52 -05:00
Evan You
cd5ba7cfcc build: remove lerna 2019-12-10 18:24:59 -05:00
Evan You
7aca27392f build: no need for alias in rollup config 2019-12-10 17:50:16 -05:00
Evan You
3e3188fa9f refactor: adjust sfc compiler options 2019-12-10 17:41:56 -05:00
Evan You
95b2cb6fd2 fix(compiler-core): should only parse interpolations in DATA text mode 2019-12-10 15:30:17 -05:00
Evan You
5cd1495767 refactor(compiler-core): centralize compiler options 2019-12-10 12:53:26 -05:00
Evan You
03301b264e workflow(template-explorer): fix cacheHandlers disabled state 2019-12-10 12:46:38 -05:00
Evan You
c8c5b16ef7 feat(compiler-sfc): properly pass on options 2019-12-10 12:22:23 -05:00
宋铄运
0a14c04c81 feat(compiler-sfc): compile template WIP (#534) 2019-12-10 12:01:56 -05:00
Evan You
b198a665cf workflow: add size-check package 2019-12-10 11:31:57 -05:00
Evan You
c97d83aff2 refactor(runtime-core): tweak component proxy implementation 2019-12-10 11:14:29 -05:00
Haoqun Jiang
d1527fbee4 test: add test for runtime-dom/modules/class (#75) 2019-12-09 14:52:20 -05:00
GCA
2383b45e32 chore: fix typo (#530) [ci skip] 2019-12-09 14:23:57 -05:00
Evan You
e7e1314ccc test: fix warning 2019-12-09 14:23:01 -05:00
CodinCat
12ec62e688 test(e2e): add e2e test for tree example (#529) 2019-12-09 14:20:56 -05:00
Pocho
55e234816e types(compiler-sfc): use specific preprocessLang instead of string (#528) 2019-12-09 14:19:39 -05:00