forked from bpierre/use-nft
-
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.
Move to Yarn v2 for library and demo/, which makes it possible to use the `portal:` protocol and increases installation speed (even though PnP is not enabled for now). The demo now deduplicates react and react-dom, which are required by the library as devDendencies (for Jest) and was requiring to copy the library in demo/node_modules, then manually delete demo/node_modules/use-nft/node_modules/react. This shouldn’t be needed anymore and has been removed from the gh-pages GitHub Action.
- Loading branch information
Showing
11 changed files
with
18,663 additions
and
12,547 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 |
---|---|---|
|
@@ -16,10 +16,10 @@ jobs: | |
uses: actions/checkout@v2 | ||
|
||
- name: Build use-nft | ||
run: yarn install --frozen-lockfile && yarn build | ||
run: yarn install --immutable && yarn build | ||
|
||
- name: Build demo/ | ||
run: cd demo && yarn install --frozen-lockfile && rm -rf ./node_modules/use-nft/node_modules && yarn build | ||
run: cd demo && yarn install --immutable && yarn build | ||
|
||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
|
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
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-sources.cjs |
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
Large diffs are not rendered by default.
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
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
Large diffs are not rendered by default.
Oops, something went wrong.