Skip to content

Commit

Permalink
pre-publish steps added
Browse files Browse the repository at this point in the history
  • Loading branch information
mechanical-turk committed Nov 7, 2023
1 parent b115b42 commit fd38712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/nexus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"scripts": {
"dev": "echo 'Add dev script here'",
"build": "tsup",
"prepublish": "pnpm run build",
"typecheck": "tsc",
"lint": "eslint src/",
"lint:fix": "pnpm run lint --fix",
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eo pipefail
set -x

./scripts/docs.sh --autocommit
pnpm publish -r --no-git-checks
pnpm publish -r
pnpm changeset tag

# We need to write to /dev/null because this script
Expand Down

0 comments on commit fd38712

Please sign in to comment.