@codecov/vite-plugin
Advanced tools
Comparing version 0.0.1-beta.6 to 0.0.1-beta.7
@@ -0,7 +1,5 @@ | ||
import * as _codecov_bundler_plugin_core from '@codecov/bundler-plugin-core'; | ||
import { Options } from '@codecov/bundler-plugin-core'; | ||
import { VitePlugin } from 'unplugin'; | ||
interface BundleTransformOptions { | ||
fileName?: string; | ||
moduleOriginalSize?: boolean; | ||
} | ||
/** | ||
@@ -30,4 +28,10 @@ * Details for the Codecov Vite plugin. | ||
*/ | ||
declare const codecovVitePlugin: (options: Options) => any; | ||
declare const codecovVitePlugin: (options: Options) => VitePlugin<any>[]; | ||
/** | ||
* Do not use this plugin directly. For internal use only. | ||
* | ||
* @access package | ||
*/ | ||
declare const _internal_viteBundleAnalysisPlugin: _codecov_bundler_plugin_core.BundleAnalysisUploadPlugin; | ||
export { type BundleTransformOptions, codecovVitePlugin }; | ||
export { _internal_viteBundleAnalysisPlugin, codecovVitePlugin }; |
{ | ||
"name": "@codecov/vite-plugin", | ||
"version": "0.0.1-beta.6", | ||
"version": "0.0.1-beta.7", | ||
"description": "Official Codecov Vite plugin", | ||
@@ -33,12 +33,10 @@ "author": "Codecov", | ||
"dependencies": { | ||
"@codecov/bundler-plugin-core": "^0.0.1-beta.6" | ||
"unplugin": "^1.10.1", | ||
"@codecov/bundler-plugin-core": "^0.0.1-beta.7" | ||
}, | ||
"devDependencies": { | ||
"@swc/core": "^1.3.107", | ||
"@swc/jest": "^0.2.33", | ||
"@types/jest": "^29.5.11", | ||
"@rollup/plugin-replace": "^5.0.5", | ||
"@types/node": "^20.11.15", | ||
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.3", | ||
"jest": "^29.7.0", | ||
"jest-junit": "^16.0.0", | ||
"@vitest/coverage-v8": "^1.5.0", | ||
"codecovProdRollupPlugin": "npm:@codecov/rollup-plugin@0.0.1-beta.5", | ||
"msw": "^2.1.5", | ||
@@ -49,3 +47,5 @@ "ts-node": "^10.9.2", | ||
"unbuild": "^2.0.0", | ||
"vite": "5.0.12" | ||
"vite": "^5.2.10", | ||
"vite-tsconfig-paths": "^4.3.2", | ||
"vitest": "^1.5.0" | ||
}, | ||
@@ -70,6 +70,8 @@ "peerDependencies": { | ||
"format:check": "prettier '**/*.{cjs,mjs,ts,tsx,md,json}' --ignore-path ../.gitignore --ignore-unknown --no-error-on-unmatched-pattern --check", | ||
"test:unit": "jest", | ||
"test:unit:ci": "JEST_JUNIT_OUTPUT_NAME='vite-plugin.junit.xml' jest --coverage --reporters=jest-junit", | ||
"test:unit": "vitest run", | ||
"test:unit:watch": "vitest watch", | ||
"test:unit:ci": "vitest --coverage --reporter=junit --outputFile=./bundler-plugin-core.junit.xml run", | ||
"test:unit:update": "vitest -u run", | ||
"generate:typedoc": "typedoc --options ./typedoc.json" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
36670
12
58
3