Commit Graph

47 Commits

Author SHA1 Message Date
Evan You
b1db66a1a9
chore(deps): upgrade to TypeScript 5.6 2024-09-10 16:46:19 +08:00
Evan You
6a5b2098e1
workflow: move private packages to separate directory 2024-08-12 08:02:03 +08:00
Kevin Deng 三咲智子
928af5fe2f
refactor(types): enable isolatedDeclarations (#11178) 2024-08-08 23:05:21 +08:00
Evan You
cc04fd2b4f
chore: exclude sfc local proxy files from tsconfig 2024-06-14 17:59:30 +02:00
三咲智子 Kevin Deng
a24809fbd2
chore: limit typescript lib to es2016 (#10164)
* chore: limit typescript lib to es2015

* chore: set target to es2015

* chore: update
2024-02-26 09:37:05 +08:00
ZHAO Jin-Xiang
7218ab7496
chore: improve typing for scripts (#9709) 2023-11-30 14:17:51 +08:00
ZHAO Jin-Xiang
fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
Evan You
ae7453f0f1 chore: use moduleResolution: bundler + shim estree-walker 2023-06-23 08:54:25 +08:00
JayFate
10317fa01e
chore: add setupVitest to tsconfig (#8009) 2023-04-04 18:14:45 +08:00
Evan You
d0b7ef3b61
feat(types/jsx): support jsxImportSource, avoid global JSX conflict (#7958)
- No longer implicitly register global JSX types by default
  - This avoid conflict when using Vue in the same project with React
  - Global registration must now be done by explicitly importing /
    referencing `vue/jsx`, or listing it in `compilerOptions.types`.
- Add `vue/jsx-runtime` to support `jsxImportSource` usage
  - Can enable globally by setting `compilerOptions.jsxImportSource` to `'vue'`
  - Can also opt-in per-file with `/** @jsxImportSource vue */`
2023-03-26 16:40:53 +08:00
Evan You
1ddde63b40 build: adjust dts test setup 2023-02-03 17:10:31 +08:00
Evan You
e145fe3c28 build: use rollup-plugin-dts for dts build 2023-02-03 15:51:07 +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
069b345cd2 chore: replace test global types with vitest types 2023-01-26 22:56:13 +08:00
Evan You
35dc2bbe7d build: enforce LF line break for built files 2022-10-11 17:54:22 +08:00
Evan You
2788154f77 fix(build): fix generated code containing unprocessed class field syntax
fix #4052
fix vuejs/vue-cli#6562
2021-07-02 07:37:27 -04:00
Evan You
3d810eb422 wip: basic compat test 2021-04-07 16:19:24 -04:00
Evan You
0e730c06e4 chore: remove unnecessary path in tsconfig.json 2020-05-01 16:21:48 -04:00
Evan You
b40fcbc4c6 fix(types): augment ref unwrap bail types in appropriate packages
Packages can now augment the ref unwrap bail types in their own `d.ts`.
Also updated the build script to auto concat any files in a package's
`types` directory to the final generated `d.ts`.

- `@vue/reactivity` should no longer require `libs: ["DOM"]` in tsconfig
- Properly bail on `VNode` and `ComponentPublicInstance` in runtime-core
2020-05-01 16:14:30 -04:00
Evan You
b8c1be18f3 refactor(types): use stricter settings
fix #847
2020-03-23 11:08:22 -04:00
Evan You
8cdaf28515 test(ssr): test for rendering components 2020-01-29 16:46:18 -05:00
Rahul Kadyan
c57837c324 chore: Use dynamic paths in tsconfig.json (#548) 2019-12-18 11:46:07 -05:00
Evan You
74fd6635ce test(e2e): wip e2e test for todomvc 2019-12-02 18:18:02 -05:00
likui
9e48c51f07 build: include compiler-sfc in aliases and tsconfig paths (#435) 2019-11-08 22:39:22 -05:00
Evan You
dfc7c0f12a refactor: adjust internal vnode types + more dts tests 2019-11-04 18:38:55 -05:00
Evan You
c4f9b6d592 test: fix import 2019-10-05 23:20:02 -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
5047bc8dbe workflow: basic template explorer 2019-10-04 13:08:17 -04:00
Evan You
3b5ef483a9 build: move named char references to json file to speed up build 2019-09-19 23:19:48 -04:00
Evan You
9b1a548c6b feat(compiler): basic codegen with source map support 2019-09-19 23:05:51 -04:00
Evan You
1c8f5b612a feat(compiler): scaffold compiler-dom 2019-09-16 15:06:45 -04:00
Evan You
9b90e673e8 wip: improve options typing 2019-09-05 16:09:30 -04:00
Evan You
2a15491d1c build: bump jest & ts-jest 2019-08-20 10:50:43 -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
471899af8b refactor: rename reactivity package name and APIs 2019-06-11 23:50:28 +08:00
Evan You
5c069eeae7 wip: scheduler, more component 2019-05-28 17:19:47 +08:00
Evan You
28a0c50357 refactor: use util methods 2019-05-28 10:28:25 +08:00
Evan You
ec0ccd2337 refactor: return Proxy from base class constructor 2019-03-05 16:24:07 -05:00
Evan You
e05673f4d3 refactor: rename packages 2018-10-26 15:44:50 -04:00
Evan You
149d82d618 refactor: option merging + extract helper functions 2018-10-16 15:47:51 -04:00
Evan You
b3e3fd6ef5 types: basic tsx support 2018-10-13 20:46:30 -04:00
Evan You
da20a06a78 feat: implement basic test renderer 2018-10-01 13:15:07 -04:00
Evan You
b4d68ba2ec chore: remove unnecessary comment 2018-09-20 02:07:45 -04:00
Evan You
2e9a342652 build: simplify compiler package setup 2018-09-19 22:25:55 -04:00
Evan You
38109fe915 workflow: adjust esm-bundler build file name 2018-09-19 21:51:21 -04:00
Evan You
3401f6b460 init (graduate from prototype) 2018-09-19 11:35:38 -04:00