File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { detectPackageManager } from 'nypm'
1313import { getPackageManagerVersion } from '../utils/packageManagers'
1414import { findup } from '../utils/fs'
1515
16- import nuxiPkg from '../../package.json'
16+ import nuxiPkg from '../../package.json' assert { type : 'json' }
1717import { cwdArgs , legacyRootDirArgs } from './_shared'
1818
1919export default defineCommand ( {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { $fetch } from 'ofetch'
22import { cyan , green , yellow , underline } from 'colorette'
33import { consola } from 'consola'
44import * as semver from 'semver'
5- import nuxiPkg from '../../package.json'
5+ import nuxiPkg from '../../package.json' assert { type : 'json' }
66
77export async function checkForUpdates ( ) {
88 if ( process . env . SKIP_NUXT_UPDATE_CHECK ) {
You can’t perform that action at this time.
0 commit comments