Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (main) (#19103)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
  • Loading branch information
renovate[bot] and danielroe committed Feb 17, 2023
1 parent 15b9386 commit 6858796
Show file tree
Hide file tree
Showing 7 changed files with 98 additions and 46 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"nuxt": "workspace:*",
"nuxt3": "workspace:nuxt@*",
"unbuild": "^1.1.2",
"vite": "^4.1.1",
"vite": "^4.1.2",
"vue": "3.2.47",
"magic-string": "^0.29.0"
},
Expand All @@ -52,7 +52,7 @@
"@types/node": "^18.13.0",
"@types/rimraf": "^3",
"@types/semver": "^7.3.13",
"@unocss/reset": "^0.49.5",
"@unocss/reset": "^0.49.6",
"case-police": "^0.5.11",
"changelogen": "^0.4.1",
"crawler": "^1.4.0",
Expand All @@ -73,7 +73,7 @@
"typescript": "^4.9.5",
"ufo": "^1.1.0",
"unbuild": "^1.1.2",
"vite": "^4.1.1",
"vite": "^4.1.2",
"vitest": "^0.28.5",
"vue-tsc": "^1.1.2"
},
Expand Down
1 change: 1 addition & 0 deletions packages/nuxt/src/core/nitro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export async function initNitro (nuxt: Nuxt & { _nitro?: Nitro }) {
nitroConfig.rollupConfig!.plugins = await nitroConfig.rollupConfig!.plugins || []
nitroConfig.rollupConfig!.plugins = Array.isArray(nitroConfig.rollupConfig!.plugins) ? nitroConfig.rollupConfig!.plugins : [nitroConfig.rollupConfig!.plugins]
nitroConfig.rollupConfig!.plugins!.push(
// @ts-expect-error remove when rollup updates its types
ImportProtectionPlugin.rollup({
rootDir: nuxt.options.rootDir,
patterns: [
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@vitejs/plugin-vue-jsx": "^3.0.0",
"nitropack": "^2.2.2",
"unbuild": "latest",
"vite": "~4.1.1"
"vite": "~4.1.2"
},
"dependencies": {
"c12": "^1.1.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"postcss": "^8.4.21",
"postcss-import": "^15.1.0",
"postcss-url": "^10.1.3",
"rollup": "^3.15.0",
"rollup": "^3.16.0",
"rollup-plugin-visualizer": "^5.9.0",
"strip-literal": "^1.0.1",
"ufo": "^1.1.0",
"unplugin": "^1.1.0",
"vite": "~4.1.1",
"vite": "~4.1.2",
"vite-node": "^0.28.5",
"vite-plugin-checker": "^0.5.5",
"vue-bundle-renderer": "^1.0.2"
Expand Down
3 changes: 1 addition & 2 deletions packages/vite/src/plugins/chunk-error.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

import MagicString from 'magic-string'
import type { Plugin } from 'vite'
import type { SourceMap } from 'rollup'

export function chunkErrorPlugin (options: { sourcemap?: boolean }): Plugin {
return {
Expand All @@ -22,7 +21,7 @@ export const __vitePreload = (...args) => ___vitePreload(...args).catch(err => {
return {
code: s.toString(),
map: options.sourcemap
? s.generateMap({ source: id, includeContent: true }) as SourceMap
? s.generateMap({ source: id, includeContent: true })
: undefined
}
}
Expand Down
3 changes: 1 addition & 2 deletions packages/vite/src/plugins/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { pathToFileURL } from 'node:url'
import MagicString from 'magic-string'
import { parseQuery, parseURL } from 'ufo'
import type { Plugin } from 'vite'
import type { SourceMap } from 'rollup'

export interface RuntimePathsOptions {
sourcemap?: boolean
Expand Down Expand Up @@ -35,7 +34,7 @@ export function runtimePathsPlugin (options: RuntimePathsOptions): Plugin {
return {
code: s.toString(),
map: options.sourcemap
? s.generateMap({ source: id, includeContent: true }) as SourceMap
? s.generateMap({ source: id, includeContent: true })
: undefined
}
}
Expand Down
Loading

0 comments on commit 6858796

Please sign in to comment.