From cdd824b8b930598c412ef06baf2622c42800acf6 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 6 Nov 2024 16:52:01 +0100 Subject: [PATCH] chore: wip --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ README.md | 1 - build.ts | 9 +++++++-- eslint.config.js | 3 --- package.json | 4 ++-- pkgx.yaml | 2 +- 6 files changed, 42 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3df08d9..2ba70ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,36 @@ +## ...main + + +### 🏡 Chore + +- Initial commit ([0d2505b](https://github.com/stacksjs/bun-config/commit/0d2505b)) +- Wip ([2530d87](https://github.com/stacksjs/bun-config/commit/2530d87)) +- Wip ([647e3e5](https://github.com/stacksjs/bun-config/commit/647e3e5)) +- Wip ([420a65e](https://github.com/stacksjs/bun-config/commit/420a65e)) +- Wip ([e95123e](https://github.com/stacksjs/bun-config/commit/e95123e)) +- Wip ([9c7c77e](https://github.com/stacksjs/bun-config/commit/9c7c77e)) + +### ❤️ Contributors + +- Chris ([@chrisbbreuer](http://github.com/chrisbbreuer)) + +## ...main + + +### 🏡 Chore + +- Initial commit ([0d2505b](https://github.com/stacksjs/bun-config/commit/0d2505b)) +- Wip ([2530d87](https://github.com/stacksjs/bun-config/commit/2530d87)) +- Wip ([647e3e5](https://github.com/stacksjs/bun-config/commit/647e3e5)) +- Wip ([420a65e](https://github.com/stacksjs/bun-config/commit/420a65e)) +- Wip ([e95123e](https://github.com/stacksjs/bun-config/commit/e95123e)) +- Wip ([9c7c77e](https://github.com/stacksjs/bun-config/commit/9c7c77e)) + +### ❤️ Contributors + +- Chris ([@chrisbbreuer](http://github.com/chrisbbreuer)) + ## v0.3.1...main [compare changes](https://github.com/stacksjs/ts-starter/compare/v0.3.1...main) diff --git a/README.md b/README.md index ec9d7f0..3c365b3 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,6 @@ console.log(resolvedConfig) // { port: 3000, host: 'localhost' }, unless a confi > [!TIP] > If your process.cwd() includes a `$name.config.{ts,js,mjs,cjs}` file, it will be loaded and merged with the defaults, with file config file values taking precedence. - ## Testing ```bash diff --git a/build.ts b/build.ts index 4e4163a..bfdda1e 100644 --- a/build.ts +++ b/build.ts @@ -1,7 +1,12 @@ -import { dts } from 'bun-plugin-dts-auto' +// import { dts } from 'bun-plugin-dtsx' + +console.log('Building...') await Bun.build({ entrypoints: ['src/index.ts'], outdir: './dist', - plugins: [dts()], + target: 'bun', + // plugins: [dts()], }) + +console.log('Built') diff --git a/eslint.config.js b/eslint.config.js index d24b632..44b7d05 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -9,7 +9,4 @@ export default stacks({ typescript: true, jsonc: true, yaml: true, - ignores: [ - 'fixtures/**', - ], }) diff --git a/package.json b/package.json index 7988168..2378c80 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "bun-config", "type": "module", - "version": "0.4.0", - "description": "A simple TypeScript starter kit using Bun.", + "version": "0.0.0", + "description": "A smart & fully-typed configuration loader for Bun.", "author": "Chris Breuer ", "license": "MIT", "homepage": "https://github.com/stacksjs/bun-config#readme", diff --git a/pkgx.yaml b/pkgx.yaml index 587759a..830c973 100644 --- a/pkgx.yaml +++ b/pkgx.yaml @@ -1,2 +1,2 @@ dependencies: - bun.sh: ^1.1.31 + bun.sh: ^1.1.33