Commit Graph

42 Commits

Author SHA1 Message Date
Evan You
b442e839a0 test: fix ssr tests 2021-09-23 09:40:13 -04:00
Evan You
c3c37403c2 test: fix module mapping for consolidate 2021-09-21 10:48:32 -04:00
Evan You
471f66a1f6 build: expose compiler-sfc and server-renderer under main vue package + optimize package size 2021-09-21 10:26:08 -04:00
Cédric Exbrayat
b49f446ad0
chore(deps): update jest to v27 (#4472)
Updates jest and ts-jest to v27, as jest v27.1.0 includes a necessary fix to unblock further work on spying issues.

See https://github.com/facebook/jest/pull/11721
2021-09-01 16:39:46 -04:00
Evan You
84b24a71f0 chore: bump deps 2021-08-22 15:33:21 -04:00
Evan You
00bb76b69c test: fix test ts target 2021-07-02 08:27:52 -04:00
Evan You
723af3081e chore: ignore compat entries for coverage 2021-04-30 18:15:36 -04:00
Evan You
3d810eb422 wip: basic compat test 2021-04-07 16:19:24 -04:00
Evan You
40e3dd28e1 wip: restructure compat code + global api alignment 2021-04-07 16:19:24 -04:00
Evan You
94e6461808 chore: add sfc playground to coverage exclude list 2021-03-28 02:20:11 -04:00
Cédric Exbrayat
c6443a43c9
test: package exclusion from code coverage (#2377) 2020-10-14 10:23:51 +02:00
Evan You
6ba7ba47d5 feat: custom formatters 2020-10-13 11:50:24 -04:00
Evan You
cbcec6e978 chore: add missing feature flag to jest config 2020-10-07 21:46:25 -04:00
Evan You
5c74243211 test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
Evan You
54727f9874 feat: provide ability to overwrite feature flags in esm-bundler builds
e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.

This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.
2020-07-20 21:51:30 -04:00
Evan You
ad4841a892 chore: ignore unreachable files from coverage 2020-06-11 17:14:11 -04:00
Evan You
e954ba21f0 feat(build): provide more specific warnings for runtime compilation
close #1004
2020-04-20 15:23:26 -04:00
Evan You
19223f5462 build: remove __BUNLDER__ flag so that HMR is available for all builds 2020-04-20 13:39:47 -04:00
Evan You
e93e426bfa feat(runtime-core): config.performance tracing support 2020-04-01 21:36:50 -04:00
Evan You
32d6a46474 build: avoid runtime wildcard import in global build 2020-02-13 18:50:36 -05:00
Evan You
e861c6da90 test: test updates for d40c642 2020-02-11 18:40:42 -05:00
Evan You
9cf4518936 chore: fix test alias for vue 2020-01-29 18:03:42 -05:00
Evan You
bc07e95ca8 fix(ssr): avoid hard-coded ssr checks in cjs builds 2020-01-29 09:49:17 -05:00
Evan You
cee36ad028 wip(ssr): render real components 2020-01-27 16:00:17 -05:00
Evan You
80f8b46177 ci: skip e2e tests on netlify coverage builds 2019-12-23 10:51:28 -05:00
Evan You
69c9dbc825 feat(sfc): scopeId runtime support 2019-12-17 12:31:38 -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
2a994094de test: ignore size-check in coverage 2019-12-11 09:46:52 -05:00
Evan You
cd5ba7cfcc build: remove lerna 2019-12-10 18:24:59 -05:00
Evan You
28a1e8ab27 chore: ignore test utils in coverage 2019-11-04 18:41:40 -05:00
Evan You
300a705221 refactor: use __TEST__ flag 2019-11-04 14:28:01 -05:00
Dmitry Sharshakov
fd209f5a66 feat(core): export version (#254) 2019-10-14 15:31:43 -04:00
Evan You
82b5978e9c build: further shave off runtime compile only code 2019-10-14 01:08:00 -04:00
Evan You
13a6c49032 test: exclude template-explorer from coverage 2019-10-10 22:02:20 -04:00
Rahul Kadyan
5c4478b00b chore(jest): ignore node_modules from watched files (#162)
`jest --watch` fails with open file limit reached:
2019-10-08 14:37:31 -04:00
Evan You
132cef9063 refactor: further tweak compiler layers 2019-09-17 11:57:37 -04:00
Evan You
d5e9682040 wip: suspense feature flag 2019-09-11 11:10:13 -04:00
Evan You
a6616e4210 feat: 2.x options support 2019-09-03 22:25:38 -04:00
Evan You
fce6a8fa51 wip: support returning render fn from setup() + improve createComponent type inference 2019-06-12 15:43:19 +08:00
Evan You
a848466f07 test: test for attrs fallthrough 2018-09-24 21:13:06 -04:00
Evan You
26ff9b29f9 test: wip tests for observer 2018-09-19 17:45:19 -04:00
Evan You
d69d0c0216 test: test for scheduler 2018-09-19 15:36:56 -04:00