Skip to content

Commit 0c4c84e

Browse files
authored
Merge branch 'main' into angular/version-update
2 parents 59b9362 + ae1bc53 commit 0c4c84e

22 files changed

Lines changed: 1341 additions & 653 deletions

.claude/hooks/block-no-verify.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
# Claude adapter for the repository-owned safeguard engine.
3+
ROOT="${CLAUDE_PROJECT_DIR:-${CURSOR_PROJECT_DIR:-$(git rev-parse --show-toplevel)}}"
4+
exec node "$ROOT/scripts/block-no-verify-cli.js"

.claude/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"hooks": {
3+
"PreToolUse": [
4+
{
5+
"matcher": "Bash",
6+
"hooks": [
7+
{
8+
"type": "command",
9+
"command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/block-no-verify.sh"
10+
}
11+
]
12+
}
13+
]
14+
}
15+
}

.lintstagedrc.js

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { createRequire } from 'node:module';
2+
3+
const require = createRequire(import.meta.url);
4+
const { noVerifyDenial } = require('../../scripts/ai-safeguards.js');
5+
6+
export const GitSafeguards = async () => ({
7+
'tool.execute.before': async (input, output) => {
8+
if (input.tool !== 'bash' && input.tool !== 'shell') return;
9+
const reason = noVerifyDenial(String(output.args.command ?? ''));
10+
if (reason) throw new Error(reason);
11+
},
12+
});

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
## [66.13.7](https://github.com/forcedotcom/salesforcedx-templates/compare/66.13.6...66.13.7) (2026-08-14)
2+
3+
4+
5+
## [66.13.6](https://github.com/forcedotcom/salesforcedx-templates/compare/66.13.5...66.13.6) (2026-08-11)
6+
7+
8+
9+
## [66.13.5](https://github.com/forcedotcom/salesforcedx-templates/compare/66.13.4...66.13.5) (2026-07-31)
10+
11+
12+
### Bug Fixes
13+
14+
* validate custom templates for dangerous code execution patterns @W-23595931@ ([#875](https://github.com/forcedotcom/salesforcedx-templates/issues/875)) ([5bb45d1](https://github.com/forcedotcom/salesforcedx-templates/commit/5bb45d19ebdcf1efe2f16db7bdf4825805bd8715))
15+
16+
17+
18+
## [66.13.4](https://github.com/forcedotcom/salesforcedx-templates/compare/66.13.3...66.13.4) (2026-07-29)
19+
20+
21+
### Bug Fixes
22+
23+
* require Node >=22.0.0, drop EOL Node versions @W-23480655@ ([28206eb](https://github.com/forcedotcom/salesforcedx-templates/commit/28206eb0f5396ca73b223b6fddcba901f3b08d4f))
24+
25+
26+
127
## [66.13.3](https://github.com/forcedotcom/salesforcedx-templates/compare/66.13.2...66.13.3) (2026-07-26)
228

329

how_to_license.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@salesforce/templates",
3-
"version": "66.13.3",
3+
"version": "66.13.7",
44
"description": "Salesforce JS library for templates",
55
"bugs": "https://github.com/forcedotcom/salesforcedx-templates/issues",
66
"main": "lib/index.js",
@@ -23,12 +23,12 @@
2323
},
2424
"devDependencies": {
2525
"@salesforce/dev-config": "^4.3.3",
26-
"@salesforce/dev-scripts": "^11.0.2",
26+
"@salesforce/dev-scripts": "^11.0.4",
2727
"@salesforce/prettier-config": "^0.0.4",
2828
"@salesforce/ui-bundle-template-app-angular-template-b2e": "^11.62.0",
2929
"@salesforce/ui-bundle-template-app-angular-template-b2x": "^11.62.0",
30-
"@salesforce/ui-bundle-template-app-react-template-b2e": "^10.24.0",
31-
"@salesforce/ui-bundle-template-app-react-template-b2x": "^10.12.2",
30+
"@salesforce/ui-bundle-template-app-react-template-b2e": "^11.57.2",
31+
"@salesforce/ui-bundle-template-app-react-template-b2x": "^11.57.2",
3232
"@salesforce/ui-bundle-template-base-angular-app": "^11.62.0",
3333
"@salesforce/ui-bundle-template-base-react-app": "^10.24.0",
3434
"@salesforce/ui-bundle-template-base-web-app": "^10.24.0",
@@ -42,7 +42,7 @@
4242
"chai-as-promised": "^7.1.2",
4343
"commitizen": "^4.3.2",
4444
"cz-conventional-changelog": "^3.3.0",
45-
"esbuild": "^0.28.1",
45+
"esbuild": "^0.28.2",
4646
"eslint": "^7.27.0",
4747
"eslint-config-prettier": "^6.11.0",
4848
"eslint-config-salesforce": "^0.1.6",
@@ -53,7 +53,7 @@
5353
"eslint-plugin-jsdoc": "^46.10.1",
5454
"eslint-plugin-prettier": "^3.1.3",
5555
"husky": "^8.0.3",
56-
"mocha": "^11.7.6",
56+
"mocha": "^11.8.0",
5757
"nyc": "^15.1.0",
5858
"prettier": "^2.0.5",
5959
"pretty-quick": "^3.3.1",
@@ -65,7 +65,7 @@
6565
"typescript": "^5.9.3"
6666
},
6767
"engines": {
68-
"node": ">=18.18.2"
68+
"node": ">=22.0.0"
6969
},
7070
"scripts": {
7171
"build": "yarn run clean:lib && yarn compile && yarn build:copy-templates && yarn build:templates",

0 commit comments

Comments
 (0)