update dependencies
This commit is contained in:
10
.gitignore
vendored
10
.gitignore
vendored
@@ -1,3 +1,9 @@
|
||||
/.eslintrc-auto-import.json
|
||||
/components.d.ts
|
||||
/examples/auto-imports.d.ts
|
||||
/AGENTS.md
|
||||
/.npmrc
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
@@ -22,7 +28,3 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
/.eslintrc-auto-import.json
|
||||
/components.d.ts
|
||||
/examples/auto-imports.d.ts
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import { createApp } from "vue";
|
||||
import Root from "./Root.vue";
|
||||
import TimiWebUI, { axios, VPopup } from "timi-web"; // 本地开发
|
||||
|
||||
import "timi-web/style.css";
|
||||
import "tdesign-mobile-vue/es/style/index.css";
|
||||
import { axios, VPopup } from "timi-web";
|
||||
|
||||
axios.defaults.baseURL = "http://localhost:8091";
|
||||
|
||||
const app = createApp(Root);
|
||||
app.use(TimiWebUI);
|
||||
app.directive("popup", VPopup);
|
||||
app.mount("#root");
|
||||
|
||||
15
package.json
15
package.json
@@ -11,7 +11,11 @@
|
||||
"dev": "vite",
|
||||
"dev:doc": "pnpm run -C docs dev",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"build:doc": "pnpm run -C docs build"
|
||||
"build:doc": "pnpm run -C docs build",
|
||||
"pub": "pnpm run build && npm publish --registry=https://nexus.imyeyu.com/repository/npm-timi/"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://nexus.imyeyu.com/repository/npm-timi/"
|
||||
},
|
||||
"files": [
|
||||
"dist/**",
|
||||
@@ -22,6 +26,7 @@
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/src/index.d.ts",
|
||||
"import": "./dist/timi-tdesign-mobile.mjs",
|
||||
"require": "./dist/timi-tdesign-mobile.umd.js"
|
||||
},
|
||||
@@ -44,7 +49,7 @@
|
||||
"@vue/compiler-sfc": "^3.5.16",
|
||||
"@vue/eslint-config-prettier": "^10.2.0",
|
||||
"@vue/eslint-config-typescript": "^14.4.0",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint": "9.26.0",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-plugin-prettier": "^5.2.3",
|
||||
"eslint-plugin-promise": "^7.2.1",
|
||||
@@ -57,9 +62,9 @@
|
||||
"vite-plugin-dts": "^4.5.4",
|
||||
"vite-plugin-vue-setup-extend": "^0.4.0",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
"vite": "6.3.4",
|
||||
"vite": "7.1.11",
|
||||
"vue-tsc": "^2.2.10",
|
||||
"tdesign-mobile-vue": "^1.9.0",
|
||||
"timi-web": "link:..\\timi-web"
|
||||
"tdesign-mobile-vue": "^1.13.2",
|
||||
"timi-web": "1.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
1090
pnpm-lock.yaml
generated
1090
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||
/* Linting */
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"src/**/*.tsx",
|
||||
"src/**/*.vue"
|
||||
]
|
||||
}
|
||||
@@ -17,13 +17,10 @@
|
||||
"DOM.Iterable"
|
||||
],
|
||||
"paths": {
|
||||
"~/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"@/*": [
|
||||
"./examples/*"
|
||||
],
|
||||
"timi-tdesign-pc": [
|
||||
"timi-tdesign-mobile": [
|
||||
"./src/index.ts"
|
||||
]
|
||||
}
|
||||
@@ -34,7 +31,8 @@
|
||||
"src/**/*.vue",
|
||||
"examples/**/*.ts",
|
||||
"examples/**/*.d.ts",
|
||||
"examples/**/*.vue"
|
||||
"examples/**/*.vue",
|
||||
"node_modules/.pnpm/unplugin-auto-import@19.1.2/node_modules/unplugin-auto-import/auto-imports.d.ts"
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node"
|
||||
"moduleResolution": "bundler"
|
||||
},
|
||||
"include": [
|
||||
"vite.config.ts"
|
||||
|
||||
@@ -12,14 +12,6 @@ const alias: Alias[] = [
|
||||
find: "@",
|
||||
replacement: resolve(__dirname, "./examples")
|
||||
},
|
||||
{
|
||||
find: "~",
|
||||
replacement: resolve(__dirname, "./src")
|
||||
},
|
||||
{
|
||||
find: "*",
|
||||
replacement: resolve("")
|
||||
},
|
||||
{
|
||||
find: /^timi-tdesign-mobile(\/(es|lib))?$/,
|
||||
replacement: resolve(__dirname, "./src/index.ts")
|
||||
@@ -54,15 +46,7 @@ export default defineConfig({
|
||||
}
|
||||
}
|
||||
},
|
||||
minify: "terser",
|
||||
terserOptions: {
|
||||
compress: {
|
||||
// eslint-disable-next-line camelcase
|
||||
drop_console: false,
|
||||
// eslint-disable-next-line camelcase
|
||||
drop_debugger: false
|
||||
}
|
||||
}
|
||||
minify: "terser"
|
||||
},
|
||||
plugins: [
|
||||
vue({
|
||||
|
||||
Reference in New Issue
Block a user