chore: update deps

This commit is contained in:
Anthony Fu committed 2025-03-12 13:51:12 +08:00
1 parent 296e97d5fa
commit 4d180f40bf
4 files changed
+326 -323

No files matched your search

+4 -5
View File
@@ -2,7 +2,7 @@
"name": "pkg-placeholder", "name": "pkg-placeholder",
"type": "module", "type": "module",
"version": "0.0.0", "version": "0.0.0",
"packageManager": "pnpm@10.6.1", "packageManager": "pnpm@10.6.2",
"description": "_description_", "description": "_description_",
"author": "Anthony Fu <anthonyfu117@hotmail.com>", "author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT", "license": "MIT",
@@ -39,12 +39,10 @@
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "catalog:cli", "@antfu/eslint-config": "catalog:cli",
"@antfu/ni": "catalog:cli", "@antfu/ni": "catalog:cli",
"@antfu/utils": "catalog:utils", "@antfu/utils": "catalog:inlined",
"@types/js-yaml": "catalog:testing",
"@types/node": "catalog:types", "@types/node": "catalog:types",
"bumpp": "catalog:cli", "bumpp": "catalog:cli",
"eslint": "catalog:cli", "eslint": "catalog:cli",
"js-yaml": "catalog:testing",
"lint-staged": "catalog:cli", "lint-staged": "catalog:cli",
"simple-git-hooks": "catalog:cli", "simple-git-hooks": "catalog:cli",
"tinyexec": "catalog:utils", "tinyexec": "catalog:utils",
@@ -53,7 +51,8 @@
"unbuild": "catalog:cli", "unbuild": "catalog:cli",
"vite": "catalog:cli", "vite": "catalog:cli",
"vitest": "catalog:testing", "vitest": "catalog:testing",
"vitest-package-exports": "catalog:testing" "vitest-package-exports": "catalog:testing",
"yaml": "catalog:testing"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"pre-commit": "pnpm lint-staged" "pre-commit": "pnpm lint-staged"
+308 -304
View File
File diff suppressed because it is too large. Load diff
+12 -12
View File
@@ -5,25 +5,25 @@ packages:
- examples/* - examples/*
catalogs: catalogs:
cli: cli:
'@antfu/eslint-config': ^4.8.1 '@antfu/eslint-config': ^4.9.0
'@antfu/ni': ^23.3.1 '@antfu/ni': ^24.1.0
bumpp: ^10.0.3 bumpp: ^10.1.0
eslint: ^9.21.0 eslint: ^9.22.0
lint-staged: ^15.4.3 lint-staged: ^15.4.3
simple-git-hooks: ^2.11.1 simple-git-hooks: ^2.11.1
tsx: ^4.19.3 tsx: ^4.19.3
typescript: ^5.8.2 typescript: ^5.8.2
unbuild: ^3.5.0 unbuild: ^3.5.0
vite: ^6.2.1 vite: ^6.2.1
testing: inlined:
'@types/js-yaml': ^4.0.9
js-yaml: ^4.1.0
vitest-package-exports: ^0.1.1
vitest: ^3.0.8
types:
'@types/node': ^22.13.9
utils:
'@antfu/utils': ^9.1.0 '@antfu/utils': ^9.1.0
testing:
vitest: ^3.0.8
vitest-package-exports: ^0.1.1
yaml: ^2.7.0
types:
'@types/node': ^22.13.10
utils:
tinyexec: ^0.3.2 tinyexec: ^0.3.2
onlyBuiltDependencies: onlyBuiltDependencies:
- esbuild - esbuild
+2 -2
View File
@@ -1,7 +1,7 @@
import yaml from 'js-yaml'
import { x } from 'tinyexec' import { x } from 'tinyexec'
import { describe, expect, it } from 'vitest' import { describe, expect, it } from 'vitest'
import { getPackageExportsManifest } from 'vitest-package-exports' import { getPackageExportsManifest } from 'vitest-package-exports'
import yaml from 'yaml'
// TODO: remove this when you are ready for the first release // TODO: remove this when you are ready for the first release
const IS_READY = false const IS_READY = false
@@ -19,7 +19,7 @@ describe.runIf(IS_READY)('exports-snapshot', async () => {
importMode: 'src', importMode: 'src',
cwd: pkg.path, cwd: pkg.path,
}) })
await expect(yaml.dump(manifest.exports, { sortKeys: (a, b) => a.localeCompare(b) })) await expect(yaml.stringify(manifest.exports))
.toMatchFileSnapshot(`./exports/${pkg.name}.yaml`) .toMatchFileSnapshot(`./exports/${pkg.name}.yaml`)
}) })
} }