Skip to content

Commit

Permalink
js-legacy: Add prepublish step (#140)
Browse files Browse the repository at this point in the history
#### Problem

The newest spl-token JS library wasn't actually built before publishing.

#### Summary of changes

Add a `prepublishOnly` step, similar to the other js client.

Fixes #20
  • Loading branch information
joncinque authored Jan 28, 2025
1 parent a1d44f8 commit 03535f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clients/js-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"import": "./lib/esm/index.js"
},
"scripts": {
"prepublishOnly": "pnpm build",
"nuke": "shx rm -rf node_modules package-lock.json || true",
"reinstall": "npm run nuke && npm install",
"clean": "shx rm -rf lib **/*.tsbuildinfo || true",
Expand Down

0 comments on commit 03535f5

Please sign in to comment.