@deot/dev-tester 2.5.5 → 2.6.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 +2 -1
- package/package.json +10 -10
- /package/dist/{index.es.js → index.js} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -10,6 +10,7 @@ const fs = require('fs-extra');
|
|
|
10
10
|
const inquirer = require('inquirer');
|
|
11
11
|
const autocomplete = require('inquirer-autocomplete-prompt');
|
|
12
12
|
|
|
13
|
+
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
13
14
|
function _interopNamespaceDefault(e) {
|
|
14
15
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
|
|
15
16
|
if (e) {
|
|
@@ -90,7 +91,7 @@ const getOptions = async () => {
|
|
|
90
91
|
return result;
|
|
91
92
|
};
|
|
92
93
|
|
|
93
|
-
const dirname = path__namespace.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (
|
|
94
|
+
const dirname = path__namespace.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))));
|
|
94
95
|
const run = (options) => devShared.Utils.autoCatch(async () => {
|
|
95
96
|
options = { ...options };
|
|
96
97
|
const locals = devShared.Locals.impl();
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deot/dev-tester",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "dist/index.
|
|
5
|
+
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"import": "./dist/index.
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
10
|
"require": "./dist/index.cjs",
|
|
11
11
|
"types": "./dist/index.d.ts"
|
|
12
12
|
}
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@deot/dev-react": "^2.
|
|
24
|
-
"@deot/dev-shared": "^2.
|
|
25
|
-
"@deot/dev-vue": "^2.
|
|
26
|
-
"@vitest/coverage-istanbul": "^0.34.
|
|
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",
|
|
27
27
|
"cross-env": "^7.0.3",
|
|
28
|
-
"inquirer": "^9.2.
|
|
29
|
-
"inquirer-autocomplete-prompt": "^3.0.
|
|
28
|
+
"inquirer": "^9.2.11",
|
|
29
|
+
"inquirer-autocomplete-prompt": "^3.0.1",
|
|
30
30
|
"jsdom": "^22.1.0",
|
|
31
|
-
"vitest": "^0.34.
|
|
31
|
+
"vitest": "^0.34.6"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
File without changes
|