From 2b8f33a8c0b3b67893e20e2fd57ecfe910191094 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 15 Jun 2026 21:11:51 +0000 Subject: [PATCH] Build from template@4af9f5f --- .devcontainer/devcontainer.json | 2 +- .github/dependabot.yaml | 5 +++++ .husky/pre-commit | 4 ++-- CHANGELOG.md | 2 +- knip.json | 4 ++-- package.json | 3 +++ tsconfig.json | 1 - 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ff6dfe3..f8f9d20 100755 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -40,7 +40,7 @@ "streetsidesoftware.code-spell-checker", "streetsidesoftware.code-spell-checker-norwegian-bokmal", "oven.bun-vscode", - "dbaeumer.vscode-eslint" + "biomejs.biome" ] } } diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 5219787..3be04e4 100755 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -20,3 +20,8 @@ updates: directory: "/" schedule: interval: weekly + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: weekly diff --git a/.husky/pre-commit b/.husky/pre-commit index dbd2fd5..04323ee 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,10 +2,10 @@ # Run secret detection echo "🔍 Scanning for secrets..." -bun run secretlint "**/*" +bunx secretlint "**/*" # Run lint-staged -bun run lint-staged --allow-empty +bunx lint-staged --allow-empty # Prevent commit if lint-staged made changes git diff --exit-code || (echo "❌ lint-staged made changes. Please review, stage, and commit again." && exit 1) diff --git a/CHANGELOG.md b/CHANGELOG.md index e13e103..4341976 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Project scaffolding with TypeScript strict mode -- ESLint and Prettier configuration +- Biome for linting, formatting, and import sorting; Prettier for Markdown & YAML - Bun as package manager and runtime - Husky pre-commit hooks with lint-staged - Secret detection with secretlint diff --git a/knip.json b/knip.json index 3317a36..41c8409 100644 --- a/knip.json +++ b/knip.json @@ -1,6 +1,6 @@ { "$schema": "https://unpkg.com/knip@latest/schema.json", - "entry": ["src/index.ts", "src/main.ts"], + "entry": ["src/index.ts"], "project": ["src/**/*.ts", "src/**/*.tsx"], "ignore": [ "**/*.test.ts", @@ -10,6 +10,6 @@ "**/build/**", "**/.husky/**" ], - "ignoreDependencies": [], + "ignoreDependencies": ["@secretlint/secretlint-rule-preset-recommend"], "ignoreExportsUsedInFile": true } diff --git a/package.json b/package.json index fac9ce2..35f63ed 100755 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "type": "module", "private": true, "author": "Your Name ", + "engines": { + "bun": ">=1.3.1" + }, "scripts": { "build": "bun build src/index.ts --outdir dist --target bun", "typecheck": "tsc --noEmit", diff --git a/tsconfig.json b/tsconfig.json index 9f3b795..65f816d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,6 @@ "moduleResolution": "bundler", "allowImportingTsExtensions": true, "noEmit": true, - "composite": true, "baseUrl": ".", "paths": { "@/*": ["src/*"]