mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
c6ca283e96
Adds two CI signals for keeping the published packages small and broadly compatible: - Bundle size: size-limit file-mode config across packages plus a CopilotChat import-size regression signal (gzip) so growth in the headline consumer entrypoint is visible on every PR. A bundle-size workflow comments results on the PR (Phase 1: no hard-fail). - ES compatibility: a compat-check (es-check) script across 9 packages with a root .browserslistrc, validating built .mjs/.cjs against the es2022 build target. The measure script is importable (measureBundle) and unit-tested. Dev docs live under dev-docs/ (bundle-size.md, browser-compat.md). All action refs are pinned to full commit SHAs for supply-chain safety.
19 lines
638 B
JSON
19 lines
638 B
JSON
{
|
|
"printWidth": 80,
|
|
"proseWrap": "preserve",
|
|
"ignorePatterns": [
|
|
"docs/**",
|
|
"showcase/shell/src/content/**",
|
|
"showcase/shell-docs/src/content/**",
|
|
"packages/runtime/src/lib/runtime/mcp-tools-utils.ts",
|
|
".github/actions/changesets-action/src/run.ts",
|
|
"examples/v1/_legacy/copilot-anthropic-pinecone/src/app/api/copilotkit/route.ts",
|
|
"examples/v1/_legacy/copilot-openai-mongodb-atlas-vector-search/src/app/api/copilotkit/route.ts",
|
|
"packages/web-inspector/src/styles/generated.css",
|
|
"showcase/aimock/shared/**",
|
|
"showcase/aimock/d4/**",
|
|
"showcase/aimock/d6/**",
|
|
"**/package.json"
|
|
]
|
|
}
|