Skip to content

Commit 37283af

Browse files
committed
chore: add pnpm workspace and sdk package scaffold
1 parent 877f77e commit 37283af

5 files changed

Lines changed: 38 additions & 0 deletions

File tree

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "stellar-did-credit",
3+
"private": true,
4+
"packageManager": "pnpm@9.0.0"
5+
}

packages/sdk/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "@stellar-did-credit/sdk",
3+
"version": "0.1.0",
4+
"description": "TypeScript SDK for the Stellar DID Credit Protocol",
5+
"main": "src/index.ts",
6+
"scripts": {
7+
"build": "tsc"
8+
},
9+
"dependencies": {
10+
"@stellar/stellar-sdk": "^12.0.0"
11+
},
12+
"devDependencies": {
13+
"typescript": "^5.0.0"
14+
}
15+
}

packages/sdk/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// SDK entry point — implementations coming in later commits
2+
export const SDK_VERSION = '0.1.0';

packages/sdk/tsconfig.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"module": "commonjs",
5+
"lib": ["ES2020"],
6+
"declaration": true,
7+
"outDir": "dist",
8+
"rootDir": "src",
9+
"strict": true,
10+
"esModuleInterop": true,
11+
"skipLibCheck": true
12+
},
13+
"include": ["src"]
14+
}

pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
packages:
2+
- 'packages/*'

0 commit comments

Comments
 (0)