LiuSeen

Results 9 issues of LiuSeen

RFC: https://github.com/vuejs/rfcs/discussions/653 define custom directives will get friendly type hints ```vue // before const vTest = defineDirective({ created(){} }) ``` ```ts // after export default { setup(__props, { expose: __expose...

scope: sfc
need discussion

**[BREAKING CHANGE]** fix https://github.com/vuejs/core/issues/11249 fix https://github.com/vuejs/core/issues/8501 closes #8502 although pr #8502 fix #8501 issue, it is a destructive fix for shallowReactive, so i take a relatively elegant approach to the...

scope: reactivity
ready for review

/usr/local/lib/node_modules/nrm/cli.js:9 const open = require('open'); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/nrm/node_modules/open/index.js from /usr/local/lib/node_modules/nrm/cli.js not supported. Instead change the require of index.js in /usr/local/lib/node_modules/nrm/cli.js to a dynamic import() which...

```ts rollup.config.ts { input: ['./packages/nova/index.ts'], output: [ { dir: 'dist/es', format: 'esm', preserveModules:true, }, ], external:['lodash'], plugins: [ dts() ] } ``` the compoents/index.d.ts is lost ![image](https://github.com/Swatinem/rollup-plugin-dts/assets/91084928/c34c657d-7923-41fe-8005-850ecfcd9de3) the nova/index.ts ```...

https://github.com/webfansplz/vite-plugin-vue-devtools/assets/91084928/ce19fba6-bdea-4564-a48a-8dac4a8b23b8

on hold

### Vue version 3.4.31 ### Link to minimal reproduction https://play.vuejs.org/#eNp9UltLwzAU/iuHvKyF0iH6NKag4oOCF9THvGTd2ZaZJiFJt0npf/c0XetgF/rSfN/Jd0lSs3tr802FbMKmvnDSBvAYKnvHtSytcQFqcCiKIDeYgV8Jpcz2cwCImhutfiGT/qsjM5CeBiLcwMKZEkZkMOK6/QqjfYBSWLgddBONW3gVNklTronKKUEyWhgzOnJMagETuGrSFDotozBXZpkM9kkrsOwFUhocj2EhlMfWflCfCUfqffyknp2T7atc1u2Lmdn6sFjdUCPCckHocZUJOZ6rEXd1LsFVe5MWnHUG+9wnNYbMcf5QZDruLpmulxYBS6tEQFpNx8MCWMaCJ8WFXOZrbzS9jZprAM4KU1qp0L3bIMmRswlEpuVi7JeItV5ZjxcrLH5O4Gu/azHOPhx6dBvkbOCCcHTUHf309YY7+h/I0swrRdMXyE+k06jajN3YQ6XnFPtgLqZ9ji9c6uW3f9oF1L4v1R0WQBPnOaP3+3ih+n/c6/wm7uO6Yc0foLQkqA== ### Steps to reproduce https://play.vuejs.org/#eNp9UltLwzAU/iuHvKyF0iH6NKag4oOCF9THvGTd2ZaZJiFJt0npf/c0XetgF/rSfN/Jd0lSs3tr802FbMKmvnDSBvAYKnvHtSytcQFqcCiKIDeYgV8Jpcz2cwCImhutfiGT/qsjM5CeBiLcwMKZEkZkMOK6/QqjfYBSWLgddBONW3gVNklTronKKUEyWhgzOnJMagETuGrSFDotozBXZpkM9kkrsOwFUhocj2EhlMfWflCfCUfqffyknp2T7atc1u2Lmdn6sFjdUCPCckHocZUJOZ6rEXd1LsFVe5MWnHUG+9wnNYbMcf5QZDruLpmulxYBS6tEQFpNx8MCWMaCJ8WFXOZrbzS9jZprAM4KU1qp0L3bIMmRswlEpuVi7JeItV5ZjxcrLH5O4Gu/azHOPhx6dBvkbOCCcHTUHf309YY7+h/I0swrRdMXyE+k06jajN3YQ6XnFPtgLqZ9ji9c6uW3f9oF1L4v1R0WQBPnOaP3+3ih+n/c6/wm7uO6Yc0foLQkqA== ### What is expected? ```js const map = reactive(new Map()) map.set('foo', shallowReactive({a : 1})) console.log(isShallow(map.get('foo')))...

fix: https://github.com/vuejs/core/issues/8494

scope: compiler
:cake: p2-nice-to-have

resolve: https://github.com/vuejs/core/issues/11474

scope: types
ready for review