Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ jobs:
- name: Run package smoke install
run: pnpm pack:smoke

- name: Build
run: pnpm build

- name: Configure npm authentication
if: ${{ env.NODE_AUTH_TOKEN != '' }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ node_modules/
*.tgz
__pycache__/
*.pyc
tsconfig.build.json
dist/
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ pnpm-lock.yaml
scripts/
src/**/*.test.ts
tsconfig.json
tsconfig.build.json
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
}
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepublishOnly": "pnpm run build",
"project:sync": "node ./.agents/skills/project-manager/scripts/sync-work-items.mjs",
"test": "vitest run",
"typecheck": "tsc --noEmit",
Expand Down
1 change: 1 addition & 0 deletions scripts/pack-smoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ try {
"index.ts",
"openclaw.plugin.json",
path.join("src", "client.ts"),
path.join("dist", "index.js"),
];
const unexpectedFiles = [
"AGENTS.md",
Expand Down