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.
Files changed (148) hide show
  1. package/README.en_US.md +7 -5
  2. package/README.md +7 -5
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.js +27 -15
  5. package/package.json +12 -24
  6. package/template-ts-lib/_vite-hooks/pre-commit +1 -0
  7. package/template-ts-lib/package.json +40 -0
  8. package/template-ts-lib/pnpm-workspace.yaml +11 -0
  9. package/{template-tsdown → template-ts-lib}/tsconfig.json +7 -6
  10. package/template-ts-lib/vite.config.ts +22 -0
  11. package/template-ubean/README.md +20 -0
  12. package/template-ubean/_editorconfig +11 -0
  13. package/template-ubean/_gitattributes +2 -0
  14. package/template-ubean/_gitignore +32 -0
  15. package/template-ubean/_vite-hooks/pre-commit +1 -0
  16. package/template-ubean/eslint.config.mjs +3 -0
  17. package/template-ubean/package.json +38 -0
  18. package/template-ubean/pnpm-workspace.yaml +11 -0
  19. package/template-ubean/public/data.json +5 -0
  20. package/template-ubean/public/favicon.svg +64 -0
  21. package/template-ubean/src/app.ts +39 -0
  22. package/template-ubean/src/components/islands/IslandClock.vue +57 -0
  23. package/template-ubean/src/components/islands/IslandCounter.vue +66 -0
  24. package/template-ubean/src/components/islands/IslandMedia.vue +69 -0
  25. package/template-ubean/src/components/islands/IslandOnly.vue +54 -0
  26. package/template-ubean/src/components/islands/IslandVisibility.vue +60 -0
  27. package/template-ubean/src/layouts/admin.vue +13 -0
  28. package/template-ubean/src/layouts/default.vue +97 -0
  29. package/template-ubean/src/locales/en.json +31 -0
  30. package/template-ubean/src/locales/zh.json +31 -0
  31. package/template-ubean/src/middleware/01.global.ts +9 -0
  32. package/template-ubean/src/pages/about.vue +135 -0
  33. package/template-ubean/src/pages/blog/[...slug].vue +30 -0
  34. package/template-ubean/src/pages/dashboard/index.vue +19 -0
  35. package/template-ubean/src/pages/data-fetch.vue +95 -0
  36. package/template-ubean/src/pages/index.vue +117 -0
  37. package/template-ubean/src/pages/islands-test.vue +155 -0
  38. package/template-ubean/src/routes/api/hello.ts +60 -0
  39. package/template-ubean/src/routes/api/users/[id].ts +94 -0
  40. package/template-ubean/src/routes/api/users/index.ts +79 -0
  41. package/template-ubean/src/server.ts +9 -0
  42. package/template-ubean/src/typings/env.d.ts +37 -0
  43. package/template-ubean/tsconfig.json +26 -0
  44. package/template-ubean/ubean.config.ts +24 -0
  45. package/template-ubean/vite.config.ts +9 -0
  46. package/template-ubean-client/README.md +18 -0
  47. package/template-ubean-client/_gitignore +32 -0
  48. package/template-ubean-client/_vite-hooks/pre-commit +1 -0
  49. package/template-ubean-client/eslint.config.mjs +3 -0
  50. package/template-ubean-client/index.html +14 -0
  51. package/template-ubean-client/package.json +37 -0
  52. package/template-ubean-client/pnpm-workspace.yaml +11 -0
  53. package/template-ubean-client/public/favicon.svg +64 -0
  54. package/template-ubean-client/src/App.vue +135 -0
  55. package/template-ubean-client/src/main.ts +63 -0
  56. package/template-ubean-client/src/pages/404.vue +36 -0
  57. package/template-ubean-client/src/pages/about.vue +151 -0
  58. package/template-ubean-client/src/pages/about2.reuse.ts +8 -0
  59. package/template-ubean-client/src/pages/blog/[...slug].vue +72 -0
  60. package/template-ubean-client/src/pages/guide.md +30 -0
  61. package/template-ubean-client/src/pages/index.vue +101 -0
  62. package/template-ubean-client/src/pages/users/[id=numeric].vue +80 -0
  63. package/template-ubean-client/src/pages/users/index.vue +56 -0
  64. package/template-ubean-client/src/typings/globals.d.ts +17 -0
  65. package/template-ubean-client/tsconfig.json +25 -0
  66. package/template-ubean-client/vite.config.ts +20 -0
  67. package/template-vue/.gitignore +2 -0
  68. package/template-vue/_vite-hooks/pre-commit +1 -0
  69. package/template-vue/eslint.config.mjs +3 -0
  70. package/template-vue/package.json +17 -26
  71. package/template-vue/pnpm-workspace.yaml +11 -0
  72. package/template-vue/src/App.vue +3 -3
  73. package/template-vue/src/main.ts +2 -7
  74. package/template-vue/uno.config.ts +3 -3
  75. package/template-vue/vite.config.ts +10 -6
  76. package/template-vue-lib/_editorconfig +11 -0
  77. package/template-vue-lib/_gitattributes +2 -0
  78. package/template-vue-lib/_vite-hooks/pre-commit +1 -0
  79. package/template-vue-lib/eslint.config.mjs +3 -0
  80. package/template-vue-lib/package.json +53 -0
  81. package/template-vue-lib/pnpm-workspace.yaml +11 -0
  82. package/template-vue-lib/vite.config.ts +33 -0
  83. package/template-tsdown/_npmrc +0 -1
  84. package/template-tsdown/_oxfmtrc.json +0 -7
  85. package/template-tsdown/_oxlintrc.json +0 -16
  86. package/template-tsdown/package.json +0 -54
  87. package/template-tsdown/tsdown.config.ts +0 -10
  88. package/template-vue/_npmrc +0 -1
  89. package/template-vue/_oxfmtrc.json +0 -7
  90. package/template-vue/_oxlintrc.json +0 -17
  91. package/template-vue/er.config.ts +0 -9
  92. package/template-vue/src/components/HelloWorld.vue +0 -5
  93. package/template-vue/src/constants/index.ts +0 -0
  94. package/template-vue/src/layouts/base/index.vue +0 -9
  95. package/template-vue/src/layouts/blank/index.vue +0 -9
  96. package/template-vue/src/plugins/assets.ts +0 -4
  97. package/template-vue/src/router/index.ts +0 -25
  98. package/template-vue/src/shared/index.ts +0 -0
  99. package/template-vue/src/store/_plugin.ts +0 -17
  100. package/template-vue/src/store/counter/index.ts +0 -14
  101. package/template-vue/src/store/index.ts +0 -12
  102. package/template-vue/src/styles/app.css +0 -49
  103. package/template-vue/src/typings/components.d.ts +0 -17
  104. package/template-vue/src/views/(builtin)/403.vue +0 -5
  105. package/template-vue/src/views/(builtin)/404.vue +0 -5
  106. package/template-vue/src/views/(builtin)/login/index.vue +0 -5
  107. package/template-vue/src/views/(builtin)/wip.vue +0 -5
  108. package/template-vue/src/views/demo.tsx +0 -7
  109. package/template-vue/src/views/home/child.vue +0 -5
  110. package/template-vue/src/views/home/child2.vue +0 -5
  111. package/template-vue/src/views/home/index.vue +0 -9
  112. package/template-vue/src/views/list/[id].vue +0 -9
  113. package/template-vue/src/views/list/add.vue +0 -5
  114. package/template-vue/src/views/list/components/demo.vue +0 -0
  115. package/template-vue/src/views/list/components/search-list.vue +0 -5
  116. package/template-vue/src/views/list/detail2-[[id]]-[[userId]].vue +0 -5
  117. package/template-vue/src/views/list/detail_[id]_[userId].vue +0 -5
  118. package/template-vue/src/views/list/edit_[id].vue +0 -5
  119. package/template-vue/src/views/list/index.vue +0 -5
  120. package/template-vue/src/views/list/modules/list-table.vue +0 -5
  121. package/template-vue-tsdown/_npmrc +0 -1
  122. package/template-vue-tsdown/_oxfmtrc.json +0 -7
  123. package/template-vue-tsdown/_oxlintrc.json +0 -17
  124. package/template-vue-tsdown/package.json +0 -64
  125. package/template-vue-tsdown/tsdown.config.ts +0 -16
  126. package/template-vue-tsdown/vite.config.ts +0 -7
  127. /package/{template-tsdown → template-ts-lib}/.github/workflows/release.yml +0 -0
  128. /package/{template-tsdown → template-ts-lib}/.vscode/extensions.json +0 -0
  129. /package/{template-tsdown → template-ts-lib}/.vscode/launch.json +0 -0
  130. /package/{template-tsdown → template-ts-lib}/.vscode/settings.json +0 -0
  131. /package/{template-tsdown → template-ts-lib}/_editorconfig +0 -0
  132. /package/{template-tsdown → template-ts-lib}/_gitattributes +0 -0
  133. /package/{template-tsdown → template-ts-lib}/_gitignore +0 -0
  134. /package/{template-tsdown → template-ts-lib}/src/index.ts +0 -0
  135. /package/{template-vue-tsdown → template-ubean-client}/_editorconfig +0 -0
  136. /package/{template-vue-tsdown → template-ubean-client}/_gitattributes +0 -0
  137. /package/{template-vue-tsdown → template-vue-lib}/.github/workflows/release.yml +0 -0
  138. /package/{template-vue-tsdown → template-vue-lib}/.vscode/extensions.json +0 -0
  139. /package/{template-vue-tsdown → template-vue-lib}/.vscode/launch.json +0 -0
  140. /package/{template-vue-tsdown → template-vue-lib}/.vscode/settings.json +0 -0
  141. /package/{template-vue-tsdown → template-vue-lib}/_gitignore +0 -0
  142. /package/{template-vue-tsdown → template-vue-lib}/playground/index.html +0 -0
  143. /package/{template-vue-tsdown → template-vue-lib}/playground/src/App.vue +0 -0
  144. /package/{template-vue-tsdown → template-vue-lib}/playground/src/index.ts +0 -0
  145. /package/{template-vue-tsdown → template-vue-lib}/playground/src/style.css +0 -0
  146. /package/{template-vue-tsdown → template-vue-lib}/src/demo-pkg.vue +0 -0
  147. /package/{template-vue-tsdown → template-vue-lib}/src/index.ts +0 -0
  148. /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
