diff --git a/bun.lock b/bun.lock index 31b1955..aa4ce0d 100644 --- a/bun.lock +++ b/bun.lock @@ -4,11 +4,8 @@ "workspaces": { "": { "name": "task", - "dependencies": { - "@7n/tauri-components": "^0.13.0", - }, "devDependencies": { - "@7n/rules": "^1.38.0", + "@7n/rules": "^1.45.0", "@7n/rules-ci-github": "^1.9.0", "@7n/rules-lang-js": "^0.12.0", "@7n/rules-lang-rust": "^0.7.0", @@ -93,7 +90,7 @@ "@7n/mt-linux-x64": ["@7n/mt-linux-x64@0.5.1", "", { "os": "linux", "cpu": "x64" }, "sha512-c4b1c435vfGZcRKkLnWcoKs8O6KTATFFx6gPGnid4ee+JDqzyhtxb5kzxYkcTQySO8iBHPAtUMEOBCHDrF1UjQ=="], - "@7n/rules": ["@7n/rules@1.38.0", "", { "dependencies": { "@7n/llm-lib": "^2.8.2", "@7n/mt": "^0.5.1", "@zed-industries/agent-client-protocol": "^0.4.5", "ajv": "^8.20.0", "cli-progress": "^3.12.0", "github-actionlint": "^1.7.12", "globby": "^16.0.0", "ignore": "^7.0.5", "markdownlint-cli2": "^0.22.1", "oxc-parser": "^0.137.0", "picomatch": "^4.0.4", "smol-toml": "^1.7.0", "v8r": "^6.1.0", "yaml": "^2.9.0", "zod": "^4.4.3" }, "optionalDependencies": { "@agentclientprotocol/claude-agent-acp": "^0.59.0", "@earendil-works/pi-ai": "0.80.10", "@earendil-works/pi-coding-agent": "0.80.10" }, "bin": { "n-rules": "bin/n-rules.js", "n-cursor": "bin/n-rules.js" } }, "sha512-PbWgRfUQfhYxHwfqewWqbWZc3kb3YS3rYe5kbl0A83hR5yQ5Mi4DNqcbgH14Gz2/UfhwtrnpZ55SBne0vm+uwg=="], + "@7n/rules": ["@7n/rules@1.45.0", "", { "dependencies": { "@7n/llm-lib": "^2.8.2", "@7n/mt": "^0.5.1", "@zed-industries/agent-client-protocol": "^0.4.5", "ajv": "^8.20.0", "cli-progress": "^3.12.0", "github-actionlint": "^1.7.12", "globby": "^16.0.0", "ignore": "^7.0.5", "markdownlint-cli2": "^0.22.1", "oxc-parser": "^0.137.0", "picomatch": "^4.0.4", "smol-toml": "^1.7.0", "v8r": "^6.1.0", "yaml": "^2.9.0", "zod": "^4.4.3" }, "optionalDependencies": { "@agentclientprotocol/claude-agent-acp": "^0.59.0", "@earendil-works/pi-ai": "0.80.10", "@earendil-works/pi-coding-agent": "0.80.10" }, "bin": { "n-rules": "bin/n-rules.js", "n-cursor": "bin/n-rules.js" } }, "sha512-6B+WAQvu4BwYkVa49n2sa7IxQhntQBrgfSGPsWwwY7+E/ciqOennMfwkBq893uInelF2A5RYNynPGWrGrM0RLQ=="], "@7n/rules-ci-github": ["@7n/rules-ci-github@1.9.0", "", { "dependencies": { "yaml": "^2.9.0" }, "peerDependencies": { "@7n/rules": ">=1.2.0" } }, "sha512-X/f2qKb1XT/QDryJXgK2L/vzpJY8lsBLUTazK8p3L9M5pyGYYY3edkRnz9WgavrYi0TXVE6pzhZcOZUagvocYA=="], @@ -101,7 +98,7 @@ "@7n/rules-lang-rust": ["@7n/rules-lang-rust@0.7.0", "", { "dependencies": { "smol-toml": "^1.7.0" }, "peerDependencies": { "@7n/rules": ">=1.15.0" } }, "sha512-h1xYHn2qV1q/R3iNArschsl5jYk3kb3nSDzy5ql2mqVXVbjm38RKc5uBZnlvTKk5LynAfwbQpAEB8mImJWeTcQ=="], - "@7n/tauri-components": ["@7n/tauri-components@0.13.0", "", { "dependencies": { "marked": "^18.0.5" }, "peerDependencies": { "@tauri-apps/api": "^2.0.0", "@tauri-apps/plugin-http": "^2.0.0", "@tauri-apps/plugin-process": "^2.0.0", "@tauri-apps/plugin-updater": "^2.0.0", "@vue/test-utils": "^2.0.0", "quasar": "^2.0.0", "vue": "^3.0.0" }, "optionalPeers": ["@tauri-apps/api", "@tauri-apps/plugin-http", "quasar"] }, "sha512-hbqaD1eb9F+Ak0exdALOjHJ1wo4NKCbu1hLK8fbtzxvMwqAAMiwHzzFDffTr9g5HEHdsg6BAv2BrSX19UFubKw=="], + "@7n/tauri-components": ["@7n/tauri-components@0.13.9", "", { "dependencies": { "marked": "^18.0.5" }, "peerDependencies": { "@tauri-apps/api": "^2.0.0", "@tauri-apps/plugin-http": "^2.0.0", "@tauri-apps/plugin-process": "^2.0.0", "@tauri-apps/plugin-updater": "^2.0.0", "@vue/test-utils": "^2.0.0", "quasar": "^2.0.0", "vue": "^3.0.0" }, "optionalPeers": ["@tauri-apps/api", "@tauri-apps/plugin-http", "quasar"] }, "sha512-yo2tlJvigUZFq8zVAyh/f2tK/kn/mudDAvcXzJwi2bwzr0h4bvgPJxSZjs7PKcwqfKjcRUbe4ov2JpQiZD67Pw=="], "@agentclientprotocol/claude-agent-acp": ["@agentclientprotocol/claude-agent-acp@0.59.0", "", { "dependencies": { "@agentclientprotocol/sdk": "1.2.1", "@anthropic-ai/claude-agent-sdk": "0.3.207", "zod": "^3.25.0 || ^4.0.0" }, "bin": { "claude-agent-acp": "dist/index.js" } }, "sha512-GejLH5qxsI5IoSDfhyOVDEsRNxqi6y0Rcj5FstVeOwMACSht/bUXII0HILbzOQNoA5qlyZle3FRvf+CAjD7Rpg=="], @@ -2611,8 +2608,6 @@ "ajv-formats/ajv": ["ajv@8.18.0", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A=="], - "app/@7n/tauri-components": ["@7n/tauri-components@0.13.9", "", { "dependencies": { "marked": "^18.0.5" }, "peerDependencies": { "@tauri-apps/api": "^2.0.0", "@tauri-apps/plugin-http": "^2.0.0", "@tauri-apps/plugin-process": "^2.0.0", "@tauri-apps/plugin-updater": "^2.0.0", "@vue/test-utils": "^2.0.0", "quasar": "^2.0.0", "vue": "^3.0.0" }, "optionalPeers": ["@tauri-apps/api", "@tauri-apps/plugin-http", "quasar"] }, "sha512-yo2tlJvigUZFq8zVAyh/f2tK/kn/mudDAvcXzJwi2bwzr0h4bvgPJxSZjs7PKcwqfKjcRUbe4ov2JpQiZD67Pw=="], - "ast-v8-to-istanbul/estree-walker": ["estree-walker@3.0.3", "", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g=="], "ast-v8-to-istanbul/js-tokens": ["js-tokens@10.0.0", "", {}, "sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q=="], diff --git a/package.json b/package.json index 2a3c4c8..0ac1d5a 100644 --- a/package.json +++ b/package.json @@ -12,19 +12,11 @@ "owner": "bun --cwd=owner run tauri dev --config src-tauri/tauri.conf.dev.json", "android": "bun --cwd=app run tauri android dev", "tauri": "bun --cwd=app run tauri", - "lint": "bun run lint-js && bun run lint-text && bun run lint-style && bun run lint-ga && bun run lint-rust && bun run lint-image && bun run lint-security && oxfmt .", - "lint-rust": "cargo fmt --all --manifest-path app/src-tauri/Cargo.toml && cargo clippy --manifest-path app/src-tauri/Cargo.toml --fix --allow-staged --allow-dirty --all-targets --all-features && cargo clippy --manifest-path app/src-tauri/Cargo.toml --all-targets --all-features -- -D warnings && cargo fmt --all --manifest-path owner/src-tauri/Cargo.toml && cargo clippy --manifest-path owner/src-tauri/Cargo.toml --fix --allow-staged --allow-dirty --all-targets --all-features && cargo clippy --manifest-path owner/src-tauri/Cargo.toml --all-targets --all-features -- -D warnings", - "lint-ga": "n-cursor lint ga", - "lint-image": "npx @nitra/minify-image --src=. --write", - "lint-js": "bunx oxlint --fix && bunx eslint --fix . && bunx jscpd . && bunx knip --no-config-hints", - "lint-security": "trufflehog filesystem . --no-update --exclude-paths .trufflehog-exclude --results=verified,unknown --fail", - "lint-style": "npx stylelint '**/*.{css,scss,vue}' --fix", - "lint-text": "n-cursor lint text", - "coverage": "n-cursor coverage", - "test": "vitest run" + "coverage": "npx @7n/rules lint test --no-fix", + "test": "bun run --bun vitest run" }, "devDependencies": { - "@7n/rules": "^1.38.0", + "@7n/rules": "^1.45.0", "@7n/rules-ci-github": "^1.9.0", "@7n/rules-lang-js": "^0.12.0", "@7n/rules-lang-rust": "^0.7.0",