Skip to content

Commit 0b55f21

Browse files
authored
feat: add modern Claude models [] (#10706)
* feat(bedrock-content-generator): add modern Claude models, keep all existing - Add Claude Sonnet 4.6, 4.5, 4; Claude 3.5 Haiku, 3 Haiku to featured list - Keep existing models (v3 Sonnet, v2.1, Instant, Llama 2, Mixtral) for backward compatibility - Set default model to Claude Sonnet 4.6 - Update config help text to suggest Claude Sonnet 4.6 - Update Model.spec.tsx to include new default in mock and assertions Made-with: Cursor * chore(bedrock-content-generator): add .npmrc to allow esbuild postinstall scripts * feat(bedrock-content-generator): integrate LavaMoat allow-scripts for package management * refactor(bedrock-content-generator): remove .npmrc and update package.json for LavaMoat integration
1 parent f092abf commit 0b55f21

File tree

6 files changed

+5901
-2514
lines changed

6 files changed

+5901
-2514
lines changed

.circleci/config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ commands:
3131
fi
3232
source $BASH_ENV
3333
34+
run_allow_scripts:
35+
description: "Run LavaMoat allow-scripts for packages that use it"
36+
steps:
37+
- run:
38+
name: Run allow-scripts (lifecycle scripts for whitelisted packages)
39+
command: |
40+
for pkg in apps/bedrock-content-generator; do
41+
if [ -f "$pkg/package.json" ] && grep -q '"allow-scripts"' "$pkg/package.json" && [ -d "$pkg/node_modules/@lavamoat/allow-scripts" ]; then
42+
(cd "$pkg" && npm run allow-scripts)
43+
fi
44+
done
45+
3446
jobs:
3547
apps-test:
3648
docker:
@@ -46,6 +58,7 @@ jobs:
4658
command: |
4759
npm ci
4860
npm run bootstrap:ci
61+
- run_allow_scripts
4962
- run:
5063
name: Check for prettier violations
5164
command: |
@@ -76,6 +89,7 @@ jobs:
7689
command: |
7790
npm ci
7891
npm run bootstrap:ci
92+
- run_allow_scripts
7993
- run:
8094
name: Build
8195
command: |
@@ -96,6 +110,7 @@ jobs:
96110
command: |
97111
npm ci
98112
npm run bootstrap:ci
113+
- run_allow_scripts
99114
- run:
100115
name: Install awscli
101116
command: |
@@ -137,6 +152,7 @@ jobs:
137152
command: |
138153
npm ci
139154
npm run bootstrap:ci
155+
- run_allow_scripts
140156
- run:
141157
name: Install awscli
142158
command: |

0 commit comments

Comments
 (0)