diff --git a/.changeset/bumpy-shoes-enjoy.md b/.changeset/bumpy-shoes-enjoy.md new file mode 100644 index 00000000..38d14cfb --- /dev/null +++ b/.changeset/bumpy-shoes-enjoy.md @@ -0,0 +1,10 @@ +--- +"@macalinao/codama-instruction-accounts-dedupe-visitor": patch +"@macalinao/codama-nodes-from-anchor-x": patch +"@macalinao/codama-renderers-markdown": patch +"@macalinao/codama-renderers-js-esm": patch +"@macalinao/codama-rename-visitor": patch +"@macalinao/coda-visitors": patch +--- + +Fix references to bun types diff --git a/.changeset/plain-bats-dress.md b/.changeset/plain-bats-dress.md new file mode 100644 index 00000000..ad8c6b4f --- /dev/null +++ b/.changeset/plain-bats-dress.md @@ -0,0 +1,12 @@ +--- +"@macalinao/codama-instruction-accounts-dedupe-visitor": patch +"@macalinao/codama-nodes-from-anchor-x": patch +"@macalinao/codama-renderers-markdown": patch +"@macalinao/codama-renderers-js-esm": patch +"@macalinao/codama-rename-visitor": patch +"@macalinao/clients-voter-stake-registry": patch +"@macalinao/coda-visitors": patch +"@macalinao/create-coda": patch +--- + +Make sure everything has @types/bun dev dependency diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 191a97d4..00000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "vendor/fumadocs"] - path = vendor/fumadocs - url = https://github.com/fuma-nama/fumadocs.git diff --git a/bun.lock b/bun.lock index 715c3e09..551aaf7f 100644 --- a/bun.lock +++ b/bun.lock @@ -168,6 +168,7 @@ "devDependencies": { "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", + "@types/bun": "catalog:", "eslint": "catalog:", "typescript": "catalog:", }, @@ -182,6 +183,7 @@ "devDependencies": { "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", + "@types/bun": "catalog:", "eslint": "catalog:", "typescript": "catalog:", }, @@ -197,7 +199,7 @@ "devDependencies": { "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", - "@types/bun": "latest", + "@types/bun": "catalog:", "eslint": "catalog:", "typescript": "catalog:", }, @@ -211,6 +213,7 @@ "devDependencies": { "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", + "@types/bun": "catalog:", "eslint": "catalog:", "typescript": "catalog:", }, @@ -226,6 +229,7 @@ "devDependencies": { "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", + "@types/bun": "catalog:", "eslint": "catalog:", "typescript": "catalog:", }, @@ -272,10 +276,10 @@ "@codama/nodes-from-anchor": "^1.2.9", "@codama/renderers-core": "^1.2.2", "@codama/visitors-core": "^1.3.7", - "@macalinao/eslint-config": "^6.0.3", + "@macalinao/eslint-config": "^7", "@macalinao/tsconfig": "^3.2.3", "@solana/kit": "^3.0.3", - "@types/bun": "^1.2.23", + "@types/bun": "^1.3", "codama": "^1.3.7", "eslint": "^9.37.0", "typescript": "^5.9.3", @@ -549,7 +553,7 @@ "@macalinao/create-coda": ["@macalinao/create-coda@workspace:packages/create-coda"], - "@macalinao/eslint-config": ["@macalinao/eslint-config@6.0.3", "", { "dependencies": { "@eslint/js": "^9.37.0", "@typescript-eslint/parser": "^8.45.0", "eslint-config-turbo": "^2.5.8", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import-x": "^4.16.1", "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unused-imports": "^4.2.0", "globals": "^16.4.0", "typescript-eslint": "^8.39.1" }, "peerDependencies": { "eslint": "^9.33.0" } }, "sha512-uSZpFgnkW8A1fSCF297Npz3ATN6qnKSClX1CozDmetDQVOXjputFuUdRUkmQjfAlaYXCWIqVVS2dknVgV4KIFA=="], + "@macalinao/eslint-config": ["@macalinao/eslint-config@7.0.0", "", { "dependencies": { "@eslint/js": "^9.37.0", "@typescript-eslint/parser": "^8.45.0", "eslint-config-turbo": "^2.5.8", "globals": "^16.4.0", "typescript-eslint": "^8.39.1" }, "peerDependencies": { "eslint": "^9.33.0" } }, "sha512-10eFx35lrAQ/n2x0qjv5VMYjZDCZhhQPbgnKUD2fH0WnN3oA5hvoNTjD1uY1mdpvkBwbqnbAC2OQrjEjUqFQ1A=="], "@macalinao/tsconfig": ["@macalinao/tsconfig@3.2.3", "", {}, "sha512-PH6UvudxPrxYg+2BZyPUx2/U2jCOlJYz+2cGLvIX3Ybtz3GNGxjounb4sceZmR9QmquZlxuP0o5Zz3Y8VATbdA=="], @@ -593,8 +597,6 @@ "@orama/orama": ["@orama/orama@3.1.11", "", {}, "sha512-Szki0cgFiXE5F9RLx2lUyEtJllnuCSQ4B8RLDwIjXkVit6qZjoDAxH+xhJs29MjKLDz0tbPLdKFa6QrQ/qoGGA=="], - "@pkgr/core": ["@pkgr/core@0.2.9", "", {}, "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA=="], - "@radix-ui/number": ["@radix-ui/number@1.1.1", "", {}, "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g=="], "@radix-ui/primitive": ["@radix-ui/primitive@1.1.3", "", {}, "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg=="], @@ -801,7 +803,7 @@ "@tybys/wasm-util": ["@tybys/wasm-util@0.10.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ=="], - "@types/bun": ["@types/bun@1.2.23", "", { "dependencies": { "bun-types": "1.2.23" } }, "sha512-le8ueOY5b6VKYf19xT3McVbXqLqmxzPXHsQT/q9JHgikJ2X22wyTW3g3ohz2ZMnp7dod6aduIiq8A14Xyimm0A=="], + "@types/bun": ["@types/bun@1.3.0", "", { "dependencies": { "bun-types": "1.3.0" } }, "sha512-+lAGCYjXjip2qY375xX/scJeVRmZ5cY0wyHYyCYxNcdEXrQ4AOe3gACgd4iQ8ksOslJtW4VNxBJ8llUwc3a6AA=="], "@types/debug": ["@types/debug@4.1.12", "", { "dependencies": { "@types/ms": "*" } }, "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ=="], @@ -953,7 +955,7 @@ "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], - "bun-types": ["bun-types@1.2.23", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-R9f0hKAZXgFU3mlrA0YpE/fiDvwV0FT9rORApt2aQVWSuJDzZOyB5QLc0N/4HF57CS8IXJ6+L5E4W1bW6NS2Aw=="], + "bun-types": ["bun-types@1.3.0", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-u8X0thhx+yJ0KmkxuEo9HAtdfgCBaM/aI9K90VQcQioAmkVp3SG3FkwWGibUFz3WdXAdcsqOcbU40lK7tbHdkQ=="], "call-bind": ["call-bind@1.0.8", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", "get-intrinsic": "^1.2.4", "set-function-length": "^1.2.2" } }, "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww=="], @@ -1103,15 +1105,13 @@ "eslint-config-next": ["eslint-config-next@15.5.0", "", { "dependencies": { "@next/eslint-plugin-next": "15.5.0", "@rushstack/eslint-patch": "^1.10.3", "@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.0", "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-hooks": "^5.0.0" }, "peerDependencies": { "eslint": "^7.23.0 || ^8.0.0 || ^9.0.0", "typescript": ">=3.3.1" }, "optionalPeers": ["typescript"] }, "sha512-Yl4hlOdBqstAuHnlBfx2RimBzWQwysM2SJNu5EzYVa2qS2ItPs7lgxL0sJJDudEx5ZZHfWPZ/6U8+FtDFWs7/w=="], - "eslint-config-prettier": ["eslint-config-prettier@10.1.8", "", { "peerDependencies": { "eslint": ">=7.0.0" }, "bin": { "eslint-config-prettier": "bin/cli.js" } }, "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w=="], - "eslint-config-turbo": ["eslint-config-turbo@2.5.8", "", { "dependencies": { "eslint-plugin-turbo": "2.5.8" }, "peerDependencies": { "eslint": ">6.6.0", "turbo": ">2.0.0" } }, "sha512-wzxmN7dJNFGDwOvR/4j8U2iaIH/ruYez8qg/sCKrezJ3+ljbFMvJLmgKKt/1mDuyU9wj5aZqO6VijP3QH169FA=="], "eslint-import-context": ["eslint-import-context@0.1.9", "", { "dependencies": { "get-tsconfig": "^4.10.1", "stable-hash-x": "^0.2.0" }, "peerDependencies": { "unrs-resolver": "^1.0.0" }, "optionalPeers": ["unrs-resolver"] }, "sha512-K9Hb+yRaGAGUbwjhFNHvSmmkZs9+zbuoe3kFQ4V1wYjrepUFYM2dZAfNtjbbj3qsPfUfsA68Bx/ICWQMi+C8Eg=="], "eslint-import-resolver-node": ["eslint-import-resolver-node@0.3.9", "", { "dependencies": { "debug": "^3.2.7", "is-core-module": "^2.13.0", "resolve": "^1.22.4" } }, "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g=="], - "eslint-import-resolver-typescript": ["eslint-import-resolver-typescript@4.4.4", "", { "dependencies": { "debug": "^4.4.1", "eslint-import-context": "^0.1.8", "get-tsconfig": "^4.10.1", "is-bun-module": "^2.0.0", "stable-hash-x": "^0.2.0", "tinyglobby": "^0.2.14", "unrs-resolver": "^1.7.11" }, "peerDependencies": { "eslint": "*", "eslint-plugin-import": "*", "eslint-plugin-import-x": "*" }, "optionalPeers": ["eslint-plugin-import", "eslint-plugin-import-x"] }, "sha512-1iM2zeBvrYmUNTj2vSC/90JTHDth+dfOfiNKkxApWRsTJYNrc8rOdxxIf5vazX+BiAXTeOT0UvWpGI/7qIWQOw=="], + "eslint-import-resolver-typescript": ["eslint-import-resolver-typescript@3.10.1", "", { "dependencies": { "@nolyfill/is-core-module": "1.0.39", "debug": "^4.4.0", "get-tsconfig": "^4.10.0", "is-bun-module": "^2.0.0", "stable-hash": "^0.0.5", "tinyglobby": "^0.2.13", "unrs-resolver": "^1.6.2" }, "peerDependencies": { "eslint": "*", "eslint-plugin-import": "*", "eslint-plugin-import-x": "*" }, "optionalPeers": ["eslint-plugin-import", "eslint-plugin-import-x"] }, "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ=="], "eslint-module-utils": ["eslint-module-utils@2.12.1", "", { "dependencies": { "debug": "^3.2.7" } }, "sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw=="], @@ -1121,18 +1121,12 @@ "eslint-plugin-jsx-a11y": ["eslint-plugin-jsx-a11y@6.10.2", "", { "dependencies": { "aria-query": "^5.3.2", "array-includes": "^3.1.8", "array.prototype.flatmap": "^1.3.2", "ast-types-flow": "^0.0.8", "axe-core": "^4.10.0", "axobject-query": "^4.1.0", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", "hasown": "^2.0.2", "jsx-ast-utils": "^3.3.5", "language-tags": "^1.0.9", "minimatch": "^3.1.2", "object.fromentries": "^2.0.8", "safe-regex-test": "^1.0.3", "string.prototype.includes": "^2.0.1" }, "peerDependencies": { "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" } }, "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q=="], - "eslint-plugin-prettier": ["eslint-plugin-prettier@5.5.4", "", { "dependencies": { "prettier-linter-helpers": "^1.0.0", "synckit": "^0.11.7" }, "peerDependencies": { "@types/eslint": ">=8.0.0", "eslint": ">=8.0.0", "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0", "prettier": ">=3.0.0" }, "optionalPeers": ["@types/eslint", "eslint-config-prettier"] }, "sha512-swNtI95SToIz05YINMA6Ox5R057IMAmWZ26GqPxusAp1TZzj+IdY9tXNWWD3vkF/wEqydCONcwjTFpxybBqZsg=="], - "eslint-plugin-react": ["eslint-plugin-react@7.37.5", "", { "dependencies": { "array-includes": "^3.1.8", "array.prototype.findlast": "^1.2.5", "array.prototype.flatmap": "^1.3.3", "array.prototype.tosorted": "^1.1.4", "doctrine": "^2.1.0", "es-iterator-helpers": "^1.2.1", "estraverse": "^5.3.0", "hasown": "^2.0.2", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.1.2", "object.entries": "^1.1.9", "object.fromentries": "^2.0.8", "object.values": "^1.2.1", "prop-types": "^15.8.1", "resolve": "^2.0.0-next.5", "semver": "^6.3.1", "string.prototype.matchall": "^4.0.12", "string.prototype.repeat": "^1.0.0" }, "peerDependencies": { "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" } }, "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA=="], "eslint-plugin-react-hooks": ["eslint-plugin-react-hooks@5.2.0", "", { "peerDependencies": { "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" } }, "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg=="], - "eslint-plugin-simple-import-sort": ["eslint-plugin-simple-import-sort@12.1.1", "", { "peerDependencies": { "eslint": ">=5.0.0" } }, "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA=="], - "eslint-plugin-turbo": ["eslint-plugin-turbo@2.5.8", "", { "dependencies": { "dotenv": "16.0.3" }, "peerDependencies": { "eslint": ">6.6.0", "turbo": ">2.0.0" } }, "sha512-bVjx4vTH0oTKIyQ7EGFAXnuhZMrKIfu17qlex/dps7eScPnGQLJ3r1/nFq80l8xA+8oYjsSirSQ2tXOKbz3kEw=="], - "eslint-plugin-unused-imports": ["eslint-plugin-unused-imports@4.2.0", "", { "peerDependencies": { "@typescript-eslint/eslint-plugin": "^8.0.0-0 || ^7.0.0 || ^6.0.0 || ^5.0.0", "eslint": "^9.0.0 || ^8.0.0" }, "optionalPeers": ["@typescript-eslint/eslint-plugin"] }, "sha512-hLbJ2/wnjKq4kGA9AUaExVFIbNzyxYdVo49QZmKCnhk5pc9wcYRbfgLHvWJ8tnsdcseGhoUAddm9gn/lt+d74w=="], - "eslint-scope": ["eslint-scope@8.4.0", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } }, "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg=="], "eslint-visitor-keys": ["eslint-visitor-keys@4.2.1", "", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="], @@ -1173,8 +1167,6 @@ "fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], - "fast-diff": ["fast-diff@1.3.0", "", {}, "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw=="], - "fast-glob": ["fast-glob@3.3.1", "", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.4" } }, "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg=="], "fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="], @@ -1667,8 +1659,6 @@ "prettier": ["prettier@3.6.2", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ=="], - "prettier-linter-helpers": ["prettier-linter-helpers@1.0.0", "", { "dependencies": { "fast-diff": "^1.1.2" } }, "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w=="], - "prompts": ["prompts@2.4.2", "", { "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" } }, "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q=="], "prop-types": ["prop-types@15.8.1", "", { "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg=="], @@ -1847,8 +1837,6 @@ "supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="], - "synckit": ["synckit@0.11.11", "", { "dependencies": { "@pkgr/core": "^0.2.9" } }, "sha512-MeQTA1r0litLUf0Rp/iisCaL8761lKAZHaimlbGK4j0HysC4PLfqygQj9srcs0m2RdtDYnF8UuYyKpbjHYp7Jw=="], - "tailwind-merge": ["tailwind-merge@3.3.1", "", {}, "sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g=="], "tailwindcss": ["tailwindcss@4.1.14", "", {}, "sha512-b7pCxjGO98LnxVkKjaZSDeNuljC4ueKUddjENJOADtubtdo8llTaJy7HwBMeLNSSo2N5QIAgklslK1+Ir8r6CA=="], @@ -2049,16 +2037,12 @@ "@typescript-eslint/utils/@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.40.0", "", { "dependencies": { "@typescript-eslint/project-service": "8.40.0", "@typescript-eslint/tsconfig-utils": "8.40.0", "@typescript-eslint/types": "8.40.0", "@typescript-eslint/visitor-keys": "8.40.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-k1z9+GJReVVOkc1WfVKs1vBrR5MIKKbdAjDTPvIK3L8De6KbFfPFt6BKpdkdk7rZS2GtC/m6yI5MYX+UsuvVYQ=="], - "bun-types/@types/node": ["@types/node@24.3.1", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-3vXmQDXy+woz+gnrTvuvNrPzekOi+Ds0ReMxw0LzBiK3a+1k0kQn9f2NWk+lgD4rJehFUmYy2gMhJ2ZI+7YP9g=="], - "coda-docs/@types/node": ["@types/node@24.3.0", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow=="], "eslint/minimatch": ["minimatch@3.1.2", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw=="], "eslint-config-next/@typescript-eslint/parser": ["@typescript-eslint/parser@8.40.0", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.40.0", "@typescript-eslint/types": "8.40.0", "@typescript-eslint/typescript-estree": "8.40.0", "@typescript-eslint/visitor-keys": "8.40.0", "debug": "^4.3.4" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-jCNyAuXx8dr5KJMkecGmZ8KI61KBUhkCob+SD+C+I5+Y1FWI2Y3QmY4/cxMCC5WAsZqoEtEETVhUiUMIGCf6Bw=="], - "eslint-config-next/eslint-import-resolver-typescript": ["eslint-import-resolver-typescript@3.10.1", "", { "dependencies": { "@nolyfill/is-core-module": "1.0.39", "debug": "^4.4.0", "get-tsconfig": "^4.10.0", "is-bun-module": "^2.0.0", "stable-hash": "^0.0.5", "tinyglobby": "^0.2.13", "unrs-resolver": "^1.6.2" }, "peerDependencies": { "eslint": "*", "eslint-plugin-import": "*", "eslint-plugin-import-x": "*" }, "optionalPeers": ["eslint-plugin-import", "eslint-plugin-import-x"] }, "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ=="], - "eslint-import-resolver-node/debug": ["debug@3.2.7", "", { "dependencies": { "ms": "^2.1.1" } }, "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="], "eslint-module-utils/debug": ["debug@3.2.7", "", { "dependencies": { "ms": "^2.1.1" } }, "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="], @@ -2171,8 +2155,6 @@ "@typescript-eslint/utils/@typescript-eslint/typescript-estree/fast-glob": ["fast-glob@3.3.3", "", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.8" } }, "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg=="], - "bun-types/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], - "coda-docs/@types/node/undici-types": ["undici-types@7.10.0", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="], "eslint-config-next/@typescript-eslint/parser/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.40.0", "", { "dependencies": { "@typescript-eslint/types": "8.40.0", "@typescript-eslint/visitor-keys": "8.40.0" } }, "sha512-y9ObStCcdCiZKzwqsE8CcpyuVMwRouJbbSrNuThDpv16dFAj429IkM6LNb1dZ2m7hK5fHyzNcErZf7CEeKXR4w=="], diff --git a/clients/voter-stake-registry/README.md b/clients/voter-stake-registry/README.md index bc29661a..851c5b8f 100644 --- a/clients/voter-stake-registry/README.md +++ b/clients/voter-stake-registry/README.md @@ -33,14 +33,14 @@ The `coda.config.mjs` file defines custom PDAs for the Voter Stake Registry prog ## Usage ```typescript -import { - findRegistrarPda, - findVoterPda, - findVoterWeightRecordPda +import { + findRegistrarPda, + findVoterPda, + findVoterWeightRecordPda, } from "@macalinao/clients-voter-stake-registry"; // Get the registrar PDA -const registrarPda = await findRegistrarPda({ +const registrarPda = await findRegistrarPda({ realm: realmPublicKey, realmGoverningTokenMint: mintPublicKey, }); @@ -62,4 +62,4 @@ const voterWeightRecordPda = await findVoterWeightRecordPda({ Copyright © 2025 Ian Macalinao -Licensed under the Apache License, Version 2.0 \ No newline at end of file +Licensed under the Apache License, Version 2.0 diff --git a/devenv.lock b/devenv.lock index 57b343ee..5bd5efa8 100644 --- a/devenv.lock +++ b/devenv.lock @@ -3,10 +3,10 @@ "devenv": { "locked": { "dir": "src/modules", - "lastModified": 1759437797, + "lastModified": 1760162706, "owner": "cachix", "repo": "devenv", - "rev": "89ce1b7ac66ca381a335a60ad6acc723ef6f42f3", + "rev": "0d5ad578728fe4bce66eb4398b8b1e66deceb4e4", "type": "github" }, "original": { @@ -40,10 +40,10 @@ ] }, "locked": { - "lastModified": 1758108966, + "lastModified": 1759523803, "owner": "cachix", "repo": "git-hooks.nix", - "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b", + "rev": "cfc9f7bb163ad8542029d303e599c0f7eee09835", "type": "github" }, "original": { @@ -74,10 +74,10 @@ }, "nixpkgs": { "locked": { - "lastModified": 1759417375, + "lastModified": 1760256791, "owner": "NixOS", "repo": "nixpkgs", - "rev": "dc704e6102e76aad573f63b74c742cd96f8f1e6c", + "rev": "832e3b6db48508ae436c2c7bfc0cf914eac6938e", "type": "github" }, "original": { diff --git a/package.json b/package.json index c7a4f21e..03453fa1 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,10 @@ "catalog": { "eslint": "^9.37.0", "typescript": "^5.9.3", - "@macalinao/eslint-config": "^6.0.3", + "@macalinao/eslint-config": "^7", "@macalinao/tsconfig": "^3.2.3", "@solana/kit": "^3.0.3", - "@types/bun": "^1.2.23", + "@types/bun": "^1.3", "codama": "^1.3.7", "@codama/nodes": "^1.3.7", "@codama/nodes-from-anchor": "^1.2.9", @@ -54,7 +54,7 @@ "turbo": "^2.5.8", "typedoc": "^0.28.13" }, - "packageManager": "bun@1.2.23", + "packageManager": "bun@1.3.0", "lint-staged": { "*.{json,jsonc,html}": "biome format --write --no-errors-on-unmatched" }, diff --git a/packages/coda-visitors/package.json b/packages/coda-visitors/package.json index d1dd0dbc..64f22ee8 100644 --- a/packages/coda-visitors/package.json +++ b/packages/coda-visitors/package.json @@ -55,6 +55,7 @@ "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", "eslint": "catalog:", + "@types/bun": "catalog:", "typescript": "catalog:" } } diff --git a/packages/coda-visitors/tsconfig.json b/packages/coda-visitors/tsconfig.json index 4807bb6e..696d3579 100644 --- a/packages/coda-visitors/tsconfig.json +++ b/packages/coda-visitors/tsconfig.json @@ -2,7 +2,7 @@ "extends": "@macalinao/tsconfig/tsconfig.base.json", "compilerOptions": { "isolatedDeclarations": false, - "types": ["bun-types"] + "types": ["bun"] }, "exclude": ["src/**/*.test.ts", "dist/**"] } diff --git a/packages/codama-instruction-accounts-dedupe-visitor/package.json b/packages/codama-instruction-accounts-dedupe-visitor/package.json index 9c72b5dd..fece50aa 100644 --- a/packages/codama-instruction-accounts-dedupe-visitor/package.json +++ b/packages/codama-instruction-accounts-dedupe-visitor/package.json @@ -50,6 +50,7 @@ "devDependencies": { "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", + "@types/bun": "catalog:", "eslint": "catalog:", "typescript": "catalog:" } diff --git a/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-account-nodes-from-anchor-v01.test.ts b/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-account-nodes-from-anchor-v01.test.ts index 8c2547ec..ffe47330 100644 --- a/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-account-nodes-from-anchor-v01.test.ts +++ b/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-account-nodes-from-anchor-v01.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { IdlV01InstructionAccountItem } from "@codama/nodes-from-anchor"; import type { AccountNode, InstructionArgumentNode } from "codama"; diff --git a/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-accounts-dedupe-visitor.test.ts b/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-accounts-dedupe-visitor.test.ts index 10d311fd..cabe7999 100644 --- a/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-accounts-dedupe-visitor.test.ts +++ b/packages/codama-instruction-accounts-dedupe-visitor/src/instruction-accounts-dedupe-visitor.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { AnchorIdl } from "@codama/nodes-from-anchor"; import type { RootNode } from "codama"; diff --git a/packages/codama-nodes-from-anchor-x/package.json b/packages/codama-nodes-from-anchor-x/package.json index 525c7649..290f5ace 100644 --- a/packages/codama-nodes-from-anchor-x/package.json +++ b/packages/codama-nodes-from-anchor-x/package.json @@ -46,7 +46,7 @@ "devDependencies": { "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", - "@types/bun": "latest", + "@types/bun": "catalog:", "eslint": "catalog:", "typescript": "catalog:" } diff --git a/packages/codama-nodes-from-anchor-x/tsconfig.json b/packages/codama-nodes-from-anchor-x/tsconfig.json index eef021ae..8442fc3a 100644 --- a/packages/codama-nodes-from-anchor-x/tsconfig.json +++ b/packages/codama-nodes-from-anchor-x/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@macalinao/tsconfig/tsconfig.base.json", "compilerOptions": { - "types": ["bun-types"] + "types": ["bun"] }, "include": ["src/**/*.ts"], "exclude": ["**/*.test.ts", "dist"] diff --git a/packages/codama-rename-visitor/package.json b/packages/codama-rename-visitor/package.json index 8c81baea..24764b15 100644 --- a/packages/codama-rename-visitor/package.json +++ b/packages/codama-rename-visitor/package.json @@ -48,6 +48,7 @@ "codama": "catalog:" }, "devDependencies": { + "@types/bun": "catalog:", "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", "eslint": "catalog:", diff --git a/packages/codama-rename-visitor/src/rename-defined-types-visitor.test.ts b/packages/codama-rename-visitor/src/rename-defined-types-visitor.test.ts index 93adfd4d..7340acd6 100644 --- a/packages/codama-rename-visitor/src/rename-defined-types-visitor.test.ts +++ b/packages/codama-rename-visitor/src/rename-defined-types-visitor.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { ProgramNode, RootNode } from "codama"; import { describe, expect, it } from "bun:test"; diff --git a/packages/codama-rename-visitor/src/rename-instructions-visitor.test.ts b/packages/codama-rename-visitor/src/rename-instructions-visitor.test.ts index 91e412db..899e068a 100644 --- a/packages/codama-rename-visitor/src/rename-instructions-visitor.test.ts +++ b/packages/codama-rename-visitor/src/rename-instructions-visitor.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { ProgramNode, RootNode } from "codama"; import { describe, expect, it } from "bun:test"; diff --git a/packages/codama-rename-visitor/src/rename-visitor.test.ts b/packages/codama-rename-visitor/src/rename-visitor.test.ts index 41a445df..e0bd7d1f 100644 --- a/packages/codama-rename-visitor/src/rename-visitor.test.ts +++ b/packages/codama-rename-visitor/src/rename-visitor.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { ProgramNode, RootNode } from "codama"; import { describe, expect, it } from "bun:test"; diff --git a/packages/codama-rename-visitor/tsconfig.json b/packages/codama-rename-visitor/tsconfig.json index 01d6bacd..7bee821a 100644 --- a/packages/codama-rename-visitor/tsconfig.json +++ b/packages/codama-rename-visitor/tsconfig.json @@ -1,7 +1,7 @@ { "extends": "@macalinao/tsconfig/tsconfig.base.json", "compilerOptions": { - "types": ["bun-types"] + "types": ["bun"] }, "exclude": ["src/**/*.test.ts", "dist/**"] } diff --git a/packages/codama-renderers-js-esm/package.json b/packages/codama-renderers-js-esm/package.json index fb37dc66..d8325069 100644 --- a/packages/codama-renderers-js-esm/package.json +++ b/packages/codama-renderers-js-esm/package.json @@ -50,6 +50,7 @@ "@macalinao/eslint-config": "catalog:", "@macalinao/tsconfig": "catalog:", "eslint": "catalog:", - "typescript": "catalog:" + "typescript": "catalog:", + "@types/bun": "catalog:" } } diff --git a/packages/codama-renderers-js-esm/tsconfig.json b/packages/codama-renderers-js-esm/tsconfig.json index caccfdc7..6aae4625 100644 --- a/packages/codama-renderers-js-esm/tsconfig.json +++ b/packages/codama-renderers-js-esm/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "@macalinao/tsconfig/tsconfig.dom.json", "compilerOptions": { - "types": ["bun-types"] + "types": ["bun"] } } diff --git a/packages/codama-renderers-markdown/package.json b/packages/codama-renderers-markdown/package.json index 09d9fc5f..71722761 100644 --- a/packages/codama-renderers-markdown/package.json +++ b/packages/codama-renderers-markdown/package.json @@ -51,7 +51,7 @@ "url": "https://github.com/macalinao/coda.git" }, "author": "Ian Macalinao ", - "license": "MIT", + "license": "Apache-2.0", "publishConfig": { "access": "public" } diff --git a/packages/codama-renderers-markdown/src/render-markdown-visitor.test.ts b/packages/codama-renderers-markdown/src/render-markdown-visitor.test.ts index 87d8c007..1b1939dc 100644 --- a/packages/codama-renderers-markdown/src/render-markdown-visitor.test.ts +++ b/packages/codama-renderers-markdown/src/render-markdown-visitor.test.ts @@ -1,4 +1,4 @@ -/// +/// import { describe, expect, test } from "bun:test"; import { existsSync, readFileSync, rmSync } from "node:fs"; import { tmpdir } from "node:os"; diff --git a/packages/codama-renderers-markdown/src/renderers/renderAccount.test.ts b/packages/codama-renderers-markdown/src/renderers/renderAccount.test.ts index 2ce325e0..3c964ec1 100644 --- a/packages/codama-renderers-markdown/src/renderers/renderAccount.test.ts +++ b/packages/codama-renderers-markdown/src/renderers/renderAccount.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { RenderContext } from "../types.js"; import { describe, expect, test } from "bun:test"; diff --git a/packages/codama-renderers-markdown/src/renderers/renderError.test.ts b/packages/codama-renderers-markdown/src/renderers/renderError.test.ts index 05ad0282..d911d107 100644 --- a/packages/codama-renderers-markdown/src/renderers/renderError.test.ts +++ b/packages/codama-renderers-markdown/src/renderers/renderError.test.ts @@ -1,4 +1,4 @@ -/// +/// import { describe, expect, test } from "bun:test"; import { errorNode } from "@codama/nodes"; import { renderError } from "./renderError.js"; diff --git a/packages/codama-renderers-markdown/src/renderers/renderInstruction.test.ts b/packages/codama-renderers-markdown/src/renderers/renderInstruction.test.ts index cc468fe5..0457acca 100644 --- a/packages/codama-renderers-markdown/src/renderers/renderInstruction.test.ts +++ b/packages/codama-renderers-markdown/src/renderers/renderInstruction.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { RenderContext } from "../types.js"; import { describe, expect, test } from "bun:test"; diff --git a/packages/codama-renderers-markdown/src/renderers/renderPda.test.ts b/packages/codama-renderers-markdown/src/renderers/renderPda.test.ts index 7cd64a51..bda8c820 100644 --- a/packages/codama-renderers-markdown/src/renderers/renderPda.test.ts +++ b/packages/codama-renderers-markdown/src/renderers/renderPda.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { RenderContext } from "../types.js"; import { describe, expect, test } from "bun:test"; diff --git a/packages/codama-renderers-markdown/src/renderers/renderProgram.test.ts b/packages/codama-renderers-markdown/src/renderers/renderProgram.test.ts index 99684a3d..de934eba 100644 --- a/packages/codama-renderers-markdown/src/renderers/renderProgram.test.ts +++ b/packages/codama-renderers-markdown/src/renderers/renderProgram.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { RenderContext } from "../types.js"; import { describe, expect, test } from "bun:test"; diff --git a/packages/codama-renderers-markdown/src/renderers/renderType.test.ts b/packages/codama-renderers-markdown/src/renderers/renderType.test.ts index 3ec4258e..ef8301ac 100644 --- a/packages/codama-renderers-markdown/src/renderers/renderType.test.ts +++ b/packages/codama-renderers-markdown/src/renderers/renderType.test.ts @@ -1,4 +1,4 @@ -/// +/// import type { RenderContext } from "../types.js"; import { describe, expect, test } from "bun:test"; diff --git a/packages/create-coda/template/package.json b/packages/create-coda/template/package.json index 931dd5ac..9e437875 100644 --- a/packages/create-coda/template/package.json +++ b/packages/create-coda/template/package.json @@ -37,7 +37,7 @@ "@macalinao/eslint-config": "^6.0.2", "@macalinao/tsconfig": "^3.2.3", "@solana/kit": "*", - "@types/bun": "latest", + "@types/bun": "catalog:", "eslint": "^9.37.0", "typescript": "^5.9.3" } diff --git a/vendor/fumadocs b/vendor/fumadocs deleted file mode 160000 index 418a4b70..00000000 --- a/vendor/fumadocs +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 418a4b707db2ebf522552bee46f93c7733dbf0db