@tiny-fish/cli 0.30.2-next.256 → 0.30.2-next.257

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.
Files changed (1) hide show
  1. package/package.json +18 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiny-fish/cli",
3
- "version": "0.30.2-next.256",
3
+ "version": "0.30.2-next.257",
4
4
  "description": "TinyFish CLI — run web automations from your terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,10 +26,12 @@
26
26
  "test:integration:api:cancel": "vitest --run --passWithNoTests --config vitest.integration.config.ts tests/api.integration.test.ts --testNamePattern \"agent run cancel cancels an in-flight run|skips real API coverage when TINYFISH_API_KEY is not set\"",
27
27
  "test:integration:api:batch": "vitest --run --passWithNoTests --config vitest.integration.config.ts tests/api.integration.test.ts --testNamePattern \"batch commands work end-to-end against the real API|skips real API coverage when TINYFISH_API_KEY is not set\"",
28
28
  "test:integration": "npm run test:integration:auth && npm run test:integration:api:fetch && npm run test:integration:api:browser && npm run test:integration:api:search && npm run test:integration:api:sync && npm run test:integration:api:stream && npm run test:integration:api:async && npm run test:integration:api:cancel && npm run test:integration:api:batch",
29
- "lint": "eslint src tests",
30
- "format": "prettier --write src tests",
29
+ "lint": "oxlint --config .oxlintrc.json",
30
+ "format": "oxfmt --write .",
31
31
  "type-check": "tsc --noEmit --project tsconfig.all.json",
32
- "prepublishOnly": "npm run build"
32
+ "prepublishOnly": "npm run build",
33
+ "lint:budget": "bash ../../.github/scripts/oxlint-budget.sh sdk/cli",
34
+ "format:check": "oxfmt --check ."
33
35
  },
34
36
  "dependencies": {
35
37
  "@tiny-fish/sdk": "^0.5.0",
@@ -41,14 +43,12 @@
41
43
  "zod": "^4.3.6"
42
44
  },
43
45
  "devDependencies": {
44
- "@eslint/js": "^10.0.1",
45
46
  "@types/cross-spawn": "^6.0.6",
46
47
  "@types/node": "^20.0.0",
47
48
  "@types/which": "^2.0.2",
48
- "@typescript-eslint/eslint-plugin": "^8.57.2",
49
- "@typescript-eslint/parser": "^8.57.2",
50
- "eslint": "^10.1.0",
51
- "prettier": "^3.0.0",
49
+ "lint-staged": "^16.2.7",
50
+ "oxfmt": "^0.48.0",
51
+ "oxlint": "^1.63.0",
52
52
  "typescript": "^5.0.0",
53
53
  "vitest": "^4.1.0"
54
54
  },
@@ -66,5 +66,14 @@
66
66
  },
67
67
  "publishConfig": {
68
68
  "registry": "https://registry.npmjs.org/"
69
+ },
70
+ "lint-staged": {
71
+ "**/*.ts": [
72
+ "oxlint --fix --config .oxlintrc.json",
73
+ "oxfmt --write --no-error-on-unmatched-pattern"
74
+ ],
75
+ "**/*.{json,md}": [
76
+ "oxfmt --write --no-error-on-unmatched-pattern"
77
+ ]
69
78
  }
70
79
  }