Skip to content

Commit

Permalink
Merge branch 'main' into TD-1677-add-bids
Browse files Browse the repository at this point in the history
  • Loading branch information
lfportal authored Sep 24, 2024
2 parents ed845c7 + c09c88b commit f99db36
Show file tree
Hide file tree
Showing 152 changed files with 5,505 additions and 4,445 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
/packages/internal/cryptofiat @immutable/commerce
/packages/internal/dex @immutable/tokens
/packages/internal/bridge @immutable/rollups
/packages/internal/guardian @immutable/passport
/packages/orderbook @immutable/traders
/packages/passport @immutable/passport
/packages/x-provider @immutable/commerce
Expand All @@ -22,3 +21,4 @@
/packages/webhook @shineli1984
/packages/game-bridge @immutable/sdk
/examples @immutable/sdk
**/package.json @immutable/sdk
10 changes: 0 additions & 10 deletions .github/actions/setup-examples/action.yaml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Dependency Review'
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: Dependency Review
uses: actions/dependency-review-action@v4
with:
# Possible values: "critical", "high", "moderate", "low"
fail-on-severity: critical

# Address https://github.com/actions/dependency-review-action/issues/456
base-ref: ${{ github.event.pull_request.base.sha || github.event.repository.default_branch }}
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}
4 changes: 2 additions & 2 deletions .github/workflows/passport-sdk-sample-app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: setup
uses: ./.github/actions/setup

- name: Export Passport sample app
run: yarn nx run @imtbl/passport-sdk-sample-app:export --skip-nx-cache
- name: Build Static Passport sample app
run: yarn nx run @imtbl/passport-sdk-sample-app:build --skip-nx-cache

- name: Update SDK version
run: yarn workspace @imtbl/passport-sdk-sample-app update-sdk-version
Expand Down
41 changes: 4 additions & 37 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ jobs:
- name: Lint
run: yarn lint

build-examples:
name: Build Examples
needs: build-sdk
build-lint-test-examples:
name: Build, Lint & Test Examples
runs-on: ubuntu-latest-8-cores
env:
NODE_OPTIONS: --max-old-space-size=14366
Expand All @@ -137,47 +136,15 @@ jobs:
- name: setup
uses: ./.github/actions/setup

- name: Setup examples
uses: ./.github/actions/setup-examples
- name: Prepare examples
run: yarn prepare:examples

- name: Build examples
run: yarn build:examples

lint-examples:
name: Lint Examples
needs: build-sdk
runs-on: ubuntu-latest-4-cores
env:
NODE_OPTIONS: --max-old-space-size=14366
steps:
- name: Checkout
uses: actions/checkout@v4

- name: setup
uses: ./.github/actions/setup

- name: Setup examples
uses: ./.github/actions/setup-examples

- name: Lint examples
run: yarn lint:examples

test-examples:
name: Test Examples
needs: build-sdk
runs-on: ubuntu-latest-8-cores
env:
NODE_OPTIONS: --max-old-space-size=14366
steps:
- name: Checkout
uses: actions/checkout@v4

- name: setup
uses: ./.github/actions/setup

- name: Setup examples
uses: ./.github/actions/setup-examples

- name: Setup playwright
uses: ./.github/actions/setup-playwright

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"typescript": "^5.2.2",
"vite": "^5.2.12",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"vite": "^5.2.11",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.22.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.7",
"typescript": "^5.2.2",
"vite": "^5.1.6",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.21.0",
"vite-plugin-svgr": "^4.2.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/_deprecated/vite-connect-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^4.3.1",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.22.0"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/_deprecated/vite-rainbow-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^4.3.1",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.22.0"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/_deprecated/vite-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^4.3.1",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.22.0"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/_deprecated/vite-web3-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react": "^4.3.1",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite": "^5.2.14",
"vite-plugin-node-polyfills": "^0.22.0"
},
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/checkout/sdk-connect-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18.3.0",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: "80%",
reporter: "html",

use: {
Expand All @@ -23,7 +23,7 @@ export default defineConfig({
],

webServer: {
command: "yarn dev",
command: "yarn start",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18.3.0",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: "80%",
reporter: "html",

use: {
Expand All @@ -23,7 +23,7 @@ export default defineConfig({
],

webServer: {
command: "yarn dev",
command: "yarn start",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
2 changes: 1 addition & 1 deletion examples/orderbook/create-listing-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: "80%",
reporter: "html",

use: {
Expand All @@ -23,7 +23,7 @@ export default defineConfig({
],

webServer: {
command: "yarn dev",
command: "yarn start",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.2.7",
"typescript": "^5"
"typescript": "^5.6.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: "80%",
reporter: "html",

use: {
Expand All @@ -23,7 +23,7 @@ export default defineConfig({
],

webServer: {
command: "yarn dev",
command: "yarn start",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
2 changes: 1 addition & 1 deletion examples/passport/identity-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions examples/passport/identity-with-nextjs/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: "80%",
reporter: "html",

use: {
Expand All @@ -23,7 +23,7 @@ export default defineConfig({
],

webServer: {
command: "yarn dev",
command: "yarn start",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
4 changes: 2 additions & 2 deletions examples/passport/wallets-connect-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@imtbl/sdk": "latest",
"@tanstack/react-query": "^5.51.11",
"ethers": "^5.7.2",
"next": "14.2.5",
"next": "14.2.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"wagmi": "^2.11.3"
Expand All @@ -20,7 +20,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: "80%",
reporter: "html",

use: {
Expand All @@ -23,7 +23,7 @@ export default defineConfig({
],

webServer: {
command: "yarn dev",
command: "yarn start",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
2 changes: 1 addition & 1 deletion examples/passport/wallets-signing-with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: "80%",
reporter: "html",

use: {
Expand All @@ -23,7 +23,7 @@ export default defineConfig({
],

webServer: {
command: "yarn dev",
command: "yarn start",
url: "http://localhost:3000",
reuseExistingServer: !process.env.CI,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@examples/wallets-transactions-with-nextjs",
"version": "0.1.0",
"dependencies": {
"next": "14.2.5",
"next": "14.2.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand All @@ -17,7 +17,7 @@
"eslint-config-next": "14.2.5",
"postcss": "^8.4.39",
"tailwindcss": "^3.4.6",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"private": true,
"scripts": {
Expand Down
Loading

0 comments on commit f99db36

Please sign in to comment.