@gsc-basic/vitest-config 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
 
2
2
  import { UserConfig } from "vite";
3
-
4
3
  //#region src/typing.d.ts
5
4
  type GscVitestPreset = 'node' | 'web' | 'vue';
6
5
  interface GscVitestCoverageOptions {
package/dist/index.js CHANGED
@@ -7,8 +7,8 @@ You shall not disclose such Confidential Information and shall use it only in
7
7
  accordance with the terms of the license agreement.
8
8
 
9
9
  --- Build Info ---
10
- Version: 1.0.0
11
- Build Time: 2026/5/22 15:00:36
12
- Build Commit: 8608552b5d573151945132e89fddaad068fc35b4
10
+ Version: 1.0.1
11
+ Build Time: 2026/7/24 13:48:38
12
+ Build Commit: bf5044df25fefa2b374b5dfa6cd533cebaf4f662
13
13
  */
14
14
  import e from"@vitejs/plugin-vue";import t from"@vitejs/plugin-vue-jsx";import{configDefaults as n,defineConfig as r,mergeConfig as i}from"vitest/config";const a={provider:`v8`,reporter:[`text`,`lcov`]},o={node:{environment:`node`,css:!1,vue:!1,vueJsx:!1},web:{environment:`happy-dom`,css:!0,vue:!1,vueJsx:!1},vue:{environment:`happy-dom`,css:!0,vue:!0,vueJsx:!0}};function s(e){if(e!==!1)return e===!0||e==null?a:{...a,...e}}function c(n,r){let i=[],a=o[r],s=n.plugins?.vue??a.vue,c=n.plugins?.vueJsx??a.vueJsx;return s&&i.push(e()),c&&i.push(t()),i}function l(e={}){let t=e.preset||`node`,r=o[t];return{plugins:c(e,t),root:e.root,resolve:e.resolve,...e.css?{css:e.css}:{},test:{environment:e.test?.environment||r.environment,includeSource:e.test?.includeSource,exclude:[...n.exclude,...e.test?.exclude||[]],setupFiles:e.test?.setupFiles||[],css:e.test?.css??r.css,globals:e.test?.globals,passWithNoTests:e.test?.passWithNoTests,ui:e.test?.ui,server:{deps:{inline:e.test?.depsInline,external:e.test?.depsExternal}},coverage:s(e.test?.coverage)}}}function u(e={},t={}){return r(i(l(e),t))}function d(e,t){return i(e,t)}export{l as createVitestConfig,u as defineVitestConfig,d as mergeVitestConfig};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gsc-basic/vitest-config",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "description": "Vitest Config for GSC Basic Service",
6
6
  "author": "Lenovo SSG BASD <-GSC_Scaffolding_Support@lenovo.com>",
7
7
  "license": "LicenseRef-Proprietary",
@@ -29,15 +29,15 @@
29
29
  "./dist"
30
30
  ],
31
31
  "peerDependencies": {
32
- "vite": "^8.0.12",
33
- "vitest": "^4.1.7"
32
+ "vite": "^8.1.5",
33
+ "vitest": "^4.1.10"
34
34
  },
35
35
  "dependencies": {
36
- "@vitejs/plugin-vue": "^6.0.7",
37
- "@vitejs/plugin-vue-jsx": "^5.1.4",
38
- "@vitest/coverage-v8": "^4.1.7",
39
- "@vitest/ui": "^4.1.7",
40
- "happy-dom": "^20.6.1"
36
+ "@vitejs/plugin-vue": "^6.0.8",
37
+ "@vitejs/plugin-vue-jsx": "^5.1.6",
38
+ "@vitest/coverage-v8": "^4.1.10",
39
+ "@vitest/ui": "^4.1.10",
40
+ "happy-dom": "^20.11.1"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsdown",