Files
js/package.json
T
jnsdls 5ca9094e26 update dependencies: (#3414)
<!-- start pr-codex -->

## PR-Codex overview
This PR updates dependencies, enables linter rules, and refactors styled components in various files.

### Detailed summary
- Updated `ora` dependency to version `^8.0.1`
- Added `"@typescript-eslint/no-unused-vars": "warn"` to ESLint config
- Updated `@swc/cli` dependency to version `0.3.12`
- Enabled linter rules in `biome.json`
- Refactored styled components in multiple files

> The following files were skipped due to too many changes: `packages/thirdweb/src/react/web/ui/components/formElements.tsx`, `packages/thirdweb/src/react/web/ui/components/modalElements.tsx`, `legacy_packages/unity-js-bridge/package.json`, `legacy_packages/react/src/wallet/ConnectWallet/screens/Buy/swap/SwapScreen.tsx`, `legacy_packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectModalInline.tsx`, `legacy_packages/crypto/package.json`, `legacy_packages/chains/package.json`, `legacy_packages/merkletree/package.json`, `packages/thirdweb/src/react/web/ui/ConnectWallet/MenuButton.tsx`, `packages/thirdweb/src/react/web/wallets/in-app/LinkButton.tsx`, `legacy_packages/react/src/wallet/wallets/embeddedWallet/LinkButton.tsx`, `packages/thirdweb/src/react/web/ui/components/Overlay.tsx`, `packages/thirdweb/src/react/web/ui/components/OTPInput.tsx`, `legacy_packages/react/src/components/OTPInput.tsx`, `legacy_packages/react/src/wallet/wallets/safe/SelectAccount.tsx`, `legacy_packages/react/src/wallet/ConnectWallet/Details.tsx`, `legacy_packages/eslint-config-thirdweb/package.json`, `.changeset/khaki-apricots-turn.md`, `legacy_packages/react/src/components/Drawer.tsx`, `legacy_packages/react/src/components/text.tsx`, `packages/thirdweb/src/react/web/ui/components/Drawer.tsx`, `packages/thirdweb/src/react/web/ui/components/text.tsx`, `legacy_packages/wallets/package.json`, `legacy_packages/react/src/wallet/ConnectWallet/screens/SwapTransactionsScreen.tsx`, `packages/thirdweb/src/react/web/ui/components/buttons.tsx`, `legacy_packages/auth/package.json`, `legacy_packages/react/src/components/basic.tsx`, `legacy_packages/storage/package.json`, `.vscode/settings.json`, `packages/thirdweb/src/react/web/ui/components/basic.tsx`, `legacy_packages/react-core/package.json`, `packages/thirdweb/src/react/web/ui/ConnectWallet/NetworkSelector.tsx`, `legacy_packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx`, `legacy_packages/react/src/components/buttons.tsx`, `packages/react-native-adapter/package.json`, `legacy_packages/react/src/components/modalElements.tsx`, `packages/service-utils/package.json`, `legacy_packages/cli/package.json`, `apps/playground-web/src/icons/sdks/UnityIcon.tsx`, `legacy_packages/sdk/package.json`, `legacy_packages/react/package.json`, `apps/playground-web/src/icons/sdks/TypeScriptIcon.tsx`, `apps/playground-web/src/components/ui/button.tsx`, `packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/ConnectEmbed.tsx`, `apps/playground-web/package.json`, `apps/playground-web/src/icons/sdks/SolidityIcon.tsx`, `package.json`, `apps/dashboard/package.json`, `apps/playground-web/src/icons/thirdweb.tsx`, `packages/thirdweb/package.json`, `apps/playground-web/src/icons/sdks/PythonIcon.tsx`, `apps/playground-web/src/icons/sdks/DotNetIcon.tsx`, `apps/playground-web/src/icons/sdks/GoIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractBuildIcon.tsx`, `apps/playground-web/src/icons/products/payments/PaymentsNFTCheckoutIcon.tsx`, `apps/playground-web/src/icons/products/payments/PayIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractPublishIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsAuthIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractExploreIcon.tsx`, `apps/playground-web/src/icons/solutions/GamingIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsConnectIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractDeployIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsInAppIcon.tsx`, `apps/playground-web/src/icons/products/contracts/ContractInteractIcon.tsx`, `apps/playground-web/src/icons/products/infra/InfraRPCIcon.tsx`, `apps/playground-web/src/icons/products/infra/InfraStorageIcon.tsx`, `apps/playground-web/src/icons/products/payments/PaymentsSponsoredIcon.tsx`, `apps/playground-web/src/icons/products/wallets/WalletsSmartIcon.tsx`, `apps/playground-web/src/icons/products/infra/InfraEngineIcon.tsx`, `apps/playground-web/src/components/ui/dropdown-menu.tsx`, `apps/playground-web/src/icons/sdks/ReactIcon.tsx`, `pnpm-lock.yaml`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-06-20 02:01:29 +00:00

112 lines
4.4 KiB
JSON

{
"name": "@thirdweb-dev/js",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/thirdweb-dev/js",
"author": "thirdweb eng <[email protected]>",
"license": "MIT",
"private": true,
"engines": {
"node": ">=18"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "turbo run test --filter=./packages/*",
"test:legacy": "turbo run test --filter=./legacy_packages/* --filter=!@thirdweb-dev/sdk --filter=!@thirdweb-dev/auth",
"e2e": "turbo run e2e --filter=./packages/*",
"e2e:legacy": "turbo run e2e --filter=./legacy_packages/*",
"build:packages": "turbo run build --filter=./packages/*",
"build:legacy_packages": "turbo run build --filter=./legacy_packages/*",
"build": "turbo run build --filter=./packages/* --filter=./legacy_packages/*",
"bench": "turbo run bench",
"typedoc": "turbo run typedoc",
"generate-snippets": "node ./scripts/generate-snippets/index.mjs",
"build:release": "pnpm run build --force",
"dev:playground": "turbo run dev --no-cache --parallel --continue --filter=!./apps/dashboard",
"dev:dashboard": "turbo run dev --filter=./apps/dashboard",
"build:dashboard": "turbo run build --filter=./apps/dashboard",
"fix:repo": "manypkg fix",
"lint": "turbo run lint --filter=./packages/*",
"lint:legacy": "turbo run lint --filter=./legacy_packages/*",
"fix": "turbo run fix",
"clean": "turbo run clean && rm -rf node_modules",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "node ./scripts/pre-release.mjs && turbo run update-version && pnpm build && changeset publish",
"version-packages:nightly": "node scripts/pre-nightly.mjs && changeset version --snapshot nightly",
"release:nightly": "node ./scripts/pre-release.mjs && turbo run update-version && pnpm build && changeset publish --tag nightly",
"push": "turbo run push --filter=./packages/* --filter=./legacy_packages/**",
"hotlink-init": "node ./scripts/hotlink/hotlink-init.mjs",
"hotlink-revert": "node ./scripts/hotlink/hotlink-revert.mjs"
},
"dependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.5",
"@manypkg/cli": "0.21.4",
"@manypkg/get-packages": "2.2.1",
"@playwright/test": "1.44.1",
"@types/node": "20.14.6",
"turbo": "2.0.4",
"yalc": "1.0.0-pre.53"
},
"_______ALL_PACKAGE_DEV_DEPENDENCIES_GO_IN_HERE_SO_CONSUMERS_DONT_END_UP_INSTALLING_THEM______": "_______ALL_PACKAGE_DEV_DEPENDENCIES_GO_IN_HERE_SO_CONSUMERS_DONT_END_UP_INSTALLING_THEM______",
"devDependencies": {
"@babel/plugin-transform-flow-strip-types": "^7.24.7",
"@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@biomejs/biome": "1.8.1",
"@codspeed/vitest-plugin": "3.1.0",
"@size-limit/preset-big-lib": "11.1.4",
"@types/bun": "1.0.12",
"@types/react": "^18.3.3",
"@viem/anvil": "0.0.10",
"@vitest/coverage-v8": "1.6.0",
"dotenv-mono": "1.3.14",
"eslint-plugin-i18next": "^6.0.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-inclusive-language": "^2.2.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-tsdoc": "^0.3.0",
"ethers5": "npm:[email protected]",
"ethers6": "npm:[email protected]",
"knip": "5.22.0",
"mitata": "0.1.11",
"react": "18.3.1",
"rimraf": "5.0.7",
"sharp": "^0.33.4",
"size-limit": "11.1.4",
"typedoc-gen": "workspace:*",
"typescript": "5.4.5",
"vitest": "1.6.0"
},
"manypkg": {
"defaultBranch": "main"
},
"pnpm": {
"overrides": {
"got@<11.8.5": ">=11.8.5",
"glob-parent@<5.1.2": ">=5.1.2",
"nth-check@<2.0.1": ">=2.0.1",
"socket.io-parser@>=4.0.4 <4.2.3": ">=4.2.3",
"fast-xml-parser@<=4.2.4": ">4.2.4",
"@openzeppelin/contracts@>=4.3.0 <4.9.1": ">=4.9.1",
"@openzeppelin/contracts@>=4.7.0 <4.9.2": ">=4.9.2",
"xml2js@<0.5.0": ">=0.5.0",
"engine.io@>=5.1.0 <6.4.2": ">=6.4.2",
"semver@<7.5.2": ">=7.5.2",
"json5@<1.0.2": ">=1.0.2",
"protobufjs@>=6.10.0 <7.2.4": ">=7.2.4",
"tough-cookie@<4.1.3": ">=4.1.3",
"@ethereumjs/util@<9.0.0": ">=9.0.0",
"axios@<0.28.0": ">=0.28.0",
"@grpc/grpc-js@<1.10.9": "1.10.9",
"braces@<3.0.3": "3.0.3",
"ws@>=8.0.0 <8.17.1": "8.17.1",
"ws@>=7.0.0 <7.5.10": "7.5.10",
"ws@>=6.0.0 <6.2.3": "6.2.3"
}
},
"packageManager": "[email protected]"
}