Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#7603)
Browse files Browse the repository at this point in the history
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
  • Loading branch information
renovate[bot] and bluwy committed Apr 4, 2022
1 parent 57e7914 commit fc51a15
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 94 deletions.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -34,14 +34,14 @@
"ci-docs": "run-s build-vite build-plugin-vue build-docs"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.19.5",
"@microsoft/api-extractor": "^7.20.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.4.1",
"@types/node": "^16.11.26",
"@types/prompts": "^2.0.14",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"esbuild": "^0.14.27",
Expand All @@ -56,8 +56,8 @@
"node-fetch": "^2.6.6",
"npm-run-all": "^4.1.5",
"picocolors": "^1.0.0",
"playwright-chromium": "^1.20.1",
"prettier": "2.6.1",
"playwright-chromium": "^1.20.2",
"prettier": "2.6.2",
"prompts": "^2.4.2",
"rimraf": "^3.0.2",
"rollup": "^2.59.0",
Expand Down Expand Up @@ -85,7 +85,7 @@
"eslint --ext .ts"
]
},
"packageManager": "pnpm@6.32.3",
"packageManager": "pnpm@6.32.4",
"pnpm": {
"overrides": {
"vite": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Expand Up @@ -39,7 +39,7 @@
"@babel/plugin-transform-react-jsx-self": "^7.16.7",
"@babel/plugin-transform-react-jsx-source": "^7.16.7",
"@rollup/pluginutils": "^4.2.0",
"react-refresh": "^0.11.0",
"react-refresh": "^0.12.0",
"resolve": "^1.22.0"
}
}
9 changes: 7 additions & 2 deletions packages/plugin-react/src/fast-refresh.ts
@@ -1,10 +1,15 @@
import type { types as t } from '@babel/core'
import fs from 'fs'
import path from 'path'

export const runtimePublicPath = '/@react-refresh'

const runtimeFilePath = require.resolve(
'react-refresh/cjs/react-refresh-runtime.development.js'
const reactRefreshDir = path.dirname(
require.resolve('react-refresh/package.json')
)
const runtimeFilePath = path.join(
reactRefreshDir,
'cjs/react-refresh-runtime.development.js'
)

export const runtimeCode = `
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-react/src/index.ts
Expand Up @@ -176,7 +176,7 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
if (isReactModule && filter(id)) {
useFastRefresh = true
plugins.push([
await loadPlugin('react-refresh/babel.js'),
await loadPlugin('react-refresh/babel'),
{ skipEnvCheck: true }
])
}
Expand Down
10 changes: 5 additions & 5 deletions packages/vite/package.json
Expand Up @@ -74,7 +74,7 @@
"@types/node": "^16.11.26",
"@types/resolve": "^1.20.1",
"@types/sass": "~1.43.1",
"@types/stylus": "^0.48.36",
"@types/stylus": "^0.48.37",
"@types/ws": "^8.5.3",
"@vue/compiler-dom": "^3.2.31",
"acorn": "^8.7.0",
Expand All @@ -88,7 +88,7 @@
"debug": "^4.3.4",
"dotenv": "^14.3.2",
"dotenv-expand": "^5.1.0",
"es-module-lexer": "^0.10.4",
"es-module-lexer": "^0.10.5",
"estree-walker": "^2.0.2",
"etag": "^1.8.1",
"fast-glob": "^3.2.11",
Expand All @@ -98,13 +98,13 @@
"magic-string": "^0.26.1",
"micromatch": "^4.0.5",
"mrmime": "^1.0.0",
"node-forge": "^1.3.0",
"node-forge": "^1.3.1",
"okie": "^1.0.1",
"open": "^8.4.0",
"periscopic": "^2.0.3",
"picocolors": "^1.0.0",
"postcss-import": "^14.1.0",
"postcss-load-config": "^3.1.3",
"postcss-load-config": "^3.1.4",
"postcss-modules": "^4.3.1",
"resolve.exports": "^1.1.0",
"rollup-plugin-license": "^2.6.1",
Expand All @@ -113,7 +113,7 @@
"source-map-support": "^0.5.21",
"strip-ansi": "^6.0.1",
"terser": "^5.12.1",
"tsconfck": "^1.2.1",
"tsconfck": "^1.2.2",
"tslib": "^2.3.1",
"types": "link:./types",
"ws": "^8.5.0"
Expand Down

0 comments on commit fc51a15

Please sign in to comment.