Browse Source

chore(deps-dev): upgrade nuxt to latest rc

pull/3801/head
braks 2 years ago
parent
commit
21f7ade92e
  1. 8
      packages/nc-gui/nuxt.config.ts
  2. 6055
      packages/nc-gui/package-lock.json
  3. 2
      packages/nc-gui/package.json

8
packages/nc-gui/nuxt.config.ts

@ -1,5 +1,4 @@
import { dirname, resolve } from 'node:path'
import { defineNuxtConfig } from 'nuxt'
import vueI18n from '@intlify/vite-plugin-vue-i18n'
import Icons from 'unplugin-icons/vite'
import IconsResolver from 'unplugin-icons/resolver'
@ -53,7 +52,7 @@ export default defineNuxtConfig({
vite: {
build: {
commonjsOptions: {
ignoreTryCatch: false,
ignoreTryCatch: true,
},
},
plugins: [
@ -101,6 +100,7 @@ export default defineNuxtConfig({
'process.env.DEBUG': 'false',
'process.nextTick': () => {},
'process.env.ANT_MESSAGE_DURATION': process.env.ANT_MESSAGE_DURATION,
'process.env.NC_BACKEND_URL': process.env.NC_BACKEND_URL,
},
server: {
watch: {
@ -133,8 +133,8 @@ export default defineNuxtConfig({
dir: 'assets/',
},
autoImports: {
dirs: ['./context', './utils', './lib'],
imports: {
dirs: ['./context', './utils', './lib', './composables/**'],
imports: [
{ name: 'useI18n', from: 'vue-i18n' },
{ name: 'message', from: 'ant-design-vue/es' },

6055
packages/nc-gui/package-lock.json generated

File diff suppressed because it is too large Load Diff

2
packages/nc-gui/package.json

@ -80,7 +80,7 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"happy-dom": "^6.0.3",
"nuxt": "3.0.0-rc.4",
"nuxt": "^3.0.0-rc.11",
"nuxt-windicss": "^2.5.0",
"prettier": "^2.7.1",
"sass": "^1.53.0",

Loading…
Cancel
Save