Eavan
|
381b4977af
|
fix(compiler-sfc): ignore style v-bind in double slash comments (#5409)
|
2023-07-10 17:56:26 +08:00 |
zouhang
|
d6446a6d40
|
fix(compiler-sfc): pass options directly to stylus (#3848)
|
2023-07-10 17:52:56 +08:00 |
Evan You
|
ae7453f0f1
|
chore: use moduleResolution: bundler + shim estree-walker
|
2023-06-23 08:54:25 +08:00 |
Evan You
|
d2c3d8b70b
|
perf(compiler-sfc): lazy require typescript
|
2023-06-15 16:38:44 +08:00 |
Cédric Exbrayat
|
fd1a3f9599
|
fix(compiler-sfc): typo in experimental feature warnings (#8513)
|
2023-06-10 17:17:21 +08:00 |
Vadim
|
23c81691d9
|
chore: fix typo (#7416)
|
2023-06-10 17:10:20 +08:00 |
Evan You
|
372ec35482
|
chore: mark reactivity transform apis as deprecated
|
2023-05-19 08:26:44 +08:00 |
丶远方
|
702711e771
|
chore(compiler-sfc): break in switch statement (#8347)
|
2023-05-19 07:46:39 +08:00 |
edison
|
4fa8da8576
|
fix(compiler-sfc): support resolve multiple re-export /w same source type name (#8365)
close #8364
|
2023-05-19 07:45:28 +08:00 |
Evan You
|
0e8bbe873e
|
release: v3.3.4
|
2023-05-18 16:31:03 +08:00 |
Evan You
|
5aec717a24
|
fix(compiler-sfc): handle imported types from default exports
close #8355
|
2023-05-18 16:15:27 +08:00 |
Evan You
|
fecd5c4044
|
release: v3.3.3
|
2023-05-18 13:10:52 +08:00 |
白雾三语
|
ecbd42a144
|
fix(compiler-sfc): parses correctly when inline mode is off (#8337)
close #6088
|
2023-05-18 13:07:08 +08:00 |
三咲智子 Kevin Deng
|
b133e0fd97
|
fix(compiler-sfc): support defineEmits type reference with unions (#8299)
close #7943
|
2023-05-18 12:59:12 +08:00 |
Evan You
|
fab9c72780
|
fix(compiler-sfc): fix type import from path aliased vue file
close #8348
|
2023-05-18 12:50:47 +08:00 |
三咲智子 Kevin Deng
|
8ec73a3aea
|
fix(compiler-sfc): don't hoist regexp literial (#8300)
|
2023-05-18 11:09:40 +08:00 |
Evan You
|
b36addd3bd
|
fix(compiler-sfc): handle ts files with relative imports with .js extension
close #8339
|
2023-05-17 10:14:44 +08:00 |
Kalven Schraut
|
f69dbabf87
|
fix(compiler-sfc): fix props destructing default value type checking with unresolved type (#8340)
close #8326
|
2023-05-17 09:59:49 +08:00 |
Evan You
|
a374d7e6ed
|
release: v3.3.2
|
2023-05-12 13:25:05 +01:00 |
Evan You
|
82350721a4
|
fix(compiler-sfc): raise specific warning for failed extends and allow ignoring extends
ref #8286
|
2023-05-12 13:17:55 +01:00 |
Evan You
|
f25bd37c67
|
fix(compiler-sfc): fix regression on props destructure when transform is not enabled
close #8289
|
2023-05-12 12:53:36 +01:00 |
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 |
Evan You
|
6e1966a92f
|
release: v3.3.1
|
2023-05-11 09:00:14 +01:00 |
Evan You
|
483a4e7e3b
|
release: v3.3.0
|
2023-05-11 08:44:38 +01:00 |
Evan You
|
847658b7a2
|
release: v3.3.0-beta.5
|
2023-05-08 16:40:41 +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 |
LiuSeen
|
8ccc570022
|
chore(compileScript): remove unused methods (#8211)
|
2023-05-08 14:43:39 +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
|
cc09cc7e28
|
release: v3.3.0-beta.4
|
2023-05-05 17:15:14 +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
|
4e2607a3d3
|
chore: move files into correct test block
|
2023-05-01 14:01:38 +08:00 |
Evan You
|
5d4c3c60a8
|
release: v3.3.0-beta.3
|
2023-05-01 12:28:29 +08:00 |
Evan You
|
45765488d4
|
feat(compiler-sfc): expose parseCache
So that users can adjust cache's max size.
close #8202
|
2023-05-01 11:33:07 +08:00 |
Evan You
|
a778034a3e
|
release: v3.3.0-beta.2
|
2023-04-25 16:41:04 +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
|
a370e8006a
|
perf(compiler-sfc): infer ref binding type for more built-in methods
|
2023-04-25 09:29:30 +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 |
Evan You
|
1447596bf4
|
release: v3.3.0-beta.1
|
2023-04-21 16:26:10 +08:00 |
Evan You
|
7b2ff1e207
|
chore: remove deprecated ref sugar warning
|
2023-04-21 15:54:51 +08:00 |
edison
|
1d1d728949
|
feat(compiler-sfc): improve utility type Partial and Required (#8103)
|
2023-04-20 21:17:10 +08:00 |
Evan You
|
5cdaac2590
|
release: v3.3.0-alpha.13
|
2023-04-20 21:13:34 +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
|
72be89423d
|
release: v3.3.0-alpha.12
|
2023-04-18 22:18:56 +08:00 |
Evan You
|
0f77a2b1d1
|
fix(compiler): fix expression codegen for literal const bindings in non-inline mode
|
2023-04-18 11:39:53 +08:00 |
Evan You
|
57f0fbe76a
|
release: v3.3.0-alpha.11
|
2023-04-17 21:17:17 +08:00 |
Evan You
|
271df09470
|
fix(compiler-sfc): normalize windows paths when resolving types
|
2023-04-17 21:11:22 +08:00 |
Evan You
|
33adc2a17a
|
release: v3.3.0-alpha.10
|
2023-04-17 18:15:17 +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
|
a9f5e14c7c
|
chore: comments [ci skip]
|
2023-04-15 22:08:39 +08:00 |
Evan You
|
34a007d00d
|
test: refactor resolveType test
|
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
|
a6dedc33ba
|
test: split compileScript macro tests
|
2023-04-12 16:46:26 +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
|
fe9760188d
|
refactor(compiler-sfc): remove useless type generation
we are no longer type-checking generated code
|
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 |
Evan You
|
19e17a951c
|
perf(compiler): use source-map-js
|
2023-04-09 16:50:20 +08:00 |
Evan You
|
681ac7c896
|
release: v3.3.0-alpha.9
|
2023-04-08 13:33:46 +08:00 |
三咲智子 Kevin Deng
|
14f3d747a3
|
feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018)
|
2023-04-08 12:13:05 +08:00 |
三咲智子 Kevin Deng
|
f7f4624191
|
fix(compiler-sfc): fix binding type for constants when hoistStatic is disabled (#8029)
|
2023-04-06 17:19:00 +08:00 |
-isum
|
3ccbea08e0
|
fix(compiler-sfc): accept `StringLiteral` node in `defineEmit` tuple syntax (#8041)
close #8040
|
2023-04-06 17:13:34 +08:00 |
三咲智子 Kevin Deng
|
955752951e
|
fix(compiler-sfc): skip empty `defineOptions` and support TypeScript type assertions (#8028)
|
2023-04-05 17:33:29 +08:00 |
Evan You
|
b2c874e3b9
|
refactor(compiler-sfc): move related files into separate directories
|
2023-04-05 16:35:10 +08:00 |
Evan You
|
036914c10b
|
release: v3.3.0-alpha.8
|
2023-04-04 18:23:06 +08:00 |
Evan You
|
f3145a915a
|
fix(compiler-sfc): check binding is prop before erroring
fix #8017
|
2023-04-04 18:10:13 +08:00 |
Evan You
|
9a09e47667
|
release: v3.3.0-alpha.7
|
2023-04-03 18:19:11 +08:00 |
三咲智子 Kevin Deng
|
5a2f5d59cf
|
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982)
|
2023-04-03 16:49:16 +08:00 |
Evan You
|
59e828448e
|
feat(reactivity): improve support of getter usage in reactivity APIs (#7997)
|
2023-04-02 10:17:51 +08:00 |
Roland Hummel
|
c346af2b6a
|
docs: comments on reactivity functions (fixes #4832) (#4836)
close #4832
|
2023-03-31 17:06:10 +08:00 |
Evan You
|
482f2e3434
|
fix(compiler-sfc): use dynamic defaults merging for methods with computed keys
ref #7113
|
2023-03-31 09:08:23 +08:00 |
Evan You
|
fe619443d2
|
feat(compiler-sfc): support arbitrary expression as withDefaults argument
ref #6459
|
2023-03-31 09:04:27 +08:00 |
Evan You
|
566748c1ed
|
chore: remove unused param
|
2023-03-31 08:58:03 +08:00 |
Evan You
|
4af5d1b075
|
feat(sfc): revert withDefaults() deprecation
In some cases, the user still needs access to the full props object,
in such cases withDefaults() is still needed.
|
2023-03-31 08:53:15 +08:00 |
Evan You
|
f5971468e5
|
refactor(compiler-sfc): remove unnecessary emits type codegen
This is no longer necessary as we no longer recommend type checking generated code
|
2023-03-30 20:06:11 +08:00 |
Evan You
|
ef73ea53ea
|
feat(compiler-sfc): codegen support for defineEmits() short syntax (followup of #7992)
|
2023-03-30 19:59:07 +08:00 |
Evan You
|
8ac0620c1b
|
release: v3.3.0-alpha.6
|
2023-03-30 18:22:42 +08:00 |
Evan You
|
71635be68d
|
feat(compiler-sfc): support generating variable instead of default export in compileScript
|
2023-03-30 16:58:41 +08:00 |
三咲智子 Kevin Deng
|
ba4cec31b9
|
fix(compiler-sfc): infer runtime type in defineProps (#7972)
|
2023-03-30 14:49:28 +08:00 |
Evan You
|
ba9c2ae247
|
feat(compiler-sfc): enable reactive props destructure by default and deprecate withDefaults() (#7986)
|
2023-03-30 11:58:16 +08:00 |
Evan You
|
e10a89e608
|
fix(compiler-sfc): fix function default value handling w/ props destructure
|
2023-03-29 22:21:27 +08:00 |
Evan You
|
1a04fba10b
|
fix(compiler-sfc): infer object type for empty type literal
|
2023-03-29 21:01:52 +08:00 |
Evan You
|
a94072dd2c
|
fix(compiler-sfc): fix defineExpose() codegen regression from #7949
|
2023-03-29 20:31:25 +08:00 |
三咲智子 Kevin Deng
|
63ad77f6f6
|
feat(runtime-core): add skipCheck for prop (#7548)
|
2023-03-28 22:29:54 +08:00 |
Evan You
|
1bde9fbc91
|
chore: fix accidentally replaced comments [ci skip]
|
2023-03-28 21:22:11 +08:00 |
白雾三语
|
ddba46ae6d
|
chore: update snapshots by #7766 (#7970)
|
2023-03-28 12:27:09 +02:00 |
白雾三语
|
139104ba26
|
fix(compiler-sfc): use prependLeft to handle CSSVars (#7760)
|
2023-03-28 17:47:10 +08:00 |
Evan You
|
b9dc1adefb
|
chore: update snapshots
|
2023-03-28 17:35:42 +08:00 |
三咲智子 Kevin Deng
|
c839129ab9
|
fix(compiler-sfc): avoid codegen conflict with user variable named `expose` (#7949)
rename `expose` to `__expose` to avoid duplicate identifier
relate #7890
|
2023-03-28 17:34:23 +08:00 |
三咲智子 Kevin Deng
|
93f77292c9
|
fix(compiler-sfc): disallow `expose` property in `defineOptions` (#7967)
|
2023-03-28 17:32:37 +08:00 |
三咲智子 Kevin Deng
|
b7bd50f505
|
feat(compiler-core): support parsing `const` modifier in type parameters (#7912)
|
2023-03-28 17:31:23 +08:00 |
Evan You
|
eded94712e
|
feat(compiler-sfc): improve runtime props inference for enum
|
2023-03-28 17:29:31 +08:00 |
Evan You
|
5fb406e3e1
|
fix(compiler-sfc): properly handle unknown types in runtime prop inference
fix #7511
|
2023-03-28 17:15:25 +08:00 |
Evan You
|
6f5698c932
|
Revert "fix(compiler-sfc): infer correct type for enums"
This reverts commit 2e074a7009 .
|
2023-03-28 16:55:19 +08:00 |
Evan You
|
2e074a7009
|
fix(compiler-sfc): infer correct type for enums
fix #7511
|
2023-03-28 16:39:13 +08:00 |
三咲智子 Kevin Deng
|
0002567728
|
feat(compiler-sfc): support module string names syntax (#7428)
https://github.com/tc39/ecma262/pull/2154
|
2023-03-28 16:28:06 +08:00 |
三咲智子 Kevin Deng
|
d60e58c9f6
|
fix(compiler-sfc): fix edge case of default export call with no args (#7536)
closes #7534
|
2023-03-28 16:27:34 +08:00 |
三咲智子 Kevin Deng
|
336a3d7b91
|
fix(compiler-sfc): properly remove comma of multiple macros in the same declaration (#7423)
closes #7422
reverts #6778
|
2023-03-28 16:23:39 +08:00 |
三咲智子 Kevin Deng
|
9f5e20ccff
|
fix(compiler-sfc): allow `<script>` with lang='js' (#7398)
|
2023-03-28 15:48:41 +08:00 |
Evan You
|
4355d2492d
|
fix(compiler-sfc): handle more TS built-in utilities in defineProps inference
|
2023-03-28 15:41:24 +08:00 |
三咲智子 Kevin Deng
|
151a8ad6b9
|
fix(compiler-sfc): infer TSIntersectionType in defineProps (#7394)
|
2023-03-28 15:40:03 +08:00 |
三咲智子 Kevin Deng
|
1b69d5f2f4
|
fix(compiler-sfc): unwrap TS node for defineProps (#7340)
|
2023-03-28 15:22:01 +08:00 |
三咲智子 Kevin Deng
|
6391daf658
|
fix(compiler-sfc): infer TS Extract&Exclude runtime type (#7339)
closes #7337
closes #6252
|
2023-03-28 15:19:14 +08:00 |
三咲智子 Kevin Deng
|
3a7572cdb2
|
fix(compiler-sfc): infer function prop type from type literal w/ callable signature (#7119)
|
2023-03-28 11:59:21 +08:00 |
三咲智子 Kevin Deng
|
701b95ff3d
|
fix(compiler-sfc): rewrite default export with AST analysis instead of regex (#7068)
closes #7038
closes #7041
closes #7078
|
2023-03-28 11:54:22 +08:00 |
三咲智子 Kevin Deng
|
7def8b15b8
|
feat(complier-sfc): hoist literal constants for script (#5752)
- Support using literal constants in macros
- fix useCssVars insert position edge case
- fix non-literal-const enum hoisting
close #5750
|
2023-03-28 11:34:29 +08:00 |
三咲智子 Kevin Deng
|
bcf5841dde
|
feat(compiler-sfc): add defineOptions macro (#5738)
|
2023-03-28 10:43:51 +08:00 |
三咲智子 Kevin Deng
|
703f8c22e5
|
chore(deps): upgrade rollup & magic-string (#7326)
|
2023-03-28 09:52:06 +08:00 |
Evan You
|
efb54e7315
|
feat(sfc): deprecate reactivity transform
|
2023-03-27 21:01:36 +08:00 |
Evan You
|
27e1e38641
|
release: v3.3.0-alpha.5
|
2023-03-26 16:52:46 +08:00 |
Evan You
|
e60ebd07a4
|
chore: bump vite & vitest
|
2023-03-23 16:36:33 +08:00 |
Evan You
|
78b86150b8
|
release: v3.3.0-alpha.4
|
2023-02-06 14:10:56 +08:00 |
Evan You
|
097f6beca2
|
release: v3.3.0-alpha.3
|
2023-02-06 10:27:25 +08:00 |
Evan You
|
37ec04b984
|
release: v3.3.0-alpha.2
|
2023-02-05 16:23:54 +08:00 |
Evan You
|
85f4d8ccb9
|
release: v3.3.0-alpha.1
|
2023-02-05 11:20:39 +08:00 |
Evan You
|
eb0c1e7025
|
build: remove api-extractor
|
2023-02-03 15:57:00 +08:00 |
Evan You
|
53e3533b75
|
chore: bump deps
|
2023-02-03 05:47:40 +08:00 |
Evan You
|
124373db50
|
wip: isolatedModules + use rollup-plugin-esbuild
|
2023-02-03 04:30:19 +08:00 |
Evan You
|
45984d559f
|
release: v3.2.47
|
2023-02-02 13:48:18 +08:00 |
Evan You
|
29f8cf8b07
|
release: v3.2.46
|
2023-02-02 11:32:04 +08:00 |
edison
|
30399d46b1
|
fix(compiler-sfc): support resolving type declaration from normal script (#5831)
fix #5830
|
2023-02-01 04:24:50 -05:00 |
Evan You
|
0cd2213e6b
|
wip(vitest-migration): compiler-sfc tests passing
|
2023-01-26 16:49:10 +08:00 |
Evan You
|
f0d78e8c8f
|
wip(vitest-migration): ssr tests passing
|
2023-01-26 16:18:40 +08:00 |
Julien Huang
|
686c829fec
|
fix(compiler-sfc): allow declaring variables after defineProps (#7461)
* fix(compiler-sfc): allow declaring variables after defineProps
* test(compiler-sfc): test defineProps in multiple variable declaration
|
2023-01-09 15:13:58 +01:00 |
Evan You
|
9d5e30d911
|
build: bump jest, puppeteer and use official rollup terser plugin
|
2022-11-14 18:21:58 +08:00 |
三咲智子 Kevin Deng
|
3427052229
|
fix(reactivity-transform): prohibit const assignment at compile time (#6993)
close #6992
|
2022-11-14 02:54:41 -05:00 |
Evan You
|
a1099afe1b
|
chore: snapshot
|
2022-11-14 11:41:44 +08:00 |
三咲智子 Kevin Deng
|
9060bf0353
|
refactor(compiler-core): make ast.helpers a Set (#6774)
|
2022-11-13 20:44:02 -05:00 |
三咲智子 Kevin Deng
|
4e5d9cdb82
|
refactor(compiler-sfc): drop Function prop type when no static default value (#7125)
|
2022-11-13 20:15:17 -05:00 |
三咲智子 Kevin Deng
|
584eae60d1
|
fix(compiler-sfc): always generate runtime prop type for Function (#7112)
fix #7111
|
2022-11-13 19:36:03 -05:00 |
Evan You
|
6f663d47e5
|
release: v3.2.45
|
2022-11-11 17:35:27 +08:00 |
Evan You
|
0594400980
|
fix(sfc): also generate getter for import bindings during dev
|
2022-11-10 17:32:06 +08:00 |
Evan You
|
5a3d45ae29
|
fix(sfc): ensure consistent dev/prod behavior for non-reactive variables declared in `<script setup>`
fix #5655
|
2022-11-10 17:02:45 +08:00 |
Evan You
|
15e889afaf
|
fix(v-model): fix incorrect codegen for non-ref bindings
fix #6241
|
2022-11-10 15:32:58 +08:00 |
Evan You
|
ec795bfc51
|
release: v3.2.44
|
2022-11-10 07:25:22 +08:00 |
Evan You
|
71977ec972
|
release: v3.2.43
|
2022-11-09 21:00:57 +08:00 |
Evan You
|
f023d49a49
|
release: v3.2.42
|
2022-11-09 11:36:09 +08:00 |
三咲智子 Kevin Deng
|
57c9013837
|
fix(compiler-sfc): only escape parsing-breaking characters in v-bind css var names (#6816)
close #6803
|
2022-11-08 22:30:05 -05:00 |
三咲智子 Kevin Deng
|
8a882ce0a1
|
fix(compiler-sfc): handle method shorthand syntax in withDefaults (#6972)
fix #6971
|
2022-11-08 22:12:54 -05:00 |
三咲智子 Kevin Deng
|
910fa7677f
|
fix(compiler-sfc): resolve computed object key (#6963)
|
2022-11-08 21:57:40 -05:00 |
Evan You
|
6861d2380b
|
refactor(compiler-sfc): optimize import alias check for binding analysis
|
2022-11-08 17:47:47 +08:00 |
Evan You
|
8d1f526174
|
fix(compiler-sfc): fix binding analysis for aliased late import
|
2022-11-08 17:19:45 +08:00 |
三咲智子 Kevin Deng
|
4a00fddfed
|
fix(compiler-sfc): check import source during binding analysation (#6826)
fix #6825
|
2022-11-08 04:07:28 -05:00 |
Rudy
|
50e2253057
|
fix(compiler/runtime-dom): ignore comments in inline styles (#6808)
fix #6807
|
2022-11-07 22:42:32 -05:00 |
Evan You
|
1c292e19af
|
chore: fix snapshot
|
2022-11-08 11:36:16 +08:00 |
花果山大圣
|
a0c7f271a2
|
fix(compiler-sfc): require <template> or <script> in SFC (#6781)
fix #6676
|
2022-11-07 22:34:39 -05:00 |
花果山大圣
|
99b6697fb4
|
fix(compiler-sfc): fix macro usage in multi-variable declaration (#6778)
fix #6757
|
2022-11-07 22:16:21 -05:00 |
三咲智子 Kevin Deng
|
b72a4af38a
|
fix(compiler-sfc): add semicolon after `defineProps` statement (#6461)
fix #6428
|
2022-11-07 21:17:48 -05:00 |
三咲智子 Kevin Deng
|
97aadd8290
|
types: use actual type for script block ASTs (#6457)
|
2022-11-07 21:14:10 -05:00 |
三咲智子 Kevin Deng
|
c4f213b425
|
fix(reactivity-transform): add semicolon after statements (#6303)
|
2022-11-07 20:38:47 -05:00 |
三咲智子 (Kevin)
|
bbb66d7ac7
|
ci: check prettier format (#6830)
|
2022-10-28 09:39:34 +08:00 |
Evan You
|
bb06819d83
|
chore: fix snapshot
|
2022-10-26 17:46:17 +08:00 |
ygj6
|
eab76046e3
|
fix(compiler-sfc): allow type annotation for defineEmits variable (#5394)
fix #5393
|
2022-10-26 05:12:55 -04:00 |
edison
|
83f7e6f8a6
|
fix(compiler-sfc): support using extends interface with defineProps() (#4512)
fix #4498
|
2022-10-26 04:44:30 -04:00 |
Evan You
|
9617dd4b2a
|
release: v3.2.41
|
2022-10-14 18:41:15 +08:00 |
Anthony Fu
|
534593cfa8
|
chore: format
|
2022-10-03 15:30:43 +08:00 |
Evan You
|
551f606d98
|
release: v3.2.40
|
2022-09-28 11:40:24 +08:00 |
Dunqing
|
f9d43b99f8
|
fix(compilre-core): dynamic v-on and static v-on should be merged (#6747)
fix #6742
|
2022-09-27 22:46:55 -04:00 |
Travis
|
6958ec1b37
|
fix(compiler-sfc): fix expression check for v-on with object literal value (#6652)
fix #6650
fix #6674
|
2022-09-27 05:30:10 -04:00 |
Kid
|
96ba71d0cf
|
chore: fix typos (#6708)
|
2022-09-24 15:13:39 +08:00 |
Evan You
|
f79c423621
|
release: v3.2.39
|
2022-09-08 10:12:39 +08:00 |
Evan You
|
6624ead663
|
release: v3.2.38
|
2022-08-30 16:02:01 +08:00 |
林烁壕
|
81a7819535
|
fix(compiler-sfc): rewriteDefault for class with decorators (#6320)
fix #6318
|
2022-08-18 04:07:55 -04:00 |
Evan You
|
769e5555f9
|
fix(compiler-sfc): fix template usage check edge case for v-on statements
ref: https://github.com/vuejs/vue/issues/12591
|
2022-07-04 11:49:47 +08:00 |
Evan You
|
fb3bfde264
|
chore: fix wrong condition in 3ff83694
|
2022-07-01 12:18:21 +08:00 |
Evan You
|
3ff83694f5
|
fix(compiler-sfc): only add decorators-legacy parser plugin when new decorators plugin is not used
|
2022-06-30 10:39:14 +08:00 |
Evan You
|
bdffc143ef
|
release: v3.2.37
|
2022-06-06 20:08:19 +08:00 |
Evan You
|
e60244bcdf
|
fix(compiler-sfc): improve css v-bind parsing
fix #6022
|
2022-06-06 20:02:08 +08:00 |
Evan You
|
9734b31c31
|
fix(sfc): avoid auto name inference leading to unwanted recursion
fix #5965
fix #6027
fix #6029
|
2022-06-06 17:36:49 +08:00 |
Evan You
|
160d5df34a
|
release: v3.2.36
|
2022-05-23 10:04:12 +08:00 |
Jinesh Patel
|
0cd21ba77c
|
chore: remove unnecessary optional check (#5958)
|
2022-05-22 20:29:15 -04:00 |
Evan You
|
a0c577692f
|
release: v3.2.35
|
2022-05-21 01:16:26 +08:00 |
Evan You
|
583b625987
|
fix(compiler-sfc): fix usage detection for types in v-for/v-slot expressions
fix #5959
|
2022-05-21 00:09:15 +08:00 |
Evan You
|
3991609087
|
release: v3.2.34
|
2022-05-19 12:42:34 +08:00 |
小刘(liulinboyi)
|
73e6523134
|
fix(compiler-sfc): support `export { default } from '...'` (#5937)
fix #5935
|
2022-05-18 19:51:44 -04:00 |
Yunyoung LEE
|
991d62322f
|
fix(compiler-sfc): type-only defineProps does not recognize Promise (fix #5941) (#5943)
|
2022-05-18 19:34:52 -04:00 |
Evan You
|
7fd761e577
|
release: v3.2.34-beta.1
|
2022-05-17 12:53:51 +08:00 |
Evan You
|
efea4a8b57
|
fix(ssr/sfc-css-vars): fix v-bind css vars codegen for SSR
fix #5443
close #5444
|
2022-05-17 09:21:44 +08:00 |
Evan You
|
31c0bb355a
|
chore: fix snapshots
|
2022-05-13 15:45:26 +08:00 |
Evan You
|
be6a0bff98
|
refactor: simplify logic
|
2022-05-13 15:41:49 +08:00 |
liulinboyi
|
a0290fe781
|
fix(compiler-sfc): add test for #5808
|
2022-05-13 15:41:49 +08:00 |
liulinboyi
|
6c3b681d23
|
fix(compiler-sfc): async transformer doesn't correctly detect need for semicolon in block #5808
|
2022-05-13 15:41:49 +08:00 |
Evan You
|
de7a879cda
|
chore: fix snapshot + simplify fix
|
2022-05-13 11:04:24 +08:00 |
liulinboyi
|
3b7b107120
|
fix(compiler-sfc): <script> after <script setup> the script content not end with `\\n`
|
2022-05-13 11:04:24 +08:00 |
edison
|
242914d938
|
fix(reactivity-transform): fix props access codegen for non-identifier prop names (#5436)
fix #5425
|
2022-05-12 22:38:46 -04:00 |
Travis
|
f2c48f5352
|
fix(compiler-sfc): fix defineEmits() scope reference check error message (#5404)
|
2022-05-12 21:08:28 -04:00 |
Evan You
|
8a123ac34f
|
fix(compiler-sfc): fix treeshaking of namespace import when used in template
fix #5209
|
2022-05-12 18:56:54 +08:00 |
Evan You
|
ccf92564d3
|
fix(compiler-sfc): fix template usage check false positives on types
fix #5414
|
2022-05-12 18:23:10 +08:00 |
Evan You
|
b7025d24f1
|
fix(compiler-sfc): ensure consistent behavior of export default render with script setup
close #4980
|
2022-05-11 17:20:32 +08:00 |
Evan You
|
41d255ba5d
|
fix(compiler-sfc): fix skipped srcset transform when using base option
Based on implementation from #4835 due to conflicts
fix #4819
close #4834, close #4835
|
2022-05-11 16:55:58 +08:00 |
Evan You
|
57bb37bd64
|
fix(ssr): should not hoist transformed asset urls in ssr compile
fix #3874
|
2022-05-11 12:43:54 +08:00 |
Evan You
|
410144149f
|
fix(compiler-sfc): defineProps return binding or rest binding should be considered reactive
|
2022-05-10 17:34:15 +08:00 |
那里好脏不可以
|
6042ab0f2f
|
chore: type [ci skip]
|
2022-05-09 22:51:51 -04:00 |
Evan You
|
29e454d4d1
|
chore: fix duplicate export
|
2022-05-10 09:50:12 +08:00 |
edison
|
decad9df57
|
types(compiler-sfc): export SFCParseResult type (#2923)
close #2921
|
2022-05-09 21:37:59 -04:00 |
小刘(liulinboyi)
|
7d7a2410e5
|
fix(compiler-sfc): remove the jsx from the babelParserPlugins when not match the case of adding jsx (#5846)
fix #5845
|
2022-05-09 21:20:18 -04:00 |
ygj6
|
16939241b0
|
fix(compiler-sfc): automatically infer component name from filename when using script setup (#4997)
close #4993
|
2022-05-09 21:16:28 -04:00 |
Evan You
|
7dfe146096
|
fix(compiler-sfc): fix object default values for reactive props destructure
|
2022-05-10 08:39:27 +08:00 |
Evan You
|
56879e6b23
|
release: v3.2.33
|
2022-04-14 18:14:37 +08:00 |
木杉
|
8e29ef6019
|
fix(compiler-sfc): handle type modifier in import specifiers (#5498)
|
2022-04-13 22:10:26 -04:00 |
Evan You
|
f4f5e80a19
|
release: v3.2.32
|
2022-04-12 16:07:43 +08:00 |
Evan You
|
d56dec6b4a
|
release: v3.2.31
|
2022-02-12 16:41:52 +08:00 |
Evan You
|
15adf251ab
|
release: v3.2.30
|
2022-02-07 14:14:53 +08:00 |
Evan You
|
6b6889852f
|
release: v3.2.29
|
2022-01-23 22:02:23 +08:00 |
Evan You
|
059c63eab7
|
test: add missing edge case for css v-bind
|
2022-01-23 21:03:37 +08:00 |
Evan You
|
16fa18da6d
|
fix(compiler-sfc): fix css v-bind inside other css functions
fix #5302, close #5306
|
2022-01-23 20:58:43 +08:00 |
Evan You
|
283df0ad68
|
release: v3.2.28
|
2022-01-21 16:15:13 +08:00 |
edison
|
95d49bf7e7
|
fix(compiler-sfc): support complex expression in CSS v-bind() (#5114)
fix #5109
|
2022-01-21 15:57:30 +08:00 |
Evan You
|
4768f26f59
|
fix(compiler-sfc/reactivity-transform): fix edge case where normal script has ref macros but script setup does not
|
2022-01-21 08:47:48 +08:00 |
Evan You
|
ae4b0783d7
|
chore: update repo references
|
2022-01-18 16:43:59 +08:00 |
Evan You
|
3adfc0fe94
|
release: v3.2.27
|
2022-01-16 22:08:18 +08:00 |
Evan You
|
fef191fb07
|
chore: remove stale references of ref-transform
|
2021-12-23 16:56:36 +08:00 |
Evan You
|
ccb6651b12
|
release: v3.2.26
|
2021-12-12 15:03:29 +08:00 |
Evan You
|
756534bde0
|
release: v3.2.25
|
2021-12-12 12:21:13 +08:00 |
Evan You
|
d6be3405b3
|
types(compiler-sfc): export additional types
|
2021-12-12 11:44:23 +08:00 |
Evan You
|
7e4f0a8694
|
fix(compiler-sfc): generate valid TS in script and script setup co-usage with TS
fix #5094
|
2021-12-12 09:53:52 +08:00 |
Evan You
|
ea1fcfba37
|
chore: bump babel deps
|
2021-12-12 09:11:36 +08:00 |
Evan You
|
d70fd8d36b
|
feat(reactivity-transform): rename @vue/ref-transform to @vue/reactivity-transform
|
2021-12-12 00:04:38 +08:00 |
Evan You
|
f4dcbbc7b9
|
chore: fix build
|
2021-12-11 23:48:32 +08:00 |
Evan You
|
198ca14f19
|
feat(reactivity-transform): $$() escape for destructured prop bindings
|
2021-12-11 17:50:09 +08:00 |
Evan You
|
93ba6b974e
|
feat(reactivity-transform): use toRef() for $() destructure codegen
- now supports destructuring reactive objects
- no longer supports rest elements
|
2021-12-11 17:13:15 +08:00 |
Evan You
|
d955cfacd6
|
release: v3.2.24
|
2021-12-06 17:03:10 +08:00 |
Ziwen Mei
|
d70dd9faaa
|
chore(compiler-sfc): fix typo in comments (#5029)
|
2021-12-05 23:19:15 -05:00 |
Evan You
|
29beda7c6f
|
fix(compiler-dom): avoid bailing stringification on setup const bindings
|
2021-12-06 11:53:02 +08:00 |
Evan You
|
87c73e99d6
|
fix(compiler-sfc): make asset url imports stringifiable
|
2021-12-06 01:19:06 +08:00 |
Ziwen Mei
|
2d4f455434
|
chore(compiler-sfc): fix typo in compileScript (#5000)
Co-authored-by: meiziwen1 <meiziwen1@xdf.cn>
|
2021-11-26 10:21:35 +01:00 |
Evan You
|
b6a8a451b8
|
release: v3.2.23
|
2021-11-26 14:33:46 +08:00 |
Evan You
|
68c45e73da
|
feat(compiler-sfc): expose properties for more accurate HMR
ref #4358
reverts #4908
|
2021-11-26 14:22:26 +08:00 |
ygj6
|
c61baac75a
|
feat(compiler-sfc): export resolveTemplateUsageCheckString for HMR plugin use (#4908)
|
2021-11-25 22:58:14 -05:00 |
Cédric Exbrayat
|
c17cbdc28f
|
refactor: use refTransform instead of deprecated refSugar (#4957)
|
2021-11-25 04:39:36 -05:00 |
Evan You
|
635d88aa9e
|
release: v3.2.22
|
2021-11-15 11:45:05 +08:00 |
edison
|
31fd590fd4
|
fix(compiler-sfc): fix expose codegen edge case (#4919)
fix #4917
|
2021-11-14 22:22:53 -05:00 |
zisasign
|
574070f43f
|
fix(compiler-sfc): externalRE support automatic http/https prefix url pattern (#4922)
fix #4920
|
2021-11-14 21:37:50 -05:00 |
btea
|
fd7c3407c7
|
refactor(compiler-sfc): replace filter method with for loop (#4905)
|
2021-11-14 21:31:44 -05:00 |
ygj6
|
9c42a1e2a3
|
fix(compiler-sfc): add type for props include Function in prod mode (#4938)
|
2021-11-14 21:31:11 -05:00 |
ygj6
|
090df0837e
|
fix(compiler-sfc): add type for props's properties in prod mode (#4790)
fix #4783
|
2021-11-02 22:04:04 -04:00 |
Evan You
|
fe853a5a40
|
release: v3.2.21
|
2021-11-02 14:35:14 +08:00 |
Evan You
|
3c500e422f
|
release: v3.2.20
|
2021-10-08 13:01:51 -04:00 |
Evan You
|
d4c04e9799
|
fix(compiler-sfc): fix props codegen w/ leading import
fix #4764
|
2021-10-08 12:52:48 -04:00 |
btea
|
c9613ebe09
|
chore: prettier format (#4715) [ci skip]
|
2021-10-08 12:00:05 -04:00 |
HanochMa
|
7a1e6620bf
|
chore: grammar in comments [ci skip]
Co-authored-by: maheng <maheng01@longfor.com>
|
2021-10-08 11:59:47 -04:00 |
edison
|
f66d456b7a
|
fix(compiler-sfc): support runtime Enum in normal script (#4698)
|
2021-10-08 11:57:39 -04:00 |
Evan You
|
646e694f0a
|
chore: remove babelParserDefaultPlugins
The version of @babel/parser we are using now has these plugins enabled by default.
|
2021-10-07 19:33:06 -04:00 |
Evan You
|
467e113b95
|
feat(compiler-sfc): `<script setup>` defineProps destructure transform (#4690)
|
2021-09-27 14:24:21 -04:00 |
Evan You
|
c5c53846ed
|
release: v3.2.19
|
2021-09-25 14:58:20 -04:00 |
Evan You
|
13bfa2edfe
|
release: v3.2.18
|
2021-09-24 16:05:16 -04:00 |
Evan You
|
f5076eb4b7
|
release: v3.2.17
|
2021-09-24 12:43:11 -04:00 |
Evan You
|
114b856fd1
|
release: v3.2.16
|
2021-09-23 10:17:02 -04:00 |
Evan You
|
8e05b7f9fc
|
fix(ssr): fix ssr runtime helper import in module mode
|
2021-09-23 10:08:28 -04:00 |
Evan You
|
74a84ff546
|
release: v3.2.15
|
2021-09-23 09:48:59 -04:00 |
Evan You
|
acd869f4d6
|
chore(compiler-sfc): avoid relying on estree type in generated dts
|
2021-09-23 00:13:54 -04:00 |
Evan You
|
df4fcd94d8
|
release: v3.2.14
|
2021-09-22 18:36:57 -04:00 |
Evan You
|
686d0149b6
|
fix(compiler-core): generate TS-cast safe assignment code for v-model
fix #4655
|
2021-09-22 16:55:06 -04:00 |
Evan You
|
6d6cc90912
|
fix(compiler-sfc): fix local var access check for bindings in normal script
fix #4644
|
2021-09-22 10:10:20 -04:00 |
Evan You
|
64aa8e26ae
|
docs: add note on compiler-sfc/server-renderer usage update [ci skip]
|
2021-09-21 22:55:10 -04:00 |
Evan You
|
b9deb6e50e
|
release: v3.2.13
|
2021-09-21 14:22:53 -04:00 |
Evan You
|
7c3c28eb03
|
test: bump @vue/consolidate to fix dts tests
|
2021-09-21 10:53:48 -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 |
Evan You
|
a42a14d3bc
|
types(compiler-sfc): type annotation tweaks + move @babel/types to devDeps
|
2021-09-20 22:06:12 -04:00 |
Evan You
|
585615beb1
|
feat(compiler-sfc): allow disabling sourcemap when not needed
|
2021-09-18 17:42:09 -04:00 |
Evan You
|
ebe00f66dd
|
release: v3.2.12
|
2021-09-17 10:55:26 -04:00 |
edison
|
8055445b68
|
fix(compiler-sfc): register exported bindings in normal script when using script setup (#4601)
fix #4600
|
2021-09-16 17:22:29 -04:00 |
Evan You
|
cab9541ffd
|
refactor(compiler-sfc): improve TLA codegen
|
2021-09-16 17:07:29 -04:00 |
Evan You
|
39cebf5f7a
|
fix(compiler-sfc): fix TLA codegen semicolon insertion
fix #4596
|
2021-09-16 16:49:59 -04:00 |
edison
|
ae942cdcd9
|
fix(compiler-sfc): support nested await statements (#4458)
fix #4448
|
2021-09-16 16:23:46 -04:00 |
Thorsten Lünborg
|
bdb1a7958b
|
fix(compiler-sfc): handle empty strings during template usage analysis of setup bindings (#4608)
fix #4599
|
2021-09-16 13:47:11 -04:00 |
ygj6
|
fcd5422b4a
|
fix(compile-sfc): add symbol judge in prop type checks. (#4594)
fix #4592
|
2021-09-16 13:45:55 -04:00 |
Evan You
|
06c5bf53ab
|
fix(compiler-sfc): properly reuse hoisted asset imports
fix #4581
|
2021-09-16 13:33:02 -04:00 |
Evan You
|
a6e5f82d8e
|
fix(compiler-sfc): properly analyze destructured bindings with dynamic keys
fix #4540
|
2021-09-09 12:28:59 -04:00 |
Evan You
|
781d2d4d58
|
release: v3.2.11
|
2021-09-08 18:58:13 -04:00 |
Evan You
|
96b531bfa3
|
release: v3.2.10
|
2021-09-07 16:20:07 -04:00 |
Evan You
|
642710eded
|
release: v3.2.9
|
2021-09-05 18:24:01 -04:00 |
webfansplz
|
fac9a2926d
|
fix(compile-sfc): support `Date` prop type with defineProps (#4519)
|
2021-09-05 18:13:12 -04:00 |
edison
|
14d65181f1
|
fix(compiler-sfc): support using declared interface in normal script with defineProps() (#4522)
fix #4423
|
2021-09-05 18:10:15 -04:00 |
edison
|
5594643d7b
|
fix(compiler-sfc): fix script setup ref assignment codegen edge case (#4520)
fix #4514
|
2021-09-05 18:02:50 -04:00 |
webfansplz
|
e6fe751b20
|
fix(compile-sfc): generate setup prop type format error (#4506)
fix #4505
|
2021-09-05 17:36:46 -04:00 |
Evan You
|
12acf5102c
|
build: avoid require call to consolidate in esm-browser build
|
2021-09-05 17:30:18 -04:00 |
Evan You
|
fa5b583ba5
|
build: module alias for compiler-sfc browser esm build
|
2021-09-05 17:21:24 -04:00 |
Evan You
|
3ad9dc4880
|
release: v3.2.8
|
2021-09-02 14:46:30 -04:00 |
Evan You
|
bacb2012ac
|
fix(compiler-sfc): ensure script setup generates type-valid ts output
fix #4455
|
2021-09-02 11:51:41 -04:00 |
webfansplz
|
85807967dc
|
fix(compiler-sfc): generate matching prop types when withDefaults is used (#4466)
fix #4455
|
2021-09-02 11:26:52 -04:00 |
dependabot[bot]
|
305883a12f
|
build(deps-dev): bump typescript from 4.3.5 to 4.4.2 (#4482)
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2)
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* build(deps-dev): bump typescript from 4.3.5 to 4.4.2
* test: fix nodeOps types
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Rodrigues <carlos@hypermob.co.uk>
Co-authored-by: Evan You <yyx990803@gmail.com>
|
2021-09-02 09:53:57 -04:00 |
Evan You
|
b079996040
|
release: v3.2.7
|
2021-09-01 18:05:16 -04:00 |
Evan You
|
168a17ad8a
|
chore: update snapshot
|
2021-09-01 17:26:31 -04:00 |
edison
|
33cf6c8866
|
fix(ref-transform): should transform $ref when used with generic arguments (#4446)
fix #4442
|
2021-09-01 16:55:30 -04:00 |
Evan You
|
b89ff9291e
|
fix(compiler-sfc): ensure script setup lang=ts output is tree-shakable
|
2021-09-01 12:40:36 -04:00 |
Evan You
|
72d2b26e96
|
release: v3.2.6
|
2021-08-24 12:54:30 -04:00 |
Evan You
|
a137d73e91
|
release: v3.2.5
|
2021-08-24 11:54:22 -04:00 |
Evan You
|
586ec51c49
|
chore: warnings for ref transform
|
2021-08-24 10:26:38 -04:00 |
klwf
|
98263821f8
|
fix(compiler-sfc): fix `<script>` and `<script setup>` co-usage ordering edge case (#4419)
Fix: #4395
Fix: #4376
|
2021-08-23 19:02:54 -04:00 |
lidlanca
|
4792ebd687
|
fix(compiler-sfc): fix 'export default' rewrite with extra whitespaces (#4375)
|
2021-08-23 18:40:16 -04:00 |
Evan You
|
06051c4bf2
|
feat(experimental): support ref transform for sfc normal `<script>`
|
2021-08-23 16:00:46 -04:00 |
Evan You
|
40994e967c
|
chore: fix sfc playground ci build
|
2021-08-23 14:10:11 -04:00 |
Evan You
|
0805abe573
|
refactor(compiler-sfc): refSugar -> refTransform, export shouldTransformRef
|
2021-08-23 12:19:41 -04:00 |
Evan You
|
e565831c98
|
feat(experimental): shouldTransform for ref-transform
|
2021-08-23 10:45:58 -04:00 |
Evan You
|
0c2ea1c134
|
refactor(compiler-sfc): remove parseOnly mode
|
2021-08-22 22:28:47 -04:00 |
Evan You
|
db8dc753c0
|
feat(experimental): standalone ref transform
|
2021-08-22 22:21:42 -04:00 |
Evan You
|
84b24a71f0
|
chore: bump deps
|
2021-08-22 15:33:21 -04:00 |
Evan You
|
73f8cae465
|
refactor(compiler): further extract babel ast utilities
|
2021-08-22 14:51:16 -04:00 |
Evan You
|
62f752552a
|
refactor(compiler): extract shared ast transform utils
Also improve referenced identifier check using isReferenced from @babel/types
|
2021-08-22 13:24:16 -04:00 |
Evan You
|
872b3f7ec5
|
fix(compiler-sfc): should also expose regular script block bindings when `<script setup>` is used
close #4369
|
2021-08-17 15:52:48 -04:00 |
Evan You
|
ceace3a8cc
|
release: v3.2.4
|
2021-08-17 12:26:50 -04:00 |
似水微寒
|
c51fb74599
|
refactor(compiler-sfc): remove duplicate judgment conditions (#4368)
|
2021-08-17 12:12:18 -04:00 |
Evan You
|
57f10812cc
|
fix(compiler-sfc): fix import usage check for lowercase imported components
fix #4358
|
2021-08-17 10:10:26 -04:00 |
Evan You
|
03abc2573c
|
release: v3.2.3
|
2021-08-16 18:25:32 -04:00 |
Evan You
|
f855ccb2c1
|
fix(compiler-sfc): fix import usage check in template strings in expressions
fix #4340
|
2021-08-16 18:03:09 -04:00 |
webfansplz
|
ad66295cb3
|
fix(defineProps): defineProps generates unnecessary array of same types (#4353)
fix #4352
|
2021-08-16 17:40:00 -04:00 |
Evan You
|
aae3725e57
|
fix(compiler-sfc): bail on import usage check when template has custom lang
fix #4312
|
2021-08-16 16:08:52 -04:00 |
Evan You
|
7ffa225aa3
|
release: v3.2.2
|
2021-08-11 11:40:25 -04:00 |
Evan You
|
00b76d3dc1
|
feat(sfc): support $shallowRef ref sugar
|
2021-08-11 10:19:58 -04:00 |
Evan You
|
e42d7794cb
|
chore(compiler-sfc): emit compiler error against incorrect ref sugar usage
|
2021-08-10 14:57:47 -04:00 |
Evan You
|
2749c15170
|
release: v3.2.1
|
2021-08-09 16:29:53 -04:00 |
Evan You
|
1e1682f060
|
fix(compiler-sfc): fix import usage check for last expression
|
2021-08-09 16:22:20 -04:00 |
Evan You
|
5a7a43cc3d
|
release: v3.2.0
|
2021-08-09 15:51:53 -04:00 |
Evan You
|
88a4504e82
|
fix(compiler-sfc): fix import usage detection for names containing $
fix #4274
|
2021-08-09 12:17:22 -04:00 |