pjj 0.1.0 → 0.1.4
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 +1 -1
- package/mjs/src/command.mjs +5 -5
- package/package.json +7 -15
- /package/bin/{pjj.js → index.js} +0 -0
package/README.md
CHANGED
package/mjs/src/command.mjs
CHANGED
|
@@ -4,11 +4,11 @@ import { cn } from './cn.mjs';
|
|
|
4
4
|
/** 创建一个命令 */
|
|
5
5
|
const command = new Command('pjj');
|
|
6
6
|
command
|
|
7
|
-
.bind(
|
|
8
|
-
'message <-m> (添加自定义的命令消息)'
|
|
9
|
-
'black <-b> (显示为黑色(默认)文本)'
|
|
10
|
-
'script <-s> (触发的勾子,默认为 prepublishOnly)'
|
|
11
|
-
|
|
7
|
+
.bind([
|
|
8
|
+
'message <-m> (添加自定义的命令消息)',
|
|
9
|
+
'black <-b> (显示为黑色(默认)文本)',
|
|
10
|
+
'script <-s> (触发的勾子,默认为 `prepublishOnly`)',
|
|
11
|
+
])
|
|
12
12
|
.run().isEnd.end;
|
|
13
13
|
/**
|
|
14
14
|
* 命令参数映射
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pjj",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"module": "./mjs/index.mjs",
|
|
4
|
+
"version": "0.1.4",
|
|
6
5
|
"author": {
|
|
7
6
|
"name": "earthnut",
|
|
8
7
|
"email": "earthnut.dev@outlook.com",
|
|
@@ -13,16 +12,9 @@
|
|
|
13
12
|
"mjs",
|
|
14
13
|
"bin"
|
|
15
14
|
],
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"import": {
|
|
19
|
-
"default": "./mjs/index.mjs",
|
|
20
|
-
"types": "./types/index.d.ts"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
15
|
"keywords": [
|
|
25
|
-
"pjj"
|
|
16
|
+
"pjj",
|
|
17
|
+
"bvn"
|
|
26
18
|
],
|
|
27
19
|
"license": "ISC",
|
|
28
20
|
"homepage": "https://earthnut.dev/pjj",
|
|
@@ -39,11 +31,11 @@
|
|
|
39
31
|
"registry": "https://registry.npmjs.org/"
|
|
40
32
|
},
|
|
41
33
|
"dependencies": {
|
|
42
|
-
"a-command": "
|
|
43
|
-
"a-node-tools": "
|
|
44
|
-
"color-pen": "
|
|
34
|
+
"a-command": ">=0.1.1 <1.0.0",
|
|
35
|
+
"a-node-tools": ">=0.1.2 <1.0.0",
|
|
36
|
+
"color-pen": ">=0.1.1 <1.0.0"
|
|
45
37
|
},
|
|
46
38
|
"bin": {
|
|
47
|
-
"pjj": "bin/
|
|
39
|
+
"pjj": "bin/index.js"
|
|
48
40
|
}
|
|
49
41
|
}
|
/package/bin/{pjj.js → index.js}
RENAMED
|
File without changes
|