Evan You
|
574c83b522
|
refactor(compiler-sfc): move prop key escape logic to utils
|
2023-05-12 11:26:33 +01:00 |
白雾三语
|
690ef29635
|
fix(compiler-sfc): handle prop keys that need escaping (#7803)
close #8291
|
2023-05-12 18:24:59 +08:00 |
Evan You
|
aa1e77d532
|
fix(compiler-sfc): properly parse d.ts files when resolving types
close #8285
|
2023-05-12 11:08:29 +01:00 |
Cédric Exbrayat
|
ab9256a4bb
|
chore: fix typos in defineOptions (#8277)
|
2023-05-11 19:34:27 +08:00 |
Haoqun Jiang
|
287bd99994
|
fix(compiler-sfc): transform destructured props when reactivity transform option is enabled (#8252)
fixup 862edfd91a
|
2023-05-08 15:27:28 +08:00 |
Evan You
|
6b194bcf3b
|
fix(compiler-sfc): fix built-in type resolving in external files
close #8244
|
2023-05-08 12:30:19 +08:00 |
Evan You
|
862edfd91a
|
fix(compiler-sfc): enable props destructure when reactivity transform option is enabled
...to retain backwards compatible behavior before removal
|
2023-05-06 16:55:38 +08:00 |
Evan You
|
d40d4a3380
|
chore: experimental warnings for reactive props destructure and defineModel
|
2023-05-02 16:23:02 +08:00 |
Evan You
|
bff63c5498
|
feat(types): provide ExtractPublicPropTypes utility type
ref #5272
close #8168
|
2023-05-02 11:06:32 +08:00 |
Evan You
|
1c0be5c744
|
feat(compiler-sfc): support project references when resolving types
close #8140
|
2023-04-25 16:30:11 +08:00 |
Evan You
|
433a58ccb6
|
fix(compiler-sfc): props bindings should not override user declared bindings
fix #8148
|
2023-04-25 09:21:14 +08:00 |
Evan You
|
01f43c1741
|
ci: setup windows ci for compiler and SSR tests (#8143)
|
2023-04-24 11:31:13 +08:00 |
edison
|
29da504687
|
fix(compiler-sfc): normalize windows paths when resolving types (#8136)
|
2023-04-24 11:03:57 +08:00 |
Evan You
|
2d9f6f9264
|
fix(compiler-sfc): avoid all hard errors when inferring runtime type
|
2023-04-21 16:48:21 +08:00 |
edison
|
1d1d728949
|
feat(compiler-sfc): improve utility type Partial and Required (#8103)
|
2023-04-20 21:17:10 +08:00 |
Evan You
|
50c0bbe522
|
feat(compiler-sfc): support ExtractPropTypes when resolving types
close #8104
|
2023-04-20 21:02:50 +08:00 |
Evan You
|
5c6989557d
|
chore: avoid hard error when inferring types
|
2023-04-20 16:57:36 +08:00 |
Evan You
|
4496456d7d
|
feat(compiler-sfc): support dynamic imports when resolving types
|
2023-04-20 16:18:35 +08:00 |
Evan You
|
7c3ca3cc3e
|
feat(compiler-sfc): support export * when resolving types
|
2023-04-20 15:56:24 +08:00 |
Evan You
|
d53e157805
|
fix(compiler-sfc): handle type merging + fix namespace access when inferring type
close #8102
|
2023-04-20 14:13:08 +08:00 |
n028
|
f630555caa
|
chore: fix typo (#8113) [ci skip]
|
2023-04-20 10:08:00 +08:00 |
agoni1212
|
a58785945d
|
chore: typo (#8108) [ci skip]
|
2023-04-20 10:07:31 +08:00 |
Evan You
|
9b5a34bf8c
|
fix(compiler-sfc): normalize filename when invalidating cache
|
2023-04-18 22:21:29 +08:00 |
Evan You
|
271df09470
|
fix(compiler-sfc): normalize windows paths when resolving types
|
2023-04-17 21:11:22 +08:00 |
Evan You
|
4e028b9669
|
feat(compiler-sfc): support specifying global types for sfc macros
ref: https://github.com/vuejs/core/pull/8083#issuecomment-1508468713
|
2023-04-16 15:49:41 +08:00 |
Evan You
|
f22e32e365
|
feat(compiler-sfc): expose type resolve APIs
|
2023-04-16 11:11:26 +08:00 |
Evan You
|
6b13e04b4c
|
feat(compiler-sfc): mark props destructure as experimental and require explicit opt-in
|
2023-04-15 22:09:08 +08:00 |
Evan You
|
760755f4f8
|
feat(compiler-sfc): support string/number indexed types in macros
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
8d8ddd686c
|
feat(compiler-sfc): expose type import deps on compiled script block
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
075498c959
|
refactor: avoid hard error when inferring runtime type
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
3982bef533
|
feat(compiler-sfc): support resolving type imports from modules
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
8451b92a7a
|
wip: cache fileToScope + improve vue file offset
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
c93c11710e
|
refactor: improve type resolve error output
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
8aa4ea81d6
|
feat(compiler-sfc): support relative imported types in macros
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
5ff40bb0dc
|
feat(compiler-sfc): support namespace members type in macros
|
2023-04-13 12:32:52 +08:00 |
Evan You
|
3f779ddbf8
|
feat(compiler-sfc): support string indexed type in macros
|
2023-04-13 11:21:09 +08:00 |
Evan You
|
51773d5d1d
|
refactor: adjust ResolvedElements shape
|
2023-04-13 10:42:15 +08:00 |
Evan You
|
1cfab4c695
|
feat(compiler-sfc): support limited built-in utility types in macros
|
2023-04-13 10:28:22 +08:00 |
Evan You
|
fb8ecc803e
|
feat(compiler-sfc): support mapped types, string types & template type in macros
|
2023-04-13 09:59:54 +08:00 |
Evan You
|
d1f973bff8
|
feat(compiler-sfc): support intersection and union types in macros
close #7553
|
2023-04-12 21:34:13 +08:00 |
Evan You
|
b2cdb2645f
|
refactor(compiler-sfc): rework macro type resolution
|
2023-04-11 23:00:28 +08:00 |
Evan You
|
ae5a9323b7
|
refactor(compiler-sfc): split normal script logic
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
3da1bb36b1
|
refactor(compiler-sfc): split all macros
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
c52157c87d
|
refactor(compiler-sfc): split more logic
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
0232c00e11
|
refactor(compiler-sfc): simplify props destructure arguments
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
5a529bbf23
|
refactor(compiler-sfc): extract defineEmits logic
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
9f2ca5155e
|
refactor(compiler-sfc): extract processDefineModel, move main magic string instance to context
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
9f5692e052
|
refactor(compiler-sfc): collapse genRuntimeProps logic
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
d0ac57872c
|
refactor(compiler-sfc): extract more defineProps logic
|
2023-04-11 16:05:00 +08:00 |
Evan You
|
acd7eb22cf
|
refactor(compiler-sfc): (wip) split compileScript logic, use context, move defineProps
|
2023-04-11 16:05:00 +08:00 |