Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Oct 7, 2022
1 parent 04e4111 commit 8ea43d7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 23 deletions.
12 changes: 4 additions & 8 deletions .stacks/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down Expand Up @@ -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']
Expand All @@ -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']
Expand Down Expand Up @@ -427,7 +425,7 @@ declare module '@vue/runtime-core' {
readonly controlledComputed: UnwrapRef<typeof import('@vueuse/core')['controlledComputed']>
readonly controlledRef: UnwrapRef<typeof import('@vueuse/core')['controlledRef']>
readonly copyFolder: UnwrapRef<typeof import('./core/utils/fs')['copyFolder']>
readonly count: UnwrapRef<typeof import('../functions/counter')['count']>
readonly count: UnwrapRef<typeof import('../functions/command-palette')['count']>
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
readonly createEventHook: UnwrapRef<typeof import('@vueuse/core')['createEventHook']>
readonly createGenericProjection: UnwrapRef<typeof import('@vueuse/math')['createGenericProjection']>
Expand Down Expand Up @@ -457,8 +455,6 @@ declare module '@vue/runtime-core' {
readonly encrypt: UnwrapRef<typeof import('./core/security/crypt')['encrypt']>
readonly env: UnwrapRef<typeof import('../config/app')['env']>
readonly expect: UnwrapRef<typeof import('vitest')['expect']>
readonly exportCalendarApple: UnwrapRef<typeof import('../functions/calendar-links')['exportCalendarApple']>
readonly exportCalendarGoogle: UnwrapRef<typeof import('../functions/calendar-links')['exportCalendarGoogle']>
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
readonly fallbackLocale: UnwrapRef<typeof import('../config/app')['fallbackLocale']>
readonly functions: UnwrapRef<typeof import('../config/library')['functions']>
Expand All @@ -478,7 +474,7 @@ declare module '@vue/runtime-core' {
readonly host: UnwrapRef<typeof import('../config/library')['host']>
readonly icons: UnwrapRef<typeof import('../config/ui')['icons']>
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
readonly increment: UnwrapRef<typeof import('../functions/counter')['increment']>
readonly increment: UnwrapRef<typeof import('../functions/command-palette')['increment']>
readonly inject: UnwrapRef<typeof import('vue')['inject']>
readonly isBoolean: UnwrapRef<typeof import('@vueuse/shared')['isBoolean']>
readonly isClient: UnwrapRef<typeof import('@vueuse/shared')['isClient']>
Expand Down
5 changes: 1 addition & 4 deletions .stacks/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']
}
}
6 changes: 0 additions & 6 deletions .stacks/core/utils/index.ts

This file was deleted.

10 changes: 5 additions & 5 deletions config/app.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 8ea43d7

Please sign in to comment.