@mrsf/cli 0.7.1 → 0.8.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 +21 -21
- package/README.md +513 -513
- package/dist/bin.js +6 -6
- package/dist/browser.cjs +2 -2
- package/dist/browser.cjs.map +1 -1
- package/dist/commands/add.js +3 -3
- package/dist/index.cjs +17 -6
- package/dist/index.cjs.map +3 -3
- package/dist/lib/comments.d.ts +2 -1
- package/dist/lib/comments.js +2 -1
- package/dist/lib/reanchor.js +1 -1
- package/dist/lib/types.d.ts +2 -0
- package/dist/lib/writer.js +15 -1
- package/mrsf.schema.json +113 -113
- package/package.json +95 -95
package/dist/bin.js
CHANGED
|
@@ -45,12 +45,12 @@ function showBanner() {
|
|
|
45
45
|
if (process.argv.includes("-q") || process.argv.includes("--quiet"))
|
|
46
46
|
return;
|
|
47
47
|
const repo = "https://github.com/wictorwilen/MRSF";
|
|
48
|
-
const banner = `
|
|
49
|
-
${chalk.cyan.bold("╔╦╗")}${chalk.blue.bold("╦═╗")}${chalk.magenta.bold("╔═╗")}${chalk.yellow.bold("╔═╗")}
|
|
50
|
-
${chalk.cyan.bold("║║║")}${chalk.blue.bold("╠╦╝")}${chalk.magenta.bold("╚═╗")}${chalk.yellow.bold("╠╣")}
|
|
51
|
-
${chalk.cyan.bold("╩ ╩")}${chalk.blue.bold("╩╚═")}${chalk.magenta.bold("╚═╝")}${chalk.yellow.bold("╚")}
|
|
52
|
-
${chalk.dim("Markdown Review Sidecar Format")} ${chalk.dim.italic(`v${version} (Node.js)`)}
|
|
53
|
-
${chalk.dim.underline(repo)}
|
|
48
|
+
const banner = `
|
|
49
|
+
${chalk.cyan.bold("╔╦╗")}${chalk.blue.bold("╦═╗")}${chalk.magenta.bold("╔═╗")}${chalk.yellow.bold("╔═╗")}
|
|
50
|
+
${chalk.cyan.bold("║║║")}${chalk.blue.bold("╠╦╝")}${chalk.magenta.bold("╚═╗")}${chalk.yellow.bold("╠╣")}
|
|
51
|
+
${chalk.cyan.bold("╩ ╩")}${chalk.blue.bold("╩╚═")}${chalk.magenta.bold("╚═╝")}${chalk.yellow.bold("╚")}
|
|
52
|
+
${chalk.dim("Markdown Review Sidecar Format")} ${chalk.dim.italic(`v${version} (Node.js)`)}
|
|
53
|
+
${chalk.dim.underline(repo)}
|
|
54
54
|
`;
|
|
55
55
|
process.stderr.write(banner + "\n");
|
|
56
56
|
}
|
package/dist/browser.cjs
CHANGED
|
@@ -1823,12 +1823,12 @@ var mrsf_schema_default = {
|
|
|
1823
1823
|
start_column: {
|
|
1824
1824
|
type: "integer",
|
|
1825
1825
|
minimum: 0,
|
|
1826
|
-
description: "
|
|
1826
|
+
description: "Inclusive starting UTF-16 code-unit offset (0-based) within the starting line."
|
|
1827
1827
|
},
|
|
1828
1828
|
end_column: {
|
|
1829
1829
|
type: "integer",
|
|
1830
1830
|
minimum: 0,
|
|
1831
|
-
description: "
|
|
1831
|
+
description: "Exclusive ending UTF-16 code-unit offset (0-based) within the ending line. MUST be >= start_column when on the same line."
|
|
1832
1832
|
},
|
|
1833
1833
|
selected_text: {
|
|
1834
1834
|
type: "string",
|