@simon_he/pi 0.0.10 → 0.0.11
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/README.md +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -11
package/README.md
CHANGED
|
@@ -36,6 +36,15 @@ https://user-images.githubusercontent.com/57086651/203143603-9e78f686-399e-4c3d-
|
|
|
36
36
|
pbuild
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
## :monocle_face: Feature
|
|
40
|
+
```
|
|
41
|
+
<-- Go -->
|
|
42
|
+
## input folder and executor command
|
|
43
|
+
prun # default executor main.go
|
|
44
|
+
prun table # if table.go exists, executor table.go else executor table/main.go. and table can under any folder. For example, examples/table/main.go will also be found and executed
|
|
45
|
+
<-- Go -->
|
|
46
|
+
```
|
|
47
|
+
|
|
39
48
|
## :bulb: Custom configuration
|
|
40
49
|
You can configure the loading style in .zshrc, as follows:
|
|
41
50
|
```
|
package/dist/index.cjs
CHANGED
|
@@ -16,7 +16,7 @@ const process__default = /*#__PURE__*/_interopDefaultLegacy(process);
|
|
|
16
16
|
const ora__default = /*#__PURE__*/_interopDefaultLegacy(ora);
|
|
17
17
|
const fg__default = /*#__PURE__*/_interopDefaultLegacy(fg);
|
|
18
18
|
|
|
19
|
-
const version = "0.0.
|
|
19
|
+
const version = "0.0.11";
|
|
20
20
|
|
|
21
21
|
const rootPath = process__default.cwd();
|
|
22
22
|
const __filename$1 = url$1.fileURLToPath((typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.cjs', document.baseURI).href)));
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { useNodeWorker, jsShell, getPkgTool } from 'simon-js-tool';
|
|
|
5
5
|
import ora from 'ora';
|
|
6
6
|
import fg from 'fast-glob';
|
|
7
7
|
|
|
8
|
-
const version = "0.0.
|
|
8
|
+
const version = "0.0.11";
|
|
9
9
|
|
|
10
10
|
const rootPath = process.cwd();
|
|
11
11
|
const __filename = fileURLToPath(import.meta.url);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simon_he/pi",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"packageManager": "pnpm@7.2.1",
|
|
6
6
|
"description": "",
|
|
7
7
|
"author": "Simon He",
|
|
@@ -55,17 +55,9 @@
|
|
|
55
55
|
"typecheck": "tsc --noEmit"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"axios": "^1.1.3",
|
|
59
|
-
"chalk": "^5.1.2",
|
|
60
|
-
"clipboardy": "^3.0.0",
|
|
61
|
-
"dot-text": "^1.0.7",
|
|
62
58
|
"fast-glob": "^3.2.12",
|
|
63
|
-
"libnpmsearch": "^6.0.0",
|
|
64
59
|
"ora": "^6.1.2",
|
|
65
|
-
"simon-js-tool": "^4.1.27"
|
|
66
|
-
"terminal-kit": "^3.0.0",
|
|
67
|
-
"terminal-link": "^3.0.0",
|
|
68
|
-
"vitest": "^0.25.2"
|
|
60
|
+
"simon-js-tool": "^4.1.27"
|
|
69
61
|
},
|
|
70
62
|
"devDependencies": {
|
|
71
63
|
"@antfu/eslint-config": "^0.25.2",
|
|
@@ -78,6 +70,7 @@
|
|
|
78
70
|
"pnpm": "^7.17.0",
|
|
79
71
|
"rimraf": "^3.0.2",
|
|
80
72
|
"typescript": "^4.9.3",
|
|
81
|
-
"unbuild": "^0.7.6"
|
|
73
|
+
"unbuild": "^0.7.6",
|
|
74
|
+
"vitest": "^0.25.2"
|
|
82
75
|
}
|
|
83
76
|
}
|