Skip to content

Commit e281d6c

Browse files
committed
refactor: nuxi integration
1 parent bfb95a8 commit e281d6c

File tree

7 files changed

+79
-78
lines changed

7 files changed

+79
-78
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,4 +1068,4 @@
10681068
"magicast": "0.2.10"
10691069
}
10701070
}
1071-
}
1071+
}

pnpm-lock.yaml

Lines changed: 75 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { createMiddleware, directCreateMiddleware } from './Middleware'
77
import { createNitroAPI, directCreateNitroAPI, createNitroRoute, directCreateNitroRoute, createNitroPlugin, createNitroMiddleware, createNitroUtil } from './Nitro'
88
import { projectStructure, appConfig, nuxtIgnore, nuxtRC } from './Structure'
99
import { openDocumentation, openModules } from './externalLinks'
10-
import { nuxtDev, nuxtBuild, nuxtGenerate, nuxtCleanUp, nuxtAnalyze, nuxtInfo, showCLICommands } from './NuxtCLI'
10+
import { nuxtDev, nuxtBuild, nuxtGenerate, nuxtCleanUp, nuxtAnalyze, nuxtInfo, showCLICommands } from './Nuxi'
1111
import { createStore, directCreateStore } from './Store'
1212
import { installDependencies, searchAndInstallDependencies } from './InstallDependencies'
1313
import { openSettings } from '../utils/navigation'

src/nuxi/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { tryImport } from '../utils'
1+
import { window } from 'vscode'
2+
import { tryImport, isNuxiInstalled, newTerminal } from '../utils'
23

34
export async function tryImportNuxi() {
45
return (await tryImport('nuxi') || await tryImport('nuxi-edge')) as undefined | typeof import('nuxi-edge')

0 commit comments

Comments
 (0)