mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-04-23 02:08:53 +00:00
build: 更新ts@10
This commit is contained in:
parent
df2d635682
commit
73c676931f
@ -10,17 +10,17 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint/js": "^10.0.1",
|
"@eslint/js": "^10.0.1",
|
||||||
"@typescript-eslint/parser": "^8.57.1",
|
"@typescript-eslint/parser": "^8.58.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
||||||
"@stylistic/eslint-plugin": "^5.10.0",
|
"@stylistic/eslint-plugin": "^5.10.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
"eslint-config-prettier": "^10.1.8",
|
||||||
"eslint-plugin-import": "^2.32.0",
|
"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",
|
"eslint-plugin-vue": "^10.8.0",
|
||||||
"vue-eslint-parser": "^10.3.0",
|
"vue-eslint-parser": "^10.4.0",
|
||||||
"eslint-plugin-prettier": "^5.5.4",
|
"eslint-plugin-prettier": "^5.5.5",
|
||||||
"globals": "^17.4.0",
|
"globals": "^17.4.0",
|
||||||
"typescript-eslint": "^8.57.1"
|
"typescript-eslint": "^8.58.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": ">=10.0.0",
|
"eslint": ">=10.0.0",
|
||||||
|
|||||||
@ -2,8 +2,8 @@
|
|||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "node16",
|
||||||
"module": "CommonJS",
|
"module": "node16",
|
||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"outDir": "./lib",
|
"outDir": "./lib",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "../tsconfig.json",
|
"extends": "../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "..",
|
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"**/dist/**/*"
|
"**/dist/**/*"
|
||||||
|
|||||||
1133
pnpm-lock.yaml
generated
1133
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -9,6 +9,6 @@ packages:
|
|||||||
catalog:
|
catalog:
|
||||||
vue: ^3.5.24
|
vue: ^3.5.24
|
||||||
'@vue/compiler-sfc': ^3.5.24
|
'@vue/compiler-sfc': ^3.5.24
|
||||||
vite: ^8.0.0
|
vite: ^8.0.3
|
||||||
typescript: "^5.9.3"
|
typescript: "^6.0.2"
|
||||||
|
|
||||||
@ -1,8 +1,8 @@
|
|||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { cloneDeep } from 'lodash-es';
|
import { cloneDeep } from 'lodash-es';
|
||||||
|
|
||||||
import type { ChangeEvent, MNode } from '@tmagic/core';
|
|
||||||
import type TMagicApp from '@tmagic/core';
|
import type TMagicApp from '@tmagic/core';
|
||||||
|
import type { ChangeEvent, MNode } from '@tmagic/core';
|
||||||
import { isPage, replaceChildNode } from '@tmagic/core';
|
import { isPage, replaceChildNode } from '@tmagic/core';
|
||||||
|
|
||||||
export const useDsl = (app: TMagicApp | undefined) => {
|
export const useDsl = (app: TMagicApp | undefined) => {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { cloneDeep } from 'lodash-es';
|
import { cloneDeep } from 'lodash-es';
|
||||||
|
|
||||||
import type { Id, MApp } from '@tmagic/core';
|
|
||||||
import type TMagicApp from '@tmagic/core';
|
import type TMagicApp from '@tmagic/core';
|
||||||
|
import type { Id, MApp } from '@tmagic/core';
|
||||||
import { getElById, replaceChildNode } from '@tmagic/core';
|
import { getElById, replaceChildNode } from '@tmagic/core';
|
||||||
import type { Magic, RemoveData, SortEventData, UpdateData } from '@tmagic/stage';
|
import type { Magic, RemoveData, SortEventData, UpdateData } from '@tmagic/stage';
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./",
|
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"types": ["node"],
|
"types": ["node"],
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
|
||||||
"outDir": "temp",
|
"outDir": "temp",
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user