@akanjs/cli 3.0.0-alpha.83 → 3.0.0-alpha.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.build-stamp CHANGED
@@ -1 +1 @@
1
- 07970b953a77525adc321d159a34979ccce41c57c25f3faba5c9c02987b96704
1
+ a39c669b04132373380cce9a4d43a8a4fa028fbf2d14255e9f7b3a453a7d3c5d
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-alpha.83",
3
+ "version": "3.0.0-alpha.84",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -33,7 +33,7 @@
33
33
  "@langchain/openai": "^1.4.6",
34
34
  "@tailwindcss/node": "^4.3.0",
35
35
  "@trapezedev/project": "^7.1.4",
36
- "akanjs": "3.0.0-alpha.83",
36
+ "akanjs": "3.0.0-alpha.84",
37
37
  "chalk": "^5.6.2",
38
38
  "commander": "^14.0.3",
39
39
  "dayjs": "^1.11.20",
@@ -0,0 +1,10 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.5.8/schema.json",
3
+ "extends": ["../biome.json"],
4
+ "linter": {
5
+ "domains": {
6
+ "types": "all",
7
+ "project": "recommended"
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,16 @@
1
+ set -e
2
+
3
+ # Find commit files
4
+ echo "Finding commit files..."
5
+ FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')
6
+ [ -z "$FILES" ] && exit 0
7
+
8
+ # Filter out ts, tsx, json files, should not exit when there are no lint files
9
+ LINT_FILES=$(echo "$FILES" | grep -E '(\.ts|\.tsx)$' || true)
10
+
11
+ echo "Checking commit files with Biome..."
12
+ # Run Biome autofix if there are lint files. Any remaining errors fail the commit.
13
+ if [ -n "$LINT_FILES" ]; then
14
+ echo "$LINT_FILES" | xargs ./node_modules/.bin/biome check --write --config-path=.husky/biome.precommit.json --no-errors-on-unmatched --diagnostic-level=error
15
+ echo "$LINT_FILES" | xargs git add --
16
+ fi
@@ -3,7 +3,7 @@
3
3
  "editor.defaultFormatter": "biomejs.biome",
4
4
  "editor.formatOnSave": true,
5
5
  "editor.codeActionsOnSave": {
6
- "source.fixAll.biome": "explicit"
6
+ "source.fixAll.biome": "never"
7
7
  },
8
8
  "[typescript]": {
9
9
  "editor.defaultFormatter": "biomejs.biome"