@alauda/doom 1.2.2 → 1.2.3

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/lib/cli/index.js +3 -2
  2. package/package.json +1 -1
package/lib/cli/index.js CHANGED
@@ -45,13 +45,14 @@ program
45
45
  .option('-R, --edit-repo [boolean|url]', 'Whether to enable or override the `editRepoBaseUrl` config feature, `https://github.com/` prefix could be omitted', parseBooleanOrString, false)
46
46
  .option('-a, --algolia [boolean|alauda]', 'Whether to enable or use the alauda (docs.alauda.io) preset for Algolia search', parseBooleanOrString, false)
47
47
  .option('-S, --site-url', 'Whether to enable the siteUrl for sitemap generation', parseBoolean, false)
48
- .option('-n, --no-open [boolean]', 'Do not open the browser after starting the server')
48
+ .option('-n, --no-open', 'Do not open the browser after starting the server')
49
49
  .command('dev', { isDefault: true })
50
50
  .description('Start the development server')
51
51
  .argument('[root]', 'Root directory of the documentation')
52
52
  .option('-H, --host [host]', 'Dev server host name')
53
53
  .option('-P, --port [port]', 'Dev server port number')
54
- .option('-l, --lazy [boolean]', 'Whether to enable `lazyCompilation` which could improve the compilation performance', parseBoolean, false)
54
+ .option('-l, --lazy [boolean]', 'Whether to enable `lazyCompilation` which could improve the compilation performance', parseBoolean, true)
55
+ .option('--no-lazy', 'Do not enable `lazyCompilation`')
55
56
  .action(async function (root) {
56
57
  setNodeEnv('development');
57
58
  let devServer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/doom",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "type": "module",
5
5
  "description": "Doctor Doom making docs.",
6
6
  "repository": "git+https://github.com/alauda/doom.git",