Skip to content
Draft
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
16 changes: 16 additions & 0 deletions .ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Search tools that read .ignore (ripgrep, and the agents' Grep and Glob built on it) skip these paths. Git still
# tracks them and the build, the CDN deploy and npm are not affected. They hold built bundles, which match nearly
# every identifier in src once per version: the code to read and change is in src/.

# Every CDN version since 4.0.1. Only the response headers, which are deploy config, stay searchable.
/published/*
!/published/_headers

# The committed build output, rewritten by every build.
/build/

# Old bundles and minified vendor code the demo pages load.
/demo/index.js
/demo/index.min.css
/demo/spring-dev-bundle.js
/demo/htmlimports.js
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CI (`.github/workflows/ci.yml`) runs the tests, the typings check, the build, th

Done means the tests that reach your change pass, the quality check passes, and CI is green. Also run `npm run typecheck` when `index.d.ts` changed, and `npm run build` then `npm run test:smoke` when the change touches the public API, what runs when the bundle loads, a dependency, or the build. Say which commands you ran and what they printed.

A build rewrites the tracked `build/` and `published/latest/` and adds `published/<version>/`. Leave them out of your commits: `git checkout -- build published/latest` and remove the new version folder. Releases and their version folders are made by people.
A build rewrites the tracked `build/` and `published/latest/` and adds `published/<version>/`. Leave them out of your commits: `git checkout -- build published/latest` and remove the new version folder. Releases and their version folders are made by people. Search skips these built bundles (`.ignore`); name a path to read one.

Do not start the demo or a dev server (`npm start`, `npm run dev`, `preview_start`) unless asked. If you must, say so first, check `lsof -nP -iTCP -sTCP:LISTEN`, and stop it in the same turn. Never run `npm run deploy`, `npm run deploy:staging`, `npm publish` or `wrangler`: they ship to customers.

Expand Down
Loading
Loading