diff --git a/bun.lock b/bun.lock old mode 100755 new mode 100644 index a3c3026..b6c8666 --- a/bun.lock +++ b/bun.lock @@ -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", @@ -957,8 +957,6 @@ "builtin-modules": ["builtin-modules@3.3.0", "", {}, "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw=="], - "bun-config": ["bun-config@0.3.2", "", {}, "sha512-PMkLs0UWW4m0blb32YNgEOndYYVSi0i33msasgqB/uQTIp1fvOzw3DiyBRXNE7NfZjRDXLCVA9iGD0pw+3OksQ=="], - "bun-plugin-dtsx": ["bun-plugin-dtsx@0.21.9", "", { "dependencies": { "@stacksjs/dtsx": "^0.8.0" } }, "sha512-ZEGVuJllTxvTGGa+fcKst0/FvShPsdll209PVWgGalEeLxsp5NfGbmmPAHsHHLxNlffxizdY+cGwI7ZmmWUpRw=="], "bun-plugin-env": ["bun-plugin-env@0.4.1", "", {}, "sha512-g0CNc7eVw+W8zPQDWccRI8wVNMdeYAURVxWFNAFteWfJaGW7dPkvjug/uB0R0yq7VRkscAYIQzwoGA3SkaQz5A=="], @@ -969,6 +967,8 @@ "bundle-name": ["bundle-name@4.1.0", "", { "dependencies": { "run-applescript": "^7.0.0" } }, "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q=="], + "bunfig": ["bunfig@0.5.3", "", {}, "sha512-QJ3HPCSVWqFfjeprgFhSPkLmFm31d94GFDCrE6iMM5E7vM2zIFYJeToYvaX+A7XEEGtpNvNYHauW3l6DSjFZfQ=="], + "cac": ["cac@6.7.14", "", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="], "call-bind": ["call-bind@1.0.8", "", { "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=="], diff --git a/package.json b/package.json index 2d10a1e..ce46ab3 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/config.ts b/src/config.ts index 639b07c..545d821 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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',