create-soybean 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en_US.md +7 -5
- package/README.md +7 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +27 -15
- package/package.json +12 -24
- package/template-ts-lib/_vite-hooks/pre-commit +1 -0
- package/template-ts-lib/package.json +40 -0
- package/template-ts-lib/pnpm-workspace.yaml +11 -0
- package/{template-tsdown → template-ts-lib}/tsconfig.json +7 -6
- package/template-ts-lib/vite.config.ts +22 -0
- package/template-ubean/README.md +20 -0
- package/template-ubean/_editorconfig +11 -0
- package/template-ubean/_gitattributes +2 -0
- package/template-ubean/_gitignore +32 -0
- package/template-ubean/_vite-hooks/pre-commit +1 -0
- package/template-ubean/eslint.config.mjs +3 -0
- package/template-ubean/package.json +38 -0
- package/template-ubean/pnpm-workspace.yaml +11 -0
- package/template-ubean/public/data.json +5 -0
- package/template-ubean/public/favicon.svg +64 -0
- package/template-ubean/src/app.ts +39 -0
- package/template-ubean/src/components/islands/IslandClock.vue +57 -0
- package/template-ubean/src/components/islands/IslandCounter.vue +66 -0
- package/template-ubean/src/components/islands/IslandMedia.vue +69 -0
- package/template-ubean/src/components/islands/IslandOnly.vue +54 -0
- package/template-ubean/src/components/islands/IslandVisibility.vue +60 -0
- package/template-ubean/src/layouts/admin.vue +13 -0
- package/template-ubean/src/layouts/default.vue +97 -0
- package/template-ubean/src/locales/en.json +31 -0
- package/template-ubean/src/locales/zh.json +31 -0
- package/template-ubean/src/middleware/01.global.ts +9 -0
- package/template-ubean/src/pages/about.vue +135 -0
- package/template-ubean/src/pages/blog/[...slug].vue +30 -0
- package/template-ubean/src/pages/dashboard/index.vue +19 -0
- package/template-ubean/src/pages/data-fetch.vue +95 -0
- package/template-ubean/src/pages/index.vue +117 -0
- package/template-ubean/src/pages/islands-test.vue +155 -0
- package/template-ubean/src/routes/api/hello.ts +60 -0
- package/template-ubean/src/routes/api/users/[id].ts +94 -0
- package/template-ubean/src/routes/api/users/index.ts +79 -0
- package/template-ubean/src/server.ts +9 -0
- package/template-ubean/src/typings/env.d.ts +37 -0
- package/template-ubean/tsconfig.json +26 -0
- package/template-ubean/ubean.config.ts +24 -0
- package/template-ubean/vite.config.ts +9 -0
- package/template-ubean-client/README.md +18 -0
- package/template-ubean-client/_gitignore +32 -0
- package/template-ubean-client/_vite-hooks/pre-commit +1 -0
- package/template-ubean-client/eslint.config.mjs +3 -0
- package/template-ubean-client/index.html +14 -0
- package/template-ubean-client/package.json +37 -0
- package/template-ubean-client/pnpm-workspace.yaml +11 -0
- package/template-ubean-client/public/favicon.svg +64 -0
- package/template-ubean-client/src/App.vue +135 -0
- package/template-ubean-client/src/main.ts +63 -0
- package/template-ubean-client/src/pages/404.vue +36 -0
- package/template-ubean-client/src/pages/about.vue +151 -0
- package/template-ubean-client/src/pages/about2.reuse.ts +8 -0
- package/template-ubean-client/src/pages/blog/[...slug].vue +72 -0
- package/template-ubean-client/src/pages/guide.md +30 -0
- package/template-ubean-client/src/pages/index.vue +101 -0
- package/template-ubean-client/src/pages/users/[id=numeric].vue +80 -0
- package/template-ubean-client/src/pages/users/index.vue +56 -0
- package/template-ubean-client/src/typings/globals.d.ts +17 -0
- package/template-ubean-client/tsconfig.json +25 -0
- package/template-ubean-client/vite.config.ts +20 -0
- package/template-vue/.gitignore +2 -0
- package/template-vue/_vite-hooks/pre-commit +1 -0
- package/template-vue/eslint.config.mjs +3 -0
- package/template-vue/package.json +17 -26
- package/template-vue/pnpm-workspace.yaml +11 -0
- package/template-vue/src/App.vue +3 -3
- package/template-vue/src/main.ts +2 -7
- package/template-vue/uno.config.ts +3 -3
- package/template-vue/vite.config.ts +10 -6
- package/template-vue-lib/_editorconfig +11 -0
- package/template-vue-lib/_gitattributes +2 -0
- package/template-vue-lib/_vite-hooks/pre-commit +1 -0
- package/template-vue-lib/eslint.config.mjs +3 -0
- package/template-vue-lib/package.json +53 -0
- package/template-vue-lib/pnpm-workspace.yaml +11 -0
- package/template-vue-lib/vite.config.ts +33 -0
- package/template-tsdown/_npmrc +0 -1
- package/template-tsdown/_oxfmtrc.json +0 -7
- package/template-tsdown/_oxlintrc.json +0 -16
- package/template-tsdown/package.json +0 -54
- package/template-tsdown/tsdown.config.ts +0 -10
- package/template-vue/_npmrc +0 -1
- package/template-vue/_oxfmtrc.json +0 -7
- package/template-vue/_oxlintrc.json +0 -17
- package/template-vue/er.config.ts +0 -9
- package/template-vue/src/components/HelloWorld.vue +0 -5
- package/template-vue/src/constants/index.ts +0 -0
- package/template-vue/src/layouts/base/index.vue +0 -9
- package/template-vue/src/layouts/blank/index.vue +0 -9
- package/template-vue/src/plugins/assets.ts +0 -4
- package/template-vue/src/router/index.ts +0 -25
- package/template-vue/src/shared/index.ts +0 -0
- package/template-vue/src/store/_plugin.ts +0 -17
- package/template-vue/src/store/counter/index.ts +0 -14
- package/template-vue/src/store/index.ts +0 -12
- package/template-vue/src/styles/app.css +0 -49
- package/template-vue/src/typings/components.d.ts +0 -17
- package/template-vue/src/views/(builtin)/403.vue +0 -5
- package/template-vue/src/views/(builtin)/404.vue +0 -5
- package/template-vue/src/views/(builtin)/login/index.vue +0 -5
- package/template-vue/src/views/(builtin)/wip.vue +0 -5
- package/template-vue/src/views/demo.tsx +0 -7
- package/template-vue/src/views/home/child.vue +0 -5
- package/template-vue/src/views/home/child2.vue +0 -5
- package/template-vue/src/views/home/index.vue +0 -9
- package/template-vue/src/views/list/[id].vue +0 -9
- package/template-vue/src/views/list/add.vue +0 -5
- package/template-vue/src/views/list/components/demo.vue +0 -0
- package/template-vue/src/views/list/components/search-list.vue +0 -5
- package/template-vue/src/views/list/detail2-[[id]]-[[userId]].vue +0 -5
- package/template-vue/src/views/list/detail_[id]_[userId].vue +0 -5
- package/template-vue/src/views/list/edit_[id].vue +0 -5
- package/template-vue/src/views/list/index.vue +0 -5
- package/template-vue/src/views/list/modules/list-table.vue +0 -5
- package/template-vue-tsdown/_npmrc +0 -1
- package/template-vue-tsdown/_oxfmtrc.json +0 -7
- package/template-vue-tsdown/_oxlintrc.json +0 -17
- package/template-vue-tsdown/package.json +0 -64
- package/template-vue-tsdown/tsdown.config.ts +0 -16
- package/template-vue-tsdown/vite.config.ts +0 -7
- /package/{template-tsdown → template-ts-lib}/.github/workflows/release.yml +0 -0
- /package/{template-tsdown → template-ts-lib}/.vscode/extensions.json +0 -0
- /package/{template-tsdown → template-ts-lib}/.vscode/launch.json +0 -0
- /package/{template-tsdown → template-ts-lib}/.vscode/settings.json +0 -0
- /package/{template-tsdown → template-ts-lib}/_editorconfig +0 -0
- /package/{template-tsdown → template-ts-lib}/_gitattributes +0 -0
- /package/{template-tsdown → template-ts-lib}/_gitignore +0 -0
- /package/{template-tsdown → template-ts-lib}/src/index.ts +0 -0
- /package/{template-vue-tsdown → template-ubean-client}/_editorconfig +0 -0
- /package/{template-vue-tsdown → template-ubean-client}/_gitattributes +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/.github/workflows/release.yml +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/.vscode/extensions.json +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/.vscode/launch.json +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/.vscode/settings.json +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/_gitignore +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/playground/index.html +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/playground/src/App.vue +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/playground/src/index.ts +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/playground/src/style.css +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/src/demo-pkg.vue +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/src/index.ts +0 -0
- /package/{template-vue-tsdown → template-vue-lib}/tsconfig.json +0 -0
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "template-tsdown",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"type": "module",
|
|
9
|
-
"main": "./dist/index.js",
|
|
10
|
-
"module": "./dist/index.js",
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.js",
|
|
16
|
-
"require": "./dist/index.js"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"publishConfig": {
|
|
20
|
-
"registry": "https://registry.npmjs.org/"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"build": "tsdown",
|
|
24
|
-
"cleanup": "soy cleanup",
|
|
25
|
-
"commit": "soy git-commit",
|
|
26
|
-
"lint": "oxlint --fix",
|
|
27
|
-
"fmt": "oxfmt",
|
|
28
|
-
"prepare": "simple-git-hooks",
|
|
29
|
-
"publish-pkg": "pnpm publish --access public",
|
|
30
|
-
"release": "soy release",
|
|
31
|
-
"typecheck": "tsc --noEmit --skipLibCheck",
|
|
32
|
-
"upkg": "soy ncu"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@soybeanjs/cli": "^1.7.1",
|
|
37
|
-
"@types/node": "^25.5.0",
|
|
38
|
-
"lint-staged": "^16.4.0",
|
|
39
|
-
"oxfmt": "^0.41.0",
|
|
40
|
-
"oxlint": "^1.56.0",
|
|
41
|
-
"simple-git-hooks": "^2.13.1",
|
|
42
|
-
"tsdown": "^0.21.4",
|
|
43
|
-
"tsx": "^4.21.0",
|
|
44
|
-
"typescript": "^5.9.3"
|
|
45
|
-
},
|
|
46
|
-
"simple-git-hooks": {
|
|
47
|
-
"commit-msg": "pnpm soy git-commit-verify",
|
|
48
|
-
"pre-commit": "pnpm typecheck && pnpm lint-staged"
|
|
49
|
-
},
|
|
50
|
-
"lint-staged": {
|
|
51
|
-
"*": "oxlint --fix && oxfmt"
|
|
52
|
-
},
|
|
53
|
-
"packageManager": "pnpm@10.32.1"
|
|
54
|
-
}
|
package/template-vue/_npmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
shamefully-hoist=true
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
|
-
"categories": {
|
|
4
|
-
"correctness": "error",
|
|
5
|
-
"suspicious": "error"
|
|
6
|
-
},
|
|
7
|
-
"plugins": ["eslint", "typescript", "unicorn", "oxc", "import", "vue"],
|
|
8
|
-
"rules": {
|
|
9
|
-
"unicorn/consistent-function-scoping": "off",
|
|
10
|
-
"unicorn/no-array-reverse": "off",
|
|
11
|
-
"unicorn/no-array-sort": "off",
|
|
12
|
-
"unicorn/no-empty-file": "off",
|
|
13
|
-
"import/no-unassigned-import": "off",
|
|
14
|
-
"unicorn/require-module-specifiers": "off",
|
|
15
|
-
"vue/prefer-import-from-vue": "off"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'elegant-router';
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
pageInclude: ['**/*.vue', '**/*.tsx', '**/*.jsx'],
|
|
5
|
-
reuseRoutes: ['/reuse1', '/reuse2/:id', '/reuse3/:id?', '/reuse4/:id?/:name?'],
|
|
6
|
-
getRouteMeta: node => ({
|
|
7
|
-
title: node.name
|
|
8
|
-
})
|
|
9
|
-
});
|
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue';
|
|
2
|
-
import { createRouter, createWebHistory } from 'vue-router';
|
|
3
|
-
import type { Router } from 'vue-router';
|
|
4
|
-
import { routes } from './_generated/routes';
|
|
5
|
-
import { transformToVueRoutes } from './_generated/transformer';
|
|
6
|
-
import { layouts, views } from './_generated/imports';
|
|
7
|
-
|
|
8
|
-
export const router = createRouter({
|
|
9
|
-
history: createWebHistory(),
|
|
10
|
-
routes: transformToVueRoutes(routes, layouts, views)
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Router guard
|
|
15
|
-
*
|
|
16
|
-
* @param router - Router instance
|
|
17
|
-
*/
|
|
18
|
-
function createRouterGuard(_router: Router) {}
|
|
19
|
-
|
|
20
|
-
/** Setup Vue Router */
|
|
21
|
-
export async function setupRouter(app: App) {
|
|
22
|
-
app.use(router);
|
|
23
|
-
createRouterGuard(router);
|
|
24
|
-
await router.isReady();
|
|
25
|
-
}
|
|
File without changes
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { PiniaPluginContext } from 'pinia';
|
|
2
|
-
import { klona } from 'klona/full';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* The plugin reset the state of the store which is written by setup syntax
|
|
6
|
-
*
|
|
7
|
-
* @param context
|
|
8
|
-
*/
|
|
9
|
-
export function resetSetupStore(context: PiniaPluginContext) {
|
|
10
|
-
const { $state } = context.store;
|
|
11
|
-
|
|
12
|
-
const defaultStore = klona($state);
|
|
13
|
-
|
|
14
|
-
context.store.$reset = () => {
|
|
15
|
-
context.store.$patch(defaultStore);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { computed, ref } from 'vue';
|
|
2
|
-
import { defineStore } from 'pinia';
|
|
3
|
-
|
|
4
|
-
export const useCounterStore = defineStore('Counter', () => {
|
|
5
|
-
const count = ref(0);
|
|
6
|
-
|
|
7
|
-
const doubleCount = computed(() => count.value * 2);
|
|
8
|
-
|
|
9
|
-
function increment() {
|
|
10
|
-
count.value += 1;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return { count, doubleCount, increment };
|
|
14
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue';
|
|
2
|
-
import { createPinia } from 'pinia';
|
|
3
|
-
import { resetSetupStore } from './_plugin';
|
|
4
|
-
|
|
5
|
-
/** Setup Vue store plugin pinia */
|
|
6
|
-
export function setupStore(app: App) {
|
|
7
|
-
const store = createPinia();
|
|
8
|
-
|
|
9
|
-
store.use(resetSetupStore);
|
|
10
|
-
|
|
11
|
-
app.use(store);
|
|
12
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
html,
|
|
2
|
-
body,
|
|
3
|
-
#app {
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
html {
|
|
7
|
-
overflow-x: hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
html {
|
|
11
|
-
--scrollbar-color-light: rgba(0, 0, 0, 0.5);
|
|
12
|
-
--scrollbar-color-dark: rgba(255, 255, 255, 0.5);
|
|
13
|
-
--scrollbar-size: 8px;
|
|
14
|
-
--scrollbar-color: var(--scrollbar-color-light);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html.dark {
|
|
18
|
-
--scrollbar-color: var(--scrollbar-color-dark);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
* {
|
|
22
|
-
scrollbar-width: thin;
|
|
23
|
-
scrollbar-color: var(--scrollbar-color) transparent;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* for safari */
|
|
27
|
-
.dark * {
|
|
28
|
-
color-scheme: dark;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
*::-webkit-scrollbar-thumb {
|
|
32
|
-
background-color: var(--scrollbar-color);
|
|
33
|
-
border-radius: var(--scrollbar-size);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
*::-webkit-scrollbar-thumb:hover {
|
|
37
|
-
background-color: var(--scrollbar-color);
|
|
38
|
-
border-radius: var(--scrollbar-size);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
*::-webkit-scrollbar {
|
|
42
|
-
width: var(--scrollbar-size);
|
|
43
|
-
height: var(--scrollbar-size);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
*::-webkit-scrollbar-track-piece {
|
|
47
|
-
background-color: transparent;
|
|
48
|
-
border-radius: 0;
|
|
49
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
// Generated by unplugin-vue-components
|
|
4
|
-
// Read more: https://github.com/vuejs/core/pull/3399
|
|
5
|
-
// biome-ignore lint: disable
|
|
6
|
-
export {};
|
|
7
|
-
|
|
8
|
-
/* prettier-ignore */
|
|
9
|
-
declare module 'vue' {
|
|
10
|
-
export interface GlobalComponents {
|
|
11
|
-
HelloWorld: typeof import('./../components/HelloWorld.vue')['default']
|
|
12
|
-
RouterLink: typeof import('vue-router')['RouterLink']
|
|
13
|
-
RouterView: typeof import('vue-router')['RouterView']
|
|
14
|
-
SButton: typeof import('@soybeanjs/ui')['SButton']
|
|
15
|
-
SCard: typeof import('@soybeanjs/ui')['SCard']
|
|
16
|
-
}
|
|
17
|
-
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
shamefully-hoist=true
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
|
-
"categories": {
|
|
4
|
-
"correctness": "error",
|
|
5
|
-
"suspicious": "error"
|
|
6
|
-
},
|
|
7
|
-
"plugins": ["eslint", "typescript", "unicorn", "oxc", "import", "vue"],
|
|
8
|
-
"rules": {
|
|
9
|
-
"unicorn/consistent-function-scoping": "off",
|
|
10
|
-
"unicorn/no-array-reverse": "off",
|
|
11
|
-
"unicorn/no-array-sort": "off",
|
|
12
|
-
"unicorn/no-empty-file": "off",
|
|
13
|
-
"import/no-unassigned-import": "off",
|
|
14
|
-
"unicorn/require-module-specifiers": "off",
|
|
15
|
-
"vue/prefer-import-from-vue": "off"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "template-vue-tsdown",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"files": [
|
|
6
|
-
"dist"
|
|
7
|
-
],
|
|
8
|
-
"type": "module",
|
|
9
|
-
"main": "./dist/index.js",
|
|
10
|
-
"module": "./dist/index.js",
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"import": "./dist/index.js",
|
|
16
|
-
"require": "./dist/index.js"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"publishConfig": {
|
|
20
|
-
"registry": "https://registry.npmjs.org/"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"build": "tsdown",
|
|
24
|
-
"cleanup": "soy cleanup",
|
|
25
|
-
"commit": "soy git-commit",
|
|
26
|
-
"dev": "tsdown --watch",
|
|
27
|
-
"lint": "oxlint --fix",
|
|
28
|
-
"fmt": "oxfmt",
|
|
29
|
-
"play": "vite",
|
|
30
|
-
"prepare": "simple-git-hooks",
|
|
31
|
-
"publish-pkg": "pnpm publish --access public",
|
|
32
|
-
"release": "soy release",
|
|
33
|
-
"test": "vitest",
|
|
34
|
-
"typecheck": "tsc --noEmit --skipLibCheck",
|
|
35
|
-
"upkg": "soy ncu"
|
|
36
|
-
},
|
|
37
|
-
"dependencies": {},
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"@soybeanjs/cli": "^1.7.1",
|
|
40
|
-
"@types/node": "^25.5.0",
|
|
41
|
-
"@vue/test-utils": "^2.4.6",
|
|
42
|
-
"happy-dom": "^20.8.4",
|
|
43
|
-
"lint-staged": "^16.4.0",
|
|
44
|
-
"oxfmt": "^0.41.0",
|
|
45
|
-
"oxlint": "^1.56.0",
|
|
46
|
-
"simple-git-hooks": "^2.13.1",
|
|
47
|
-
"tsdown": "^0.21.4",
|
|
48
|
-
"tsx": "^4.21.0",
|
|
49
|
-
"typescript": "^5.9.3",
|
|
50
|
-
"unplugin-vue": "^7.1.1",
|
|
51
|
-
"unplugin-vue-jsx": "^0.8.1",
|
|
52
|
-
"vite": "^8.0.1",
|
|
53
|
-
"vue": "^3.5.30",
|
|
54
|
-
"vue-tsc": "^3.2.6"
|
|
55
|
-
},
|
|
56
|
-
"simple-git-hooks": {
|
|
57
|
-
"commit-msg": "pnpm soy git-commit-verify",
|
|
58
|
-
"pre-commit": "pnpm typecheck && pnpm lint-staged"
|
|
59
|
-
},
|
|
60
|
-
"lint-staged": {
|
|
61
|
-
"*": "oxlint --fix && oxfmt"
|
|
62
|
-
},
|
|
63
|
-
"packageManager": "pnpm@10.32.1"
|
|
64
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'tsdown';
|
|
2
|
-
import unpluginVue from 'unplugin-vue/rolldown';
|
|
3
|
-
import unpluginVueJsx from 'unplugin-vue-jsx/rolldown';
|
|
4
|
-
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
entry: ['src/index.ts'],
|
|
7
|
-
platform: 'neutral',
|
|
8
|
-
external: ['vue'],
|
|
9
|
-
clean: true,
|
|
10
|
-
dts: {
|
|
11
|
-
vue: true
|
|
12
|
-
},
|
|
13
|
-
plugins: [unpluginVue({ isProduction: true }), unpluginVueJsx()],
|
|
14
|
-
sourcemap: false,
|
|
15
|
-
minify: false
|
|
16
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|