Skip to content

Commit

Permalink
feat: new variant draft (#40)
Browse files Browse the repository at this point in the history
* feat: new variant draft

* chore: bump packages

* fix: tsconfig

* fix: opensea types

* fix: use widget signer

* fix: use custom step details if we have only one step

* fix: VirtualItem not found for index = 0

* chore: bump packages

* chore: update next.js example
  • Loading branch information
chybisov authored Jan 5, 2023
1 parent 41b5845 commit 5d0f36a
Show file tree
Hide file tree
Showing 69 changed files with 10,801 additions and 5,236 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
**/node_modules/**
**/dist/**
**/build/**
libs/react-scripts
**/*.d.ts
4 changes: 2 additions & 2 deletions .github/workflows/deploy_widget_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '19'
- name: Install dependencies
run: yarn install
- name: Build WebApp
Expand All @@ -25,5 +25,5 @@ jobs:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
SOURCE: 'packages/widget-embedded/dist/' # optional, default is
SOURCE: 'packages/widget-playground/dist/'
TARGET: ${{ secrets.REMOTE_TARGET }}/test/web-testing # optional, default is /home/REMOTE_USER/
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 19
registry-url: 'https://registry.npmjs.org'
- name: Install modules
run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
40 changes: 40 additions & 0 deletions examples/nextjs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
**node_modules**
**dist**
/.pnp
.pnp.js

# testing
/coverage

# production
**build**

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.next
.cache

# yarn v3
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Swap the comments on the following lines if you wish to use zero-installs
# Documentation here: https://yarnpkg.com/features/zero-installs
# !.yarn/cache
.pnp.*
541 changes: 541 additions & 0 deletions examples/nextjs/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions examples/nextjs/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

807 changes: 807 additions & 0 deletions examples/nextjs/.yarn/releases/yarn-3.3.0.cjs

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions examples/nextjs/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.3.0.cjs
10 changes: 5 additions & 5 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
"dependencies": {
"@lifi/sdk": "^1.7.2",
"@lifi/widget": "^1.27.2",
"next": "13.0.7",
"next": "13.1.1",
"next-transpile-modules": "^10.0.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/node": "18.11.15",
"@types/node": "18.11.18",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"eslint": "8.29.0",
"eslint-config-next": "13.0.7",
"@types/react-dom": "18.0.10",
"eslint": "8.31.0",
"eslint-config-next": "13.1.1",
"typescript": "4.9.4"
}
}
Loading

0 comments on commit 5d0f36a

Please sign in to comment.