Commit Graph

2374 Commits

Author SHA1 Message Date
Evan You
c1959fa64d build: set compiler-sfc peerDep on vue 2019-12-18 10:00:49 -05:00
Evan You
d84cf3a538 feat(sfc): css modules support 2019-12-18 10:00:49 -05:00
CodinCat
abfea8eb45 test(e2e): add test for grid example (#545) 2019-12-18 09:19:31 -05:00
Evan You
5cf7523787 build: export runtime-only build for bundlers by default in main vue package 2019-12-17 18:24:01 -05:00
Evan You
9550302df4 build: esm-bunlder builds should be considered browser builds 2019-12-17 17:34:10 -05:00
Evan You
a894a350cd test(sfc): test scoped css compilation 2019-12-17 15:20:30 -05:00
Evan You
b689ca6e85 test: test scopeId support 2019-12-17 12:31:38 -05:00
Evan You
3d16c0ea5a fix(runtime-test): output empty attrs without value in seralized output 2019-12-17 12:31:38 -05:00
Evan You
31ca7858bb feat(sfc): ::v-global() pseudo selector support 2019-12-17 12:31:38 -05:00
Evan You
8ea2101553 test: test hot module replacement 2019-12-17 12:31:38 -05:00
Evan You
f194aa0eea feat(sfc): ::slotted selector support 2019-12-17 12:31:38 -05:00
Evan You
69c9dbc825 feat(sfc): scopeId runtime support 2019-12-17 12:31:38 -05:00
Evan You
04e11187b9 perf: cache string helpers 2019-12-17 12:31:38 -05:00
Evan You
51980afca2 feat(sfc): wip scopeId compiler support 2019-12-17 12:31:38 -05:00
Evan You
b2c2d0590e refactor: extract SFCInternalOptions inteface 2019-12-17 12:31:38 -05:00
dependabot-preview[bot]
3ec1dd6f74 build(deps-dev): bump rollup from 1.27.12 to 1.27.13
Bumps [rollup](https://github.com/rollup/rollup) from 1.27.12 to 1.27.13.
- [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.12...v1.27.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:59:53 +00:00
Evan You
35858cec8c build: adjust global names + allow inline overrides of build flags 2019-12-15 15:37:43 -05:00
Evan You
75113c8d3e test: fix tests 2019-12-14 22:28:54 -05:00
Evan You
2b178981bc refactor: move isRuntimeCompiled flag into component.ts 2019-12-14 22:15:38 -05:00
Evan You
46c5393224 perf(reactivity): optimize effect stack 2019-12-13 23:06:55 -05:00
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