create-docus 2.0.0-beta.1 → 2.0.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.
Files changed (2) hide show
  1. package/dist/main.mjs +5 -1
  2. package/package.json +1 -1
package/dist/main.mjs CHANGED
@@ -1,5 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ // main.ts
4
+ import * as dotenv from "dotenv";
5
+
3
6
  // cli.ts
4
7
  import { resolve } from "path";
5
8
  import { defineCommand, runMain } from "citty";
@@ -20,7 +23,7 @@ function createCLI(opts) {
20
23
  async setup({ args }) {
21
24
  const dir = resolve(args.dir);
22
25
  const { runCommand } = await import("nuxi");
23
- await runCommand("init", [dir, "-t", "gh:nuxtlabs/docus/.starters/default#feat/nuxt-cli"]);
26
+ await runCommand("init", [dir, "-t", "gh:nuxtlabs/docus/.starters/default"]);
24
27
  }
25
28
  });
26
29
  return {
@@ -29,6 +32,7 @@ function createCLI(opts) {
29
32
  }
30
33
 
31
34
  // main.ts
35
+ dotenv.config();
32
36
  var cli = createCLI({
33
37
  name: "create-docus",
34
38
  description: "Create a new Docus documentation project",
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "git+https://github.com/nuxtlabs/docus.git"
7
7
  },
8
8
  "private": false,
9
- "version": "2.0.0-beta.1",
9
+ "version": "2.0.0",
10
10
  "keywords": [],
11
11
  "license": "MIT",
12
12
  "bin": {