feat: add @solisting/sdk package scaffold
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
11
sdk/codama.solisting.json
Normal file
11
sdk/codama.solisting.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"idl": "./src/idl/solisting.json",
|
||||
"scripts": {
|
||||
"js": [
|
||||
{
|
||||
"from": "@codama/renderers-js",
|
||||
"args": ["./src/generated/solisting"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
24
sdk/package.json
Normal file
24
sdk/package.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "@solisting/sdk",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"main": "./src/index.ts",
|
||||
"types": "./src/index.ts",
|
||||
"scripts": {
|
||||
"generate": "codama run js --config codama.solisting.json",
|
||||
"test": "vitest run",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@descro/sdk": "file:../../../../../descro/sdk",
|
||||
"@solana/kit": "^6.0.0",
|
||||
"@solana/program-client-core": "^6.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@codama/nodes-from-anchor": "^1.4.1",
|
||||
"@codama/renderers-js": "^2.2.0",
|
||||
"codama": "^1.6.0",
|
||||
"typescript": "^6.0.3",
|
||||
"vitest": "^3.0.0"
|
||||
}
|
||||
}
|
||||
1428
sdk/src/idl/solisting.json
Normal file
1428
sdk/src/idl/solisting.json
Normal file
File diff suppressed because it is too large
Load Diff
12
sdk/tsconfig.json
Normal file
12
sdk/tsconfig.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
Reference in New Issue
Block a user