Skip to content

Commit b9f27c1

Browse files
authored
Merge pull request #29 from macalinao/igm/dep-bumps-123213
Update all dependencies
2 parents 8b1f45c + d6d90a8 commit b9f27c1

File tree

13 files changed

+118
-143
lines changed

13 files changed

+118
-143
lines changed

.changeset/clear-sides-make.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
"@macalinao/codama-nodes-from-anchor-x": minor
3+
"@macalinao/codama-renderers-markdown": minor
4+
"@macalinao/codama-renderers-js-esm": minor
5+
"@macalinao/clients-orca-whirlpools": minor
6+
"@macalinao/clients-kamino-lending": minor
7+
"@macalinao/clients-token-metadata": minor
8+
"@macalinao/create-coda": minor
9+
"@macalinao/clients-quarry": minor
10+
"@macalinao/coda": minor
11+
"coda-docs": minor
12+
"@macalinao/codama-instruction-accounts-dedupe-visitor": minor
13+
"@macalinao/codama-rename-visitor": minor
14+
---
15+
16+
Update all dependencies

apps/docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
"yaml": "^2.8.1"
2121
},
2222
"devDependencies": {
23-
"@tailwindcss/postcss": "^4.1.12",
23+
"@tailwindcss/postcss": "^4.1.13",
2424
"@types/mdx": "^2.0.13",
2525
"@types/node": "24.3.0",
2626
"@types/react": "^19.1.12",
2727
"@types/react-dom": "^19.1.9",
28-
"eslint": "^9.34.0",
28+
"eslint": "^9.35.0",
2929
"eslint-config-next": "15.5.0",
3030
"postcss": "^8.5.6",
31-
"tailwindcss": "^4.1.12",
31+
"tailwindcss": "^4.1.13",
3232
"typescript": "^5.9.2"
3333
}
3434
}

biome.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.2.3/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

bun.lock

Lines changed: 57 additions & 100 deletions
Large diffs are not rendered by default.

devenv.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"devenv": {
44
"locked": {
55
"dir": "src/modules",
6-
"lastModified": 1756415044,
6+
"lastModified": 1757257819,
77
"owner": "cachix",
88
"repo": "devenv",
9-
"rev": "c570189b38b549141179647da3ddde249ac50fec",
9+
"rev": "21d0c09bb318e14c9596344c57273bd457b76f53",
1010
"type": "github"
1111
},
1212
"original": {
@@ -40,10 +40,10 @@
4040
]
4141
},
4242
"locked": {
43-
"lastModified": 1755960406,
43+
"lastModified": 1757239681,
4444
"owner": "cachix",
4545
"repo": "git-hooks.nix",
46-
"rev": "e891a93b193fcaf2fc8012d890dc7f0befe86ec2",
46+
"rev": "ab82ab08d6bf74085bd328de2a8722c12d97bd9d",
4747
"type": "github"
4848
},
4949
"original": {
@@ -74,10 +74,10 @@
7474
},
7575
"nixpkgs": {
7676
"locked": {
77-
"lastModified": 1756636162,
77+
"lastModified": 1757034884,
7878
"owner": "NixOS",
7979
"repo": "nixpkgs",
80-
"rev": "37ff64b7108517f8b6ba5705ee5085eac636a249",
80+
"rev": "ca77296380960cd497a765102eeb1356eb80fed0",
8181
"type": "github"
8282
},
8383
"original": {

package.json

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,17 @@
1111
"clients/*"
1212
],
1313
"catalog": {
14-
"eslint": "^9.33.0",
14+
"eslint": "^9.35.0",
1515
"typescript": "^5.9.2",
1616
"@macalinao/eslint-config": "^6",
1717
"@macalinao/tsconfig": "^3.2.3",
1818
"@solana/kit": "^3",
19-
"tslib": "^2.8.1",
20-
"@tanstack/react-query": "^5.85.3",
21-
"@solana/wallet-adapter-base": "^0.9.27",
22-
"@solana/wallet-adapter-react": "^0.15.39",
23-
"@types/react": "^19.1.10",
24-
"@types/react-dom": "^19.1.7",
25-
"react": "^19.1.0",
26-
"react-dom": "^19.1.0",
27-
"gill": "^0.10.3",
28-
"gill-react": "^0.5.0",
2919
"@types/bun": "^1.2.20",
30-
"codama": "^1.3.3",
31-
"@codama/nodes": "^1.3.3",
32-
"@codama/nodes-from-anchor": "^1.2.5",
33-
"@codama/renderers-core": "^1.0.19",
34-
"@codama/renderers-js": "^1.3.4",
35-
"@codama/visitors-core": "^1.3.3"
20+
"codama": "^1.3.4",
21+
"@codama/nodes": "^1.3.4",
22+
"@codama/nodes-from-anchor": "^1.2.6",
23+
"@codama/renderers-core": "^1.1.0",
24+
"@codama/visitors-core": "^1.3.4"
3625
}
3726
},
3827
"scripts": {

packages/coda/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"dependencies": {
5151
"@codama/nodes-from-anchor": "catalog:",
52-
"@codama/renderers-rust": "^1.2.2",
52+
"@codama/renderers-rust": "^1.2.3",
5353
"@macalinao/codama-nodes-from-anchor-x": "workspace:*",
5454
"@macalinao/codama-rename-visitor": "workspace:*",
5555
"@macalinao/codama-renderers-js-esm": "workspace:*",
@@ -61,7 +61,7 @@
6161
"devDependencies": {
6262
"@macalinao/eslint-config": "catalog:",
6363
"@macalinao/tsconfig": "catalog:",
64-
"@types/node": "^24.3.0",
64+
"@types/node": "^24.3.1",
6565
"eslint": "catalog:",
6666
"typescript": "catalog:"
6767
}

packages/codama-nodes-from-anchor-x/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"devDependencies": {
4747
"@macalinao/eslint-config": "catalog:",
4848
"@macalinao/tsconfig": "catalog:",
49+
"@types/bun": "latest",
4950
"eslint": "catalog:",
50-
"typescript": "catalog:",
51-
"@types/bun": "latest"
51+
"typescript": "catalog:"
5252
}
5353
}

packages/codama-renderers-js-esm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"dependencies": {
4646
"@codama/renderers-core": "catalog:",
47-
"@codama/renderers-js": "catalog:",
47+
"@codama/renderers-js": "^1.3.5",
4848
"codama": "catalog:"
4949
},
5050
"devDependencies": {

packages/codama-renderers-js-esm/src/render-esm-typescript-visitor.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
import {
2+
addToRenderMap,
3+
mapRenderMapContent,
4+
writeRenderMap,
5+
} from "@codama/renderers-core";
16
import { getRenderMapVisitor } from "@codama/renderers-js";
27
import { rootNodeVisitor, visit } from "codama";
38
import { ESM_DEPENDENCY_MAP } from "./constants.js";
@@ -12,15 +17,19 @@ export function renderESMTypeScriptVisitor(
1217
): ReturnType<typeof rootNodeVisitor> {
1318
return rootNodeVisitor((root) => {
1419
// Render the new files.
15-
const renderMap = visit(
20+
let renderMap = visit(
1621
root,
1722
getRenderMapVisitor({
1823
dependencyMap: ESM_DEPENDENCY_MAP,
1924
}),
2025
);
2126

2227
const index = renderMap.get("index.ts");
23-
renderMap.add(
28+
if (!index) {
29+
throw new Error("Index file not found");
30+
}
31+
renderMap = addToRenderMap(
32+
renderMap,
2433
"index.ts",
2534
index.replace(
2635
/(export\s+\*\s+from\s+['"])(\.\/[^'"]+)(['"])/g,
@@ -29,7 +38,7 @@ export function renderESMTypeScriptVisitor(
2938
),
3039
);
3140

32-
renderMap.mapContent((code) => {
41+
renderMap = mapRenderMapContent(renderMap, (code) => {
3342
const updated = code
3443
// .replace(/= 0x([\da-f]+), \/\//g, "= 0x$1; //")
3544
.replaceAll("process.env.NODE_ENV !== 'production'", "true")
@@ -52,6 +61,6 @@ export function renderESMTypeScriptVisitor(
5261
return updated;
5362
});
5463

55-
renderMap.write(path);
64+
writeRenderMap(renderMap, path);
5665
});
5766
}

0 commit comments

Comments
 (0)