Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#70)
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 Sep 16, 2022
1 parent 1a2d5d4 commit c2e300c
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 314 deletions.
16 changes: 10 additions & 6 deletions nuxt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ import * as magicRegexp from 'magic-regexp'

export default function MagicRegExpNuxtModule() {
const nuxt = this.nuxt
nuxt.hook('autoImports:sources', presets => {
presets.push({
from: 'magic-regexp',
imports: Object.keys(magicRegexp),
})
})
nuxt.hook(
'autoImports:sources',
presets => {
presets.push({
from: 'magic-regexp',
imports: Object.keys(magicRegexp),
})
},
{ allowDeprecated: true }
)

// Disable RegExp code transformation in development mode
if (nuxt.options.dev) return
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@release-it/conventional-changelog": "latest",
"@types/estree": "^1.0.0",
"@types/node": "latest",
"@vitest/coverage-c8": "^0.22.1",
"@vitest/coverage-c8": "^0.23.1",
"acorn": "^8.8.0",
"c8": "latest",
"conventional-changelog-conventionalcommits": "latest",
Expand All @@ -67,13 +67,13 @@
"release-it": "latest",
"typescript": "latest",
"unbuild": "latest",
"vite": "^3.0.9",
"vite": "^3.1.0",
"vitest": "latest"
},
"resolutions": {
"magic-regexp": "link:."
},
"packageManager": "pnpm@7.9.5",
"packageManager": "pnpm@7.11.0",
"volta": {
"node": "16.17.0"
}
Expand Down

1 comment on commit c2e300c

@vercel
Copy link

@vercel vercel bot commented on c2e300c Sep 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.