@infomaximum/package-cli 2.14.0 → 2.15.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.15.1](https://github.com/Infomaximum/package-cli/compare/v2.15.0...v2.15.1) (2025-03-03)
6
+
7
+ ## [2.15.0](https://github.com/Infomaximum/package-cli/compare/v2.14.0...v2.15.0) (2025-03-03)
8
+
9
+
10
+ ### Features
11
+
12
+ * "Обновление конфигураций " ([59148c1](https://github.com/Infomaximum/package-cli/commit/59148c1413ce67af8efa0a74a9776b7f7974a84a))
13
+
5
14
  ## [2.14.0](https://github.com/Infomaximum/package-cli/compare/v2.13.1...v2.14.0) (2025-02-28)
6
15
 
7
16
 
@@ -1,6 +1,6 @@
1
1
  import { __awaiter } from "tslib";
2
2
  import { CUSTOM_PACKAGE_CLI_LIB_NAME } from "../../const.js";
3
- import { INTEGRATION_BABEL_CONFIG, INTEGRATION_ESLINTRC, INTEGRATION_GITIGNORE, INTEGRATION_TSCONFIG_JSON, } from "../templates/integrationConfigs.js";
3
+ import { INTEGRATION_BABEL_CONFIG, INTEGRATION_ESLINTRC, INTEGRATION_GITIGNORE, INTEGRATION_TSCONFIG_JSON, INTEGRATION_VITEST_CONFIG } from "../templates/integrationConfigs.js";
4
4
  import { getPackageActions } from "../../package/scripts/actions.js";
5
5
  import { INTEGRATION_INDEX_TEMPLATE } from "../templates/integrationIndex.js";
6
6
  import { INTEGRATION_PACKAGE_JSON_TEMPLATE } from "../templates/integrationPackageJson.js";
@@ -34,6 +34,11 @@ const actions = ({ packageCliVersion, integrationSdkVersion }) => {
34
34
  path: "eslint.config.js",
35
35
  template: INTEGRATION_ESLINTRC,
36
36
  },
37
+ {
38
+ type: "add",
39
+ path: "vitest.config.js",
40
+ template: INTEGRATION_VITEST_CONFIG,
41
+ },
37
42
  {
38
43
  type: "add",
39
44
  path: "package.json",
@@ -32,6 +32,9 @@ export const INTEGRATION_GITIGNORE = `\
32
32
  # production
33
33
  /dist
34
34
 
35
+ #documentation
36
+ /docs
37
+
35
38
  # misc
36
39
  .DS_Store
37
40
  .env.local
@@ -66,3 +69,18 @@ export default tseslint.config(
66
69
  }
67
70
  );
68
71
  `;
72
+ export const INTEGRATION_VITEST_CONFIG = `\
73
+ import { defineConfig } from 'vitest/config';
74
+
75
+ export default defineConfig({
76
+ test: {
77
+ coverage: {
78
+ provider:'v8',
79
+ exclude: [
80
+ '**/*.config.*',
81
+ 'src/index.ts',
82
+ ],
83
+ },
84
+ },
85
+ });
86
+ `;
@@ -10,7 +10,9 @@ export const INTEGRATION_PACKAGE_JSON_TEMPLATE = `\
10
10
  "build:script": "im-package-cli integration build --type=script",
11
11
  "dev": "im-package-cli integration build --watch",
12
12
  "lint": "tsc --noEmit && eslint src/ --ext .ts,.tsx --quiet",
13
- "test": "vitest --run"
13
+ "test": "vitest --run",
14
+ "test:coverage": "vitest --run --coverage",
15
+ "test:ui": "vitest --ui"
14
16
  },
15
17
  "devDependencies": {
16
18
  "@babel/core": "^7.26.9",
@@ -23,7 +25,9 @@ export const INTEGRATION_PACKAGE_JSON_TEMPLATE = `\
23
25
  "globals": "^15.14.0",
24
26
  "typescript": "^5.7.2",
25
27
  "typescript-eslint": "^8.22.0",
26
- "vitest": "^3.0.4"
28
+ "vitest": "^3.0.4",
29
+ "@vitest/coverage-v8": "3.0.7",
30
+ "@vitest/ui": "3.0.7"
27
31
  }
28
32
  }
29
33
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/package-cli",
3
- "version": "2.14.0",
3
+ "version": "2.15.1",
4
4
  "exports": "./dist/index.js",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",