Files
e2b-dev--e2b/spec/package.json
T
Mish Ushakov e091e0308d chore(spec): add prettier yaml formatting check to lint workflow (#1358)
## Summary
- Add `spec/` to the pnpm workspace with a `package.json` that runs
`prettier --check`/`--write` on `openapi.yml` and `envd/envd.yaml`.
- The existing Lint workflow's recursive `pnpm run lint`/`pnpm run
format` now enforces YAML formatting automatically — no workflow changes
needed.
- Reformat `spec/openapi.yml` (two `$ref` quote-style changes) so the
new check passes.

## Test plan
- [ ] CI Lint workflow passes
- [ ] `pnpm --filter @e2b/spec run lint` succeeds locally

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 22:57:41 +02:00

12 lines
237 B
JSON

{
"name": "@e2b/spec",
"private": true,
"scripts": {
"lint": "prettier --check openapi.yml envd/envd.yaml",
"format": "prettier --write openapi.yml envd/envd.yaml"
},
"devDependencies": {
"prettier": "^3.3.3"
}
}