Skip to content

chore: build before stage publish#63

Open
chenjiahan wants to merge 1 commit into
mainfrom
codex/build-before-stage-publish
Open

chore: build before stage publish#63
chenjiahan wants to merge 1 commit into
mainfrom
codex/build-before-stage-publish

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

  • Build packages in the release workflow before pnpm stage publish.
  • Remove duplicate build commands from scripts.prepare where present.

Validation

  • Verified staged publish workflows have a preceding pnpm build.
  • Ran git diff --check.

@chenjiahan chenjiahan marked this pull request as ready for review May 29, 2026 12:58
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c147fe275e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"lint": "rslint && prettier -c .",
"lint:write": "rslint --fix && prettier -w .",
"prepare": "simple-git-hooks && npm run build",
"prepare": "simple-git-hooks",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore build for git-based installs

For consumers that install this package directly from a git ref, the install lifecycle relies on prepare to generate publish artifacts from source; after this change it only installs hooks. Since dist/ is gitignored and the package exports/types all point at dist/index.*, those git installs will complete without dist/index.js or dist/index.d.ts, causing imports and type resolution to fail even though the release workflow still builds before staged publishing.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant