chore: update deps
This commit is contained in:
4 files changed
+326
-323
No files matched your search
+4
-5
@@ -2,7 +2,7 @@
|
||||
"name": "pkg-placeholder",
|
||||
"type": "module",
|
||||
"version": "0.0.0",
|
||||
"packageManager": "pnpm@10.6.1",
|
||||
"packageManager": "pnpm@10.6.2",
|
||||
"description": "_description_",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
||||
"license": "MIT",
|
||||
@@ -39,12 +39,10 @@
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "catalog:cli",
|
||||
"@antfu/ni": "catalog:cli",
|
||||
"@antfu/utils": "catalog:utils",
|
||||
"@types/js-yaml": "catalog:testing",
|
||||
"@antfu/utils": "catalog:inlined",
|
||||
"@types/node": "catalog:types",
|
||||
"bumpp": "catalog:cli",
|
||||
"eslint": "catalog:cli",
|
||||
"js-yaml": "catalog:testing",
|
||||
"lint-staged": "catalog:cli",
|
||||
"simple-git-hooks": "catalog:cli",
|
||||
"tinyexec": "catalog:utils",
|
||||
@@ -53,7 +51,8 @@
|
||||
"unbuild": "catalog:cli",
|
||||
"vite": "catalog:cli",
|
||||
"vitest": "catalog:testing",
|
||||
"vitest-package-exports": "catalog:testing"
|
||||
"vitest-package-exports": "catalog:testing",
|
||||
"yaml": "catalog:testing"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged"
|
||||
|
||||
Generated
+308
-304
File diff suppressed because it is too large.
Load diff
+12
-12
@@ -5,25 +5,25 @@ packages:
|
||||
- examples/*
|
||||
catalogs:
|
||||
cli:
|
||||
'@antfu/eslint-config': ^4.8.1
|
||||
'@antfu/ni': ^23.3.1
|
||||
bumpp: ^10.0.3
|
||||
eslint: ^9.21.0
|
||||
'@antfu/eslint-config': ^4.9.0
|
||||
'@antfu/ni': ^24.1.0
|
||||
bumpp: ^10.1.0
|
||||
eslint: ^9.22.0
|
||||
lint-staged: ^15.4.3
|
||||
simple-git-hooks: ^2.11.1
|
||||
tsx: ^4.19.3
|
||||
typescript: ^5.8.2
|
||||
unbuild: ^3.5.0
|
||||
vite: ^6.2.1
|
||||
testing:
|
||||
'@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:
|
||||
inlined:
|
||||
'@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
|
||||
onlyBuiltDependencies:
|
||||
- esbuild
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import yaml from 'js-yaml'
|
||||
import { x } from 'tinyexec'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import { getPackageExportsManifest } from 'vitest-package-exports'
|
||||
import yaml from 'yaml'
|
||||
|
||||
// TODO: remove this when you are ready for the first release
|
||||
const IS_READY = false
|
||||
@@ -19,7 +19,7 @@ describe.runIf(IS_READY)('exports-snapshot', async () => {
|
||||
importMode: 'src',
|
||||
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`)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user