opencommit 3.0.12 → 3.0.16

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencommit",
3
- "version": "3.0.12",
3
+ "version": "3.0.16",
4
4
  "description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
5
5
  "keywords": [
6
6
  "git",
@@ -47,19 +47,29 @@
47
47
  "build:push": "npm run build && git add . && git commit -m 'build' && git push",
48
48
  "deploy": "npm version patch && npm run build:push && git push --tags && npm publish --tag latest",
49
49
  "lint": "eslint src --ext ts && tsc --noEmit",
50
- "format": "prettier --write src"
50
+ "format": "prettier --write src",
51
+ "test:all": "npm run test:unit:docker && npm run test:e2e:docker",
52
+ "test:docker-build": "docker build -t oco-test -f test/Dockerfile .",
53
+ "test:unit": "NODE_OPTIONS=--experimental-vm-modules jest test/unit",
54
+ "test:unit:docker": "npm run test:docker-build && DOCKER_CONTENT_TRUST=0 docker run --rm oco-test npm run test:unit",
55
+ "test:e2e": "jest test/e2e",
56
+ "test:e2e:docker": "npm run test:docker-build && DOCKER_CONTENT_TRUST=0 docker run --rm oco-test npm run test:e2e"
51
57
  },
52
58
  "devDependencies": {
53
59
  "@commitlint/types": "^17.4.4",
54
60
  "@types/ini": "^1.3.31",
55
61
  "@types/inquirer": "^9.0.3",
62
+ "@types/jest": "^29.5.12",
56
63
  "@types/node": "^16.18.14",
57
64
  "@typescript-eslint/eslint-plugin": "^5.45.0",
58
65
  "@typescript-eslint/parser": "^5.45.0",
66
+ "cli-testing-library": "^2.0.2",
59
67
  "dotenv": "^16.0.3",
60
68
  "esbuild": "^0.15.18",
61
69
  "eslint": "^8.28.0",
70
+ "jest": "^29.7.0",
62
71
  "prettier": "^2.8.4",
72
+ "ts-jest": "^29.1.2",
63
73
  "ts-node": "^10.9.1",
64
74
  "typescript": "^4.9.3"
65
75
  },
@@ -67,6 +77,8 @@
67
77
  "@actions/core": "^1.10.0",
68
78
  "@actions/exec": "^1.1.1",
69
79
  "@actions/github": "^5.1.1",
80
+ "@azure/openai": "^1.0.0-beta.12",
81
+ "@anthropic-ai/sdk": "^0.19.2",
70
82
  "@clack/prompts": "^0.6.1",
71
83
  "@dqbd/tiktoken": "^1.0.2",
72
84
  "@octokit/webhooks-schemas": "^6.11.0",