@alexaegis/autotool-plugin-vitest 0.11.1 → 0.11.3

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/index.cjs CHANGED
@@ -1,95 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const packageJson = require("@alexaegis/autotool-plugin-vitest/package.json");
3
4
  const predicate = require("@alexaegis/predicate");
4
5
  require("autotool-plugin");
5
6
  const node_path = require("node:path");
6
- const name = "@alexaegis/autotool-plugin-vitest";
7
- const description = "Setup vitest";
8
- const version = "0.11.1";
9
- const license = "MIT";
10
- const archetype = {
11
- platform: "node",
12
- framework: "autotool",
13
- language: "ts",
14
- kind: "lib"
15
- };
16
- const keywords = [
17
- "autotool-plugin",
18
- "managed-by-autotool",
19
- "vitest"
20
- ];
21
- const type = "module";
22
- const publishConfig = {
23
- access: "public"
24
- };
25
- const scripts = {
26
- "lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
27
- "lint:depcheck_": "depcheck",
28
- "lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
29
- "lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
30
- "lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
31
- "lint:format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --check .",
32
- "lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
33
- "lint:md_": "remark --frail --no-stdout --silently-ignore .",
34
- "lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
35
- "lint:tsc_": "tsc --noEmit",
36
- publint: "BUILD_REASON='publish' turbo run publint_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
37
- publint_: "publint dist",
38
- test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
39
- test_: "vitest --passWithNoTests --coverage --run",
40
- "test:watch": "vitest --passWithNoTests --coverage",
41
- all: "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
42
- build: "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
43
- "build-lib_": "vite build",
44
- format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
45
- format_: "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ."
46
- };
47
- const exports$1 = {
48
- ".": {
49
- types: "./src/index.ts",
50
- "import": "./dist/index.js",
51
- require: "./dist/index.cjs",
52
- "default": "./dist/index.js"
53
- },
54
- "./package-node-vitest.config": "./static/package-node-vitest.config.ts",
55
- "./package-svelte-vitest.config": "./static/package-svelte-vitest.config.ts",
56
- "./package-web-vitest.config": "./static/package-web-vitest.config.ts",
57
- "./readme": "./readme.md"
58
- };
59
- const dependencies = {
60
- "@alexaegis/coverage-tools": "^0.9.1",
61
- "@alexaegis/logging": "^0.9.1",
62
- "@alexaegis/predicate": "^0.9.1",
63
- "autotool-plugin": "^0.6.0"
64
- };
65
- const devDependencies = {
66
- "@alexaegis/eslint-config-vitest": "workspace:^",
67
- "@alexaegis/ts": "workspace:^",
68
- "@alexaegis/vite": "workspace:^",
69
- "@alexaegis/vitest": "workspace:^",
70
- "@lcov-viewer/cli": "^1.3.0",
71
- "@types/node": "^20.12.12",
72
- "@vitest/coverage-v8": "^1.6.0",
73
- publint: "^0.2.8",
74
- typescript: "^5.4.5",
75
- vite: "^5.2.11",
76
- vitest: "^1.6.0"
77
- };
78
- const packageJson = {
79
- name,
80
- description,
81
- version,
82
- license,
83
- "private": false,
84
- archetype,
85
- keywords,
86
- type,
87
- publishConfig,
88
- scripts,
89
- exports: exports$1,
90
- dependencies,
91
- devDependencies
92
- };
93
7
  const appOrLib = predicate.or(predicate.equal("app"), predicate.equal("lib"));
94
8
  const plugin = (_options) => {
95
9
  return {
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAA6B,MAAM,iBAAiB,CAAC;AAMjF,eAAO,MAAM,MAAM,EAAE,cAwGpB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAA6B,MAAM,iBAAiB,CAAC;AAKjF,eAAO,MAAM,MAAM,EAAE,cAwGpB,CAAC;AAEF,eAAe,MAAM,CAAC"}
package/index.js CHANGED
@@ -1,93 +1,7 @@
1
+ import packageJson from "@alexaegis/autotool-plugin-vitest/package.json" assert { type: "json" };;
1
2
  import { or, equal, not, contains } from "@alexaegis/predicate";
2
3
  import "autotool-plugin";
3
4
  import { join } from "node:path";
4
- const name = "@alexaegis/autotool-plugin-vitest";
5
- const description = "Setup vitest";
6
- const version = "0.11.1";
7
- const license = "MIT";
8
- const archetype = {
9
- platform: "node",
10
- framework: "autotool",
11
- language: "ts",
12
- kind: "lib"
13
- };
14
- const keywords = [
15
- "autotool-plugin",
16
- "managed-by-autotool",
17
- "vitest"
18
- ];
19
- const type = "module";
20
- const publishConfig = {
21
- access: "public"
22
- };
23
- const scripts = {
24
- "lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
25
- "lint:depcheck_": "depcheck",
26
- "lint:es": "turbo run lint:es_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
27
- "lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
28
- "lint:format": "turbo run lint:format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
29
- "lint:format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --check .",
30
- "lint:md": "turbo run lint:md_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
31
- "lint:md_": "remark --frail --no-stdout --silently-ignore .",
32
- "lint:tsc": "turbo run lint:tsc_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
33
- "lint:tsc_": "tsc --noEmit",
34
- publint: "BUILD_REASON='publish' turbo run publint_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
35
- publint_: "publint dist",
36
- test: "turbo run test_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
37
- test_: "vitest --passWithNoTests --coverage --run",
38
- "test:watch": "vitest --passWithNoTests --coverage",
39
- all: "BUILD_REASON='publish' turbo run all_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
40
- build: "turbo run build-lib_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
41
- "build-lib_": "vite build",
42
- format: "turbo run format_ --concurrency 16 --cache-dir .cache/turbo --filter @alexaegis/autotool-plugin-vitest",
43
- format_: "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ."
44
- };
45
- const exports = {
46
- ".": {
47
- types: "./src/index.ts",
48
- "import": "./dist/index.js",
49
- require: "./dist/index.cjs",
50
- "default": "./dist/index.js"
51
- },
52
- "./package-node-vitest.config": "./static/package-node-vitest.config.ts",
53
- "./package-svelte-vitest.config": "./static/package-svelte-vitest.config.ts",
54
- "./package-web-vitest.config": "./static/package-web-vitest.config.ts",
55
- "./readme": "./readme.md"
56
- };
57
- const dependencies = {
58
- "@alexaegis/coverage-tools": "^0.9.1",
59
- "@alexaegis/logging": "^0.9.1",
60
- "@alexaegis/predicate": "^0.9.1",
61
- "autotool-plugin": "^0.6.0"
62
- };
63
- const devDependencies = {
64
- "@alexaegis/eslint-config-vitest": "workspace:^",
65
- "@alexaegis/ts": "workspace:^",
66
- "@alexaegis/vite": "workspace:^",
67
- "@alexaegis/vitest": "workspace:^",
68
- "@lcov-viewer/cli": "^1.3.0",
69
- "@types/node": "^20.12.12",
70
- "@vitest/coverage-v8": "^1.6.0",
71
- publint: "^0.2.8",
72
- typescript: "^5.4.5",
73
- vite: "^5.2.11",
74
- vitest: "^1.6.0"
75
- };
76
- const packageJson = {
77
- name,
78
- description,
79
- version,
80
- license,
81
- "private": false,
82
- archetype,
83
- keywords,
84
- type,
85
- publishConfig,
86
- scripts,
87
- exports,
88
- dependencies,
89
- devDependencies
90
- };
91
5
  const appOrLib = or(equal("app"), equal("lib"));
92
6
  const plugin = (_options) => {
93
7
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alexaegis/autotool-plugin-vitest",
3
3
  "description": "Setup vitest",
4
- "version": "0.11.1",
4
+ "version": "0.11.3",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "archetype": {
@@ -51,19 +51,20 @@
51
51
  "./package-node-vitest.config": "./static/package-node-vitest.config.ts",
52
52
  "./package-svelte-vitest.config": "./static/package-svelte-vitest.config.ts",
53
53
  "./package-web-vitest.config": "./static/package-web-vitest.config.ts",
54
+ "./package.json": "./package.json",
54
55
  "./readme": "./readme.md"
55
56
  },
56
57
  "dependencies": {
57
- "@alexaegis/coverage-tools": "^0.9.1",
58
- "@alexaegis/logging": "^0.9.1",
59
- "@alexaegis/predicate": "^0.9.1",
60
- "autotool-plugin": "^0.6.0"
58
+ "@alexaegis/coverage-tools": "^0.10.0",
59
+ "@alexaegis/logging": "^0.10.0",
60
+ "@alexaegis/predicate": "^0.10.0",
61
+ "autotool-plugin": "^0.6.1"
61
62
  },
62
63
  "devDependencies": {
63
- "@alexaegis/eslint-config-vitest": "^0.11.1",
64
- "@alexaegis/ts": "^0.11.1",
65
- "@alexaegis/vite": "^0.11.1",
66
- "@alexaegis/vitest": "^0.11.1",
64
+ "@alexaegis/eslint-config-vitest": "^0.11.3",
65
+ "@alexaegis/ts": "^0.11.3",
66
+ "@alexaegis/vite": "^0.11.3",
67
+ "@alexaegis/vitest": "^0.11.3",
67
68
  "@lcov-viewer/cli": "^1.3.0",
68
69
  "@types/node": "^20.12.12",
69
70
  "@vitest/coverage-v8": "^1.6.0",