@plurnk/plurnk-execs-common 1.19.2 → 1.20.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/package.json +271 -272
package/package.json
CHANGED
|
@@ -1,275 +1,274 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"name": "@plurnk/plurnk-execs-common",
|
|
3
|
+
"version": "1.20.0",
|
|
4
|
+
"description": "Universal subprocess executor for plurnk-service's exec scheme — one package exposing the shell, Node.js, Python 3, and supported host interpreters.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"plurnk",
|
|
7
|
+
"exec",
|
|
8
|
+
"runtime",
|
|
9
|
+
"executor",
|
|
10
|
+
"subprocess",
|
|
11
|
+
"repl",
|
|
12
|
+
"shell",
|
|
13
|
+
"node",
|
|
14
|
+
"python3"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://github.com/plurnk/plurnk-service/tree/main/plurnk-execs-common#readme",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://repo.possumtech.com/plurnk/plurnk-service/issues"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/plurnk/plurnk-service.git",
|
|
23
|
+
"directory": "plurnk-execs-common"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=26"
|
|
27
|
+
},
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"author": "@wikitopian",
|
|
30
|
+
"type": "module",
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"plurnk": {
|
|
35
|
+
"kind": "exec",
|
|
36
|
+
"runtimes": [
|
|
37
|
+
{
|
|
38
|
+
"name": "sh",
|
|
39
|
+
"glyph": "🐚",
|
|
40
|
+
"summary": "Run POSIX shell commands and scripts.",
|
|
41
|
+
"invocation": {
|
|
42
|
+
"body": {
|
|
43
|
+
"role": "the shell program; stdin when the target is a script",
|
|
44
|
+
"required": false
|
|
45
|
+
},
|
|
46
|
+
"target": {
|
|
47
|
+
"role": "script; never a command or a directory",
|
|
48
|
+
"required": false,
|
|
49
|
+
"kind": "script"
|
|
50
|
+
},
|
|
51
|
+
"example": {
|
|
52
|
+
"body": "git status --short"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "node",
|
|
58
|
+
"glyph": "⬢",
|
|
59
|
+
"summary": "Run JavaScript code or scripts with Node.js.",
|
|
60
|
+
"invocation": {
|
|
61
|
+
"body": {
|
|
62
|
+
"role": "JavaScript program; stdin when the target is a script",
|
|
63
|
+
"required": false
|
|
64
|
+
},
|
|
65
|
+
"target": {
|
|
66
|
+
"role": "script; never a command or a directory",
|
|
67
|
+
"required": false,
|
|
68
|
+
"kind": "script"
|
|
69
|
+
},
|
|
70
|
+
"example": {
|
|
71
|
+
"body": "console.log(42)"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "python3",
|
|
77
|
+
"glyph": "🐍",
|
|
78
|
+
"summary": "Run Python 3 code or scripts.",
|
|
79
|
+
"invocation": {
|
|
80
|
+
"body": {
|
|
81
|
+
"role": "Python program; stdin when the target is a script",
|
|
82
|
+
"required": false
|
|
83
|
+
},
|
|
84
|
+
"target": {
|
|
85
|
+
"role": "script; never a command or a directory",
|
|
86
|
+
"required": false,
|
|
87
|
+
"kind": "script"
|
|
88
|
+
},
|
|
89
|
+
"example": {
|
|
90
|
+
"body": "print(42)"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "perl",
|
|
96
|
+
"glyph": "🐪",
|
|
97
|
+
"summary": "Run Perl code or scripts.",
|
|
98
|
+
"invocation": {
|
|
99
|
+
"body": {
|
|
100
|
+
"role": "Perl program; stdin when the target is a script",
|
|
101
|
+
"required": false
|
|
102
|
+
},
|
|
103
|
+
"target": {
|
|
104
|
+
"role": "script; never a command or a directory",
|
|
105
|
+
"required": false,
|
|
106
|
+
"kind": "script"
|
|
107
|
+
},
|
|
108
|
+
"example": {
|
|
109
|
+
"body": "print 42;"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "ruby",
|
|
115
|
+
"glyph": "💎",
|
|
116
|
+
"summary": "Run Ruby code or scripts.",
|
|
117
|
+
"invocation": {
|
|
118
|
+
"body": {
|
|
119
|
+
"role": "Ruby program; stdin when the target is a script",
|
|
120
|
+
"required": false
|
|
121
|
+
},
|
|
122
|
+
"target": {
|
|
123
|
+
"role": "script; never a command or a directory",
|
|
124
|
+
"required": false,
|
|
125
|
+
"kind": "script"
|
|
126
|
+
},
|
|
127
|
+
"example": {
|
|
128
|
+
"body": "puts 42"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "lua",
|
|
134
|
+
"glyph": "🌙",
|
|
135
|
+
"summary": "Run Lua code or scripts.",
|
|
136
|
+
"invocation": {
|
|
137
|
+
"body": {
|
|
138
|
+
"role": "Lua program; stdin when the target is a script",
|
|
139
|
+
"required": false
|
|
140
|
+
},
|
|
141
|
+
"target": {
|
|
142
|
+
"role": "script; never a command or a directory",
|
|
143
|
+
"required": false,
|
|
144
|
+
"kind": "script"
|
|
145
|
+
},
|
|
146
|
+
"example": {
|
|
147
|
+
"body": "print(42)"
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "deno",
|
|
153
|
+
"glyph": "🦕",
|
|
154
|
+
"summary": "Run TypeScript or JavaScript code or scripts with Deno.",
|
|
155
|
+
"invocation": {
|
|
156
|
+
"body": {
|
|
157
|
+
"role": "Deno program; stdin when the target is a script",
|
|
158
|
+
"required": false
|
|
159
|
+
},
|
|
160
|
+
"target": {
|
|
161
|
+
"role": "script; never a command or a directory",
|
|
162
|
+
"required": false,
|
|
163
|
+
"kind": "script"
|
|
164
|
+
},
|
|
165
|
+
"example": {
|
|
166
|
+
"body": "console.log(42)"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "bun",
|
|
172
|
+
"glyph": "🥟",
|
|
173
|
+
"summary": "Run TypeScript or JavaScript code or scripts with Bun.",
|
|
174
|
+
"invocation": {
|
|
175
|
+
"body": {
|
|
176
|
+
"role": "Bun program; stdin when the target is a script",
|
|
177
|
+
"required": false
|
|
178
|
+
},
|
|
179
|
+
"target": {
|
|
180
|
+
"role": "script; never a command or a directory",
|
|
181
|
+
"required": false,
|
|
182
|
+
"kind": "script"
|
|
183
|
+
},
|
|
184
|
+
"example": {
|
|
185
|
+
"body": "console.log(42)"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "tcl",
|
|
191
|
+
"glyph": "🪶",
|
|
192
|
+
"summary": "Run Tcl code or scripts.",
|
|
193
|
+
"invocation": {
|
|
194
|
+
"body": {
|
|
195
|
+
"role": "Tcl program; stdin when the target is a script",
|
|
196
|
+
"required": false
|
|
197
|
+
},
|
|
198
|
+
"target": {
|
|
199
|
+
"role": "script; never a command or a directory",
|
|
200
|
+
"required": false,
|
|
201
|
+
"kind": "script"
|
|
202
|
+
},
|
|
203
|
+
"example": {
|
|
204
|
+
"body": "puts 42"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "bc",
|
|
210
|
+
"glyph": "🧮",
|
|
211
|
+
"summary": "Evaluate calculations with bc.",
|
|
212
|
+
"invocation": {
|
|
213
|
+
"body": {
|
|
214
|
+
"role": "bc program; stdin when the target is a script",
|
|
215
|
+
"required": false
|
|
216
|
+
},
|
|
217
|
+
"target": {
|
|
218
|
+
"role": "script; never a command or a directory",
|
|
219
|
+
"required": false,
|
|
220
|
+
"kind": "script"
|
|
221
|
+
},
|
|
222
|
+
"example": {
|
|
223
|
+
"body": "6 * 7"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "awk",
|
|
229
|
+
"glyph": "🪄",
|
|
230
|
+
"summary": "Run AWK code or scripts.",
|
|
231
|
+
"invocation": {
|
|
232
|
+
"body": {
|
|
233
|
+
"role": "AWK program; stdin when the target is a script",
|
|
234
|
+
"required": false
|
|
235
|
+
},
|
|
236
|
+
"target": {
|
|
237
|
+
"role": "script; never a command or a directory",
|
|
238
|
+
"required": false,
|
|
239
|
+
"kind": "script"
|
|
240
|
+
},
|
|
241
|
+
"example": {
|
|
242
|
+
"body": "BEGIN { print 42 }"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"exports": {
|
|
249
|
+
".": {
|
|
250
|
+
"types": "./dist/index.d.ts",
|
|
251
|
+
"default": "./dist/index.js"
|
|
19
252
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"invocation": {
|
|
42
|
-
"body": {
|
|
43
|
-
"role": "the shell program; stdin when the target is a script",
|
|
44
|
-
"required": false
|
|
45
|
-
},
|
|
46
|
-
"target": {
|
|
47
|
-
"role": "script; never a command or a directory",
|
|
48
|
-
"required": false,
|
|
49
|
-
"kind": "script"
|
|
50
|
-
},
|
|
51
|
-
"example": {
|
|
52
|
-
"body": "git status --short"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"name": "node",
|
|
58
|
-
"glyph": "⬢",
|
|
59
|
-
"summary": "Run JavaScript code or scripts with Node.js.",
|
|
60
|
-
"invocation": {
|
|
61
|
-
"body": {
|
|
62
|
-
"role": "JavaScript program; stdin when the target is a script",
|
|
63
|
-
"required": false
|
|
64
|
-
},
|
|
65
|
-
"target": {
|
|
66
|
-
"role": "script; never a command or a directory",
|
|
67
|
-
"required": false,
|
|
68
|
-
"kind": "script"
|
|
69
|
-
},
|
|
70
|
-
"example": {
|
|
71
|
-
"body": "console.log(42)"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "python3",
|
|
77
|
-
"glyph": "🐍",
|
|
78
|
-
"summary": "Run Python 3 code or scripts.",
|
|
79
|
-
"invocation": {
|
|
80
|
-
"body": {
|
|
81
|
-
"role": "Python program; stdin when the target is a script",
|
|
82
|
-
"required": false
|
|
83
|
-
},
|
|
84
|
-
"target": {
|
|
85
|
-
"role": "script; never a command or a directory",
|
|
86
|
-
"required": false,
|
|
87
|
-
"kind": "script"
|
|
88
|
-
},
|
|
89
|
-
"example": {
|
|
90
|
-
"body": "print(42)"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "perl",
|
|
96
|
-
"glyph": "🐪",
|
|
97
|
-
"summary": "Run Perl code or scripts.",
|
|
98
|
-
"invocation": {
|
|
99
|
-
"body": {
|
|
100
|
-
"role": "Perl program; stdin when the target is a script",
|
|
101
|
-
"required": false
|
|
102
|
-
},
|
|
103
|
-
"target": {
|
|
104
|
-
"role": "script; never a command or a directory",
|
|
105
|
-
"required": false,
|
|
106
|
-
"kind": "script"
|
|
107
|
-
},
|
|
108
|
-
"example": {
|
|
109
|
-
"body": "print 42;"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"name": "ruby",
|
|
115
|
-
"glyph": "💎",
|
|
116
|
-
"summary": "Run Ruby code or scripts.",
|
|
117
|
-
"invocation": {
|
|
118
|
-
"body": {
|
|
119
|
-
"role": "Ruby program; stdin when the target is a script",
|
|
120
|
-
"required": false
|
|
121
|
-
},
|
|
122
|
-
"target": {
|
|
123
|
-
"role": "script; never a command or a directory",
|
|
124
|
-
"required": false,
|
|
125
|
-
"kind": "script"
|
|
126
|
-
},
|
|
127
|
-
"example": {
|
|
128
|
-
"body": "puts 42"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "lua",
|
|
134
|
-
"glyph": "🌙",
|
|
135
|
-
"summary": "Run Lua code or scripts.",
|
|
136
|
-
"invocation": {
|
|
137
|
-
"body": {
|
|
138
|
-
"role": "Lua program; stdin when the target is a script",
|
|
139
|
-
"required": false
|
|
140
|
-
},
|
|
141
|
-
"target": {
|
|
142
|
-
"role": "script; never a command or a directory",
|
|
143
|
-
"required": false,
|
|
144
|
-
"kind": "script"
|
|
145
|
-
},
|
|
146
|
-
"example": {
|
|
147
|
-
"body": "print(42)"
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"name": "deno",
|
|
153
|
-
"glyph": "🦕",
|
|
154
|
-
"summary": "Run TypeScript or JavaScript code or scripts with Deno.",
|
|
155
|
-
"invocation": {
|
|
156
|
-
"body": {
|
|
157
|
-
"role": "Deno program; stdin when the target is a script",
|
|
158
|
-
"required": false
|
|
159
|
-
},
|
|
160
|
-
"target": {
|
|
161
|
-
"role": "script; never a command or a directory",
|
|
162
|
-
"required": false,
|
|
163
|
-
"kind": "script"
|
|
164
|
-
},
|
|
165
|
-
"example": {
|
|
166
|
-
"body": "console.log(42)"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "bun",
|
|
172
|
-
"glyph": "🥟",
|
|
173
|
-
"summary": "Run TypeScript or JavaScript code or scripts with Bun.",
|
|
174
|
-
"invocation": {
|
|
175
|
-
"body": {
|
|
176
|
-
"role": "Bun program; stdin when the target is a script",
|
|
177
|
-
"required": false
|
|
178
|
-
},
|
|
179
|
-
"target": {
|
|
180
|
-
"role": "script; never a command or a directory",
|
|
181
|
-
"required": false,
|
|
182
|
-
"kind": "script"
|
|
183
|
-
},
|
|
184
|
-
"example": {
|
|
185
|
-
"body": "console.log(42)"
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
"name": "tcl",
|
|
191
|
-
"glyph": "🪶",
|
|
192
|
-
"summary": "Run Tcl code or scripts.",
|
|
193
|
-
"invocation": {
|
|
194
|
-
"body": {
|
|
195
|
-
"role": "Tcl program; stdin when the target is a script",
|
|
196
|
-
"required": false
|
|
197
|
-
},
|
|
198
|
-
"target": {
|
|
199
|
-
"role": "script; never a command or a directory",
|
|
200
|
-
"required": false,
|
|
201
|
-
"kind": "script"
|
|
202
|
-
},
|
|
203
|
-
"example": {
|
|
204
|
-
"body": "puts 42"
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "bc",
|
|
210
|
-
"glyph": "🧮",
|
|
211
|
-
"summary": "Evaluate calculations with bc.",
|
|
212
|
-
"invocation": {
|
|
213
|
-
"body": {
|
|
214
|
-
"role": "bc program; stdin when the target is a script",
|
|
215
|
-
"required": false
|
|
216
|
-
},
|
|
217
|
-
"target": {
|
|
218
|
-
"role": "script; never a command or a directory",
|
|
219
|
-
"required": false,
|
|
220
|
-
"kind": "script"
|
|
221
|
-
},
|
|
222
|
-
"example": {
|
|
223
|
-
"body": "6 * 7"
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "awk",
|
|
229
|
-
"glyph": "🪄",
|
|
230
|
-
"summary": "Run AWK code or scripts.",
|
|
231
|
-
"invocation": {
|
|
232
|
-
"body": {
|
|
233
|
-
"role": "AWK program; stdin when the target is a script",
|
|
234
|
-
"required": false
|
|
235
|
-
},
|
|
236
|
-
"target": {
|
|
237
|
-
"role": "script; never a command or a directory",
|
|
238
|
-
"required": false,
|
|
239
|
-
"kind": "script"
|
|
240
|
-
},
|
|
241
|
-
"example": {
|
|
242
|
-
"body": "BEGIN { print 42 }"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
]
|
|
247
|
-
},
|
|
248
|
-
"exports": {
|
|
249
|
-
".": {
|
|
250
|
-
"plurnk-dev": "./src/index.ts",
|
|
251
|
-
"types": "./dist/index.d.ts",
|
|
252
|
-
"default": "./dist/index.js"
|
|
253
|
-
},
|
|
254
|
-
"./package.json": "./package.json"
|
|
255
|
-
},
|
|
256
|
-
"files": [
|
|
257
|
-
"dist/**/*",
|
|
258
|
-
"README.md",
|
|
259
|
-
".env.example",
|
|
260
|
-
"docs/**/*"
|
|
261
|
-
],
|
|
262
|
-
"scripts": {
|
|
263
|
-
"test:lint": "tsc --noEmit",
|
|
264
|
-
"test:unit": "node --conditions=plurnk-dev --env-file-if-exists=../plurnk-execs/.env.defaults --test \"src/**/*.test.ts\"",
|
|
265
|
-
"test": "npm run test:lint && npm run test:unit",
|
|
266
|
-
"build:clean": "rm -rf dist",
|
|
267
|
-
"build:dist": "tsc -p tsconfig.build.json",
|
|
268
|
-
"build": "npm run build:clean && npm run build:dist",
|
|
269
|
-
"prepack": "npm run build",
|
|
270
|
-
"prepublishOnly": "npm audit --audit-level=moderate && npm test"
|
|
271
|
-
},
|
|
272
|
-
"peerDependencies": {
|
|
273
|
-
"@plurnk/plurnk-execs": "^1.19.2"
|
|
274
|
-
}
|
|
253
|
+
"./package.json": "./package.json"
|
|
254
|
+
},
|
|
255
|
+
"files": [
|
|
256
|
+
"dist/**/*",
|
|
257
|
+
"README.md",
|
|
258
|
+
".env.example",
|
|
259
|
+
"docs/**/*"
|
|
260
|
+
],
|
|
261
|
+
"scripts": {
|
|
262
|
+
"test:lint": "tsc --noEmit",
|
|
263
|
+
"test:unit": "node --conditions=plurnk-dev --env-file-if-exists=../plurnk-execs/.env.defaults --test \"src/**/*.test.ts\"",
|
|
264
|
+
"test": "npm run test:lint && npm run test:unit",
|
|
265
|
+
"build:clean": "rm -rf dist",
|
|
266
|
+
"build:dist": "tsc -p tsconfig.build.json",
|
|
267
|
+
"build": "npm run build:clean && npm run build:dist",
|
|
268
|
+
"prepack": "npm run build",
|
|
269
|
+
"prepublishOnly": "npm audit --audit-level=moderate && npm test"
|
|
270
|
+
},
|
|
271
|
+
"peerDependencies": {
|
|
272
|
+
"@plurnk/plurnk-execs": "^1.20.0"
|
|
273
|
+
}
|
|
275
274
|
}
|