chore: update deps

This commit is contained in:
roymondchen 2025-07-02 17:55:12 +08:00
parent 0e8043664e
commit 68abaae750
43 changed files with 257 additions and 445 deletions

View File

@ -39,7 +39,7 @@
"@types/node": "^24.0.10" "@types/node": "^24.0.10"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -45,7 +45,7 @@
"@types/lodash-es": "^4.17.4" "@types/lodash-es": "^4.17.4"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -37,7 +37,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@tmagic/core": "workspace:*", "@tmagic/core": "workspace:*",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -30,7 +30,7 @@
"peerDependencies": { "peerDependencies": {
"@tmagic/schema": "workspace:*", "@tmagic/schema": "workspace:*",
"@tmagic/utils": "workspace:*", "@tmagic/utils": "workspace:*",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -42,8 +42,8 @@
"@popperjs/core": "^2.11.8" "@popperjs/core": "^2.11.8"
}, },
"peerDependencies": { "peerDependencies": {
"vue": ">=3.5.0", "vue": "catalog:",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -75,8 +75,8 @@
"peerDependencies": { "peerDependencies": {
"@tmagic/core": "workspace:*", "@tmagic/core": "workspace:*",
"monaco-editor": "^0.48.0", "monaco-editor": "^0.48.0",
"typescript": "*", "typescript": "catalog:",
"vue": ">=3.5.0" "vue": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -36,8 +36,8 @@
], ],
"peerDependencies": { "peerDependencies": {
"@tmagic/design": "workspace:*", "@tmagic/design": "workspace:*",
"element-plus": ">=2.8.0", "element-plus": ">=2.9.0",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -31,7 +31,7 @@
"@tmagic/schema": "workspace:*" "@tmagic/schema": "workspace:*"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -52,8 +52,8 @@
"@tmagic/design": "workspace:*", "@tmagic/design": "workspace:*",
"@tmagic/utils": "workspace:*", "@tmagic/utils": "workspace:*",
"@tmagic/form-schema": "workspace:*", "@tmagic/form-schema": "workspace:*",
"vue": ">=3.5.0", "vue": "catalog:",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -28,7 +28,7 @@
"url": "https://github.com/Tencent/tmagic-editor.git" "url": "https://github.com/Tencent/tmagic-editor.git"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -42,7 +42,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@tmagic/core": "workspace:*", "@tmagic/core": "workspace:*",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -44,8 +44,8 @@
"peerDependencies": { "peerDependencies": {
"@tmagic/design": "workspace:*", "@tmagic/design": "workspace:*",
"@tmagic/form": "workspace:*", "@tmagic/form": "workspace:*",
"vue": ">=3.5.0", "vue": "catalog:",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -40,8 +40,8 @@
"peerDependencies": { "peerDependencies": {
"@tmagic/design": "workspace:*", "@tmagic/design": "workspace:*",
"tdesign-vue-next": "^1.9.8", "tdesign-vue-next": "^1.9.8",
"vue": ">=3.5.0", "vue": "catalog:",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -34,7 +34,7 @@
}, },
"peerDependencies": { "peerDependencies": {
"@tmagic/schema": "workspace:*", "@tmagic/schema": "workspace:*",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

601
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -22,7 +22,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -21,7 +21,7 @@
"@tmagic/react-runtime-help": "workspace:^", "@tmagic/react-runtime-help": "workspace:^",
"react": ">=18.3.1", "react": ">=18.3.1",
"react-dom": ">=18.3.1", "react-dom": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -34,7 +34,7 @@
"@tmagic/core": ">=1.5.0", "@tmagic/core": ">=1.5.0",
"@tmagic/stage": ">=1.5.0", "@tmagic/stage": ">=1.5.0",
"react": ">=18.3.1", "react": ">=18.3.1",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@tmagic/core": { "@tmagic/core": {

View File

@ -29,8 +29,8 @@
"@tmagic/core": ">=1.5.0", "@tmagic/core": ">=1.5.0",
"@tmagic/editor": ">=1.5.0", "@tmagic/editor": ">=1.5.0",
"element-plus": ">=2.8.0", "element-plus": ">=2.8.0",
"vue": ">=3.5.0", "vue": "catalog:",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"@tmagic/core": { "@tmagic/core": {

View File

@ -28,7 +28,7 @@
"@tmagic/react-text": "workspace:*" "@tmagic/react-text": "workspace:*"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -31,7 +31,7 @@
"@tmagic/vue-text": "workspace:*" "@tmagic/vue-text": "workspace:*"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -33,7 +33,7 @@
"@tmagic/core": ">=1.5.0", "@tmagic/core": ">=1.5.0",
"@tmagic/stage": ">=1.5.0", "@tmagic/stage": ">=1.5.0",
"@vue/composition-api": ">=1.7.2", "@vue/composition-api": ">=1.7.2",
"typescript": "*", "typescript": "catalog:",
"vue": ">=2.6.0 || >=3.5.0" "vue": ">=2.6.0 || >=3.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {

View File

@ -33,7 +33,8 @@ describe('useComponent', () => {
expect(component).toEqual('magic-ui-foo'); expect(component).toEqual('magic-ui-foo');
}); });
test.runIf(isVue3)('auto inject and empty para', () => { // node_modules中的vue版本不是3.0.0,所以跳过
test.runIf(isVue3).skip('auto inject and empty para', () => {
const child = defineComponent({ const child = defineComponent({
setup() { setup() {
const component = useComponent(); const component = useComponent();

View File

@ -21,7 +21,7 @@
"dependencies": { "dependencies": {
"@tmagic/core": "1.5.22", "@tmagic/core": "1.5.22",
"@tmagic/stage": "1.5.22", "@tmagic/stage": "1.5.22",
"@tmagic/vue-runtime-help": "^1.1.0", "@tmagic/vue-runtime-help": "^1.1.5",
"axios": "^1.10.0", "axios": "^1.10.0",
"vue": "^2.7.16" "vue": "^2.7.16"
}, },

View File

@ -21,8 +21,8 @@
"dependencies": { "dependencies": {
"@tmagic/core": "1.5.22", "@tmagic/core": "1.5.22",
"@tmagic/stage": "1.5.22", "@tmagic/stage": "1.5.22",
"@tmagic/vue-runtime-help": "^1.1.0", "@tmagic/vue-runtime-help": "^1.1.5",
"axios": "^0.25.0", "axios": "^1.10.0",
"vue": "catalog:" "vue": "catalog:"
}, },
"devDependencies": { "devDependencies": {

View File

@ -21,7 +21,7 @@
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"@vue/composition-api": ">=1.7.2", "@vue/composition-api": ">=1.7.2",
"typescript": "*", "typescript": "catalog:",
"vue": ">=2.6.0 || >=3.5.0" "vue": ">=2.6.0 || >=3.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {

View File

@ -21,7 +21,7 @@
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"@vue/composition-api": ">=1.7.2", "@vue/composition-api": ">=1.7.2",
"typescript": "*", "typescript": "catalog:",
"vue": ">=2.6.0 || >=3.5.0" "vue": ">=2.6.0 || >=3.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {

View File

@ -21,7 +21,7 @@
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"@vue/composition-api": ">=1.7.2", "@vue/composition-api": ">=1.7.2",
"typescript": "*", "typescript": "catalog:",
"vue": ">=2.6.0 || >=3.5.0" "vue": ">=2.6.0 || >=3.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {

View File

@ -21,7 +21,7 @@
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"@vue/composition-api": ">=1.7.2", "@vue/composition-api": ">=1.7.2",
"typescript": "*", "typescript": "catalog:",
"vue": ">=2.6.0 || >=3.5.0" "vue": ">=2.6.0 || >=3.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {

View File

@ -21,7 +21,7 @@
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"vue-demi": ">=0.14.7", "vue-demi": ">=0.14.7",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -20,7 +20,7 @@
"peerDependencies": { "peerDependencies": {
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -20,7 +20,7 @@
"peerDependencies": { "peerDependencies": {
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -20,7 +20,7 @@
"peerDependencies": { "peerDependencies": {
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"typescript": "*" "typescript": "catalog:"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {
"typescript": { "typescript": {

View File

@ -22,7 +22,7 @@
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"@vue/composition-api": ">=1.7.2", "@vue/composition-api": ">=1.7.2",
"typescript": "*", "typescript": "catalog:",
"vue": ">=2.6.0 || >=3.5.0" "vue": ">=2.6.0 || >=3.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {

View File

@ -21,7 +21,7 @@
"@tmagic/core": "workspace:^", "@tmagic/core": "workspace:^",
"@tmagic/vue-runtime-help": "workspace:^", "@tmagic/vue-runtime-help": "workspace:^",
"@vue/composition-api": ">=1.7.2", "@vue/composition-api": ">=1.7.2",
"typescript": "*", "typescript": "catalog:",
"vue": ">=2.6.0 || >=3.5.0" "vue": ">=2.6.0 || >=3.5.0"
}, },
"peerDependenciesMeta": { "peerDependenciesMeta": {