@fynjs/run 1.0.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/LICENSE +201 -0
- package/README.md +720 -0
- package/bin/qrun.js +3 -0
- package/bin/xrun.js +42 -0
- package/cli/check-global.js +6 -0
- package/cli/ck.js +6 -0
- package/cli/cli-options.js +98 -0
- package/cli/config.js +8 -0
- package/cli/env.js +33 -0
- package/cli/npm-loader.js +56 -0
- package/cli/parse-cmd-args.js +156 -0
- package/cli/provider-packages.js +73 -0
- package/cli/search-up-task-file.js +92 -0
- package/cli/task-file.js +192 -0
- package/cli/ts-runner.js +51 -0
- package/cli/usage.js +6 -0
- package/cli/wrap-process.js +27 -0
- package/cli/xrun-main.js +425 -0
- package/cli/xrun.js +8 -0
- package/lib/chalk.js +11 -0
- package/lib/cli-context.js +145 -0
- package/lib/defaults.js +32 -0
- package/lib/gen-xqid.js +10 -0
- package/lib/index.js +12 -0
- package/lib/logger.js +105 -0
- package/lib/ns-order.js +76 -0
- package/lib/print-tasks/index.js +105 -0
- package/lib/reporters/console.js +133 -0
- package/lib/stringify.js +16 -0
- package/lib/util/parse-array.js +5 -0
- package/lib/util/update-env.js +16 -0
- package/lib/xqitem.js +70 -0
- package/lib/xqtor.js +814 -0
- package/lib/xqtree.js +41 -0
- package/lib/xrun-instance.js +33 -0
- package/lib/xrun.d.ts +89 -0
- package/lib/xrun.js +344 -0
- package/lib/xtask-spec.js +63 -0
- package/lib/xtasks.js +137 -0
- package/package.json +93 -0
package/package.json
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fynjs/run",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "concurrent or serial run npm scripts, javascript tasks, and more",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/xrun.d.ts",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=22.12.0"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"pretest": "echo hello",
|
|
12
|
+
"test": "vitest run",
|
|
13
|
+
"ci:check": "vitest run --coverage",
|
|
14
|
+
"test:watch": "vitest",
|
|
15
|
+
"test:debug": "vitest --inspect-brk",
|
|
16
|
+
"coveralls": "cat coverage/lcov.info | coveralls",
|
|
17
|
+
"coverage": "vitest run --coverage",
|
|
18
|
+
"check": "fyn run coverage && fyn run coveralls",
|
|
19
|
+
"format": "prettier --write --print-width 100 lib/*.js test/**/*.js",
|
|
20
|
+
"xfoo2": "echo xfoo2 from npm scripts",
|
|
21
|
+
"postpack": "publish-util-postpack"
|
|
22
|
+
},
|
|
23
|
+
"bin": {
|
|
24
|
+
"xrun": "bin/xrun.js",
|
|
25
|
+
"qrun": "bin/qrun.js"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/jchip/fynjs.git",
|
|
30
|
+
"directory": "packages/xarc-run"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public",
|
|
34
|
+
"registry": "https://registry.npmjs.com/"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"lib",
|
|
38
|
+
"cli",
|
|
39
|
+
"bin"
|
|
40
|
+
],
|
|
41
|
+
"keywords": [
|
|
42
|
+
"concurrent",
|
|
43
|
+
"parallel",
|
|
44
|
+
"serial",
|
|
45
|
+
"run",
|
|
46
|
+
"npm",
|
|
47
|
+
"script",
|
|
48
|
+
"scripts",
|
|
49
|
+
"xrun",
|
|
50
|
+
"command",
|
|
51
|
+
"line",
|
|
52
|
+
"build",
|
|
53
|
+
"tool",
|
|
54
|
+
"shell",
|
|
55
|
+
"flow",
|
|
56
|
+
"control",
|
|
57
|
+
"bash",
|
|
58
|
+
"zsh",
|
|
59
|
+
"make",
|
|
60
|
+
"javascript",
|
|
61
|
+
"task",
|
|
62
|
+
"series",
|
|
63
|
+
"tasks",
|
|
64
|
+
"execution",
|
|
65
|
+
"executor",
|
|
66
|
+
"tool",
|
|
67
|
+
"system",
|
|
68
|
+
"cli",
|
|
69
|
+
"stream",
|
|
70
|
+
"streaming"
|
|
71
|
+
],
|
|
72
|
+
"author": "Joel Chen <joel123@gmail.com>",
|
|
73
|
+
"license": "Apache-2.0",
|
|
74
|
+
"bugs": {
|
|
75
|
+
"url": "https://github.com/jchip/fynjs/issues"
|
|
76
|
+
},
|
|
77
|
+
"homepage": "https://github.com/jchip/fynjs/tree/main/packages/xarc-run",
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"chalk": "^6.0.0",
|
|
80
|
+
"chalker": "^2.0.0",
|
|
81
|
+
"insync": "^2.1.1",
|
|
82
|
+
"jaro-winkler": "^0.2.8",
|
|
83
|
+
"lodash.foreach": "^4.5.0",
|
|
84
|
+
"@fynjs/cli-args": "^1.0.0",
|
|
85
|
+
"optional-require": "^2.1.0",
|
|
86
|
+
"read-pkg-up": "^7.0.1",
|
|
87
|
+
"require-at": "^1.0.6",
|
|
88
|
+
"string-array": "^2.0.0",
|
|
89
|
+
"unwrap-npm-cmd": "^2.0.0",
|
|
90
|
+
"xsh": "^1.0.0"
|
|
91
|
+
},
|
|
92
|
+
"type": "module"
|
|
93
|
+
}
|