node-karin 1.2.4-pr.251.7b5c8ba → 1.2.4-pr.251.7c2f0d6
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/cli/index.cjs +2 -2
- package/dist/cli/index.js +2 -2
- package/package.json +3 -3
- package/dist/cli/pm2.js +0 -1
- package/dist/index.d.ts +0 -10620
- package/dist/index.js +0 -17171
- package/dist/root.d.ts +0 -70
- package/dist/root.js +0 -75
package/dist/cli/index.cjs
CHANGED
|
@@ -109,7 +109,7 @@ var pkgDir = url.fileURLToPath(new url.URL("../..", (typeof document === 'undefi
|
|
|
109
109
|
var isPluginDev = () => {
|
|
110
110
|
const pkg = fs2__default.default.readFileSync(path2__default.default.join(dir, "package.json"), "utf-8");
|
|
111
111
|
const data = JSON.parse(pkg);
|
|
112
|
-
if (data == null ?
|
|
112
|
+
if (data == null ? undefined : data.karin) return true;
|
|
113
113
|
if (fs2__default.default.existsSync(path2__default.default.join(dir, "src"))) return true;
|
|
114
114
|
if (fs2__default.default.existsSync(path2__default.default.join(dir, "tsconfig.json"))) return true;
|
|
115
115
|
if (fs2__default.default.existsSync(path2__default.default.join(dir, ".prettierrc"))) return true;
|
|
@@ -452,7 +452,7 @@ var updateAll = async () => {
|
|
|
452
452
|
}
|
|
453
453
|
};
|
|
454
454
|
var _a;
|
|
455
|
-
if (!((_a = process.argv) == null ?
|
|
455
|
+
if (!((_a = process.argv) == null ? undefined : _a[2])) process.argv.push("-h");
|
|
456
456
|
var addEnvOption = (command) => {
|
|
457
457
|
return command.option("-e, --env <files>", "\u6307\u5B9A\u73AF\u5883\u53D8\u91CF\u6587\u4EF6\uFF0C\u591A\u4E2A\u6587\u4EF6\u7528\u9017\u53F7\u5206\u9694");
|
|
458
458
|
};
|
package/dist/cli/index.js
CHANGED
|
@@ -100,7 +100,7 @@ var pkgDir = fileURLToPath(new URL$1("../..", import.meta.url));
|
|
|
100
100
|
var isPluginDev = () => {
|
|
101
101
|
const pkg = fs2.readFileSync(path2.join(dir, "package.json"), "utf-8");
|
|
102
102
|
const data = JSON.parse(pkg);
|
|
103
|
-
if (data == null ?
|
|
103
|
+
if (data == null ? undefined : data.karin) return true;
|
|
104
104
|
if (fs2.existsSync(path2.join(dir, "src"))) return true;
|
|
105
105
|
if (fs2.existsSync(path2.join(dir, "tsconfig.json"))) return true;
|
|
106
106
|
if (fs2.existsSync(path2.join(dir, ".prettierrc"))) return true;
|
|
@@ -443,7 +443,7 @@ var updateAll = async () => {
|
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
445
|
var _a;
|
|
446
|
-
if (!((_a = process.argv) == null ?
|
|
446
|
+
if (!((_a = process.argv) == null ? undefined : _a[2])) process.argv.push("-h");
|
|
447
447
|
var addEnvOption = (command) => {
|
|
448
448
|
return command.option("-e, --env <files>", "\u6307\u5B9A\u73AF\u5883\u53D8\u91CF\u6587\u4EF6\uFF0C\u591A\u4E2A\u6587\u4EF6\u7528\u9017\u53F7\u5206\u9694");
|
|
449
449
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-karin",
|
|
3
|
-
"version": "1.2.4-pr.251.
|
|
3
|
+
"version": "1.2.4-pr.251.7c2f0d6",
|
|
4
4
|
"description": "Lightweight, efficient, concise, and stable robot framework.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"author": "shijin",
|
|
26
26
|
"type": "module",
|
|
27
|
-
"main": "./
|
|
27
|
+
"main": "./src/index.ts",
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
29
29
|
"bin": {
|
|
30
30
|
"k": "./dist/cli/index.cjs",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"time": "2025-01-21",
|
|
96
96
|
"exports": {
|
|
97
97
|
".": {
|
|
98
|
-
"import": "./
|
|
98
|
+
"import": "./src/index.ts",
|
|
99
99
|
"types": "./dist/index.d.ts"
|
|
100
100
|
},
|
|
101
101
|
"./dir": {
|
package/dist/cli/pm2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import 'node-karin'
|