refactor(project): re-adjust the overall folder

This commit is contained in:
vince
2024-07-23 00:03:59 +08:00
parent a1a566cb2f
commit 14538f7ed5
281 changed files with 1365 additions and 1659 deletions

View File

@@ -5,19 +5,3 @@ import 'vue-router';
declare module 'vue-router' {
interface RouteMeta extends IRouteMeta {}
}
declare global {
const __VBEN_ADMIN_METADATA__: {
authorEmail: string;
authorName: string;
authorUrl: string;
buildTime: string;
dependencies: Record<string, string>;
description: string;
devDependencies: Record<string, string>;
homepage: string;
license: string;
repositoryUrl: string;
version: string;
};
}

View File

@@ -11,8 +11,7 @@
"license": "MIT",
"type": "module",
"scripts": {
"build": "pnpm unbuild",
"stub": "pnpm build --stub"
"#build": "pnpm unbuild"
},
"files": [
"dist"
@@ -24,7 +23,8 @@
".": {
"types": "./src/index.ts",
"development": "./src/index.ts",
"default": "./dist/index.mjs"
"#default": "./dist/index.mjs",
"default": "./src/index.ts"
},
"./global": {
"types": "./global.d.ts"