Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker-norwegian-bokmal",
"oven.bun-vscode",
"dbaeumer.vscode-eslint"
"biomejs.biome"
]
}
}
Expand Down
5 changes: 5 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ updates:
directory: "/"
schedule:
interval: weekly

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions knip.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -10,6 +10,6 @@
"**/build/**",
"**/.husky/**"
],
"ignoreDependencies": [],
"ignoreDependencies": ["@secretlint/secretlint-rule-preset-recommend"],
"ignoreExportsUsedInFile": true
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "module",
"private": true,
"author": "Your Name <you@example.com>",
"engines": {
"bun": ">=1.3.1"
},
"scripts": {
"build": "bun build src/index.ts --outdir dist --target bun",
"typecheck": "tsc --noEmit",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"noEmit": true,
"composite": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand Down
Loading