Skip to content

Commit bee5e75

Browse files
committed
Fixed cli e2e tests
1 parent f4a1eb1 commit bee5e75

File tree

22 files changed

+3773
-456
lines changed

22 files changed

+3773
-456
lines changed

.changeset/config.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@
77
}
88
],
99
"commit": false,
10-
"fixed": [
11-
[
12-
"@trigger.dev/*",
13-
"trigger.dev"
14-
]
15-
],
10+
"fixed": [["@trigger.dev/*", "trigger.dev"]],
1611
"linked": [],
1712
"access": "public",
1813
"baseBranch": "main",
@@ -27,4 +22,4 @@
2722
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
2823
"onlyUpdatePeerDependentsWhenOutOfRange": true
2924
}
30-
}
25+
}

.changeset/twelve-onions-melt.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

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 [email protected]
232+
rm -rf **/node_modules
233+
npm install
234+
rm -rf **/node_modules
235+
corepack use [email protected]
236+
rm -rf **/node_modules
237+
```

0 commit comments

Comments
 (0)