Skip to content

Commit 75121d5

Browse files
authored
chore: upgrade deps (#3241)
1 parent 2116916 commit 75121d5

File tree

15 files changed

+2144
-1690
lines changed

15 files changed

+2144
-1690
lines changed

docs/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
"name": "@nuxt/content-docs",
44
"type": "module",
55
"dependencies": {
6-
"@iconify-json/lucide": "^1.2.27",
7-
"@iconify-json/simple-icons": "^1.2.26",
6+
"@iconify-json/lucide": "^1.2.29",
7+
"@iconify-json/simple-icons": "^1.2.28",
88
"@iconify-json/vscode-icons": "^1.2.16",
99
"@nuxt/content": "latest",
1010
"@nuxt/image": "^1.9.0",
11-
"@nuxt/ui-pro": "3.0.0-alpha.13",
12-
"@nuxthub/core": "^0.8.17",
11+
"@nuxt/ui-pro": "3.0.0-beta.3",
12+
"@nuxthub/core": "^0.8.18",
1313
"@nuxtjs/plausible": "^1.2.0",
1414
"@octokit/rest": "^21.1.1",
15-
"@vueuse/nuxt": "^12.7.0",
15+
"@vueuse/nuxt": "^13.0.0",
1616
"joi": "^17.13.3",
1717
"minisearch": "^7.1.2",
18-
"nuxt": "3.15.4",
18+
"nuxt": "^3.16.0",
1919
"nuxt-llms": "^0.1.0",
20-
"nuxt-og-image": "^4.1.4",
21-
"prettier": "^3.5.2",
20+
"nuxt-og-image": "^5.0.2",
21+
"prettier": "^3.5.3",
2222
"shiki-transformer-color-highlight": "^1.0.0",
2323
"ufo": "^1.5.4",
2424
"valibot": "^0.42.1",

examples/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@nuxt/content": "next",
13-
"nuxt": "latest",
13+
"nuxt": "^3.16.0",
1414
"vue": "latest",
1515
"vue-router": "latest"
1616
}

examples/blog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"@nuxt/content": "^3.0.0-alpha.1",
14-
"nuxt": "^3.13.2"
14+
"nuxt": "^3.16.0"
1515
}
1616
}

examples/i18n/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@nuxt/content": "next",
1313
"@nuxtjs/i18n": "latest",
1414
"@nuxt/ui-pro": "next",
15-
"nuxt": "latest",
15+
"nuxt": "^3.16.0",
1616
"vue": "latest",
1717
"vue-router": "latest"
1818
}

examples/ui-pro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@nuxt/ui-pro": "next",
1313
"@nuxt/content": "next",
14-
"nuxt": "latest",
14+
"nuxt": "^3.16.0",
1515
"vue": "latest",
1616
"vue-router": "latest"
1717
}

package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"verify": "npm run dev:prepare && npm run lint && npm run test && npm run typecheck"
5151
},
5252
"dependencies": {
53-
"@nuxt/kit": "^3.15.4",
53+
"@nuxt/kit": "^3.16.0",
5454
"@nuxtjs/mdc": "^0.15.0",
5555
"@shikijs/langs": "^3.1.0",
5656
"@sqlite.org/sqlite-wasm": "3.49.1-build2",
@@ -78,9 +78,8 @@
7878
"minimatch": "^10.0.1",
7979
"nuxt-component-meta": "^0.10.0",
8080
"ohash": "^1.1.4",
81-
"parse-git-config": "^3.0.0",
8281
"pathe": "^2.0.3",
83-
"pkg-types": "^1.3.1",
82+
"pkg-types": "^2.1.0",
8483
"remark-mdc": "latest",
8584
"scule": "^1.3.0",
8685
"shiki": "^3.1.0",
@@ -116,24 +115,24 @@
116115
"@cloudflare/workers-types": "^4.20250303.0",
117116
"@nuxt/content": "link:.",
118117
"@nuxt/devtools": "^2.2.1",
119-
"@nuxt/eslint-config": "^1.1.0",
120-
"@nuxt/kit": "^3.15.4",
118+
"@nuxt/eslint-config": "^1.2.0",
119+
"@nuxt/kit": "^3.16.0",
121120
"@nuxt/module-builder": "^0.8.4",
122-
"@nuxt/schema": "^3.15.4",
123-
"@nuxt/test-utils": "^3.17.1",
121+
"@nuxt/schema": "^3.16.0",
122+
"@nuxt/test-utils": "^3.17.2",
124123
"@release-it/conventional-changelog": "^10.0.0",
125124
"@types/better-sqlite3": "^7.6.12",
126125
"@types/bun": "^1.2.4",
127126
"@types/micromatch": "^4.0.9",
128127
"@types/minimatch": "^5.1.2",
129-
"@types/node": "^22.13.9",
128+
"@types/node": "^22.13.10",
130129
"@types/pg": "^8.11.11",
131130
"@types/ws": "^8.18.0",
132131
"csvtojson": "^2.0.10",
133-
"eslint": "^9.21.0",
132+
"eslint": "^9.22.0",
134133
"mdclint": "^0.0.2",
135134
"micromark-util-types": "^2.0.2",
136-
"nuxt": "^3.15.4",
135+
"nuxt": "^3.16.0",
137136
"release-it": "^18.1.2",
138137
"typescript": "5.8.2",
139138
"vitest": "^3.0.8",

playground/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"devDependencies": {
1212
"@nuxt/content": "latest",
1313
"@nuxt/ui-pro": "3.0.0-alpha.13",
14-
"@nuxthub/core": "^0.8.17",
15-
"nuxt": "^3.15.4",
14+
"@nuxthub/core": "^0.8.18",
15+
"nuxt": "^3.16.0",
1616
"remark-code-import": "latest",
1717
"shiki-transformer-color-highlight": "^1.0.0"
1818
}

pnpm-lock.yaml

Lines changed: 2101 additions & 1656 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ packages:
22
- "./"
33
- "playground"
44
- "docs"
5-
- "examples/*"
5+
- "examples/*"
6+
- "test/fixtures/*"

src/utils/git.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { pipeline } from 'node:stream'
44
import { promisify } from 'node:util'
55
import { join } from 'pathe'
66
import { extract } from 'tar'
7-
import { findNearestFile } from 'pkg-types'
7+
import { readGitConfig } from 'pkg-types'
88
// @ts-expect-error import does exist
99
import gitUrlParse from 'git-url-parse'
1010

@@ -180,17 +180,11 @@ export function getGitEnv(): GitInfo {
180180

181181
async function getLocalGitRemote(dir: string) {
182182
try {
183-
// https://www.npmjs.com/package/parse-git-config#options
184-
const parseGitConfig = await import('parse-git-config' as string).then(
185-
m => m.promise || m.default || m,
186-
) as (opts: { path: string }) => Promise<Record<string, Record<string, string>>>
187-
const gitDir = await findNearestFile('.git/config', { startingFrom: dir })
188-
const parsed = await parseGitConfig({ path: gitDir })
183+
const parsed = await readGitConfig(dir)
189184
if (!parsed) {
190185
return
191186
}
192-
const gitRemote = parsed['remote "origin"'].url
193-
return gitRemote
187+
return parsed.remote['origin'].url
194188
}
195189
catch {
196190
// Ignore error

0 commit comments

Comments
 (0)