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 2 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 @@ -36,6 +36,7 @@
- Eagerly perform iOS system checks to speed up iOS simulator launches. ([#26746](https://github.com/expo/expo/pull/26746) by [@EvanBacon](https://github.com/EvanBacon))
- Improve warning for favicon missing during web export. ([#26733](https://github.com/expo/expo/pull/26733) by [@EvanBacon](https://github.com/EvanBacon))
- Enable lazy modules with swc when building `@expo/cli`. ([#27061](https://github.com/expo/expo/pull/27061) 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