Skip to content

Commit

Permalink
chore: rename tools
Browse files Browse the repository at this point in the history
  • Loading branch information
chambaz authored and borcherd committed Feb 7, 2025
1 parent 9c3dc4d commit 93100fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ async function main() {
const packageJsonPath = path.resolve(__dirname, "../", "package.json");
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));

console.log("\nAvailable scripts:\n");
console.log("\nAvailable tools:\n");

const excludedScripts = ["lint", "lint:fix", "scripts"];
const excludedScripts = ["lint", "lint:fix", "tools"];
const scriptCommands = Object.entries(packageJson.scripts).filter(([name]) => !excludedScripts.includes(name));

for (const [name, command] of scriptCommands) {
Expand Down
4 changes: 2 additions & 2 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"types": "dist/index.d.ts",
"license": "MIT",
"scripts": {
"tools": "tsx lib/list-tools.ts",
"accounts:get": "tsx accounts/get-account.ts",
"accounts:get-all": "tsx accounts/get-accounts-by-wallet.ts",
"accounts:find-users": "tsx accounts/find-users.ts",
Expand All @@ -14,8 +15,7 @@
"banks:get-all": "tsx banks/get-banks.ts",
"banks:get-accounts": "tsx banks/get-bank-accounts.ts",
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check",
"scripts": "tsx lib/list-scripts.ts"
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"
},
"dependencies": {
"@coral-xyz/anchor": "^0.30.1",
Expand Down

0 comments on commit 93100fd

Please sign in to comment.