Skip to content

Commit

Permalink
chore: use bunfig
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Jan 18, 2025
1 parent 2dfd9ce commit cebb053
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bun.lock
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"@stacksjs/eslint-config": "^3.13.1-beta.2",
"@types/bun": "^1.1.17",
"@vite-pwa/vitepress": "^0.5.3",
"bun-config": "^0.3.2",
"bun-plugin-dtsx": "^0.21.9",
"bunfig": "^0.5.3",
"tinyglobby": "^0.2.10",
"unocss": "^65.4.2",
"unplugin-icons": "^22.0.0",
Expand Down Expand Up @@ -957,8 +957,6 @@

"builtin-modules": ["[email protected]", "", {}, "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw=="],

"bun-config": ["[email protected]", "", {}, "sha512-PMkLs0UWW4m0blb32YNgEOndYYVSi0i33msasgqB/uQTIp1fvOzw3DiyBRXNE7NfZjRDXLCVA9iGD0pw+3OksQ=="],

"bun-plugin-dtsx": ["[email protected]", "", { "dependencies": { "@stacksjs/dtsx": "^0.8.0" } }, "sha512-ZEGVuJllTxvTGGa+fcKst0/FvShPsdll209PVWgGalEeLxsp5NfGbmmPAHsHHLxNlffxizdY+cGwI7ZmmWUpRw=="],

"bun-plugin-env": ["[email protected]", "", {}, "sha512-g0CNc7eVw+W8zPQDWccRI8wVNMdeYAURVxWFNAFteWfJaGW7dPkvjug/uB0R0yq7VRkscAYIQzwoGA3SkaQz5A=="],
Expand All @@ -969,6 +967,8 @@

"bundle-name": ["[email protected]", "", { "dependencies": { "run-applescript": "^7.0.0" } }, "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q=="],

"bunfig": ["[email protected]", "", {}, "sha512-QJ3HPCSVWqFfjeprgFhSPkLmFm31d94GFDCrE6iMM5E7vM2zIFYJeToYvaX+A7XEEGtpNvNYHauW3l6DSjFZfQ=="],

"cac": ["[email protected]", "", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="],

"call-bind": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", "get-intrinsic": "^1.2.4", "set-function-length": "^1.2.2" } }, "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww=="],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
"@stacksjs/eslint-config": "^3.13.1-beta.2",
"@types/bun": "^1.1.17",
"@vite-pwa/vitepress": "^0.5.3",
"bun-config": "^0.3.2",
"bun-plugin-dtsx": "^0.21.9",
"bunfig": "^0.5.3",
"tinyglobby": "^0.2.10",
"unocss": "^65.4.2",
"unplugin-icons": "^22.0.0",
Expand Down
3 changes: 2 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { DtsGenerationConfig } from './types'
import process from 'node:process'
import { loadConfig } from 'bun-config'
import { loadConfig } from 'bunfig'

// Get loaded config
// @ts-expect-error dtsx error
// eslint-disable-next-line antfu/no-top-level-await
export const config: DtsGenerationConfig = await loadConfig({
name: 'dts',
Expand Down

0 comments on commit cebb053

Please sign in to comment.