-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add plugin generator script (#227)
* feat: add plugin generator script Added a new script that generates GOAT SDK plugins with: - Configurable plugin name and chain type (evm/solana/any) - Standard package structure and configuration - Proper dependency management - TypeScript configuration - Example tool implementation The script can be run using: pnpm create-plugin -n plugin-name -t chain-type Co-Authored-By: Agus Armellini Fischer <[email protected]> * feat: enhance plugin generator - Add standard package.json metadata fields - Simplify tsconfig.json inheritance - Make 'any' the default plugin type Co-Authored-By: Agus Armellini Fischer <[email protected]> * fix: resolve lint issues with type casting and module config Co-Authored-By: Agus Armellini Fischer <[email protected]> * chore: remove test plugin package Co-Authored-By: Agus Armellini Fischer <[email protected]> * docs: add create-plugin command instructions to plugins documentation Co-Authored-By: Agus Armellini Fischer <[email protected]> * Update plugins.mdx --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Agus Armellini Fischer <[email protected]> Co-authored-by: Agus <[email protected]>
- Loading branch information
1 parent
3cbe996
commit cd74a87
Showing
6 changed files
with
700 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"version": "0.1.1", | ||
"scripts": { | ||
"prepare": "cd .. && pnpm install && cd typescript", | ||
"create-plugin": "tsx scripts/createPlugin.ts", | ||
"build": "pnpm turbo build", | ||
"build:libs": "pnpm turbo --filter \"./packages/**\" build", | ||
"build:libs:prod": "cross-env NODE_ENV=production pnpm build:libs", | ||
|
@@ -27,6 +28,7 @@ | |
"ts-node": "10.9.2", | ||
"tsc-alias": "1.8.10", | ||
"tsup": "8.3.5", | ||
"tsx": "4.19.2", | ||
"turbo": "2.3.1", | ||
"typescript": "5.6.3", | ||
"vitest": "2.1.5" | ||
|
@@ -47,5 +49,8 @@ | |
"url": "https://github.com/crossmint/goat/issues" | ||
}, | ||
"keywords": ["ai", "agents", "web3"], | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"commander": "13.0.0" | ||
} | ||
} |
Oops, something went wrong.