opencommit 3.2.19 → 3.3.1

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 (3) hide show
  1. package/README.md +23 -2
  2. package/out/cli.cjs +1664 -1008
  3. package/package.json +7 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencommit",
3
- "version": "3.2.19",
3
+ "version": "3.3.1",
4
4
  "description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
5
5
  "keywords": [
6
6
  "git",
@@ -49,9 +49,10 @@
49
49
  "deploy": "npm publish --tag latest",
50
50
  "deploy:build": "npm run build:push && git push --tags && npm run deploy",
51
51
  "deploy:patch": "npm version patch && npm run deploy:build",
52
- "lint": "eslint src --ext ts && tsc --noEmit",
53
- "format": "prettier --write src",
54
- "format:check": "prettier --check src",
52
+ "lint": "biome check . --diagnostic-level=error && tsc --noEmit",
53
+ "typecheck": "tsc --noEmit",
54
+ "format": "prettier --write \"src/**/*.{ts,js,json,md}\" \"test/**/*.{ts,js,json,md}\" \".github/**/*.{yml,yaml}\" \"*.{js,json,ts,md,yml,yaml}\"",
55
+ "format:check": "prettier --check \"src/**/*.{ts,js,json,md}\" \"test/**/*.{ts,js,json,md}\" \".github/**/*.{yml,yaml}\" \"*.{js,json,ts,md,yml,yaml}\"",
55
56
  "test": "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",
56
57
  "test:all": "npm run test:unit:docker && npm run test:e2e:docker",
57
58
  "test:docker-build": "docker build -t oco-test -f test/Dockerfile .",
@@ -61,7 +62,7 @@
61
62
  "test:e2e:smoke": "npm run build && npm run test:e2e:smoke:run",
62
63
  "test:e2e:smoke:run": "OCO_TEST_SKIP_VERSION_CHECK=true jest test/e2e/smoke.test.ts",
63
64
  "test:e2e:core": "npm run build && npm run test:e2e:core:run",
64
- "test:e2e:core:run": "OCO_TEST_SKIP_VERSION_CHECK=true jest test/e2e/cliBehavior.test.ts test/e2e/gitPush.test.ts test/e2e/oneFile.test.ts test/e2e/noChanges.test.ts",
65
+ "test:e2e:core:run": "OCO_TEST_SKIP_VERSION_CHECK=true jest test/e2e/cliBehavior.test.ts test/e2e/geminiBehavior.test.ts test/e2e/gitPush.test.ts test/e2e/oneFile.test.ts test/e2e/noChanges.test.ts",
65
66
  "test:e2e:setup": "npm run test:e2e:prompt-module:setup",
66
67
  "test:e2e:prompt-module:setup": "sh test/e2e/setup.sh",
67
68
  "test:e2e:prompt-module": "npm run build && npm run test:e2e:prompt-module:run",
@@ -70,17 +71,15 @@
70
71
  "mlx:start": "OCO_AI_PROVIDER='mlx' node ./out/cli.cjs"
71
72
  },
72
73
  "devDependencies": {
74
+ "@biomejs/biome": "2.4.11",
73
75
  "@commitlint/types": "^17.4.4",
74
76
  "@types/ini": "^1.3.31",
75
77
  "@types/inquirer": "^9.0.3",
76
78
  "@types/jest": "^29.5.12",
77
79
  "@types/node": "^16.18.14",
78
- "@typescript-eslint/eslint-plugin": "^8.29.0",
79
- "@typescript-eslint/parser": "^8.29.0",
80
80
  "cli-testing-library": "^2.0.2",
81
81
  "dotenv": "^16.0.3",
82
82
  "esbuild": "^0.25.5",
83
- "eslint": "^9.24.0",
84
83
  "jest": "^29.7.0",
85
84
  "prettier": "^2.8.4",
86
85
  "rimraf": "^6.0.1",