Commit Graph

1560 Commits

Author SHA1 Message Date
Jordan Pittman
a8c82909fa test: Add tests for some runtime helpers (#87)
* test for `renderList`
* test for `toHandlers`
2019-10-05 23:22:42 -04:00
Evan You
c4f9b6d592 test: fix import 2019-10-05 23:20:02 -04:00
Evan You
82bd9eb1db refactor(compiler): refine codegen node types 2019-10-05 22:48:13 -04:00
Evan You
bfecf2cdce refactor(compiler): use symbols for runtime helpers 2019-10-05 22:48:13 -04:00
vityas-off
7c4eea6048 docs: add missing --all argument to contributing.md (#121) 2019-10-05 22:35:15 -04:00
Rahul Kadyan
f58e5e96f2 types: Use unique symbol type for _isRef property of ref object (#118) 2019-10-05 22:32:50 -04:00
扩散性百万甜面包
caa9297da6 refactor: move writable check out of computed setter (#112) 2019-10-05 15:48:05 -04:00
扩散性百万甜面包
0bdee72e17 feat(reactivity): use Symbol for Ref._isRef (#114) 2019-10-05 15:46:36 -04:00
Andrey Sukhonosov
de9507b6ff fix(compiler/codegen): add simple expression node opening bracket for ConditionalExpression (#110) 2019-10-05 15:42:49 -04:00
扩散性百万甜面包
842f235ede chore: fix typo (#108) 2019-10-05 15:39:47 -04:00
Carlos Rodrigues
8133b3867a test: improve tests and typing for runtime-core (#100)
* test: add test case for declaring Array prop type with constructor casting in `createComponent`

* test: add test case for `setup(props)` with explicit props declaration
2019-10-05 15:37:55 -04:00
Vladimir
f48a2ffc76 chore: fix typos (#103) 2019-10-05 10:48:54 -04:00
扩散性百万甜面包
ec8f7c6375 chore: simplify code in apiWatch.ts (#101) 2019-10-05 10:44:02 -04:00
Carlos Rodrigues
600ec5de42 chore: improve typings in reactivity tests (#96) 2019-10-05 10:39:40 -04:00
Swapnil Agarwal
0fe8801782 docs: fix 'commit message convention' link (#95) 2019-10-05 10:38:42 -04:00
Carlos Rodrigues
fbabae0c0a chore: replace some type casts and fix variable and filename typos (#93) 2019-10-05 10:38:02 -04:00
Carlos Rodrigues
23ff681418 chore: fix comment typos (#94) 2019-10-05 10:35:19 -04:00
zrh122
12abcba2c5 chore: fix typo in codegen (#92) 2019-10-05 10:29:50 -04:00
taiyop
a84a2b252d chore: fix typo in vBind.ts (#91) 2019-10-05 10:26:32 -04:00
夜宴
eaf4f67c62 chore: spelling mistake in ast.ts (#88) 2019-10-05 10:23:25 -04:00
Ben McCallum
7bb317b031 chore: fix grammar and spelling in build.js (#84) 2019-10-05 10:23:05 -04:00
扩散性百万甜面包
5c1e42f754 types: improve type 'Ref' (#105) 2019-10-05 10:10:37 -04:00
月迷津渡
9d6783053c types: simplify types (#104) 2019-10-05 10:09:34 -04:00
Reed Jones
ca70aff860 chore: fix docs typo in vOn.ts (#86) 2019-10-04 23:12:49 -04:00
Evan You
21666243e9 fix(compiler): props hoist should also work on elements w/ TEXT flag 2019-10-04 22:51:51 -04:00
Evan You
9c9ef609d8 fix: import patchFlags from @vue/shared in compiler instead
Otherwise this imports unnecessary stuff from the runtime.
2019-10-04 22:47:09 -04:00
Evan You
a0f442f1d4 workflow: include commit link in template explorer 2019-10-04 22:40:54 -04:00
Martin Rojo
ea4a352ee6 fix(typo): transformSlotOutlet name correction (#83) 2019-10-04 22:12:51 -04:00
Evan You
6dfb62e1ac workflow: use CDN deps for template explorer so it can be easily deployed 2019-10-04 17:55:55 -04:00
Evan You
0873254c6c workflow: improve template explorer 2019-10-04 17:43:20 -04:00
Evan You
8d49b97cc3 build: include main vue package in aliases and tsconfig paths 2019-10-04 17:36:26 -04:00
Evan You
277651ce89 fix(compiler): avoid hoisting components and directive calls 2019-10-04 14:34:26 -04:00
Evan You
5047bc8dbe workflow: basic template explorer 2019-10-04 13:08:17 -04:00
Evan You
4d2fa51347 build: report both gzip and brotli sizes 2019-10-04 09:57:32 -04:00
Evan You
62a1bcbab0 chore: update README 2019-10-04 09:35:29 -04:00
dependabot-preview[bot]
ad913f8338 build(deps-dev): bump rollup from 1.22.0 to 1.23.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.22.0 to 1.23.0.
- [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.22.0...v1.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 13:08:09 +00:00
dependabot-preview[bot]
c19376e715 build(deps-dev): bump @microsoft/api-extractor from 7.4.6 to 7.4.7
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack) from 7.4.6 to 7.4.7.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/gulp-core-build-typescript_v7.4.6...@microsoft/gulp-core-build-typescript_v7.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 13:07:14 +00:00
Evan You
b61d9652dd chore: shorten option name 2019-10-04 09:03:00 -04:00
Evan You
caccf92721 test: fix vbind tests 2019-10-04 08:38:53 -04:00
Evan You
6059fe69e8 fix(compiler): patchFlag analysis should factor in props returned by directive transforms 2019-10-04 08:37:10 -04:00
Evan You
095f5edf8d feat(compiler): hoist static trees 2019-10-03 23:30:25 -04:00
Evan You
2e2b6924da feat(compiler): v-on inline statement handling 2019-10-03 17:47:00 -04:00
Evan You
3354837ce1 refactor: move transformStyle to compiler-dom 2019-10-03 16:55:14 -04:00
Evan You
c2fc7e3347 feat(compiler): force dynamicSlots flag when inside v-for or v-slot 2019-10-03 16:27:46 -04:00
Evan You
4dea23f79e fix(compiler): exclude BAIL flag in annotations 2019-10-03 15:17:45 -04:00
Evan You
227ad034f0 feat(compiler/slot): bail out of optimization mode for non-compiled slots 2019-10-03 15:09:09 -04:00
Evan You
05db2a9c6c wip(compiler): adjust renderSlot() signature 2019-10-03 14:29:12 -04:00
Evan You
306c22efe1 feat(compiler): mark compiler-generated slots for runtime 2019-10-03 14:08:14 -04:00
Evan You
aa9245d55c feat(compiler): render <slot/> as block fragments 2019-10-03 12:03:14 -04:00
Evan You
fc47029ed3 feat(compiler): support v-for on named slots 2019-10-02 23:10:41 -04:00