dotdog 0.1.1 → 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/dist/cli.js +2 -2
- package/package.json +4 -1
package/dist/cli.js
CHANGED
|
@@ -2893,7 +2893,6 @@ function parseInlineObject(value) {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
return obj;
|
|
2895
2895
|
}
|
|
2896
|
-
|
|
2897
2896
|
// src/cli.ts
|
|
2898
2897
|
function parseSections2(markdown) {
|
|
2899
2898
|
const lines = markdown.split(`
|
|
@@ -2927,7 +2926,8 @@ function parseSections2(markdown) {
|
|
|
2927
2926
|
return sections;
|
|
2928
2927
|
}
|
|
2929
2928
|
var program2 = new Command;
|
|
2930
|
-
|
|
2929
|
+
var pkg = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf-8"));
|
|
2930
|
+
program2.name("spec").alias("dotdog").description("The spec dog — validate, analyze, generate .dog files").version(pkg.version);
|
|
2931
2931
|
program2.command("validate [dir]").action((d = ".") => {
|
|
2932
2932
|
const dirs = [join(d, "projects"), join(d, "specs")];
|
|
2933
2933
|
let found = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dotdog",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "The spec dog \u2014 validate, analyze, parse, and generate .dog spec genome files",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/cli.js",
|
|
@@ -29,5 +29,8 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"commander": "^15.0.0",
|
|
31
31
|
"chalk": "^5.6.0"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
32
35
|
}
|
|
33
36
|
}
|