mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
chore: update deps (#1853)
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
"@babel/core": "^7.18.2",
|
||||
"@babel/preset-env": "^7.18.2",
|
||||
"@babel/preset-typescript": "^7.17.12",
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"@vitejs/plugin-vue": "latest",
|
||||
"@vue/test-utils": "latest",
|
||||
"@vue/vue3-jest": "^27.0.0",
|
||||
"babel-jest": "^27.5.1",
|
||||
"jest": "^27.5.1",
|
||||
"jsdom": "^19.0.0",
|
||||
"jsdom": "latest",
|
||||
"ts-jest": "^27.1.5",
|
||||
"vue": "^3.2.36"
|
||||
"vue": "latest"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,15 +16,18 @@ async function download(url: string, fileName: string) {
|
||||
return
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('downloading', fileName)
|
||||
const image = await $fetch(url, { responseType: 'arrayBuffer' })
|
||||
await fs.writeFile(fileName, Buffer.from(image))
|
||||
try {
|
||||
const image = await $fetch(url, { responseType: 'arrayBuffer' })
|
||||
await fs.writeFile(fileName, Buffer.from(image))
|
||||
}
|
||||
catch {}
|
||||
}
|
||||
|
||||
async function fetchAvatars() {
|
||||
await fs.ensureDir(dirAvatars)
|
||||
contributors = JSON.parse(await fs.readFile(pathContributors, { encoding: 'utf-8' }))
|
||||
|
||||
await Promise.all(contributors.map(name => download(`https://github.com/${name}.png?size${team.includes(name) ? 100 : 40}`, join(dirAvatars, `${name}.png`))))
|
||||
await Promise.all(contributors.map(name => download(`https://github.com/${name}.png?size=${team.includes(name) ? 100 : 40}`, join(dirAvatars, `${name}.png`))))
|
||||
}
|
||||
|
||||
async function fetchSponsors() {
|
||||
|
||||
+6
-7
@@ -12,19 +12,18 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^9.1.0",
|
||||
"vue": "^3.2.37"
|
||||
"vue": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@iconify-json/carbon": "^1.1.7",
|
||||
"@types/node": "^17.0.35",
|
||||
"@unocss/reset": "^0.45.5",
|
||||
"@vitejs/plugin-vue": "^3.0.1",
|
||||
"@unocss/reset": "^0.45.6",
|
||||
"@vitejs/plugin-vue": "latest",
|
||||
"esno": "^0.14.1",
|
||||
"fast-glob": "^3.2.11",
|
||||
"https-localhost": "^4.7.1",
|
||||
"unocss": "^0.45.5",
|
||||
"unplugin-vue-components": "^0.22.0",
|
||||
"vite": "2.9.14",
|
||||
"unocss": "^0.45.6",
|
||||
"unplugin-vue-components": "^0.22.4",
|
||||
"vite": "^3.0.7",
|
||||
"vite-plugin-pwa": "0.12.3",
|
||||
"vitepress": "^1.0.0-alpha.4",
|
||||
"workbox-window": "^6.5.4"
|
||||
|
||||
@@ -18,6 +18,17 @@ import {
|
||||
import SponsorLinkFix from './plugins/FixSponsorLink'
|
||||
|
||||
export default defineConfig({
|
||||
ssr: {
|
||||
format: 'cjs',
|
||||
},
|
||||
legacy: {
|
||||
buildSsrCjsExternalHeuristics: true,
|
||||
},
|
||||
optimizeDeps: {
|
||||
// vitepress is aliased with replacement `join(DIST_CLIENT_PATH, '/index')`
|
||||
// This needs to be excluded from optimization
|
||||
exclude: ['vitepress'],
|
||||
},
|
||||
plugins: [
|
||||
// TODO remove cast when moved to Vite 3
|
||||
Components({
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitest/ui": "latest",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitest/ui": "latest",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"devDependencies": {
|
||||
"@vitest/ui": "latest",
|
||||
"jest-image-snapshot": "^4.5.1",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
@@ -17,7 +17,7 @@
|
||||
"devDependencies": {
|
||||
"@vitest/ui": "latest",
|
||||
"happy-dom": "latest",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitest/ui": "latest",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest",
|
||||
"zustand": "4.0.0-rc.1"
|
||||
},
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/react": "^13.2.0",
|
||||
"@types/node": "17.0.23",
|
||||
"@types/react": "17.0.44",
|
||||
"@vitejs/plugin-react": "1.3.1",
|
||||
"jsdom": "^19.0.0",
|
||||
"@types/node": "latest",
|
||||
"@types/react": "latest",
|
||||
"@vitejs/plugin-react": "latest",
|
||||
"jsdom": "latest",
|
||||
"typescript": "4.6.3",
|
||||
"vitest": "latest"
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"@playwright/test": "^1.23.4",
|
||||
"@vitest/ui": "latest",
|
||||
"playwright": "^1.23.4",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"devDependencies": {
|
||||
"@vitest/ui": "latest",
|
||||
"puppeteer": "^13.6.0",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
"@testing-library/user-event": "^14.2.3",
|
||||
"@vitest/ui": "latest",
|
||||
"date-fns": "^2.28.0",
|
||||
"jsdom": "^20.0.0",
|
||||
"vite": "^2.9.9",
|
||||
"jsdom": "latest",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -31,11 +31,11 @@
|
||||
"@vitejs/plugin-react": "^1.3.2",
|
||||
"@vitest/ui": "latest",
|
||||
"babel-loader": "^8.2.5",
|
||||
"jsdom": "^19.0.0",
|
||||
"jsdom": "latest",
|
||||
"msw": "^0.39.2",
|
||||
"msw-storybook-addon": "^1.6.3",
|
||||
"typescript": "^4.7.2",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"msw": {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"cross-fetch": "^3.1.5",
|
||||
"jsdom": "latest",
|
||||
"msw": "^0.39.2",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"@vitejs/plugin-react": "^1.3.2",
|
||||
"@vitest/ui": "latest",
|
||||
"jsdom": "latest",
|
||||
"vite": "^2.9.9",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -12,11 +12,12 @@
|
||||
"devDependencies": {
|
||||
"@types/react": "^17.0.45",
|
||||
"@types/react-test-renderer": "^17.0.2",
|
||||
"@vitejs/plugin-react": "1.3.1",
|
||||
"@vitejs/plugin-react": "latest",
|
||||
"@vitest/ui": "latest",
|
||||
"happy-dom": "^4.1.0",
|
||||
"happy-dom": "latest",
|
||||
"jsdom": "latest",
|
||||
"react-test-renderer": "17.0.2",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -9,12 +9,13 @@
|
||||
"test:run": "vitest run"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"@vitejs/plugin-vue": "latest",
|
||||
"@vue/test-utils": "latest",
|
||||
"jsdom": "latest",
|
||||
"vite": "latest",
|
||||
"vite-plugin-ruby": "^3.0.12",
|
||||
"vitest": "latest",
|
||||
"vue": "^3.2.36"
|
||||
"vue": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
"startCommand": "npm run test"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"solid-js": "^1.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jsdom": "*",
|
||||
"jsdom": "latest",
|
||||
"solid-testing-library": "0.3.0",
|
||||
"vite-plugin-solid": "^2.2.6",
|
||||
"vitest": "latest"
|
||||
|
||||
@@ -8,11 +8,12 @@
|
||||
"coverage": "vitest run --coverage"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.45",
|
||||
"@testing-library/svelte": "^3.1.1",
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.1",
|
||||
"@testing-library/svelte": "^3.1.3",
|
||||
"@vitest/ui": "latest",
|
||||
"jsdom": "latest",
|
||||
"svelte": "^3.48.0",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
@@ -6,14 +6,15 @@
|
||||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.36"
|
||||
"vue": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"jsdom": "^19.0.0",
|
||||
"unplugin-auto-import": "^0.8.5",
|
||||
"unplugin-vue-components": "^0.19.6",
|
||||
"@vitejs/plugin-vue": "latest",
|
||||
"@vue/test-utils": "^2.0.2",
|
||||
"jsdom": "latest",
|
||||
"unplugin-auto-import": "^0.11.1",
|
||||
"unplugin-vue-components": "^0.22.4",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
Vendored
+2
-2
@@ -3,6 +3,8 @@
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
import '@vue/runtime-core'
|
||||
|
||||
export {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
export interface GlobalComponents {
|
||||
Foo: typeof import('./components/Foo.vue')['default']
|
||||
@@ -11,5 +13,3 @@ declare module '@vue/runtime-core' {
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
}
|
||||
}
|
||||
|
||||
export {}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// Vitest Snapshot v1
|
||||
|
||||
exports[`mount component 1`] = `
|
||||
"<div class=\\"foo\\" data-v-54024074=\\"\\">
|
||||
"<div class=\\"foo\\" data-v-958b189a=\\"\\">
|
||||
<div>4 x 2 = 8</div><button> x1 </button>
|
||||
</div>"
|
||||
`;
|
||||
|
||||
exports[`mount component 2`] = `
|
||||
"<div class=\\"foo\\" data-v-54024074=\\"\\">
|
||||
"<div class=\\"foo\\" data-v-958b189a=\\"\\">
|
||||
<div>4 x 5 = 20</div><button> x1 </button>
|
||||
</div>"
|
||||
`;
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
"test": "vitest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^3.0.1",
|
||||
"@vitejs/plugin-vue-jsx": "^2.0.0",
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"@vitejs/plugin-vue": "latest",
|
||||
"@vitejs/plugin-vue-jsx": "latest",
|
||||
"@vue/test-utils": "latest",
|
||||
"jsdom": "latest",
|
||||
"vite": "latest",
|
||||
"vitest": "latest",
|
||||
"vue": "^3.2.36"
|
||||
"vue": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
"startCommand": "npm run test"
|
||||
|
||||
@@ -6,12 +6,13 @@
|
||||
"coverage": "vitest run --coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.36"
|
||||
"vue": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^2.3.3",
|
||||
"@vitejs/plugin-vue": "latest",
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"jsdom": "latest",
|
||||
"vite": "latest",
|
||||
"vitest": "latest"
|
||||
},
|
||||
"stackblitz": {
|
||||
|
||||
+3
-3
@@ -65,14 +65,14 @@
|
||||
"rollup-plugin-license": "^2.8.1",
|
||||
"simple-git-hooks": "^2.8.0",
|
||||
"typescript": "^4.7.4",
|
||||
"vite": "^3.0.4",
|
||||
"vite": "^3.0.7",
|
||||
"vitest": "workspace:*",
|
||||
"vue": "^3.2.37"
|
||||
"vue": "latest"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"esbuild": "^0.14.47",
|
||||
"vitest>vite": "^3.0.4",
|
||||
"vite": "^3.0.7",
|
||||
"vitest": "workspace:*",
|
||||
"rollup": "~2.77.3"
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
"@types/ws": "^8.5.3",
|
||||
"@vitest/ws-client": "workspace:*",
|
||||
"picocolors": "^1.0.0",
|
||||
"rollup": "^2.77.2",
|
||||
"rollup": "^2.77.3",
|
||||
"vitest": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+13
-4
@@ -36,9 +36,6 @@ declare global {
|
||||
const isReactive: typeof import('vue')['isReactive']
|
||||
const isReadonly: typeof import('vue')['isReadonly']
|
||||
const isRef: typeof import('vue')['isRef']
|
||||
const logicAnd: typeof import('@vueuse/core')['logicAnd']
|
||||
const logicNot: typeof import('@vueuse/core')['logicNot']
|
||||
const logicOr: typeof import('@vueuse/core')['logicOr']
|
||||
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
|
||||
const markRaw: typeof import('vue')['markRaw']
|
||||
const nextTick: typeof import('vue')['nextTick']
|
||||
@@ -99,6 +96,14 @@ declare global {
|
||||
const unrefElement: typeof import('@vueuse/core')['unrefElement']
|
||||
const until: typeof import('@vueuse/core')['until']
|
||||
const useActiveElement: typeof import('@vueuse/core')['useActiveElement']
|
||||
const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery']
|
||||
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
|
||||
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
|
||||
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
|
||||
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
|
||||
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
|
||||
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
|
||||
const useArraySome: typeof import('@vueuse/core')['useArraySome']
|
||||
const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
|
||||
const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
|
||||
const useAttrs: typeof import('vue')['useAttrs']
|
||||
@@ -109,7 +114,6 @@ declare global {
|
||||
const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
|
||||
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
|
||||
const useCached: typeof import('@vueuse/core')['useCached']
|
||||
const useClamp: typeof import('@vueuse/core')['useClamp']
|
||||
const useClipboard: typeof import('@vueuse/core')['useClipboard']
|
||||
const useColorMode: typeof import('@vueuse/core')['useColorMode']
|
||||
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
|
||||
@@ -185,6 +189,7 @@ declare global {
|
||||
const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
|
||||
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
|
||||
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
|
||||
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
|
||||
const useRafFn: typeof import('@vueuse/core')['useRafFn']
|
||||
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
|
||||
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
|
||||
@@ -204,8 +209,10 @@ declare global {
|
||||
const useStorage: typeof import('@vueuse/core')['useStorage']
|
||||
const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync']
|
||||
const useStyleTag: typeof import('@vueuse/core')['useStyleTag']
|
||||
const useSupported: typeof import('@vueuse/core')['useSupported']
|
||||
const useSwipe: typeof import('@vueuse/core')['useSwipe']
|
||||
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
|
||||
const useTextDirection: typeof import('@vueuse/core')['useTextDirection']
|
||||
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
|
||||
const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize']
|
||||
const useThrottle: typeof import('@vueuse/core')['useThrottle']
|
||||
@@ -217,6 +224,8 @@ declare global {
|
||||
const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
|
||||
const useTimestamp: typeof import('@vueuse/core')['useTimestamp']
|
||||
const useTitle: typeof import('@vueuse/core')['useTitle']
|
||||
const useToNumber: typeof import('@vueuse/core')['useToNumber']
|
||||
const useToString: typeof import('@vueuse/core')['useToString']
|
||||
const useToggle: typeof import('@vueuse/core')['useToggle']
|
||||
const useTransition: typeof import('@vueuse/core')['useTransition']
|
||||
const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams']
|
||||
|
||||
@@ -58,12 +58,12 @@
|
||||
"flatted": "^3.2.6",
|
||||
"floating-vue": "^2.0.0-y.0",
|
||||
"picocolors": "^1.0.0",
|
||||
"rollup": "^2.77.2",
|
||||
"rollup": "^2.77.3",
|
||||
"splitpanes": "^3.1.1",
|
||||
"unocss": "^0.45.6",
|
||||
"unplugin-auto-import": "^0.11.1",
|
||||
"unplugin-vue-components": "^0.22.4",
|
||||
"vite": "^3.0.4",
|
||||
"vite": "^3.0.7",
|
||||
"vite-plugin-pages": "^0.25.0",
|
||||
"vue": "^3.2.37",
|
||||
"vue-router": "^4.1.3"
|
||||
|
||||
@@ -41,11 +41,7 @@ export default () => [
|
||||
target: 'node14',
|
||||
}),
|
||||
],
|
||||
onwarn(message) {
|
||||
if (message.code === 'CIRCULAR_DEPENDENCY')
|
||||
return
|
||||
console.error(message)
|
||||
},
|
||||
onwarn,
|
||||
},
|
||||
{
|
||||
input: entry,
|
||||
@@ -59,3 +55,9 @@ export default () => [
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
function onwarn(message) {
|
||||
if (['EMPTY_BUNDLE', 'CIRCULAR_DEPENDENCY'].includes(message.code))
|
||||
return
|
||||
console.error(message)
|
||||
}
|
||||
|
||||
@@ -79,6 +79,6 @@
|
||||
"@types/debug": "^4.1.7",
|
||||
"cac": "^6.7.12",
|
||||
"picocolors": "^1.0.0",
|
||||
"rollup": "^2.77.2"
|
||||
"rollup": "^2.77.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,12 +45,6 @@ const plugins = [
|
||||
}),
|
||||
]
|
||||
|
||||
function onwarn(message) {
|
||||
if (message.code === 'EMPTY_BUNDLE')
|
||||
return
|
||||
console.error(message)
|
||||
}
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
input: entries,
|
||||
@@ -90,3 +84,9 @@ export default defineConfig([
|
||||
onwarn,
|
||||
},
|
||||
])
|
||||
|
||||
function onwarn(message) {
|
||||
if (['EMPTY_BUNDLE', 'CIRCULAR_DEPENDENCY'].includes(message.code))
|
||||
return
|
||||
console.error(message)
|
||||
}
|
||||
|
||||
@@ -1977,6 +1977,34 @@ Repository: git+ssh://[email protected]/chaijs/type-detect.git
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## ufo
|
||||
License: MIT
|
||||
Repository: unjs/ufo
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2020 Nuxt Contrib
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## vite-node
|
||||
License: MIT
|
||||
By: Anthony Fu
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
"pkg-types": "^0.3.3",
|
||||
"pretty-format": "^27.5.1",
|
||||
"prompts": "^2.4.2",
|
||||
"rollup": "^2.77.2",
|
||||
"rollup": "^2.77.3",
|
||||
"source-map-js": "^1.0.2",
|
||||
"strip-ansi": "^7.0.1",
|
||||
"typescript": "^4.7.4",
|
||||
|
||||
@@ -86,11 +86,7 @@ export default ({ watch }) => defineConfig([
|
||||
...plugins,
|
||||
!watch && licensePlugin(),
|
||||
],
|
||||
onwarn(message) {
|
||||
if (/Circular dependencies/.test(message))
|
||||
return
|
||||
console.error(message)
|
||||
},
|
||||
onwarn,
|
||||
},
|
||||
{
|
||||
input: 'src/config.ts',
|
||||
@@ -228,3 +224,9 @@ function licensePlugin() {
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
function onwarn(message) {
|
||||
if (['EMPTY_BUNDLE', 'CIRCULAR_DEPENDENCY'].includes(message.code))
|
||||
return
|
||||
console.error(message)
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@
|
||||
"vite-node": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rollup": "^2.77.2"
|
||||
"rollup": "^2.77.3"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,6 +43,6 @@
|
||||
"ws": "^8.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rollup": "^2.77.2"
|
||||
"rollup": "^2.77.3"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+372
-1090
File diff suppressed because it is too large
Load Diff
@@ -10,9 +10,11 @@
|
||||
"test:nothread": "npm run coverage && npm run coverage-test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^3.0.1",
|
||||
"@vue/test-utils": "^2.0.0",
|
||||
"happy-dom": "^6.0.4",
|
||||
"vitest": "workspace:*"
|
||||
"@vitejs/plugin-vue": "latest",
|
||||
"@vue/test-utils": "latest",
|
||||
"happy-dom": "latest",
|
||||
"vite": "latest",
|
||||
"vitest": "workspace:*",
|
||||
"vue": "latest"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"coverage": "vitest run --coverage"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@edge-runtime/vm": "1.1.0-beta.10",
|
||||
"@edge-runtime/vm": "1.1.0-beta.26",
|
||||
"@vitest/web-worker": "workspace:*",
|
||||
"vitest": "workspace:*"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user