@botim/botim-cli 0.1.6 → 0.1.7

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 (92) hide show
  1. package/dist/cli.js +3 -3
  2. package/dist/cli.mjs +2 -2
  3. package/package.json +2 -3
  4. package/dist/templates/templates/react/README.md +0 -48
  5. package/dist/templates/templates/react/docs/code-patterns.md +0 -139
  6. package/dist/templates/templates/react/docs/core-rules.md +0 -69
  7. package/dist/templates/templates/react/docs/figma-workflow.md +0 -81
  8. package/dist/templates/templates/react/docs/validation.md +0 -59
  9. package/dist/templates/templates/react/eslint.config.ts +0 -57
  10. package/dist/templates/templates/react/index.html +0 -12
  11. package/dist/templates/templates/react/package-lock.json +0 -12197
  12. package/dist/templates/templates/react/package.json +0 -102
  13. package/dist/templates/templates/react/scripts/setup.sh +0 -304
  14. package/dist/templates/templates/react/src/api/http-client.ts +0 -8
  15. package/dist/templates/templates/react/src/api/modules/example.ts +0 -12
  16. package/dist/templates/templates/react/src/app.tsx +0 -27
  17. package/dist/templates/templates/react/src/components/not-found-content/index.ts +0 -2
  18. package/dist/templates/templates/react/src/components/not-found-content/not-found-content.tsx +0 -24
  19. package/dist/templates/templates/react/src/components/welcome-card/index.ts +0 -1
  20. package/dist/templates/templates/react/src/components/welcome-card/welcome-card.tsx +0 -10
  21. package/dist/templates/templates/react/src/hooks/use-document-title.ts +0 -11
  22. package/dist/templates/templates/react/src/i18n/index.ts +0 -40
  23. package/dist/templates/templates/react/src/i18n/languages/en.json +0 -10
  24. package/dist/templates/templates/react/src/main.tsx +0 -27
  25. package/dist/templates/templates/react/src/modules/common/README.md +0 -7
  26. package/dist/templates/templates/react/src/modules/common/constants.ts +0 -3
  27. package/dist/templates/templates/react/src/modules/core/README.md +0 -7
  28. package/dist/templates/templates/react/src/modules/core/api/error.ts +0 -6
  29. package/dist/templates/templates/react/src/modules/core/app-providers.tsx +0 -18
  30. package/dist/templates/templates/react/src/modules/core/index.ts +0 -2
  31. package/dist/templates/templates/react/src/pages/home/index.tsx +0 -13
  32. package/dist/templates/templates/react/src/pages/not-found/index.tsx +0 -7
  33. package/dist/templates/templates/react/src/routes.tsx +0 -18
  34. package/dist/templates/templates/react/src/stores/home-store.ts +0 -11
  35. package/dist/templates/templates/react/src/styles/font.css +0 -1
  36. package/dist/templates/templates/react/src/styles/global-style.tsx +0 -27
  37. package/dist/templates/templates/react/src/styles/tailwind.css +0 -4
  38. package/dist/templates/templates/react/src/styles/utility-classes.ts +0 -13
  39. package/dist/templates/templates/react/src/theme/index.tsx +0 -24
  40. package/dist/templates/templates/react/src/theme/types.ts +0 -10
  41. package/dist/templates/templates/react/src/types/global.d.ts +0 -139
  42. package/dist/templates/templates/react/src/types/shims-global.d.ts +0 -97
  43. package/dist/templates/templates/react/src/utils/currency.ts +0 -6
  44. package/dist/templates/templates/react/src/utils/date.ts +0 -5
  45. package/dist/templates/templates/react/src/utils/guard.ts +0 -4
  46. package/dist/templates/templates/react/src/vite-env.d.ts +0 -1
  47. package/dist/templates/templates/react/tsconfig.json +0 -39
  48. package/dist/templates/templates/react/tsconfig.node.json +0 -11
  49. package/dist/templates/templates/react/types/global.d.ts +0 -131
  50. package/dist/templates/templates/react/vite.config.ts +0 -179
  51. package/dist/templates/templates/vue/README.md +0 -19
  52. package/dist/templates/templates/vue/eslint.config.ts +0 -44
  53. package/dist/templates/templates/vue/index.html +0 -12
  54. package/dist/templates/templates/vue/package-lock.json +0 -5774
  55. package/dist/templates/templates/vue/package.json +0 -39
  56. package/dist/templates/templates/vue/src/api/http-client.ts +0 -11
  57. package/dist/templates/templates/vue/src/api/modules/example.ts +0 -12
  58. package/dist/templates/templates/vue/src/app.vue +0 -23
  59. package/dist/templates/templates/vue/src/components/card/index.vue +0 -14
  60. package/dist/templates/templates/vue/src/components/layout/index.ts +0 -1
  61. package/dist/templates/templates/vue/src/components/layout/page-layout.vue +0 -43
  62. package/dist/templates/templates/vue/src/components/layout/styles.ts +0 -5
  63. package/dist/templates/templates/vue/src/components/typography/heading.vue +0 -21
  64. package/dist/templates/templates/vue/src/components/typography/index.ts +0 -1
  65. package/dist/templates/templates/vue/src/hooks/use-document-title.ts +0 -23
  66. package/dist/templates/templates/vue/src/i18n/index.ts +0 -31
  67. package/dist/templates/templates/vue/src/i18n/languages/en.json +0 -10
  68. package/dist/templates/templates/vue/src/main.ts +0 -12
  69. package/dist/templates/templates/vue/src/modules/common/README.md +0 -7
  70. package/dist/templates/templates/vue/src/modules/common/constants.ts +0 -3
  71. package/dist/templates/templates/vue/src/modules/core/README.md +0 -7
  72. package/dist/templates/templates/vue/src/modules/core/api/error.ts +0 -6
  73. package/dist/templates/templates/vue/src/modules/core/app-providers.ts +0 -17
  74. package/dist/templates/templates/vue/src/modules/core/index.ts +0 -2
  75. package/dist/templates/templates/vue/src/pages/home/index.vue +0 -28
  76. package/dist/templates/templates/vue/src/pages/not-found/index.vue +0 -13
  77. package/dist/templates/templates/vue/src/routes.ts +0 -19
  78. package/dist/templates/templates/vue/src/stores/home-store.ts +0 -12
  79. package/dist/templates/templates/vue/src/styles/font.css +0 -1
  80. package/dist/templates/templates/vue/src/styles/global-style.ts +0 -63
  81. package/dist/templates/templates/vue/src/styles/utility-classes.ts +0 -1
  82. package/dist/templates/templates/vue/src/theme/index.ts +0 -33
  83. package/dist/templates/templates/vue/src/theme/types.ts +0 -10
  84. package/dist/templates/templates/vue/src/types/global.d.ts +0 -9
  85. package/dist/templates/templates/vue/src/utils/currency.ts +0 -6
  86. package/dist/templates/templates/vue/src/utils/date.ts +0 -5
  87. package/dist/templates/templates/vue/src/utils/guard.ts +0 -4
  88. package/dist/templates/templates/vue/src/vite-env.d.ts +0 -1
  89. package/dist/templates/templates/vue/tsconfig.json +0 -36
  90. package/dist/templates/templates/vue/tsconfig.node.json +0 -9
  91. package/dist/templates/templates/vue/types/global.d.ts +0 -7
  92. package/dist/templates/templates/vue/vite.config.ts +0 -74
