Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Commit 8ea43d7

Browse files
committedOct 7, 2022
chore: wip
1 parent 04e4111 commit 8ea43d7

File tree

4 files changed

+10
-23
lines changed

4 files changed

+10
-23
lines changed
 

‎.stacks/auto-imports.d.ts

+4-8
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare global {
3737
const controlledComputed: typeof import('@vueuse/core')['controlledComputed']
3838
const controlledRef: typeof import('@vueuse/core')['controlledRef']
3939
const copyFolder: typeof import('./core/utils/fs')['copyFolder']
40-
const count: typeof import('../functions/counter')['count']
40+
const count: typeof import('../functions/command-palette')['count']
4141
const createApp: typeof import('vue')['createApp']
4242
const createEventHook: typeof import('@vueuse/core')['createEventHook']
4343
const createGenericProjection: typeof import('@vueuse/math')['createGenericProjection']
@@ -67,8 +67,6 @@ declare global {
6767
const encrypt: typeof import('./core/security/crypt')['encrypt']
6868
const env: typeof import('../config/app')['env']
6969
const expect: typeof import('vitest')['expect']
70-
const exportCalendarApple: typeof import('../functions/calendar-links')['exportCalendarApple']
71-
const exportCalendarGoogle: typeof import('../functions/calendar-links')['exportCalendarGoogle']
7270
const extendRef: typeof import('@vueuse/core')['extendRef']
7371
const fallbackLocale: typeof import('../config/app')['fallbackLocale']
7472
const functions: typeof import('../config/library')['functions']
@@ -88,7 +86,7 @@ declare global {
8886
const host: typeof import('../config/library')['host']
8987
const icons: typeof import('../config/ui')['icons']
9088
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
91-
const increment: typeof import('../functions/counter')['increment']
89+
const increment: typeof import('../functions/command-palette')['increment']
9290
const inject: typeof import('vue')['inject']
9391
const isBoolean: typeof import('@vueuse/shared')['isBoolean']
9492
const isClient: typeof import('@vueuse/shared')['isClient']
@@ -427,7 +425,7 @@ declare module '@vue/runtime-core' {
427425
readonly controlledComputed: UnwrapRef<typeof import('@vueuse/core')['controlledComputed']>
428426
readonly controlledRef: UnwrapRef<typeof import('@vueuse/core')['controlledRef']>
429427
readonly copyFolder: UnwrapRef<typeof import('./core/utils/fs')['copyFolder']>
430-
readonly count: UnwrapRef<typeof import('../functions/counter')['count']>
428+
readonly count: UnwrapRef<typeof import('../functions/command-palette')['count']>
431429
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
432430
readonly createEventHook: UnwrapRef<typeof import('@vueuse/core')['createEventHook']>
433431
readonly createGenericProjection: UnwrapRef<typeof import('@vueuse/math')['createGenericProjection']>
@@ -457,8 +455,6 @@ declare module '@vue/runtime-core' {
457455
readonly encrypt: UnwrapRef<typeof import('./core/security/crypt')['encrypt']>
458456
readonly env: UnwrapRef<typeof import('../config/app')['env']>
459457
readonly expect: UnwrapRef<typeof import('vitest')['expect']>
460-
readonly exportCalendarApple: UnwrapRef<typeof import('../functions/calendar-links')['exportCalendarApple']>
461-
readonly exportCalendarGoogle: UnwrapRef<typeof import('../functions/calendar-links')['exportCalendarGoogle']>
462458
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
463459
readonly fallbackLocale: UnwrapRef<typeof import('../config/app')['fallbackLocale']>
464460
readonly functions: UnwrapRef<typeof import('../config/library')['functions']>
@@ -478,7 +474,7 @@ declare module '@vue/runtime-core' {
478474
readonly host: UnwrapRef<typeof import('../config/library')['host']>
479475
readonly icons: UnwrapRef<typeof import('../config/ui')['icons']>
480476
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
481-
readonly increment: UnwrapRef<typeof import('../functions/counter')['increment']>
477+
readonly increment: UnwrapRef<typeof import('../functions/command-palette')['increment']>
482478
readonly inject: UnwrapRef<typeof import('vue')['inject']>
483479
readonly isBoolean: UnwrapRef<typeof import('@vueuse/shared')['isBoolean']>
484480
readonly isClient: UnwrapRef<typeof import('@vueuse/shared')['isClient']>

‎.stacks/components.d.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ export {}
77

88
declare module '@vue/runtime-core' {
99
export interface GlobalComponents {
10-
Counter: typeof import('./../components/Buttons/Counter.vue')['default']
10+
CommandPalette: typeof import('./../components/CommandPalette.vue')['default']
1111
Demo: typeof import('./../components/Demo.vue')['default']
12-
HelloWorld: typeof import('./../components/HelloWorld.vue')['default']
13-
Logo: typeof import('./../components/Logo.vue')['default']
14-
ToggleDark: typeof import('./../components/Buttons/ToggleDark.vue')['default']
1512
}
1613
}

‎.stacks/core/utils/index.ts

-6
This file was deleted.

‎config/app.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const name = 'Stacks'
2-
const key = process.env.APP_KEY
3-
const env = process.env.NODE_ENV || 'development'
4-
const url = process.env.APP_URL || 'http://localhost:3333'
5-
const debug = process.env.APP_DEBUG || true
1+
const name = import.meta.env.APP_NAME || 'Stacks'
2+
const key = import.meta.env.APP_KEY
3+
const env = import.meta.env.APP_ENV || 'local'
4+
const url = import.meta.env.APP_URL || 'http://localhost:3333'
5+
const debug = import.meta.env.APP_DEBUG || true
66

77
const timezone = 'UTC'
88
const locale = 'en'

0 commit comments

Comments
 (0)