Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Update outdated packages #51

Merged
merged 8 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
${{ runner.os }}-${{ env.PNPM_CACHE_AFFIX }}-

- name: install dependencies
run: pnpm i --frozen-lockfile
run: pnpm i

- name: testing
run: |
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

- name: install dependencies
run: |
pnpm install --frozen-lockfile
pnpm i
pnpm exec playwright install --with-deps

- name: build artefacts
Expand Down
4 changes: 0 additions & 4 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
node-linker=hoisted
# Prevent pnpm from adding the "workspace:"" prefix to local
# packages as it causes issues with manypkg
# @link https://pnpm.io/npmrc#prefer-workspace-packages
save-workspace-protocol=false
prefer-workspace-packages=true
24 changes: 21 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@
},
"dependencies": {
"@changesets/cli": "^2.27.1",
"@manypkg/cli": "^0.21.2",
"@solana/token-upgrade-ui": "1.2.0",
"@manypkg/cli": "^0.21.4",
"@solana/token-upgrade-ui": "workspace:^1.2.0",
"playwright": "^1.42.1",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"turbo": "^1.13.2"
},
"packageManager": "[email protected]",
"pnpm": {
"allowedDeprecatedVersions": {
"@toruslabs/openlogin-jrpc": "3.2",
Expand All @@ -36,10 +38,26 @@
"@walletconnect/types": "1.8"
},
"overrides": {
"axios@>=1.3.2 <=1.7.3": ">=1.7.4",
"braces@<3.0.3": ">=3.0.3",
"bs58@^4.0.1": ">=5.0.0",
"ejs@<3.1.10": ">=3.1.10",
"elliptic@>=5.2.1 <=6.5.6": ">=6.5.7",
"elliptic@>=4.0.0 <=6.5.6": ">=6.5.7",
"elliptic@>=2.0.0 <=6.5.6": ">=6.5.7",
"express@<4.19.2": ">=4.19.2",
"fast-xml-parser@<4.4.1": ">=4.4.1",
"micromatch@<4.0.8": ">=4.0.8",
"next@>=13.4.0 <14.1.1": ">=14.1.1",
"react@^16.8.4": ">=18.2.0",
"react-dom@^16.8.4": ">=18.2.0",
"semver@>=7.0.0 <7.5.2": ">=7.5.2"
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
"tar@<6.2.1": ">=6.2.1",
"webpack@<5.94.0": ">=5.94.0",
"webpack-dev-middleware@>=6.0.0 <6.1.2": ">=6.1.2",
"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"
}
}
}
4 changes: 2 additions & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@headlessui/react": "^1.7.18",
"@solana/spl-token": "^0.4.1",
"@solana/token-upgrade-ui": "1.2.0",
"@solana/token-upgrade-ui": "workspace:^1.2.0",
"@solana/wallet-adapter-base": "^0.9.23",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-react-ui": "^0.9.35",
Expand All @@ -33,7 +33,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.3.0",
"token-upgrade-ui-shared": "1.0.0"
"token-upgrade-ui-shared": "workspace:^1.0.0"
},
"devDependencies": {
"@types/node": "^20",
Expand Down
6 changes: 4 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
}
},
"dependencies": {
"@headlessui/react": "^1.7.18",
"@heroicons/react": "^2.1.3",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-form": "^0.0.3",
Expand All @@ -51,14 +52,15 @@
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-react-ui": "^0.9.35",
"@solana/wallet-adapter-wallets": "^0.19.32",
"@solana/web3.js": "^1.91.3",
"@tanstack/react-query": "^5.28.6",
"class-variance-authority": "^0.7.0",
"debug": "^4.3.4",
"next": "14.1.0",
"react-error-boundary": "^4.0.13",
"superstruct": "^1.0.4",
"tailwind-merge": "^2.2.2",
"token-upgrade-ui-shared": "1.0.0"
"token-upgrade-ui-shared": "workspace:^1.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.24.1",
Expand Down Expand Up @@ -89,7 +91,7 @@
"storybook": "^7.6.17",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"vitest": "^1.4.0",
"vitest": "^2.0.5",
"wait-on": "^7.2.0"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/widgets/token-upgrade/amount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ export function Amount({
</Form.Control>
{displaySymbol ? (
<div
aria-description="Symbol of the token to upgrade"
aria-label="Token Symbol"
className="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 font-mono"
>
Expand Down
10 changes: 2 additions & 8 deletions packages/ui/src/widgets/token-upgrade/token-extensions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ export function TokenExtensions({
</a>
</dt>
{(extensions?.length ?? 0) > 0 ? (
<dd
aria-description="List of extensions enabled for the token"
className="mt-1"
>
<dd className="mt-1">
<div
className="flex flex-wrap items-baseline gap-x-2 gap-y-1.5"
role="menubar"
Expand Down Expand Up @@ -88,10 +85,7 @@ export function TokenExtensions({
</div>
</dd>
) : (
<dd
aria-description="No enabled extensions for the token"
className="mt-1 flex items-baseline justify-between md:block lg:flex"
>
<dd className="mt-1 flex items-baseline justify-between md:block lg:flex">
There are no token extensions enabled.
</dd>
)}
Expand Down
Loading