textrun-make 0.2.0 → 0.3.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/README.md +2 -3
- package/dist/actions/command.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
This package provides [Text-Runner](https://github.com/kevgo/text-runner)
|
|
4
4
|
actions for verifying documentation mentioning
|
|
5
|
-
[Make](
|
|
5
|
+
[Make](https://en.wikipedia.org/wiki/Make_(software)) targets.
|
|
6
6
|
|
|
7
7
|
### Installation
|
|
8
8
|
|
|
9
9
|
To use these actions, add this package as a development dependency by running
|
|
10
|
-
<code type="npm/install">npm i -D textrun-make</code
|
|
11
|
-
<code type="npm/install">yarn i -D textrun-make</code>.
|
|
10
|
+
<code type="npm/install">npm i -D textrun-make</code>.
|
|
12
11
|
|
|
13
12
|
### Verify Make commands
|
|
14
13
|
|
package/dist/actions/command.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as color from "colorette";
|
|
2
2
|
import { promises as fs } from "fs";
|
|
3
3
|
import * as os from "os";
|
|
4
|
-
import * as textRunner from "text-runner-
|
|
4
|
+
import * as textRunner from "text-runner-engine";
|
|
5
5
|
import { makefileTargets } from "../helpers/makefile-targets.js";
|
|
6
6
|
/** verifies that the Makefile in the sourceDir contains the enclosed target */
|
|
7
7
|
export async function command(action) {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "textrun-make",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
"build": "tsc -p tsconfig-build.json",
|
|
12
12
|
"clean": "rm -rf dist",
|
|
13
13
|
"cuke": "cucumber-js --format=progress",
|
|
14
|
-
"doc": "text-
|
|
15
|
-
"fix": "eslint
|
|
16
|
-
"lint": "
|
|
17
|
-
"unit": "
|
|
14
|
+
"doc": "text-runner",
|
|
15
|
+
"fix": "eslint --fix --ignore-pattern=dist/ . && dprint fmt && sort-package-json --quiet",
|
|
16
|
+
"lint": "dprint check && sort-package-json --check --quiet && eslint --ignore-pattern=dist/ . && depcheck --config=../.depcheckrc",
|
|
17
|
+
"unit": "node --test --import tsx 'src/**/*.test.ts'"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"colorette": "2.0.
|
|
21
|
-
"text-runner-
|
|
20
|
+
"colorette": "2.0.20",
|
|
21
|
+
"text-runner-engine": "7.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"shared-cucumber-steps": "*",
|
|
25
|
-
"text-runner": "
|
|
26
|
-
"textrun-action": "0.
|
|
27
|
-
"textrun-extension": "0.
|
|
28
|
-
"textrun-npm": "0.
|
|
29
|
-
"textrun-workspace": "0.
|
|
30
|
-
"
|
|
25
|
+
"text-runner": "7.1.0",
|
|
26
|
+
"textrun-action": "0.3.0",
|
|
27
|
+
"textrun-extension": "0.3.0",
|
|
28
|
+
"textrun-npm": "0.3.0",
|
|
29
|
+
"textrun-workspace": "0.3.0",
|
|
30
|
+
"tsx": "4.19.3"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "bdf119a8e549f679af14f88952f7353648b50759"
|
|
33
33
|
}
|