build: 更新ts@10

This commit is contained in:
roymondchen 2026-04-07 14:45:35 +08:00
parent df2d635682
commit 73c676931f
9 changed files with 670 additions and 490 deletions

View File

@ -10,17 +10,17 @@
},
"dependencies": {
"@eslint/js": "^10.0.1",
"@typescript-eslint/parser": "^8.57.1",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.58.0",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@stylistic/eslint-plugin": "^5.10.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-simple-import-sort": "^13.0.0",
"eslint-plugin-vue": "^10.8.0",
"vue-eslint-parser": "^10.3.0",
"eslint-plugin-prettier": "^5.5.4",
"vue-eslint-parser": "^10.4.0",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.4.0",
"typescript-eslint": "^8.57.1"
"typescript-eslint": "^8.58.0"
},
"peerDependencies": {
"eslint": ">=10.0.0",

View File

@ -2,8 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"moduleResolution": "Node",
"module": "CommonJS",
"moduleResolution": "node16",
"module": "node16",
"rootDir": "./src",
"outDir": "./lib",
"declaration": true,

View File

@ -1,7 +1,6 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"baseUrl": "..",
},
"exclude": [
"**/dist/**/*"

1133
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,6 @@ packages:
catalog:
vue: ^3.5.24
'@vue/compiler-sfc': ^3.5.24
vite: ^8.0.0
typescript: "^5.9.3"
vite: ^8.0.3
typescript: "^6.0.2"

View File

@ -1,8 +1,8 @@
import { useEffect, useState } from 'react';
import { cloneDeep } from 'lodash-es';
import type { ChangeEvent, MNode } from '@tmagic/core';
import type TMagicApp from '@tmagic/core';
import type { ChangeEvent, MNode } from '@tmagic/core';
import { isPage, replaceChildNode } from '@tmagic/core';
export const useDsl = (app: TMagicApp | undefined) => {

View File

@ -1,7 +1,7 @@
import { cloneDeep } from 'lodash-es';
import type { Id, MApp } from '@tmagic/core';
import type TMagicApp from '@tmagic/core';
import type { Id, MApp } from '@tmagic/core';
import { getElById, replaceChildNode } from '@tmagic/core';
import type { Magic, RemoveData, SortEventData, UpdateData } from '@tmagic/stage';

View File

@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"baseUrl": "./",
"jsx": "react",
"forceConsistentCasingInFileNames": true,
"types": ["node"],

View File

@ -1,6 +1,5 @@
{
"compilerOptions": {
"baseUrl": ".",
"outDir": "temp",
"target": "ESNext",
"module": "ESNext",