feat: resolve TS type (#664)

This commit is contained in:
三咲智子 Kevin Deng
2024-01-21 17:25:13 +08:00
committed by GitHub
parent edf7cb1025
commit 3f8f4bbfc6
20 changed files with 929 additions and 179 deletions

75
pnpm-lock.yaml generated
View File

@ -8,12 +8,21 @@ importers:
.:
devDependencies:
'@babel/plugin-syntax-typescript':
specifier: ^7.22.5
version: 7.23.3(@babel/core@7.23.7)
'@rollup/plugin-babel':
specifier: ^6.0.4
version: 6.0.4(@babel/core@7.23.7)(@types/babel__core@7.20.5)
'@types/babel__core':
specifier: ^7.20.5
version: 7.20.5
'@types/babel__helper-module-imports':
specifier: ^7.18.0
version: 7.18.3
'@types/babel__helper-plugin-utils':
specifier: ^7.10.1
version: 7.10.3
'@types/node':
specifier: ^20.11.5
version: 20.11.5
@ -23,6 +32,9 @@ importers:
'@vitest/coverage-v8':
specifier: ^1.2.1
version: 1.2.1(vitest@1.2.1)
'@vue/babel-plugin-jsx':
specifier: workspace:*
version: link:packages/babel-plugin-jsx
bumpp:
specifier: ^9.3.0
version: 9.3.0
@ -61,6 +73,9 @@ importers:
'@babel/helper-module-imports':
specifier: ^7.22.15
version: 7.22.15
'@babel/helper-plugin-utils':
specifier: ^7.22.5
version: 7.22.5
'@babel/plugin-syntax-jsx':
specifier: ^7.23.3
version: 7.23.3(@babel/core@7.23.7)
@ -74,8 +89,11 @@ importers:
specifier: ^7.23.6
version: 7.23.6
'@vue/babel-helper-vue-transform-on':
specifier: workspace:^
specifier: workspace:*
version: link:../babel-helper-vue-transform-on
'@vue/babel-plugin-resolve-type':
specifier: workspace:*
version: link:../babel-plugin-resolve-type
camelcase:
specifier: ^6.3.0
version: 6.3.0
@ -114,6 +132,34 @@ importers:
specifier: ^3.4.15
version: 3.4.15(typescript@5.3.3)
packages/babel-plugin-resolve-type:
dependencies:
'@babel/code-frame':
specifier: ^7.22.10
version: 7.23.5
'@babel/helper-module-imports':
specifier: ^7.22.5
version: 7.22.15
'@babel/helper-plugin-utils':
specifier: ^7.22.5
version: 7.22.5
'@babel/parser':
specifier: ^7.22.11
version: 7.23.6
'@vue/compiler-sfc':
specifier: ^3.4.15
version: 3.4.15
devDependencies:
'@babel/core':
specifier: ^7.22.11
version: 7.23.7
'@types/babel__code-frame':
specifier: ^7.0.3
version: 7.0.6
vue:
specifier: ^3.3.4
version: 3.4.15(typescript@5.3.3)
packages/jsx-explorer:
dependencies:
'@babel/core':
@ -634,6 +680,16 @@ packages:
'@babel/helper-plugin-utils': 7.22.5
dev: true
/@babel/plugin-syntax-typescript@7.23.3(@babel/core@7.23.7):
resolution: {integrity: sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.23.7
'@babel/helper-plugin-utils': 7.22.5
dev: true
/@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.7):
resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==}
engines: {node: '>=6.9.0'}
@ -1837,6 +1893,10 @@ packages:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true
/@types/babel__code-frame@7.0.6:
resolution: {integrity: sha512-Anitqkl3+KrzcW2k77lRlg/GfLZLWXBuNgbEcIOU6M92yw42vsd3xV/Z/yAHEj8m+KUjL6bWOVOFqX8PFPJ4LA==}
dev: true
/@types/babel__core@7.20.5:
resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}
dependencies:
@ -1853,6 +1913,19 @@ packages:
'@babel/types': 7.23.6
dev: true
/@types/babel__helper-module-imports@7.18.3:
resolution: {integrity: sha512-2pyr9Vlriessj2KI85SEF7qma8vA3vzquQMw3wn6kL5lsfjH/YxJ1Noytk4/FJElpYybUbyaC37CVfEgfyme9A==}
dependencies:
'@types/babel__core': 7.20.5
'@types/babel__traverse': 7.20.5
dev: true
/@types/babel__helper-plugin-utils@7.10.3:
resolution: {integrity: sha512-FcLBBPXInqKfULB2nvOBskQPcnSMZ0s1Y2q76u9H1NPPWaLcTeq38xBeKfF/RBUECK333qeaqRdYoPSwW7rTNQ==}
dependencies:
'@types/babel__core': 7.20.5
dev: true
/@types/babel__template@7.4.4:
resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==}
dependencies: