@deot/dev-tester 2.6.0 → 2.7.0

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.cjs CHANGED
@@ -95,6 +95,9 @@ const dirname = path__namespace.dirname(node_url.fileURLToPath((typeof document
95
95
  const run = (options) => devShared.Utils.autoCatch(async () => {
96
96
  options = { ...options };
97
97
  const locals = devShared.Locals.impl();
98
+ options.packageName = devShared.Locals.getRealPackageName(options.packageName);
99
+ options.vuePackage = devShared.Locals.getRealPackageName(options.vuePackage);
100
+ options.reactPackage = devShared.Locals.getRealPackageName(options.reactPackage);
98
101
  if (typeof options.dryRun === "undefined") {
99
102
  options.dryRun = process.env.NODE_ENV === "UNIT";
100
103
  }
package/dist/index.js CHANGED
@@ -71,6 +71,9 @@ const dirname = path.dirname(fileURLToPath(import.meta.url));
71
71
  const run = (options) => Utils.autoCatch(async () => {
72
72
  options = { ...options };
73
73
  const locals = Locals.impl();
74
+ options.packageName = Locals.getRealPackageName(options.packageName);
75
+ options.vuePackage = Locals.getRealPackageName(options.vuePackage);
76
+ options.reactPackage = Locals.getRealPackageName(options.reactPackage);
74
77
  if (typeof options.dryRun === "undefined") {
75
78
  options.dryRun = process.env.NODE_ENV === "UNIT";
76
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/dev-tester",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,14 +20,14 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@deot/dev-react": "^2.6.0",
24
- "@deot/dev-shared": "^2.6.0",
25
- "@deot/dev-vue": "^2.6.0",
26
- "@vitest/coverage-istanbul": "^0.34.6",
23
+ "@deot/dev-react": "^2.7.0",
24
+ "@deot/dev-shared": "^2.7.0",
25
+ "@deot/dev-vue": "^2.7.0",
26
+ "@vitest/coverage-istanbul": "^1.0.1",
27
27
  "cross-env": "^7.0.3",
28
- "inquirer": "^9.2.11",
28
+ "inquirer": "^9.2.12",
29
29
  "inquirer-autocomplete-prompt": "^3.0.1",
30
- "jsdom": "^22.1.0",
31
- "vitest": "^0.34.6"
30
+ "jsdom": "^23.0.1",
31
+ "vitest": "^1.0.1"
32
32
  }
33
33
  }
package/shared.config.ts CHANGED
@@ -115,10 +115,13 @@ export default mergeConfig(getViteConfig(), defineConfig({
115
115
  enabled: true,
116
116
  provider: 'istanbul',
117
117
  reporter: ['text', 'html'],
118
- branches: 85,
119
- statements: 95,
120
- functions: 95,
121
- lines: 95,
118
+ all: false,
119
+ thresholds: {
120
+ branches: 85,
121
+ statements: 95,
122
+ functions: 95,
123
+ lines: 95
124
+ },
122
125
  include: collects,
123
126
  exclude: [
124
127
  `**/examples/**`,