Skip to content

Commit 98fcd7c

Browse files
committed
Fixed cli e2e tests
1 parent 57f7b63 commit 98fcd7c

File tree

20 files changed

+3771
-444
lines changed

20 files changed

+3771
-444
lines changed

packages/cli-v3/e2e/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,22 @@ This will test your fixture project, and generate outputs in the `packages/cli-v
216216
```
217217

218218
> You might expect a specific error for a specific test, so use those configuration option at your discretion.
219+
220+
## Updating the SDK in the fixtures
221+
222+
The `@trigger.dev/sdk` package is installed in the fixtures as a real dependency (not from the monorepo).
223+
224+
To update it, you'll need to update the version in the `package.json` file, and then run the following commands:
225+
226+
> NOTE: Some fixtures don't support all the package managers, like the monorepo-react-email only supports yarn and pnpm.
227+
228+
```sh
229+
cd packages/cli-v3/e2e/fixtures/<fixture-name>
230+
rm -rf **/node_modules
231+
corepack use pnpm@8.15.5
232+
rm -rf **/node_modules
233+
npm install
234+
rm -rf **/node_modules
235+
corepack use yarn@4.2.2
236+
rm -rf **/node_modules
237+
```

0 commit comments

Comments
 (0)