Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): avoid building __typetests__ files #27089

Merged
merged 3 commits into from Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/@expo/cli/CHANGELOG.md
Expand Up @@ -34,6 +34,7 @@
- Update to remove `ExpoRequest/ExpoResponse` imports from `@expo/server`. ([#27261](https://github.com/expo/expo/pull/27261) by [@kitten](https://github.com/kitten))
- Update the legacy inspector overrides to new device middleware API. ([#27425](https://github.com/expo/expo/pull/27425) by [@byCedric](https://github.com/byCedric))
- Add new telemetry API to replace legacy analytics. ([#27787](https://github.com/expo/expo/pull/27787) by [@byCedric](https://github.com/byCedric))
- Skip building and packing `__typetests__` files. ([#27089](https://github.com/expo/expo/pull/27089) by [@byCedric](https://github.com/byCedric))

### 📚 3rd party library updates

Expand Down
2 changes: 1 addition & 1 deletion packages/@expo/cli/taskfile.js
Expand Up @@ -11,7 +11,7 @@ export async function bin(task, opts) {
export async function cli(task, opts) {
await task
.source('src/**/*.+(js|ts)', {
ignore: ['**/__tests__/**', '**/__mocks__/**'],
ignore: ['**/__tests__/**', '**/__mocks__/**', '**/__typetests__/**'],
})
.swc('cli', { dev: opts.dev })
.target('build/src');
Expand Down