Skip to content
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
20 changes: 20 additions & 0 deletions .changeset/beige-seas-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@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/clients-orca-whirlpools": patch
"@macalinao/clients-kamino-lending": patch
"@macalinao/clients-spl-governance": patch
"@macalinao/clients-spl-stake-pool": patch
"@macalinao/clients-token-metadata": patch
"@macalinao/coda-visitors": patch
"@macalinao/create-coda": patch
"@macalinao/clients-tribeca": patch
"@macalinao/clients-quarry": patch
"@macalinao/coda": patch
---

Update build script to use TypeScript cache
2 changes: 1 addition & 1 deletion apps/docs/biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.0/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
"root": false,
"extends": ["@macalinao/biome-config/base"],
"linter": {
Expand Down
2 changes: 1 addition & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.0/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
"extends": ["@macalinao/biome-config/base"],
"files": {
"ignoreUnknown": false,
Expand Down
4 changes: 2 additions & 2 deletions bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"": {
"name": "@macalinao/coda-monorepo",
"devDependencies": {
"@biomejs/biome": "^2.3.0",
"@biomejs/biome": "^2.3.2",
"@changesets/cli": "^2.29.7",
"@macalinao/biome-config": "^0.1.4",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"turbo": "^2.5.8",
"turbo": "^2.6.0",
"typedoc": "^0.28.14",
"typescript": "^5.9.3",
},
Expand Down
2 changes: 1 addition & 1 deletion clients/kamino-lending/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"test": "echo 'No tests yet'",
"codegen": "coda generate"
Expand Down
2 changes: 1 addition & 1 deletion clients/orca-whirlpools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/ tsconfig.tsbuildinfo",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"codegen": "rm -fr src/generated/ && coda generate",
"lint": "eslint . --cache"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/quarry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"test": "echo 'No tests yet'",
"codegen": "rm -fr src/generated/ && coda generate"
Expand Down
2 changes: 1 addition & 1 deletion clients/spl-governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"codegen": "coda generate"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/spl-stake-pool/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"codegen": "coda generate"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/token-metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"test": "echo 'No tests yet'",
"codegen": "coda generate"
Expand Down
2 changes: 1 addition & 1 deletion clients/tribeca/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/ tsconfig.tsbuildinfo",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"codegen": "rm -fr src/generated/ && coda generate",
"lint": "eslint . --cache"
},
Expand Down
2 changes: 1 addition & 1 deletion clients/voter-stake-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"codegen": "coda generate"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/coda-visitors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/coda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"test": "echo 'No tests yet'"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"test": "bun test src/"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/codama-nodes-from-anchor-x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"test": "bun test src/"
},
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion packages/codama-rename-visitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache",
"test": "bun test src/"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/codama-renderers-js-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/codama-renderers-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"scripts": {
"build": "tsc",
"clean": "rm -fr dist/",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint --ext js,ts,tsx src",
"lint:fix": "eslint --ext js,ts,tsx src --fix",
"test": "bun test src/",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-coda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"scripts": {
"build": "tsc",
"clean": "rm -rf dist/ template/node_modules template/dist template/src/generated",
"clean": "tsc --build --clean && rm -fr dist/ tsconfig.tsbuildinfo",
"lint": "eslint . --cache"
},
"keywords": [
Expand Down
6 changes: 4 additions & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"env": ["NODE_ENV"]
},
"lint": {
"dependsOn": ["^build"],
"cache": false
"dependsOn": ["^build"]
},
"test": {
"dependsOn": ["build"],
Expand All @@ -27,6 +26,9 @@
"dev": {
"persistent": true,
"cache": false
},
"clean": {
"cache": false
}
}
}