Skip to content

Improve consumer type checking and simplify test setup - #21

Merged
atldays merged 3 commits into
mainfrom
develop
Jul 28, 2026
Merged

Improve consumer type checking and simplify test setup#21
atldays merged 3 commits into
mainfrom
develop

Conversation

@atldays

@atldays atldays commented Jul 28, 2026

Copy link
Copy Markdown
Member

No description provided.

github-actions Bot and others added 3 commits July 27, 2026 09:52
- Introduced a new `test:consumer-types` script to validate type usage in consumer projects.
- Enhanced the TypeScript build process to include `chrome` type references in declaration files.
- Updated dependencies: bumped `@types/chrome` to `^0.2.2` and removed it as a peer dependency.
- Added a `copy-api-types` script to bundle `api.d.ts` into the `dist` directory.
- Included a sample consumer test setup for validating type correctness in real-world scenarios.
- Removed the static `package.json` in `tests/consumer-types` and created it programmatically.
- Updated the consumer typecheck logic to include dynamic package.json creation during tests.
@atldays
atldays merged commit f40c795 into main Jul 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant