prev-cli 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -538,7 +538,7 @@ var { values, positionals } = parseArgs({
538
538
  allowPositionals: true
539
539
  });
540
540
  var command = positionals[0] || "dev";
541
- var rootDir = process.cwd();
541
+ var rootDir = positionals[1] || process.cwd();
542
542
  function printHelp() {
543
543
  console.log(`
544
544
  prev - Zero-config documentation site generator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prev-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Transform MDX directories into beautiful documentation websites",
5
5
  "type": "module",
6
6
  "license": "MIT",