Skip to content

Commit

Permalink
remove formkit tempo and fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
zoey-kaiser committed Sep 26, 2024
1 parent e85e121 commit 21d5339
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 49 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"vite-node": "^0.25.8"
},
"dependencies": {
"@formkit/tempo": "^0.1.2",
"@nuxt/schema": "^3.12.4",
"chalk": "^5.2.0",
"commander": "^9.4.1",
Expand Down
49 changes: 4 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/steps/4.buildNuxtConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { writeFile } from 'node:fs/promises'
import { inspect } from 'node:util'
import type { NuxtConfig } from '@nuxt/schema'
import defu from 'defu'
import { format } from '@formkit/tempo'
import type { Config, ModuleConfig } from '../types'
import { getResolver } from '../getResolver'

Expand All @@ -21,12 +20,13 @@ export default async function (templateDir: string, configs: Config[], modules:

// 2. Build base Nuxt Config
let nuxtConfig = {
compatibilityDate: format(new Date(), 'YYYY-MM-DD'),
compatibilityDate: '2024-08-19',
devtools: { enabled: true },
typescript: {
shim: false,
},
}
} as NuxtConfig

for (const nuxtConfigExtension of nuxtConfigExtensions) {
nuxtConfig = defu(nuxtConfig, nuxtConfigExtension)
}
Expand Down

0 comments on commit 21d5339

Please sign in to comment.