Files
js/package.json
T
jnsdls 0f42ab5191 [Refactor] Update EngineNavigation with useCallback and useMemo, clean up imports (#3436)
This pull request focuses on refactoring the engine navigation and sidebar integration in the dashboard app.

### What changed?
- Refactored the `EngineNavigation` component to replace the tab-based navigation with a sidebar-based navigation using `SidebarNav` from `core-ui`.
- Removed the old `EngineSidebar` component as it is no longer needed.
- Adjusted the `BasisPointsInput` component to fix ESLint issues.
- Updated various files to improve consistency and address minor code quality issues.

### How to test?
1. Navigate to the engine section of the dashboard.
2. Verify that the new sidebar navigation works as expected.
3. Test the `BasisPointsInput` component to ensure it is functioning correctly.
4. Run the codebase through a linting tool to ensure no new linting issues have been introduced.

### Why make this change?
This refactor aims to enhance the user experience by providing a more intuitive navigation system and to improve the maintainability of the code.

---

<!-- start pr-codex -->

---

## PR-Codex overview
This PR enhances the sidebar navigation in the dashboard by adding `onClick` functionality to sidebar links and updating the engine navigation component.

### Detailed summary
- Added `onClick` functionality to sidebar links in the dashboard
- Updated the engine navigation component with new functionalities and optimizations

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

<!-- end pr-codex -->
2024-06-21 07:05:20 +00:00

111 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",
"lint": "turbo run lint",
"lint:legacy": "pnpm lint",
"fix": "turbo run fix",
"playground": "turbo run dev --filter=./apps/playground-web --filter=./packages/thirdweb",
"playground:build": "turbo run build --filter=./apps/playground-web",
"dashboard": "turbo run dev --filter=./apps/dashboard --filter=./packages/thirdweb",
"dashboard:build": "turbo run build --filter=./apps/dashboard",
"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/*",
"build:release": "pnpm run build --force",
"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/*",
"bench": "turbo run bench",
"typedoc": "turbo run typedoc",
"generate-snippets": "node ./scripts/generate-snippets/index.mjs",
"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]"
}