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

Bump @docusaurus/core from 3.6.3 to 3.7.0 #634

Merged
merged 9 commits into from
Jan 6, 2025
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: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ updates:
schedule:
interval: "daily"
labels: [ ]
groups:
docusaurus:
applies-to: version-updates
patterns: "@docusaurus/*"
- package-ecosystem: "cargo"
directory: "/"
schedule:
Expand Down
9 changes: 5 additions & 4 deletions docs/whirlpool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@
"clean": "rimraf dist .docusaurus"
},
"dependencies": {
"@docusaurus/core": "^3.6.3",
"@docusaurus/preset-classic": "^3.6.3",
"@docusaurus/core": "^3.7.0",
"@docusaurus/preset-classic": "^3.7.0",
"@mdx-js/react": "^3.1.0",
"clsx": "^2.1.1",
"next": "^15.1.3",
"prism-react-renderer": "^2.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet-async": "^2.0.5",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.6.3",
"@docusaurus/module-type-aliases": "^3.7.0",
"@docusaurus/tsconfig": "^3.7.0",
"@docusaurus/types": "^3.6.3",
"@docusaurus/types": "^3.7.0",
"@orca-so/whirlpools-docs-legacy": "*",
"@orca-so/whirlpools-docs-rust": "*",
"@orca-so/whirlpools-docs-ts": "*",
Expand Down
2 changes: 1 addition & 1 deletion examples/ts-sdk/next/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
3 changes: 2 additions & 1 deletion examples/ts-sdk/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@types/node": "^22.10.5",
"@types/react": "^18.3.13",
"copy-webpack-plugin": "^12.0.2",
"typescript": "^5.7.2"
"typescript": "^5.7.2",
"webpack": "^5.97.1"
}
}
16 changes: 8 additions & 8 deletions rust-sdk/client/codama.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { rootNodeFromAnchor } from "@codama/nodes-from-anchor";
import { readFileSync } from "fs";

const idl = JSON.parse(readFileSync("../../target/idl/whirlpool.json", "utf8"));
const node = rootNodeFromAnchor(idl);
const visitor = renderVisitor("./src/generated");
// IDL generated with anchor 0.29 does not have the address field so we have to add it manually
const codama = createFromRoot({
...node,
program: {
...node.program,
publicKey: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc",
// IDL generated with anchor 0.29 does not have the metadata field so we have to add it manually
const node = rootNodeFromAnchor({
...idl,
metadata: {
address: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc",
origin: "anchor",
},
});
const visitor = renderVisitor("./src/generated");
const codama = createFromRoot(node);
codama.accept(visitor);
2 changes: 1 addition & 1 deletion rust-sdk/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"clean": "cargo clean"
},
"devDependencies": {
"@codama/nodes-from-anchor": "^1.0.0",
"@codama/nodes-from-anchor": "^1.1.0",
"@codama/renderers-rust": "^1.0.5",
"@orca-so/whirlpools-program": "*",
"@orca-so/whirlpools-rust-core": "*",
Expand Down
16 changes: 8 additions & 8 deletions ts-sdk/client/codama.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { rootNodeFromAnchor } from "@codama/nodes-from-anchor";
import { readFileSync } from "fs";

const idl = JSON.parse(readFileSync("../../target/idl/whirlpool.json", "utf8"));
const node = rootNodeFromAnchor(idl);
const visitor = renderVisitor("./src/generated");
// IDL generated with anchor 0.29 does not have the address field so we have to add it manually
const codama = createFromRoot({
...node,
program: {
...node.program,
publicKey: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc",
// IDL generated with anchor 0.29 does not have the metadata field so we have to add it manually
const node = rootNodeFromAnchor({
...idl,
metadata: {
address: "whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc",
origin: "anchor",
},
});
const visitor = renderVisitor("./src/generated");
const codama = createFromRoot(node);
codama.accept(visitor);
2 changes: 1 addition & 1 deletion ts-sdk/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@solana/web3.js": "^2.0.0"
},
"devDependencies": {
"@codama/nodes-from-anchor": "^1.0.0",
"@codama/nodes-from-anchor": "^1.1.0",
"@codama/renderers-js": "^1.1.1",
"@orca-so/whirlpools-program": "*",
"@solana/web3.js": "^2.0.0",
Expand Down
Loading
Loading