This commit is contained in:
2023-09-23 15:44:35 +00:00
parent 4e629e0b1e
commit ffd3ab681e
55 changed files with 1293 additions and 303 deletions
+13
View File
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
+32 -9
View File
@@ -1,27 +1,50 @@
{
"name": "@sammo/api_def",
"name": "@sammo/client",
"version": "1.0.1",
"description": "",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./gateway": "./dist/gateway.js",
"./def": "./dist/def/index.js"
},
"scripts": {
"build": "tsc --build"
"dev": "vite",
"build": "run-p type-check build-only",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/"
},
"author": "",
"type": "module",
"license": "MIT",
"dependencies": {
"@popperjs/core": "^2.11.8",
"@sammo/util": "workspace:^",
"@strpc/def": "workspace:^"
"@strpc/def": "workspace:^",
"bootstrap": "^5.3.1",
"bootstrap-vue-next": "^0.9.26",
"bson": "^5.4.0",
"date-fns": "^2.30.0",
"ky": "^1.0.1",
"lodash-es": "^4.17.21",
"pinia": "^2.1.4",
"vue": "^3.3.4",
"vue-router": "^4.2.4"
},
"devDependencies": {
"@types/lodash-es": "^4.17.9",
"@types/node": "^20.6.3",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/tsconfig": "^0.4.0",
"eslint": "^8.50.0",
"eslint-plugin-vue": "^9.15.1",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"vite": "^4.4.6",
"vue-tsc": "^1.8.6",
"zod": "^3.22.2"
},
"peerDependencies": {
"zod": "^3.22.2"
}
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"composite": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
}
}
+10 -1
View File
@@ -4,6 +4,9 @@
"rootDir": "./src",
"outDir": "./dist",
},
"exclude": [
],
"references": [
{
@@ -14,6 +17,12 @@
},
{
"path": "../../@strpc/def"
}
},
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
},
]
}