forked from thirdweb-dev/js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Various, React] - add initial e2e testing setup (thirdweb-dev#327)
- Loading branch information
Showing
45 changed files
with
6,150 additions
and
2,489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
"@thirdweb-dev/react": minor | ||
--- | ||
|
||
Gnosis Safe and Magic Link connectors are no longer included in the default export. They are now available as named exports instead. | ||
|
||
## Gnosis Safe | ||
|
||
### Connector | ||
|
||
```diff | ||
- import { GnosisSafeConnector } from "@thirdweb-dev/react"; | ||
+ import { GnosisSafeConnector } from "@thirdweb-dev/react/evm/connectors/gnosis-safe"; | ||
``` | ||
|
||
### Hook | ||
|
||
```diff | ||
- import { useGnosis } from "@thirdweb-dev/react"; | ||
+ import { useGnosis } from "@thirdweb-dev/react/evm/connectors/gnosis-safe"; | ||
``` | ||
|
||
## Magic Link | ||
|
||
### Connector | ||
|
||
```diff | ||
- import { MagicLink } from "@thirdweb-dev/react"; | ||
+ import { MagicConnector } from "@thirdweb-dev/react/evm/connectors/magic"; | ||
``` | ||
|
||
### Hook | ||
|
||
```diff | ||
- import { useMagic } from "@thirdweb-dev/react"; | ||
+ import { useMagic } from "@thirdweb-dev/react/evm/connectors/magic"; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@thirdweb-dev/auth": patch | ||
"thirdweb": patch | ||
"@thirdweb-dev/sdk": patch | ||
"@thirdweb-dev/storage": patch | ||
--- | ||
|
||
enable e2e testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
lib | ||
node_modules | ||
dist | ||
contracts-js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
"private": true, | ||
"workspaces": { | ||
"packages": [ | ||
"packages/*" | ||
"packages/*", | ||
"test/**/*" | ||
] | ||
}, | ||
"scripts": { | ||
|
@@ -29,11 +30,6 @@ | |
"release:nightly": "node ./scripts/pre-release.mjs && changeset publish --tag nightly", | ||
"push": "turbo run push" | ||
}, | ||
"preconstruct": { | ||
"packages": [ | ||
"packages/*" | ||
] | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@changesets/changelog-github": "^0.4.6", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"main": "dist/thirdweb-dev-react-evm-connectors-gnosis-safe.cjs.js", | ||
"module": "dist/thirdweb-dev-react-evm-connectors-gnosis-safe.esm.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"main": "dist/thirdweb-dev-react-evm-connectors-magic.cjs.js", | ||
"module": "dist/thirdweb-dev-react-evm-connectors-magic.esm.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
packages/react/src/evm/components/ConnectWallet/ConnectWallet.spec.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
packages/react/src/evm/components/Web3Button/Web3Button.spec.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.