Skip to content

Commit 918cd3a

Browse files
Merge pull request #20 from amehsamuel200225-sketch/fix/18-fix-build-replace-build-placeholder-with-real-tsc-compilation-for-all-publishable-packages
[#18] fix(build): replace build placeholder with real tsc compilation for all publishable packages
2 parents 2ffde9f + 0f1a833 commit 918cd3a

5 files changed

Lines changed: 20 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
node-version: 20
1818
cache: pnpm
1919
- run: pnpm install
20-
- run: echo "Build placeholder — implement package builds"
20+
- run: pnpm build

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"name": "orbit-stellar",
33
"private": true,
44
"version": "0.0.0",
5-
"scripts": {},
5+
"scripts": {
6+
"build": "pnpm -r --filter \"./packages/*\" run build",
7+
"test": "pnpm -r --if-present test"
8+
},
69
"devDependencies": {
710
"typescript": "^5.4.0"
811
}

packages/pulse-core/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
"name": "@orbital/pulse-core",
33
"private": true,
44
"version": "0.0.0",
5-
"main": "./src/index.ts",
6-
"scripts": {},
5+
"main": "./dist/index.js",
6+
"types": "./dist/index.d.ts",
7+
"scripts": {
8+
"build": "tsc -p tsconfig.json"
9+
},
710
"dependencies": {
811
"@stellar/stellar-sdk": "^14.6.1"
912
},

packages/pulse-notify/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
"name": "@orbital/pulse-notify",
33
"version": "0.0.0",
44
"private": true,
5-
"main": "./src/index.ts",
6-
"types": "./src/index.ts",
7-
"scripts": {},
5+
"main": "./dist/index.js",
6+
"types": "./dist/index.d.ts",
7+
"scripts": {
8+
"build": "tsc -p tsconfig.json"
9+
},
810
"dependencies": {
911
"@orbital/pulse-core": "workspace:*"
1012
},

packages/pulse-webhooks/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
"name": "@orbital/pulse-webhooks",
33
"private": true,
44
"version": "0.0.0",
5-
"main": "./src/index.ts",
6-
"types": "./src/index.ts",
7-
"scripts": {},
5+
"main": "./dist/index.js",
6+
"types": "./dist/index.d.ts",
7+
"scripts": {
8+
"build": "tsc -p tsconfig.json"
9+
},
810
"dependencies": {
911
"@orbital/pulse-core": "workspace:*"
1012
},

0 commit comments

Comments
 (0)