docus 4.0.0 → 4.0.2

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/README.md CHANGED
@@ -36,7 +36,7 @@ The easiest way to get started is using the Docus CLI, which automatically sets
36
36
 
37
37
  ```bash
38
38
  # Create a new documentation project
39
- npx create docus my-docs
39
+ npx create-docus my-docs
40
40
 
41
41
  # Navigate to your project
42
42
  cd my-docs
@@ -51,7 +51,7 @@ For multi-language documentation, use the i18n template:
51
51
 
52
52
  ```bash
53
53
  # Create a new i18n documentation project
54
- npx create docus my-docs -t i18n
54
+ npx create-docus my-docs -t i18n
55
55
  ```
56
56
 
57
57
  ### Option 2: Manual Setup
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "docus",
3
3
  "description": "Nuxt layer for Docus documentation theme",
4
- "version": "4.0.0",
4
+ "version": "4.0.2",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
7
7
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "@nuxt/image": "^1.10.0",
30
30
  "@nuxt/kit": "^4.0.1",
31
31
  "@nuxt/ui-pro": "^3.3.0",
32
- "@nuxtjs/i18n": "^10.0.3",
32
+ "@nuxtjs/i18n": "^9.5.6",
33
33
  "@nuxtjs/mdc": "^0.17.2",
34
34
  "@nuxtjs/robots": "^5.4.0",
35
35
  "@vueuse/core": "^13.5.0",
package/utils/git.ts CHANGED
@@ -23,7 +23,7 @@ export function getGitBranch() {
23
23
  return envName
24
24
  }
25
25
  try {
26
- const branch = execSync('git rev-parse --abbrev-ref HEAD').toString().trim()
26
+ const branch = execSync('git rev-parse --abbrev-ref HEAD', { stdio: ['ignore', 'pipe', 'ignore'] }).toString().trim()
27
27
  if (branch && branch !== 'HEAD') {
28
28
  return branch
29
29
  }