@@ -1,39 +0,0 @@
1
- {
2
- "name": "@org/vue-mp-template",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "vite --host",
8
- "build": "vite build",
9
- "preview": "vite preview",
10
- "lint": "eslint .",
11
- "lint:fix": "eslint . --fix",
12
- "type-check": "vue-tsc --noEmit --skipLibCheck",
13
- "test": "vitest"
14
- },
15
- "dependencies": {
16
- "axios": "^1.7.9",
17
- "dayjs": "^1.11.13",
18
- "lodash-es": "^4.17.21",
19
- "pinia": "^2.1.7",
20
- "vue": "^3.4.29",
21
- "vue-i18n": "^9.14.1",
22
- "vue-router": "^4.4.3"
23
- },
24
- "devDependencies": {
25
- "@eslint/js": "^9.14.0",
26
- "@types/node": "^22.7.4",
27
- "@vitejs/plugin-vue": "^5.1.4",
28
- "eslint": "^9.14.0",
29
- "eslint-plugin-import": "^2.31.0",
30
- "eslint-plugin-simple-import-sort": "^12.1.1",
31
- "eslint-plugin-vue": "^9.30.0",
32
- "typescript": "^5.6.3",
33
- "typescript-eslint": "^8.12.1",
34
- "vite": "^5.4.12",
35
- "vite-tsconfig-paths": "^5.1.2",
36
- "vitest": "^2.1.4",
37
- "vue-tsc": "^2.1.6"
38
- }
39
- }
@@ -1,11 +0,0 @@
1
- import axios, { type AxiosError, type AxiosResponse } from 'axios';
2
-
3
- export const httpClient = axios.create({
4
- baseURL: '/api',
5
- timeout: 15_000
6
- });
7
-
8
- httpClient.interceptors.response.use(
9
- (response: AxiosResponse) => response,
10
- (error: AxiosError) => Promise.reject(error)
11
- );
@@ -1,12 +0,0 @@
1
- import { httpClient } from '../http-client';
2
-
3
- export type ExampleResponse = {
4
- id: string;
5
- name: string;
6
- };
7
-
8
- export async function fetchExample(): Promise<ExampleResponse> {
9
- const { data } = await httpClient.get<ExampleResponse>('/example');
10
-
11
- return data;
12
- }
@@ -1,23 +0,0 @@
1
- <template>
2
- <RouterView v-slot="{ Component }">
3
- <Suspense>
4
- <component :is="Component" />
5
- <template #fallback>
6
- <div class="app-fallback">{{ t('common.loading') }}</div>
7
- </template>
8
- </Suspense>
9
- </RouterView>
10
- </template>
11
-
12
- <script setup lang="ts">
13
- import { RouterView } from 'vue-router';
14
- import { useI18n } from 'vue-i18n';
15
-
16
- const { t } = useI18n();
17
- </script>
18
-
19
- <style scoped>
20
- .app-fallback {
21
- padding: var(--space-4, 16px);
22
- }
23
- </style>
@@ -1,14 +0,0 @@
1
- <template>
2
- <section class="card">
3
- <slot />
4
- </section>
5
- </template>
6
-
7
- <style scoped>
8
- .card {
9
- background: var(--color-surface);
10
- border-radius: 12px;
11
- padding: var(--space-4, 16px);
12
- box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
13
- }
14
- </style>
@@ -1 +0,0 @@
1
- export { default as PageLayout } from './page-layout.vue';
@@ -1,43 +0,0 @@
1
- <template>
2
- <div :class="classes.container">
3
- <header :class="classes.header">
4
- <h1>{{ title }}</h1>
5
- <slot name="actions" />
6
- </header>
7
- <main :class="classes.main">
8
- <slot />
9
- </main>
10
- </div>
11
- </template>
12
-
13
- <script setup lang="ts">
14
- import { pageLayoutClasses as classes } from './styles';
15
-
16
- defineProps<{ title: string }>();
17
- </script>
18
-
19
- <style scoped>
20
- .page-layout__container {
21
- display: flex;
22
- flex-direction: column;
23
- min-height: 100vh;
24
- padding: var(--space-4, 16px);
25
- background: var(--color-background);
26
- }
27
-
28
- .page-layout__header {
29
- display: flex;
30
- align-items: center;
31
- justify-content: space-between;
32
- margin-bottom: 24px;
33
- }
34
-
35
- .page-layout__header h1 {
36
- margin: 0;
37
- font-size: 20px;
38
- }
39
-
40
- .page-layout__main {
41
- flex: 1;
42
- }
43
- </style>
@@ -1,5 +0,0 @@
1
- export const pageLayoutClasses = {
2
- container: 'page-layout__container',
3
- header: 'page-layout__header',
4
- main: 'page-layout__main'
5
- } as const;
@@ -1,21 +0,0 @@
1
- <template>
2
- <component :is="tag" class="heading">
3
- <slot />
4
- </component>
5
- </template>
6
-
7
- <script setup lang="ts">
8
- import { computed } from 'vue';
9
-
10
- const props = defineProps<{ level?: 1 | 2 | 3 | 4 | 5 | 6 }>();
11
-
12
- const tag = computed(() => `h${props.level ?? 2}` as const);
13
- </script>
14
-
15
- <style scoped>
16
- .heading {
17
- margin: 0;
18
- color: var(--color-text);
19
- font-weight: 600;
20
- }
21
- </style>
@@ -1 +0,0 @@
1
- export { default as Heading } from './heading.vue';
@@ -1,23 +0,0 @@
1
- import { onBeforeUnmount, toValue, watch, type MaybeRef } from 'vue';
2
-
3
- export function useDocumentTitle(title: MaybeRef<string>, restore = 'App'): void {
4
- const previous = typeof document !== 'undefined' ? document.title : restore;
5
-
6
- const stop = watch(
7
- () => toValue(title),
8
- (value) => {
9
- if (typeof document !== 'undefined')
10
- document.title = value;
11
- },
12
- {
13
- immediate: true
14
- }
15
- );
16
-
17
- onBeforeUnmount(() => {
18
- stop();
19
-
20
- if (typeof document !== 'undefined')
21
- document.title = restore ?? previous;
22
- });
23
- }
@@ -1,31 +0,0 @@
1
- import { createI18n, type I18nOptions } from 'vue-i18n';
2
- import en from './languages/en.json';
3
-
4
- type CreateI18nReturn = ReturnType<typeof createI18n>;
5
-
6
- const defaultOptions: I18nOptions = {
7
- legacy: false,
8
- locale: 'en',
9
- fallbackLocale: 'en',
10
- messages: {
11
- en
12
- }
13
- };
14
-
15
- let cachedInstance: CreateI18nReturn | null = null;
16
-
17
- export function initI18n(options?: I18nOptions): CreateI18nReturn {
18
- if (cachedInstance)
19
- return cachedInstance;
20
-
21
- cachedInstance = createI18n({
22
- ...defaultOptions,
23
- ...options,
24
- messages: {
25
- ...defaultOptions.messages,
26
- ...(options?.messages ?? {})
27
- }
28
- });
29
-
30
- return cachedInstance;
31
- }
@@ -1,10 +0,0 @@
1
- {
2
- "home": {
3
- "title": "Home",
4
- "welcome": "Welcome to your new mini application"
5
- },
6
- "common": {
7
- "loading": "Loading...",
8
- "notFound": "The page you are looking for could not be found"
9
- }
10
- }
@@ -1,12 +0,0 @@
1
- import { createApp } from 'vue';
2
- import App from './app.vue';
3
- import router from './routes';
4
- import { registerAppProviders } from '@modules/core/app-providers';
5
- import '@styles/font.css';
6
-
7
- const app = createApp(App);
8
-
9
- registerAppProviders(app);
10
- app.use(router);
11
-
12
- app.mount('#app');
@@ -1,7 +0,0 @@
1
- # Common Module
2
-
3
- Place shared domain logic, constants, and utilities here. This folder mirrors the structure of the React template and can be extended with sub-folders such as:
4
-
5
- - `constants/` for reusable values and enums.
6
- - `utilities/` for helpers that are consumed across modules.
7
- - `data-tracking/` or similar analytics-related integrations.
@@ -1,3 +0,0 @@
1
- export const STORAGE_KEYS = {
2
- language: 'app:language'
3
- } as const;
@@ -1,7 +0,0 @@
1
- # Core Module
2
-
3
- The core module aggregates cross-cutting concerns such as providers, API infrastructure, and application-wide constants. Extend this area with sub-folders for:
4
-
5
- - `api/` – shared HTTP clients, interceptors, and error helpers.
6
- - `constants/` – environment tokens or application identifiers.
7
- - `utils/` – low-level helpers that modules can build upon.
@@ -1,6 +0,0 @@
1
- export class ApiError extends Error {
2
- constructor(message: string, public readonly status?: number) {
3
- super(message);
4
- this.name = 'ApiError';
5
- }
6
- }
@@ -1,17 +0,0 @@
1
- import type { App } from 'vue';
2
- import { createPinia } from 'pinia';
3
- import { initI18n } from '@i18n/index';
4
- import { installTheme } from '@theme/index';
5
- import { applyGlobalStyles } from '@styles/global-style';
6
-
7
- export function registerAppProviders(app: App): void {
8
- const pinia = createPinia();
9
- const i18n = initI18n();
10
- const theme = installTheme(app);
11
-
12
- app.use(pinia);
13
- app.use(i18n);
14
-
15
- if (typeof window !== 'undefined')
16
- applyGlobalStyles(theme);
17
- }
@@ -1,2 +0,0 @@
1
- export { registerAppProviders } from './app-providers';
2
- export { ApiError } from './api/error';
@@ -1,28 +0,0 @@
1
- <template>
2
- <PageLayout :title="t('home.title')">
3
- <Card>
4
- <Heading :level="2">{{ message }}</Heading>
5
- </Card>
6
- </PageLayout>
7
- </template>
8
-
9
- <script setup lang="ts">
10
- import { computed, onMounted } from 'vue';
11
- import { useI18n } from 'vue-i18n';
12
- import { PageLayout } from '@components/layout';
13
- import Card from '@components/card/index.vue';
14
- import { Heading } from '@components/typography';
15
- import { useDocumentTitle } from '@hooks/use-document-title';
16
- import { useHomeStore } from '@stores/home-store';
17
-
18
- const { t } = useI18n();
19
- const homeStore = useHomeStore();
20
-
21
- const message = computed(() => homeStore.message);
22
-
23
- useDocumentTitle(computed(() => t('home.title')));
24
-
25
- onMounted(() => {
26
- homeStore.setMessage(t('home.welcome'));
27
- });
28
- </script>
@@ -1,13 +0,0 @@
1
- <template>
2
- <PageLayout :title="t('common.notFound')">
3
- <Heading :level="3">{{ t('common.notFound') }}</Heading>
4
- </PageLayout>
5
- </template>
6
-
7
- <script setup lang="ts">
8
- import { useI18n } from 'vue-i18n';
9
- import { PageLayout } from '@components/layout';
10
- import { Heading } from '@components/typography';
11
-
12
- const { t } = useI18n();
13
- </script>
@@ -1,19 +0,0 @@
1
- import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router';
2
-
3
- const routes: RouteRecordRaw[] = [
4
- {
5
- path: '/',
6
- component: () => import('./pages/home/index.vue')
7
- },
8
- {
9
- path: '/:pathMatch(.*)*',
10
- component: () => import('./pages/not-found/index.vue')
11
- }
12
- ];
13
-
14
- const router = createRouter({
15
- history: createWebHistory(),
16
- routes
17
- });
18
-
19
- export default router;
@@ -1,12 +0,0 @@
1
- import { defineStore } from 'pinia';
2
-
3
- export const useHomeStore = defineStore('home', {
4
- state: () => ({
5
- message: 'Welcome to your new mini application'
6
- }),
7
- actions: {
8
- setMessage(value: string) {
9
- this.message = value;
10
- }
11
- }
12
- });
@@ -1 +0,0 @@
1
- /* Add @font-face declarations or external font imports here */
@@ -1,63 +0,0 @@
1
- import type { AppTheme } from '@theme/types';
2
-
3
- const STYLE_ELEMENT_ID = 'app-global-style';
4
-
5
- function ensureStyleElement(): HTMLStyleElement {
6
- const existing = document.getElementById(STYLE_ELEMENT_ID) as HTMLStyleElement | null;
7
-
8
- if (existing)
9
- return existing;
10
-
11
- const element = document.createElement('style');
12
- element.id = STYLE_ELEMENT_ID;
13
- document.head.appendChild(element);
14
-
15
- return element;
16
- }
17
-
18
- function getSpacingVariables(theme: AppTheme): string {
19
- const values = Array.from({ length: 10 }, (_, index) => index + 1);
20
-
21
- return values
22
- .map((value) => ` --space-${value}: ${theme.spacing(value)};`)
23
- .join('\n');
24
- }
25
-
26
- export function applyGlobalStyles(theme: AppTheme): void {
27
- const element = ensureStyleElement();
28
-
29
- element.textContent = `:root {
30
- color-scheme: light;
31
- --color-background: ${theme.colors.background};
32
- --color-surface: ${theme.colors.surface};
33
- --color-text: ${theme.colors.text};
34
- --color-primary: ${theme.colors.primary};
35
- --color-muted: ${theme.colors.muted};
36
- ${getSpacingVariables(theme)}
37
- }
38
-
39
- *,
40
- *::before,
41
- *::after {
42
- box-sizing: border-box;
43
- }
44
-
45
- body {
46
- margin: 0;
47
- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
48
- background: var(--color-background);
49
- color: var(--color-text);
50
- }
51
-
52
- .u-visually-hidden {
53
- position: absolute;
54
- width: 1px;
55
- height: 1px;
56
- padding: 0;
57
- margin: -1px;
58
- overflow: hidden;
59
- clip: rect(0, 0, 0, 0);
60
- white-space: nowrap;
61
- border: 0;
62
- }`;
63
- }
@@ -1 +0,0 @@
1
- export const visuallyHiddenClass = 'u-visually-hidden';
@@ -1,33 +0,0 @@
1
- import type { App } from 'vue';
2
- import { inject } from 'vue';
3
- import type { AppTheme } from './types';
4
-
5
- const themeKey = Symbol('AppTheme');
6
-
7
- const baseTheme: AppTheme = {
8
- colors: {
9
- background: '#f8fafc',
10
- surface: '#ffffff',
11
- text: '#0f172a',
12
- primary: '#2563eb',
13
- muted: '#64748b'
14
- },
15
- spacing: (value: number) => `${value * 4}px`
16
- };
17
-
18
- export function installTheme(app: App): AppTheme {
19
- app.provide(themeKey, baseTheme);
20
-
21
- return baseTheme;
22
- }
23
-
24
- export function useTheme(): AppTheme {
25
- const theme = inject<AppTheme>(themeKey);
26
-
27
- if (!theme)
28
- throw new Error('App theme is not available');
29
-
30
- return theme;
31
- }
32
-
33
- export type { AppTheme };
@@ -1,10 +0,0 @@
1
- export type AppTheme = {
2
- colors: {
3
- background: string;
4
- surface: string;
5
- text: string;
6
- primary: string;
7
- muted: string;
8
- };
9
- spacing: (value: number) => string;
10
- };
@@ -1,9 +0,0 @@
1
- declare namespace App {
2
- interface WindowVariables {
3
- example?: string;
4
- }
5
- }
6
-
7
- declare interface Window {
8
- app?: App.WindowVariables;
9
- }
@@ -1,6 +0,0 @@
1
- export function formatCurrency(amount: number, currency = 'USD'): string {
2
- return new Intl.NumberFormat('en-US', {
3
- style: 'currency',
4
- currency
5
- }).format(amount);
6
- }
@@ -1,5 +0,0 @@
1
- import dayjs from 'dayjs';
2
-
3
- export function formatDate(value: string | number | Date, format = 'YYYY-MM-DD'): string {
4
- return dayjs(value).format(format);
5
- }
@@ -1,4 +0,0 @@
1
- export function assert(condition: unknown, message: string): asserts condition {
2
- if (!condition)
3
- throw new Error(message);
4
- }
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
@@ -1,36 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
5
- "module": "ESNext",
6
- "moduleResolution": "Bundler",
7
- "skipLibCheck": true,
8
- "strict": true,
9
- "allowSyntheticDefaultImports": true,
10
- "resolveJsonModule": true,
11
- "esModuleInterop": true,
12
- "allowImportingTsExtensions": true,
13
- "noImplicitOverride": true,
14
- "noUnusedLocals": true,
15
- "noUnusedParameters": true,
16
- "noFallthroughCasesInSwitch": true,
17
- "types": ["vite/client"],
18
- "baseUrl": ".",
19
- "paths": {
20
- "@/*": ["src/*"],
21
- "@modules/*": ["src/modules/*"],
22
- "@components/*": ["src/components/*"],
23
- "@hooks/*": ["src/hooks/*"],
24
- "@i18n/*": ["src/i18n/*"],
25
- "@pages/*": ["src/pages/*"],
26
- "@stores/*": ["src/stores/*"],
27
- "@styles/*": ["src/styles/*"],
28
- "@theme/*": ["src/theme/*"],
29
- "@utils/*": ["src/utils/*"]
30
- },
31
- "sourceMap": true
32
- },
33
- "include": ["src", "types"],
34
- "exclude": ["node_modules", "dist"],
35
- "references": [{ "path": "./tsconfig.node.json" }]
36
- }
@@ -1,9 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true,
4
- "module": "ESNext",
5
- "moduleResolution": "Bundler",
6
- "allowSyntheticDefaultImports": true
7
- },
8
- "include": ["vite.config.ts"]
9
- }
@@ -1,7 +0,0 @@
1
- export {};
2
-
3
- declare module '*.vue' {
4
- import type { DefineComponent } from 'vue';
5
- const component: DefineComponent<{}, {}, any>;
6
- export default component;
7
- }