Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
526 commits
Select commit Hold shift + click to select a range
62abbca
fix: render link button when href is defined and not disabled (#2124)
abbas-nazar Jan 16, 2026
706a1c5
fix: transform input for calc() expressions without slider (#2141)
abbas-nazar Jan 16, 2026
adee9f4
Publish
Jan 16, 2026
2cb91ad
upgrade-internal
Jan 16, 2026
0694c8a
upgrade-internal
Jan 16, 2026
7243da8
[wab] expression session saveUninitialized: false (#2155)
jaslong Jan 18, 2026
3faab7e
fix: Data tokens popover appears behind Page Settings modal (#2159)
sarahsga Jan 21, 2026
4465e98
Update @plasmicapp/cli required version (#2153)
jaslong Jan 21, 2026
60b1c17
[wab][cli] delete unused endpoints (#2156)
jaslong Jan 21, 2026
c70f5e9
Publish
Jan 21, 2026
b757be8
upgrade-internal
Jan 21, 2026
05cf219
fix: upgrade lottie-web to >=5.13.0 to fix SSR no document error (#2168)
abbas-nazar Jan 21, 2026
fc52f31
Enhance project save tracking with sampleThreshold (#2137)
jaslong Jan 21, 2026
1c6bd31
[wab] clean up CSRF routes (#2157)
jaslong Jan 21, 2026
75da651
add apiHost/cdnHost to loader options (#2151)
jaslong Jan 21, 2026
e27480c
Publish
Jan 21, 2026
822773f
upgrade-internal
Jan 21, 2026
ad49fe4
chore(wab): optimize get packages query (#2169)
daniel-schub Jan 21, 2026
e7275f2
[PLA-12809]: Upgrade AI SDK to v5/v6 (#2164)
asimkhan73301 Jan 21, 2026
7f34efb
Revert "chore(wab): optimize get packages query (#2169)" (#2171)
daniel-schub Jan 21, 2026
7fdc85d
upgrade next.js versions (#2175)
jaslong Jan 22, 2026
1781e53
refactor: replace deprecated ComponentMeta type usage (#2173)
sarahsga Jan 22, 2026
5f05b1c
Publish
Jan 22, 2026
e93c402
upgrade-internal
Jan 22, 2026
b90384f
refactor: remove unused code related to unstable_registerFetcher (#2176)
sarahsga Jan 22, 2026
bdabcd4
chore: wab uses __Sub.hostUtils (#2167)
sarahsga Jan 22, 2026
5d56540
Chore/add new loader hydration route (#2178)
daniel-schub Jan 22, 2026
83f3a91
fix: Deleting an overridden registered token crashes Studio (#2180)
sarahsga Jan 23, 2026
02a8d0e
[PLA-12785] Too easy to accidentally create token overrides (#2109)
sarahsga Jan 23, 2026
1ac5a42
[DEVOP-443]: Create index to get pkgs (#2181)
daniel-schub Jan 23, 2026
adc3a50
fix: Style presets not showing in design tab (#2182)
sarahsga Jan 23, 2026
4e8aec5
[wab] dev-only resolve React packages to same version (#2165)
jaslong Jan 25, 2026
e0bd0e7
[PLA-12793] Fixes in /cli for Next.js app router codegen sync (#2139)
sarahsga Jan 26, 2026
12b4234
Publish
Jan 26, 2026
ea3ca01
upgrade-internal
Jan 26, 2026
3fbb85b
fix: Layout style from a preset does not apply on the element (#2184)
sarahsga Jan 28, 2026
37e22f3
[PLA-12830] include empty dataTokensFilePath (#2196)
sampullman Jan 28, 2026
1a29b62
Publish
Jan 28, 2026
c65638a
upgrade-internal
Jan 28, 2026
f91daec
[PLA-12478]: Add Plasmic AI Chat endpoint (#2170)
asimkhan73301 Jan 28, 2026
07a6cb2
[PLA-12825] CSS value update bugs (#2198)
abbas-nazar Jan 29, 2026
c76345e
[PLA-12773]: Improve UX for recording/viewing Element Variants (#2090)
asimkhan73301 Jan 29, 2026
d63ab12
[PLA-12842] support default and advanced in flattened object params (…
sampullman Feb 1, 2026
ff713f8
[PLA-12839] add host to CMS functions and fix codegen bug (#2209)
sampullman Feb 2, 2026
9f1b245
Publish
Feb 2, 2026
0d04f18
upgrade-internal
Feb 2, 2026
5ded9fe
chore: remove cypress from package.json (#2211)
sampullman Feb 2, 2026
cd0f42c
fix(antd5): collapse/accordion's expand icon can rotate to any angle …
sarahsga Feb 2, 2026
5eee35a
Publish
Feb 2, 2026
0f9f8ac
upgrade-internal
Feb 2, 2026
0ee2f8f
[cli][create-plasmic-app] fix pnpm install command (#2191)
jaslong Feb 3, 2026
eced7d4
Publish
Feb 3, 2026
f5056d4
upgrade-internal
Feb 3, 2026
0153cb1
Remove some old cypress tests (#2220)
sampullman Feb 3, 2026
e48355a
[DEVOP-438]: Create util and migration to create wabro user (#2193)
daniel-schub Feb 3, 2026
0ed5b05
[DEVOP-438]: Create migration to grant read only role to wabro (#2189)
daniel-schub Feb 4, 2026
56d9f9f
RSC UX (#2075)
jaslong Feb 5, 2026
0331106
Integrate query builder in Contentful package (#2103)
sarahsga Feb 5, 2026
64c950c
Publish
Feb 5, 2026
916e231
upgrade-internal
Feb 5, 2026
0158211
Integrate query builder in Wordpress package (#2104)
sarahsga Feb 5, 2026
0c9e114
Publish
Feb 5, 2026
14258d0
upgrade-internal
Feb 5, 2026
e759282
Minor improvement to fetch meta (#2183)
sarahsga Feb 5, 2026
f2349ca
Publish
Feb 5, 2026
9134531
upgrade-internal
Feb 5, 2026
667286a
[DEVOP-320]: Change pipelines to run in ARM64 (#2219)
daniel-schub Feb 6, 2026
fecb75c
[DEVOP-320]: Fix unstable pipeline (#2227)
daniel-schub Feb 7, 2026
62ce318
upgrade-internal
Feb 7, 2026
d62a2eb
[DEVOP-340]: Remove production build flag (#2229)
daniel-schub Feb 7, 2026
45e1cd2
Use pnpm for loader html tests (#2225)
sampullman Feb 7, 2026
802e76c
packages cleanup (#2233)
jaslong Feb 9, 2026
8b7f1ea
[PLA-12848]: Fix refs for Global varianted style in Local style token…
asimkhan73301 Feb 9, 2026
2122c21
fix: exclude current server query from param data picker (#2232)
sampullman Feb 9, 2026
28510c3
[PLA-12821]: Add Copilot Chat Dialog in the Top Frame (#2187)
asimkhan73301 Feb 9, 2026
ec8555a
fix: use correct serverQueries flag (#2235)
jaslong Feb 10, 2026
a2392f1
dedupe @types/react and @types/react-dom (#2201)
sarahsga Feb 10, 2026
2f6ad69
Publish
Feb 10, 2026
d5fd326
upgrade-internal
Feb 10, 2026
be733af
fix: unable to commit in loader-nextjs (#2188)
sarahsga Feb 10, 2026
a9a253e
[PLA-12855] [react-web] Next.js deprecation error for Link.legacyBeha…
sarahsga Feb 10, 2026
7889918
Publish
Feb 10, 2026
fe12195
upgrade-internal
Feb 10, 2026
da47572
[DEVOP-320] Optimize copy from layers of Dockerfile and add tests for…
daniel-schub Feb 11, 2026
1454bf5
[DEVOP-450]: Add metrics for wab (#2238)
daniel-schub Feb 11, 2026
1cbafed
Add missing unit tests to CI (#2231)
sarahsga Feb 11, 2026
8f9d49a
Publish
Feb 11, 2026
70620a4
upgrade-internal
Feb 11, 2026
f29b6ba
refactor: improvements legacy behavior detection of next link (#2237)
sarahsga Feb 11, 2026
d61dd0e
Publish
Feb 11, 2026
af894c9
upgrade-internal
Feb 11, 2026
8fabe19
test: control playwright baseURL via env (#2239)
sampullman Feb 11, 2026
9148345
[PLA-12587]: Design tab toolbar UX improvements for Animations (#2042)
asimkhan73301 Feb 11, 2026
e7f9252
[data-sources] rewrite (#2113)
jaslong Feb 12, 2026
bdf52b4
Publish
Feb 12, 2026
97a6ed4
upgrade-internal
Feb 12, 2026
c36d82b
upgrade-internal
Feb 12, 2026
8a2bf02
[PLA-12796] Data tokens and server queries in page router codegen (#2…
sampullman Feb 13, 2026
1786a5c
Publish
Feb 13, 2026
fe010f0
upgrade-internal
Feb 13, 2026
fdd5c3c
upgrade-internal
Feb 13, 2026
4439645
fix: bump react-web required version (#2242)
sarahsga Feb 13, 2026
ac730df
fix: handle legacy behavior of link for outdated sync (#2251)
sarahsga Feb 16, 2026
347a536
Publish
Feb 16, 2026
ff1d30c
upgrade-internal
Feb 16, 2026
86c9909
upgrade-internal
Feb 16, 2026
24cb113
chore: bump react-web required version (#2253)
sarahsga Feb 16, 2026
01aa550
chore: bump latest codegen version (#2255)
sarahsga Feb 16, 2026
0457b39
Move playwright to devDependencies (#2260)
jaslong Feb 19, 2026
090b6d8
upgrade minor vuln packages (#2261)
jaslong Feb 19, 2026
8fa75fe
fix: seo metadata expr clone with dataTokens (#2245)
sampullman Feb 19, 2026
ac5e1b4
[DEVOP-440] Add tflint to Husky (#2250)
daniel-schub Feb 19, 2026
606b6b9
[wab] refactor date time formatting to date-utils.ts (#2262)
jaslong Feb 19, 2026
43a3641
chore: run setup-all (#2257)
sarahsga Feb 20, 2026
bc1851d
[PLA-12850] refactor server query rename (#2263)
sampullman Feb 20, 2026
2252017
fix(variant-row): removed unused icons in VariantRow (#2266)
asimkhan73301 Feb 20, 2026
e01c7ea
chore: plasmic.json changes for publishing branch to main and changin…
asimkhan73301 Feb 21, 2026
d8d4dc9
chore: run-cpa (#2270)
sarahsga Feb 23, 2026
02e5a0e
Publish
Feb 23, 2026
0e24ab1
fix: TypeError App router codegen in pages using server queries (#2271)
sarahsga Feb 23, 2026
884a9c0
[PLA-12865] Tooltip does not close when hovered away (#2264)
sarahsga Feb 24, 2026
ad9fbec
Publish
Feb 24, 2026
3f1a24e
upgrade-internal
Feb 24, 2026
0d7810e
[PLA-12874] Dynamic href used in App Router codegen (#2275)
sarahsga Feb 24, 2026
21ad1c8
Publish
Feb 24, 2026
6300372
[PLA-12860] download image option (#2267)
sampullman Feb 24, 2026
73931a3
fix: update based on review comments (#2278)
sampullman Feb 24, 2026
1c47656
[PLA-12867]: Add tools support in the Copilot Chat Backend (#2258)
asimkhan73301 Feb 25, 2026
737e4c1
[PLA-12870]: Preview animations in the new Animations UX (#2274)
asimkhan73301 Feb 25, 2026
7e4fd11
[PLA-12872] getStaticPaths missing in page router with data queries (…
sarahsga Feb 25, 2026
bb40b67
[PLA-12868]: Add Copilot tools integration with useChat on client sid…
asimkhan73301 Feb 25, 2026
f06c169
clean up loader-bundle-env building (#2283)
jaslong Feb 25, 2026
7c7c8f9
chore: plasmic studio changes for showing preview animation buttons o…
asimkhan73301 Feb 25, 2026
d418689
Attempt to improve comment test instability (#2243)
sampullman Feb 26, 2026
7bd98ca
feat(cpa): create-plasmic-app to generate for app router next.js with…
sarahsga Feb 27, 2026
119ef90
Publish
Feb 27, 2026
066a748
Add copy paste to tpl context menu (#2285)
sampullman Feb 28, 2026
35bd4ca
chore: bump react-web packages to trigger deploy (#2294)
sampullman Feb 28, 2026
491d753
Publish
Feb 28, 2026
7f9544d
upgrade-internal
Feb 28, 2026
32fb23d
Rsc app dir file name bug (#2252)
sampullman Feb 28, 2026
574d371
Publish
Feb 28, 2026
2e560cd
upgrade-internal
Feb 28, 2026
754bc4e
PLA-12875 Fix codegen bug and deduplicate rsc functions (#2277)
sampullman Feb 28, 2026
e14854d
[PLA-12792] [loader] create-plasmic-app to generate for app router ne…
sarahsga Mar 2, 2026
abb16b3
Publish
Mar 2, 2026
f941855
Fix codegen (#2303)
daniel-schub Mar 3, 2026
a1992bb
[wab] add debug log at start of span and more spans (#2305)
jaslong Mar 3, 2026
5b05906
[wab] add params to workerpool.exec spans (#2306)
jaslong Mar 3, 2026
8d5424b
[PLA-12762] Serialize a component and tpl tree to HTML/CSS (#2218)
abbas-nazar Mar 3, 2026
418a14b
[PLA-12763] HTML importer should deserialize components (#2206)
abbas-nazar Mar 3, 2026
eb8eb0b
[PLA-12884]: Improve insertHtml command to support target element and…
asimkhan73301 Mar 3, 2026
d35fb93
Remove parameter logging from exec method (#2323)
jaslong Mar 4, 2026
515d47f
[wab] respond 404 for not found, 500 for no html (#2320)
jaslong Mar 4, 2026
59948b5
FIX(web-exporter): Disable unused stream polyfill to allow web-expor…
asimkhan73301 Mar 4, 2026
99cbb28
Bump the npm_and_yarn group across 32 directories with 4 updates (#2351)
dependabot[bot] Mar 7, 2026
fc64c9c
PLA-12879 loader generateMetadata bug (#2296)
sampullman Mar 7, 2026
ef63e77
Publish
Mar 7, 2026
f78181f
upgrade-internal
Mar 7, 2026
1939ec2
upgrade-internal
Mar 7, 2026
9f85975
spring cleaning (#2355)
jaslong Mar 8, 2026
0e99b32
fix(copilot-chat-dialog): preserve copilot_chat query param while swi…
asimkhan73301 Mar 9, 2026
cae8300
refactor(web-exporter): added separate variants tag in component seri…
asimkhan73301 Mar 9, 2026
816979f
[PLA-12585] Duplicate server query (#2336)
sarahsga Mar 10, 2026
b0b07b3
Bump the npm_and_yarn group across 7 directories with 3 updates (#2371)
dependabot[bot] Mar 10, 2026
453c503
[wab] update caniuse-lite (#2384)
jaslong Mar 10, 2026
2e41cb9
[wab] Allow filtering/sorting on createdAt/updatedAt (#2389)
jaslong Mar 10, 2026
083a3d9
deps(root): bump multer in the npm_and_yarn group across 1 directory …
dependabot[bot] Mar 10, 2026
0ded9d3
AI improvements (#2379)
jaslong Mar 11, 2026
d7310c9
deps(root): bump svgo in the npm_and_yarn group across 1 directory (#…
dependabot[bot] Mar 11, 2026
5f6f039
[wab] handle polyfill projects that return 200 (#2393)
jaslong Mar 11, 2026
257cf1c
[wab] add cache-control for polyfill projects (#2396)
jaslong Mar 11, 2026
9fe6540
fix(rac): Select is incompatible with React 19 (#2400)
sarahsga Mar 12, 2026
6f36d52
Publish
Mar 12, 2026
bcf1643
upgrade-internal
Mar 12, 2026
8154790
[PLA-12834] e2e codegen app/pages router (#2222)
sarahsga Mar 12, 2026
1370b67
upgrade-internal
Mar 12, 2026
4ebc01e
fix(rac): Range Slider is incompatible with React 19 (#2399)
sarahsga Mar 12, 2026
78a157f
Publish
Mar 12, 2026
0f0470f
upgrade-internal
Mar 12, 2026
0bc95bd
chore: Include Nextjs versions 15/16 in loader tests (#2310)
sarahsga Mar 12, 2026
52b2c82
[wab] fix issues in serializedKeyValueForObject (#2398)
jaslong Mar 12, 2026
4cd03e0
[PLA-12748]: Ignore -webkit-animation on import (#2388)
charliecreates[bot] Mar 12, 2026
c1a5fe2
[data-sources][wab] ensure wab only uses new data-sources APIs (#2246)
jaslong Mar 13, 2026
aff73ef
Publish
Mar 13, 2026
dfc4e3a
upgrade-internal
Mar 13, 2026
8b8ab1c
Fix codegen React e2e (#2423)
sampullman Mar 15, 2026
e3198da
Publish
Mar 15, 2026
f4d6248
[PLA-12838] Select is incompatible with React 19 (#2420)
sarahsga Mar 15, 2026
aa5232f
Publish
Mar 15, 2026
5a5234c
upgrade-internal
Mar 15, 2026
6fea4ec
upgrade-internal
Mar 15, 2026
7dead28
fix: loader versions must use "latest" (#2429)
sarahsga Mar 16, 2026
dcc7912
chore: run-cpa (#2430)
sarahsga Mar 16, 2026
2fdbe2d
Publish
Mar 16, 2026
623bad9
[data-sources] delete unused unreleased code (#2410)
jaslong Mar 17, 2026
d4c04a0
Publish
Mar 17, 2026
d883101
upgrade-internal
Mar 17, 2026
37a2cd8
[wab] implement self-service team ownership transfer (#2394)
jaslong Mar 17, 2026
ba5e48c
upgrade-internal
Mar 17, 2026
50160fc
[PLA-12635]: Studio preview mode not using default theme of imported …
asimkhan73301 Mar 17, 2026
6efc758
refactor(paste): make global variant paste behaviour consistent with …
asimkhan73301 Mar 17, 2026
5cec112
[wab] data sources UX followup (#2412)
jaslong Mar 17, 2026
6fa5f34
chore(dev+prod): Add Sentry ENV (#1888)
daniel-schub Mar 17, 2026
0510af4
Apply suggested fix to packages/data-sources/src/serverQueries/common…
jaslong Mar 18, 2026
7bd4e54
Publish
Mar 18, 2026
7a7ec59
[wab] improve logging when fnContext fails (#2425)
jaslong Mar 18, 2026
8f66eb4
upgrade-internal
Mar 18, 2026
902de96
upgrade-internal
Mar 18, 2026
6bfe5da
REFACTOR: Use simple CopilotTool interface instead of Command for Cop…
asimkhan73301 Mar 19, 2026
8257e60
[wab] delete app tutorial code (#2443)
jaslong Mar 19, 2026
246ee72
[DEVOP-437]: Improve CD pipeline (#2289)
daniel-schub Mar 20, 2026
b699d2c
[PLA-12902]: Skip hard coded wrapping div coming from HTML body eleme…
asimkhan73301 Mar 20, 2026
dc1bd3f
[plasmicpkgs-dev] add contentful and wordpress (#2479)
jaslong Mar 20, 2026
f0d9cde
[PLA-12750] Expose PlasmicImg format and quality props (#2413)
sampullman Mar 20, 2026
dc7c34e
Publish
Mar 20, 2026
f6deaca
upgrade-internal
Mar 20, 2026
a34abbc
[host] fix hidden field typing (#2463)
jaslong Mar 20, 2026
54ffd02
Publish
Mar 20, 2026
a922e01
upgrade-internal
Mar 20, 2026
1d2f0ab
feat: expand server query preview body by default (#2469)
sampullman Mar 20, 2026
62abb49
upgrade-internal
Mar 20, 2026
4800096
[wab] implement server param hidden field
jaslong Mar 15, 2026
24a85e4
[wordpress] fix offset hidden function
jaslong Mar 18, 2026
6ca6bc9
Publish
Mar 20, 2026
2821ada
upgrade-internal
Mar 20, 2026
900c142
[root] add AI startup scripts for safehouse (#2477)
jaslong Mar 20, 2026
2fa4aa8
[query][loader-react] fix getting React internals for React 19 (#2487)
jaslong Mar 22, 2026
d0f529a
Publish
Mar 22, 2026
04c8e1a
upgrade-internal
Mar 22, 2026
3094668
[PLA-12913] Fix admin revert revision lookup (#2402)
charliecreates[bot] Mar 23, 2026
5af1489
deps(examples): bump the npm_and_yarn group across 29 directories wit…
dependabot[bot] Mar 23, 2026
29d3d46
[PLA-12933]: Support changes across components + variantCombo (#2488)
asimkhan73301 Mar 23, 2026
00122ce
fix: hide image context menu when empty (#2472)
sampullman Mar 24, 2026
53b92a0
deps(examples): bump the npm_and_yarn group across 24 directories wit…
dependabot[bot] Mar 24, 2026
766315d
Packages major version bump to v2 (#1221)
jaslong Mar 25, 2026
42aec15
Publish
Mar 25, 2026
ecfdb1c
upgrade-internal
Mar 25, 2026
5fed3ae
[PLA-12886]: Add support of Read tool in Copilot Chat to serialize pr…
asimkhan73301 Mar 25, 2026
2c2546d
[PLA-12938]: Copilot not showing up for Enterprise customer (#2504)
asimkhan73301 Mar 26, 2026
c943b23
[PLA-12829] fix: filter invalid style props when pasting styles to a …
abbas-nazar Mar 26, 2026
71dba34
merge upstream/master — 516 commits, 350 conflicts resolved
field123 Mar 27, 2026
a15c70f
Merge remote-tracking branch 'upstream/master' into merge/upstream-ma…
field123 Mar 27, 2026
2cf8ead
fix: restore deployed bundle migration ordering (255/256)
field123 Mar 27, 2026
86a2d8c
fix: restore fork type definitions lost during batch merge resolution
field123 Mar 27, 2026
247d9d9
fix: resolve client-side type errors from upstream API changes
field123 Mar 27, 2026
08d18fe
fix(cli): remove extra baseDir arg from syncDataTokens call
field123 Mar 27, 2026
53a6f09
fix: resolve test regressions from upstream merge
field123 Mar 27, 2026
643b91c
Merge remote-tracking branch 'origin/master' into merge/upstream-marc…
field123 Mar 27, 2026
e0c9264
fix(loader-fetcher): update API report for upstream ComponentMeta change
field123 Mar 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/packages/create-plasmic-app/cpa-out/
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module.exports = {
"error",
{
name: "@plasmicapp/host",
importNames: ["registerComponent"],
importNames: ["registerComponent", "CodeComponentMeta"],
message:
"Please import from @plasmicapp/host/registerComponent instead",
},
Expand Down
9 changes: 7 additions & 2 deletions .eslintrc.react.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
/** ESLint config for packages using React. */
module.exports = {
extends: ['./.eslintrc.js', 'react-app'],
extends: ["./.eslintrc.js"],
settings: {
react: {
version: 'detect',
version: "detect",
},
},
plugins: ["react-hooks"],
rules: {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
},
};
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,3 @@ dist/
# Playwright test results
test-results/
playwright-report/
.playwright-mcp/

.history/

# Eval system results (regenerated on each run)
packages/plasmic-mcp/evals/results/*.json
packages/plasmic-mcp/evals/results/screenshots/
11 changes: 9 additions & 2 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
"*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": ["eslint --fix", "prettier --write"],
"*.{json,css,less,scss,md,toml,xml,yml,yaml}": ["prettier --write"],
"Dockerfile*": ["hadolint --failure-threshold=warning"],
"Dockerfile*": ["hadolint --failure-threshold=error"],

// Format HCL/Terragrunt files, but never touch generated *.lock.hcl (excluded via extglob)
"!(*lock).hcl": (files) => {
Expand All @@ -10,7 +10,14 @@ module.exports = {
},

// Terraform files (format on commit)
"*.tf": ["terraform fmt -write=true"],
"*.tf": (files) => {
const path = require("path");
const dirs = [...new Set(files.map((f) => path.dirname(f)))];
return [
"tofu fmt -write=true",
...dirs.map((d) => `tflint --chdir "${d}"`),
];
},

"platform/wab/src/wab/server/bundle-migrations/**/*": [
"platform/wab/tools/bundle-migration-check.sh",
Expand Down
4 changes: 4 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CLAUDE.md

## Sandbox

You might be in a sandbox. Check out [safehouse.sb](docs/internal/ai/safehouse.sb).

## Key tools of root directory

This is root directory of the monorepo. Most development will be done in individual packages, but this directory is responsible for some centrally managed concerns:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ The package must work for both codegen and loader users. This means that the reg
```typescript
export function registerFooBar(
loader?: { registerComponent: typeof registerComponent },
customFooBarMeta?: ComponentMeta<FooBarProps>
customFooBarMeta?: CodeComponentMeta<FooBarProps>
) {
if (loader) {
loader.registerComponent(FooBar, customFooBarMeta ?? FooBarMeta);
Expand Down
Loading
Loading