- }
@@ -1,10 +0,0 @@
1
- import { defineConfig } from 'tsdown';
2
-
3
- export default defineConfig({
4
- entry: ['src/index.ts'],
5
- platform: 'neutral',
6
- clean: true,
7
- dts: true,
8
- sourcemap: false,
9
- minify: false
10
- });
@@ -1 +0,0 @@
1
- shamefully-hoist=true
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "./node_modules/oxfmt/configuration_schema.json",
3
- "printWidth": 120,
4
- "singleQuote": true,
5
- "trailingComma": "none",
6
- "arrowParens": "avoid"
7
- }
@@ -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
- });
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>HelloWorld</div>
5
- </template>
File without changes
@@ -1,9 +0,0 @@
1
- <script setup lang="ts">
2
- import { RouterView } from 'vue-router';
3
- </script>
4
-
5
- <template>
6
- <SCard title="BaseLayout" split class="h-full">
7
- <RouterView />
8
- </SCard>
9
- </template>
@@ -1,9 +0,0 @@
1
- <script setup lang="ts">
2
- import { RouterView } from 'vue-router';
3
- </script>
4
-
5
- <template>
6
- <SCard title="BlankLayout" split class="h-full">
7
- <RouterView />
8
- </SCard>
9
- </template>
@@ -1,4 +0,0 @@
1
- import '@unocss/reset/tailwind.css';
2
- import '@soybeanjs/ui/styles.css';
3
- import 'uno.css';
4
- import '../styles/app.css';
@@ -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
- }
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>403</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>404</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>login</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>the page is working in progress</div>
5
- </template>
@@ -1,7 +0,0 @@
1
- import { defineComponent } from 'vue';
2
-
3
- export default defineComponent({
4
- setup() {
5
- return () => <div>Demo</div>;
6
- }
7
- });
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>child</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>child2</div>
5
- </template>
@@ -1,9 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div class="p-6">
5
- <SCard title="button">
6
- <SButton>Home</SButton>
7
- </SCard>
8
- </div>
9
- </template>
@@ -1,9 +0,0 @@
1
- <script setup lang="ts">
2
- import { useRoute } from 'vue-router';
3
-
4
- const route = useRoute('ListId');
5
- </script>
6
-
7
- <template>
8
- <div>list-id: {{ route.params.id }}</div>
9
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>add</div>
5
- </template>
File without changes
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>search-list</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>detail-id-userId</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>detail-id-userId</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>edit-id</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>list</div>
5
- </template>
@@ -1,5 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <div>list-table</div>
5
- </template>
@@ -1 +0,0 @@
1
- shamefully-hoist=true
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "./node_modules/oxfmt/configuration_schema.json",
3
- "printWidth": 120,
4
- "singleQuote": true,
5
- "trailingComma": "none",
6
- "arrowParens": "avoid"
7
- }
@@ -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
- });
@@ -1,7 +0,0 @@
1
- import { defineConfig } from 'vite';
2
- import vue from 'unplugin-vue/vite';
3
-
4
- export default defineConfig({
5
- root: './playground',
6
- plugins: [vue()]
7
- });
File without changes