undocs 0.2.28 → 0.2.29

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.
@@ -6,7 +6,7 @@ const props = defineProps({
6
6
  const codeBlocks = computed(() =>
7
7
  packageManagers.map((pm) => ({
8
8
  filename: pm.name,
9
- code: `${pm.x} ${props.command}`,
9
+ code: `${pm.x}${props.command}`,
10
10
  key: pm.name,
11
11
  })),
12
12
  )
@@ -45,6 +45,7 @@ const config = {
45
45
  npx: 'vscode-icons:file-type-npm',
46
46
  yarn: 'vscode-icons:file-type-yarn',
47
47
  bun: 'vscode-icons:file-type-bun',
48
+ deno: 'vscode-icons:file-type-deno',
48
49
  yml: 'vscode-icons:file-type-yaml',
49
50
  terminal: 'i-heroicons-command-line',
50
51
  }
@@ -1,8 +1,9 @@
1
1
  export const packageManagers = [
2
- { name: 'npm', command: 'npm', install: 'i', run: 'run ', x: 'npx' },
3
- { name: 'yarn', command: 'yarn', install: 'add', run: '', x: 'yarn dlx' },
4
- { name: 'pnpm', command: 'pnpm', install: 'i', run: '', x: 'pnpm dlx' },
5
- { name: 'bun', command: 'bun', install: 'i', run: 'run ', x: 'bunx' },
2
+ { name: 'npm', command: 'npm', install: 'i', run: 'run ', x: 'npx ' },
3
+ { name: 'yarn', command: 'yarn', install: 'add', run: '', x: 'yarn dlx ' },
4
+ { name: 'pnpm', command: 'pnpm', install: 'i', run: '', x: 'pnpm dlx ' },
5
+ { name: 'bun', command: 'bun', install: 'i', run: 'run ', x: 'bunx ' },
6
+ { name: 'deno', command: 'deno', install: 'i', run: 'run ', x: 'deno run -A npm:' },
6
7
  ] as const
7
8
 
8
9
  export function useSyncedPackageManager(codeBlocks: Ref<{ filename: string }[]>, syncRef: Ref<number>) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "undocs",
3
- "version": "0.2.28",
3
+ "version": "0.2.29",
4
4
  "repository": "unjs/undocs",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,39 +32,39 @@
32
32
  "dependencies": {
33
33
  "@headlessui/vue": "^1.7.23",
34
34
  "@iconify-json/logos": "^1.2.0",
35
- "@iconify-json/simple-icons": "^1.2.2",
35
+ "@iconify-json/simple-icons": "^1.2.4",
36
36
  "@nuxt/content": "^2.13.2",
37
- "@nuxt/fonts": "^0.8.0",
38
- "@nuxt/ui-pro": "^1.4.2",
37
+ "@nuxt/fonts": "^0.9.2",
38
+ "@nuxt/ui-pro": "^1.4.3",
39
39
  "@nuxtjs/plausible": "^1.0.2",
40
40
  "@nuxtjs/tailwindcss": "^6.12.1",
41
41
  "@resvg/resvg-wasm": "^2.6.2",
42
42
  "automd": "^0.3.8",
43
- "c12": "^1.11.2",
43
+ "c12": "^2.0.0",
44
44
  "citty": "^0.1.6",
45
45
  "consola": "^3.2.3",
46
46
  "defu": "^6.1.4",
47
47
  "is-buffer": "^2.0.5",
48
48
  "nitropack": "^2.9.7",
49
- "nuxi": "^3.13.1",
50
- "nuxt": "^3.13.1",
49
+ "nuxi": "^3.14.0",
50
+ "nuxt": "^3.13.2",
51
51
  "nuxt-build-cache": "^0.1.1",
52
52
  "pkg-types": "^1.2.0",
53
53
  "scule": "^1.3.0",
54
- "tailwindcss": "^3.4.11",
54
+ "tailwindcss": "^3.4.13",
55
55
  "unctx": "^2.3.1",
56
56
  "unstorage": "^1.12.0",
57
- "vue": "^3.5.4",
58
- "vue-router": "^4.4.4"
57
+ "vue": "^3.5.9",
58
+ "vue-router": "^4.4.5"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@nuxt/eslint-config": "^0.5.7",
62
62
  "@nuxt/image": "^1.8.0",
63
- "@types/node": "^22.5.4",
64
- "changelogen": "^0.5.5",
65
- "eslint": "^9.10.0",
66
- "eslint-config-unjs": "^0.3.2",
67
- "jiti": "^1.21.6",
63
+ "@types/node": "^22.7.3",
64
+ "changelogen": "^0.5.7",
65
+ "eslint": "^9.11.1",
66
+ "eslint-config-unjs": "^0.4.1",
67
+ "jiti": "^2.0.0",
68
68
  "prettier": "^3.3.3",
69
69
  "typescript": "^5.6.2",
70
70
  "vue-tsc": "^2.1.6"