Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/codemention.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,5 @@ rules:
mentions: ['kadikraman']
- patterns: ['tools/**']
mentions: ['Kudo', 'tsapeta']
- patterns: ['packages/expo-widgets/**']
mentions: ['jakex7']
1 change: 0 additions & 1 deletion packages/@expo/cli/.eslintignore

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@expo/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
### 💡 Others

- Bump `@expo/xcpretty` ([#42485](https://github.com/expo/expo/pull/42485) by [@kitten](https://github.com/kitten))
- Refactor to replace GraphQL fetch client ([#42556](https://github.com/expo/expo/pull/42556) by [@kitten](https://github.com/kitten))
- Replace tar dependency and `multipart/mixed` logic with `multitars` package ([#42472](https://github.com/expo/expo/pull/42472) by [@kitten](https://github.com/kitten))
- Improve global resolution for `ExternalModule` resolution ([#42513](https://github.com/expo/expo/pull/42513) by [@kitten](https://github.com/kitten))

## 55.0.4 — 2026-01-27

Expand Down
1 change: 0 additions & 1 deletion packages/@expo/cli/__mocks__/tar.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/@expo/cli/docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jest.mock('@expo/spawn-async');
jest.mock('@expo/package-manager');
jest.mock('resolve-from');
jest.mock('ora');
jest.mock('tar');
// ... and more
```

Expand Down
23 changes: 13 additions & 10 deletions packages/@expo/cli/e2e/utils/expo.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import type { ExpoUpdatesManifest } from '@expo/config';
import {
isMultipartPartWithName,
parseMultipartMixedResponseAsync,
} from '@expo/multipart-body-parser';
import { MultipartPart, parseMultipart } from 'multitars';
import assert from 'node:assert';
import { stripVTControlCharacters } from 'node:util';

Expand Down Expand Up @@ -120,12 +117,18 @@ function fetchAsExpoGoAsync(server: BackgroundServer, url: string, init: Request
/** Fetch the Expo Go manifest, while fetching as Expo Go itself */
async function fetchExpoGoManifestAsync(server: BackgroundServer, init?: RequestInit) {
const response = await fetchAsExpoGoAsync(server, '/', init);
const multiparts = await parseMultipartMixedResponseAsync(
response.headers.get('content-type') as string,
Buffer.from(await response.arrayBuffer())
);

const manifest = multiparts.find((part) => isMultipartPartWithName(part, 'manifest'));
let manifest: MultipartPart | undefined;
const parts = parseMultipart(response.body!, {
contentType: response.headers.get('content-type')!,
});
for await (const part of parts) {
if (part.name === 'manifest') {
manifest = part;
break;
}
}

assert(manifest, 'Manifest not found in the multipart response');
return JSON.parse(manifest.body) as ExpoUpdatesManifest;
return (await manifest.json()) as ExpoUpdatesManifest;
}
16 changes: 0 additions & 16 deletions packages/@expo/cli/graphql-codegen.yml

This file was deleted.

1 change: 0 additions & 1 deletion packages/@expo/cli/jest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jest.mock('ora');
jest.mock('os');
jest.mock('progress');
jest.mock('resolve-from');
jest.mock('tar');
jest.mock('webpack-dev-server');
jest.mock('webpack');

Expand Down
14 changes: 2 additions & 12 deletions packages/@expo/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"test:e2e": "jest --config e2e/jest.config.js",
"test:playwright": "playwright test --config e2e/playwright.config.ts",
"prepublishOnly": "expo-module prepublishOnly",
"expo-module": "expo-module",
"generate-graphql-code": "graphql-codegen --config graphql-codegen.yml"
"expo-module": "expo-module"
},
"repository": {
"type": "git",
Expand All @@ -41,7 +40,6 @@
},
"homepage": "https://github.com/expo/expo/tree/main/packages/@expo/cli",
"dependencies": {
"@0no-co/graphql.web": "^1.0.8",
"@expo/code-signing-certificates": "^0.0.6",
"@expo/config": "~55.0.3",
"@expo/config-plugins": "~55.0.3",
Expand All @@ -62,8 +60,6 @@
"@expo/ws-tunnel": "^1.0.1",
"@expo/xcpretty": "^4.4.0",
"@react-native/dev-middleware": "0.83.1",
"@urql/core": "^5.0.6",
"@urql/exchange-retry": "^1.3.0",
"accepts": "^1.3.8",
"arg": "^5.0.2",
"better-opn": "~3.0.2",
Expand All @@ -81,6 +77,7 @@
"glob": "^13.0.0",
"lan-network": "^0.1.6",
"minimatch": "^9.0.0",
"multitars": "^0.2.3",
"node-forge": "^1.3.3",
"npm-package-arg": "^11.0.0",
"ora": "^3.4.0",
Expand All @@ -90,15 +87,13 @@
"prompts": "^2.3.2",
"qrcode-terminal": "0.11.0",
"require-from-string": "^2.0.2",
"requireg": "^0.2.2",
"resolve-from": "^5.0.0",
"semver": "^7.6.0",
"send": "^0.19.0",
"slugify": "^1.3.4",
"source-map-support": "~0.5.21",
"stacktrace-parser": "^0.1.10",
"structured-headers": "^0.4.1",
"tar": "^7.5.2",
"terminal-link": "^2.1.1",
"undici": "^6.18.2",
"wrap-ansi": "^7.0.0",
Expand All @@ -125,11 +120,7 @@
},
"devDependencies": {
"@expo/mcp-tunnel": "~0.2.3",
"@expo/multipart-body-parser": "^1.0.0",
"@expo/ngrok": "4.1.3",
"@graphql-codegen/cli": "^2.16.3",
"@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/typescript-operations": "^2.5.12",
"@playwright/test": "^1.53.1",
"@swc/core": "^1.11.11",
"@taskr/clear": "^1.1.0",
Expand Down Expand Up @@ -164,7 +155,6 @@
"memfs": "^3.2.0",
"nock": "^14.0.10",
"node-html-parser": "^6.1.5",
"nullthrows": "^1.1.1",
"playwright": "^1.53.1",
"taskr": "^1.1.0",
"tree-kill": "^1.2.2",
Expand Down
Loading
Loading