diff --git a/.stacks/auto-imports.d.ts b/.stacks/auto-imports.d.ts index bc8b3f5..4ec5501 100644 --- a/.stacks/auto-imports.d.ts +++ b/.stacks/auto-imports.d.ts @@ -37,7 +37,7 @@ declare global { const controlledComputed: typeof import('@vueuse/core')['controlledComputed'] const controlledRef: typeof import('@vueuse/core')['controlledRef'] const copyFolder: typeof import('./core/utils/fs')['copyFolder'] - const count: typeof import('../functions/counter')['count'] + const count: typeof import('../functions/command-palette')['count'] const createApp: typeof import('vue')['createApp'] const createEventHook: typeof import('@vueuse/core')['createEventHook'] const createGenericProjection: typeof import('@vueuse/math')['createGenericProjection'] @@ -67,8 +67,6 @@ declare global { const encrypt: typeof import('./core/security/crypt')['encrypt'] const env: typeof import('../config/app')['env'] const expect: typeof import('vitest')['expect'] - const exportCalendarApple: typeof import('../functions/calendar-links')['exportCalendarApple'] - const exportCalendarGoogle: typeof import('../functions/calendar-links')['exportCalendarGoogle'] const extendRef: typeof import('@vueuse/core')['extendRef'] const fallbackLocale: typeof import('../config/app')['fallbackLocale'] const functions: typeof import('../config/library')['functions'] @@ -88,7 +86,7 @@ declare global { const host: typeof import('../config/library')['host'] const icons: typeof import('../config/ui')['icons'] const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] - const increment: typeof import('../functions/counter')['increment'] + const increment: typeof import('../functions/command-palette')['increment'] const inject: typeof import('vue')['inject'] const isBoolean: typeof import('@vueuse/shared')['isBoolean'] const isClient: typeof import('@vueuse/shared')['isClient'] @@ -427,7 +425,7 @@ declare module '@vue/runtime-core' { readonly controlledComputed: UnwrapRef readonly controlledRef: UnwrapRef readonly copyFolder: UnwrapRef - readonly count: UnwrapRef + readonly count: UnwrapRef readonly createApp: UnwrapRef readonly createEventHook: UnwrapRef readonly createGenericProjection: UnwrapRef @@ -457,8 +455,6 @@ declare module '@vue/runtime-core' { readonly encrypt: UnwrapRef readonly env: UnwrapRef readonly expect: UnwrapRef - readonly exportCalendarApple: UnwrapRef - readonly exportCalendarGoogle: UnwrapRef readonly extendRef: UnwrapRef readonly fallbackLocale: UnwrapRef readonly functions: UnwrapRef @@ -478,7 +474,7 @@ declare module '@vue/runtime-core' { readonly host: UnwrapRef readonly icons: UnwrapRef readonly ignorableWatch: UnwrapRef - readonly increment: UnwrapRef + readonly increment: UnwrapRef readonly inject: UnwrapRef readonly isBoolean: UnwrapRef readonly isClient: UnwrapRef diff --git a/.stacks/components.d.ts b/.stacks/components.d.ts index 5c7e0dc..940c5e1 100644 --- a/.stacks/components.d.ts +++ b/.stacks/components.d.ts @@ -7,10 +7,7 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { - Counter: typeof import('./../components/Buttons/Counter.vue')['default'] + CommandPalette: typeof import('./../components/CommandPalette.vue')['default'] Demo: typeof import('./../components/Demo.vue')['default'] - HelloWorld: typeof import('./../components/HelloWorld.vue')['default'] - Logo: typeof import('./../components/Logo.vue')['default'] - ToggleDark: typeof import('./../components/Buttons/ToggleDark.vue')['default'] } } diff --git a/.stacks/core/utils/index.ts b/.stacks/core/utils/index.ts deleted file mode 100644 index 0e34caa..0000000 --- a/.stacks/core/utils/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { _dirname, copyFolder, deleteFolder, hasComponents, hasFiles, hasFunctions, isFile, isFolder, readJsonFile, readTextFile, writeJsonFile, writeTextFile } from './fs' -import { generateLibEntry, generatePackageJson, generateVueCompat } from './generate' -import { isInitialized, kebabCase } from './helpers' -import { isManifest } from './manifest' - -export { hasFiles, isFile, isFolder, readJsonFile, readTextFile, writeJsonFile, writeTextFile, _dirname, isInitialized, isManifest, copyFolder, deleteFolder, hasComponents, hasFunctions, generateLibEntry, generateVueCompat, generatePackageJson, kebabCase } diff --git a/config/app.ts b/config/app.ts index 8cdf3e2..2254974 100644 --- a/config/app.ts +++ b/config/app.ts @@ -1,8 +1,8 @@ -const name = 'Stacks' -const key = process.env.APP_KEY -const env = process.env.NODE_ENV || 'development' -const url = process.env.APP_URL || 'http://localhost:3333' -const debug = process.env.APP_DEBUG || true +const name = import.meta.env.APP_NAME || 'Stacks' +const key = import.meta.env.APP_KEY +const env = import.meta.env.APP_ENV || 'local' +const url = import.meta.env.APP_URL || 'http://localhost:3333' +const debug = import.meta.env.APP_DEBUG || true const timezone = 'UTC' const locale = 'en'