Skip to content

Commit

Permalink
feat(repo): Bump deps, Fix Storybook build (#2707)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
AtelyPham and dependabot[bot] authored Dec 17, 2024
1 parent b668366 commit 9f433e0
Show file tree
Hide file tree
Showing 4 changed files with 4,796 additions and 1,912 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,14 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: yarn

- name: create env file
run: |
touch .env
echo PRIVACY_POLICY_PAGE_ID=${{ secrets.PRIVACY_POLICY_PAGE_ID }} >> .env
echo TERMS_AND_CONDITIONS_PAGE_ID=${{ secrets.TERMS_AND_CONDITIONS_PAGE_ID }} >> .env
echo NOTION_TOKEN_V2=${{ secrets.NOTION_TOKEN_V2 }} >> .env
echo NOTION_ACTIVE_USER=${{ secrets.NOTION_ACTIVE_USER }} >> .env
echo NOTION_BLOG_INTEGRATION_POSTS_DATABASE_ID=${{ secrets.NOTION_BLOG_INTEGRATION_POSTS_DATABASE_ID }} >> .env
echo NOTION_BLOG_INTEGRATION_TOKEN=${{ secrets.NOTION_BLOG_INTEGRATION_TOKEN }} >> .env
echo NOTION_BLOG_INTEGRATION_VIDEOS_DATABASE_ID=${{ secrets.NOTION_BLOG_INTEGRATION_VIDEOS_DATABASE_ID }} >> .env
echo NEXT_PUBLIC_FAUCET_BACKEND_URL=${{ secrets.NEXT_PUBLIC_FAUCET_BACKEND_URL }} >> .env
echo NEXT_PUBLIC_TWITTER_CLIENT_ID=${{ secrets.NEXT_PUBLIC_TWITTER_CLIENT_ID }} >> .env
echo TWITTER_CLIENT_SECRET=${{ secrets.TWITTER_CLIENT_SECRET }} >> .env
echo BRIDGE_DAPP_DOMAIN=${{ secrets.BRIDGE_DAPP_DOMAIN }} >> .env
echo BRIDGE_DAPP_WALLET_CONNECT_PROJECT_ID=${{ secrets.BRIDGE_DAPP_WALLET_CONNECT_PROJECT_ID }} >> .env
- name: Install deps
run: yarn install

- name: build
run: yarn nx run-many --all --target=build
run: |
yarn nx run-many --all --target=build
yarn nx build-storybook webb-ui-components
# Fix: JavaScript heap out of memory
# https://github.com/actions/runner-images/issues/70#issuecomment-1191708172
env:
Expand Down
1 change: 0 additions & 1 deletion libs/webb-ui-components/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export default {
getAbsolutePath('@storybook/addon-interactions'),
getAbsolutePath('@storybook/theming'),
getAbsolutePath('@storybook/addon-a11y'),
getAbsolutePath('@storybook/addon-webpack5-compiler-swc'),
getAbsolutePath('@chromatic-com/storybook'),
getAbsolutePath('@storybook/addon-themes'),
'@nx/react/plugins/storybook',
Expand Down
187 changes: 81 additions & 106 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,7 @@
"generate:release": "node ./tools/release.js"
},
"resolutions": {
"@polkadot/api": "^11.0.2",
"@polkadot/api-augment": "^11.0.2",
"@polkadot/api-base": "^11.0.2",
"@polkadot/api-contract": "^11.0.2",
"@polkadot/api-derive": "^11.0.2",
"@polkadot/keyring": "^12.6.2",
"@polkadot/networks": "^12.6.2",
"@polkadot/phishing": "^0.22.1",
"@polkadot/rpc-augment": "^11.0.2",
"@polkadot/rpc-core": "^11.0.2",
"@polkadot/rpc-provider": "^11.0.2",
"@polkadot/types": "^11.0.2",
"@polkadot/types-augment": "^11.0.2",
"@polkadot/types-codec": "^11.0.2",
"@polkadot/types-create": "^11.0.2",
"@polkadot/types-known": "^11.0.2",
"@polkadot/types-support": "^11.0.2",
"@polkadot/util": "^12.6.2",
"@polkadot/util-crypto": "^12.6.2",
"webpack": "5.91.0"
"eslint-plugin-import": "npm:eslint-plugin-import-x@^4.5.0"
},
"dependencies": {
"@actions/core": "^1.11.1",
Expand All @@ -61,170 +42,164 @@
"@hyperlane-xyz/utils": "^5.7.0",
"@ngneat/falso": "^7.2.0",
"@octokit/request": "^9.1.3",
"@polkadot/api": "^15.0.1",
"@polkadot/api": "^13.2.1",
"@polkadot/apps-config": "^0.146.1",
"@polkadot/extension-dapp": "0.57.1",
"@polkadot/extension-inject": "0.57.1",
"@polkadot/keyring": "^13.2.3",
"@polkadot/react-identicon": "^3.11.3",
"@polkadot/types": "^15.0.1",
"@polkadot/types": "^13.2.1",
"@polkadot/util": "^13.2.3",
"@polkadot/util-crypto": "^13.2.3",
"@radix-ui/react-accordion": "^1.2.1",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.2",
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-avatar": "^1.1.2",
"@radix-ui/react-collapsible": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.4",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.1",
"@radix-ui/react-scroll-area": "^1.2.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.1",
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.1",
"@radix-ui/react-tooltip": "^1.1.4",
"@tanstack/react-query": "^5.62.2",
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-popover": "^1.1.4",
"@radix-ui/react-progress": "^1.1.1",
"@radix-ui/react-radio-group": "^1.2.2",
"@radix-ui/react-scroll-area": "^1.2.2",
"@radix-ui/react-separator": "^1.1.1",
"@radix-ui/react-slider": "^1.2.2",
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-tooltip": "^1.1.6",
"@tanstack/react-query": "^5.62.8",
"@webb-tools/evm-contract-metadata": "^1.3.0",
"chromatic": "^11.20.0",
"chromatic": "^11.20.2",
"decimal.js": "^10.4.3",
"detect-browser": "^5.3.0",
"ethers": "5.7.2",
"js-base64": "^3.7.7",
"lodash": "^4.17.21",
"next": "^14.2.19",
"next": "^14.2.20",
"next-secure-headers": "^2.2.0",
"next-themes": "^0.4.3",
"next-themes": "^0.4.4",
"notistack": "^3.0.1",
"observable-hooks": "^4.2.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dropzone": "^14.3.5",
"react-hook-form": "^7.53.2",
"react-hook-form": "^7.54.1",
"react-router": "^7.0.2",
"react-syntax-highlighter": "^15.6.1",
"recharts": "^2.14.1",
"recharts": "^2.15.0",
"rxjs": "7.8.1",
"swr": "^2.2.5",
"use-local-storage-state": "^19.5.0",
"viem": "^2.21.53",
"wagmi": "^2.13.3",
"zod": "^3.23.8",
"viem": "^2.21.55",
"wagmi": "^2.14.3",
"zod": "^3.24.1",
"zustand": "^4.5.5"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@chromatic-com/storybook": "^3.2.2",
"@commitlint/cli": "^19.6.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/eslintrc": "^2.1.1",
"@eslint/js": "~8.57.0",
"@next/bundle-analyzer": "^14.2.19",
"@nx/eslint": "20.1.4",
"@nx/eslint-plugin": "20.1.4",
"@nx/jest": "20.1.4",
"@nx/js": "20.1.4",
"@nx/next": "20.1.4",
"@nx/react": "20.1.4",
"@nx/storybook": "20.1.4",
"@nx/vite": "20.1.4",
"@nx/web": "20.1.4",
"@nx/workspace": "20.1.4",
"@storybook/addon-a11y": "^8.4.6",
"@storybook/addon-actions": "^8.4.6",
"@storybook/addon-essentials": "^8.4.6",
"@storybook/addon-interactions": "^8.4.6",
"@storybook/addon-themes": "^8.4.6",
"@storybook/addon-webpack5-compiler-swc": "^1.0.5",
"@storybook/blocks": "8.4.6",
"@storybook/channels": "^8.4.6",
"@storybook/components": "^8.4.6",
"@storybook/core-events": "^8.4.6",
"@storybook/core-server": "^8.4.6",
"@storybook/manager-api": "^8.4.6",
"@storybook/nextjs": "^8.4.6",
"@storybook/preview-api": "^8.4.6",
"@storybook/react": "^8.4.6",
"@storybook/theming": "^8.4.6",
"@eslint/eslintrc": "^2.1.4",
"@eslint/js": "~8.57.1",
"@next/bundle-analyzer": "^14.2.20",
"@nx/eslint": "20.2.2",
"@nx/eslint-plugin": "20.2.2",
"@nx/jest": "20.2.2",
"@nx/js": "20.2.2",
"@nx/next": "20.2.2",
"@nx/react": "20.2.2",
"@nx/storybook": "20.2.2",
"@nx/vite": "20.2.2",
"@nx/web": "20.2.2",
"@nx/workspace": "20.2.2",
"@storybook/addon-a11y": "8.4.7",
"@storybook/addon-actions": "8.4.7",
"@storybook/addon-essentials": "8.4.7",
"@storybook/addon-interactions": "8.4.7",
"@storybook/addon-themes": "^8.4.7",
"@storybook/blocks": "8.4.7",
"@storybook/channels": "^8.4.7",
"@storybook/components": "^8.4.7",
"@storybook/core-events": "^8.4.7",
"@storybook/core-server": "^8.4.7",
"@storybook/manager-api": "^8.4.7",
"@storybook/nextjs": "^8.4.7",
"@storybook/preview-api": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/theming": "^8.4.7",
"@svgr/webpack": "8.1.0",
"@swc-node/register": "^1.10.9",
"@swc/cli": "~0.3.12",
"@swc/core": "~1.10.0",
"@swc/helpers": "~0.5.11",
"@swc/cli": "~0.5.2",
"@swc/core": "~1.10.1",
"@swc/helpers": "~0.5.15",
"@swc/jest": "~0.2.37",
"@tailwindcss/forms": "^0.5.9",
"@tanstack/match-sorter-utils": "^8.19.4",
"@tanstack/react-table": "^8.20.5",
"@tanstack/react-table": "^8.20.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "16.0.1",
"@testing-library/react": "16.1.0",
"@types/jest": "29.5.14",
"@types/lodash": "^4.17.13",
"@types/node": "18.19.67",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/node": "18.19.68",
"@types/react": "18.3.17",
"@types/react-dom": "18.3.5",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitejs/plugin-react-swc": "^3.7.2",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"@webb-tools/tangle-restaking-types": "^0.1.0",
"@webb-tools/tangle-substrate-types": "^0.9.6",
"@webb-tools/tangle-substrate-types": "^0.9.7",
"autoprefixer": "^10.4.20",
"babel-jest": "29.7.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"date-fns": "^4.1.0",
"esbuild": "^0.24.0",
"eslint": "^8.57.1",
"eslint-config-next": "^14.2.19",
"eslint-config-next": "^14.2.20",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import-x": "^4.5.0",
"eslint-plugin-jsx-a11y": "6.10.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-import-x": "^4.5.1",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"eslint-plugin-storybook": "^0.11.1",
"eslint-plugin-unused-imports": "^4.1.4",
"framer-motion": "^11.13.1",
"framer-motion": "^11.15.0",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "~25.0.1",
"numbro": "^2.5.0",
"nx": "20.1.4",
"nx": "20.2.2",
"postcss": "8.4.49",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"postcss-nested": "^7.0.2",
"postcss-preset-env": "^10.1.1",
"postcss-preset-env": "^10.1.2",
"prettier": "^3.4.2",
"react-is": "^18.3.1",
"rollup": "^4.28.0",
"rollup": "^4.28.1",
"rollup-plugin-preserve-directives": "^0.4.0",
"storybook": "^8.4.6",
"storybook": "^8.4.7",
"tailwind-merge": "^2.5.5",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss": "^3.4.16",
"tailwindcss-radix": "^3.0.5",
"ts-jest": "29.2.5",
"tslib": "^2.3.0",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0",
"typescript-eslint": "^8.18.1",
"vite": "~5.4.11",
"vite-plugin-dts": "~4.3.0",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-svgr": "^4.2.0",
"vite-plugin-svgr": "^4.3.0",
"vite-plugin-wasm": "^3.3.0",
"vitest": "^2.1.4",
"webpack": "5.95.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.1.0",
"webpack-merge": "^6.0.1",
"vitest": "^2.1.8",
"yargs": "^17.7.2"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit 9f433e0

Please sign in to comment.