Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/commit-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ Ignore warnings and CLI update messages when using --json (#406)

### Committing

1. We enforce commit message format. We recommend using [commitizen](https://github.com/commitizen/cz-cli) by installing it with `npm install -g commitizen` and running `npm run commit-init`. When you commit, we recommend that you use `npm run commit` which will prompt you with a series of questions to format the commit message. Or you can use our VS Code Task `Commit`.
1. We enforce commit message format.
1. The commit message format that we expect is: `type: commit message`. Valid types are: feat, fix, improvement, docs, style, refactor, perf, test, build, ci, chore and revert.
1. Before commit and push, husky will run several hooks to ensure the commit message is in the correct format and that everything lints and compiles properly.
26 changes: 9 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@salesforce/apex-tmlanguage",
"version": "1.8.3",
"version": "2.0.0",
"description": "Textmate grammar for Apex with outputs for VSCode, Atom and TextMate.",
"displayName": "apex-tmLanguage",
"keywords": [
Expand Down Expand Up @@ -36,8 +36,6 @@
"build:soql": "node scripts/build-soql.js",
"build": "npm run build:grammars && npm run build:atom && npm run build:soql",
"compile": "tsc -p .",
"commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force",
"commit": "git-cz",
"watch": "tsc -w -p .",
"test:soql-tmgrammar": "vscode-tmgrammar-test -g \"./grammars/soql.tmLanguage\" \"./test/soql/*.soql\" ",
"test:soql-tmgrammar-snapshots": "vscode-tmgrammar-snap -s source.soql -g \"./grammars/soql.tmLanguage\" \"./test/soql/snapshots/*.soql\" ",
Expand All @@ -51,33 +49,27 @@
"README.md"
],
"engines": {
"node": ">=16"
"node": ">=20"
},
"devDependencies": {
"@commitlint/cli": "^17",
"@commitlint/config-conventional": "^17",
"@commitlint/cli": "^20",
"@commitlint/config-conventional": "^20",
"@types/chai": "4.3.4",
"@types/mocha": "^10.0.10",
"chai": "^4.3.7",
"commitizen": "^4.3.1",
"cson-parser": "^4.0.9",
"cz-conventional-changelog": "^3.3.0",
"js-yaml": "^4.1.0",
"mocha": "^10.1.0",
"js-yaml": "^4.1.1",
"mocha": "^11.7.5",
"plist": "^3.1.0",
"prettier": "^2.8.0",
"prettier": "^3.6.2",
"typescript": "4.9.3",
"vscode-textmate": "^9.2.0",
"vscode-textmate": "^9.2.1",
"vscode-tmgrammar-test": "^0.1.3"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}
Loading
Loading