Skip to content

Publish convex-helpers from the root with compiled dist entrypoints - #1024

Open
ianmacartney wants to merge 1 commit into
mainfrom
ian/package.json-bundling-setup
Open

ianmacartney wants to merge 1 commit into
mainfrom
ian/package.json-bundling-setup

Conversation

@ianmacartney

@ianmacartney ianmacartney commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Make the repository root the publishable convex-helpers package, with JavaScript and declaration entrypoints in dist/. Keep TypeScript sources in packages/convex-helpers/; the Convex examples resolve imports through the root package name.

  • Consolidate dependencies into root devDependencies, maintain exports explicitly (including .js-suffixed helper imports), remove export generation and arethetypeswrong, and compile directly into root dist/.
  • Move CHANGELOG to the root and retain symlinks at the old README/CHANGELOG locations. The root README and example UI layout are already on main through Copy package README to root and move the example UI #1039.
  • Update build/watch/pack scripts, preview publishing, frontend hosting instructions, and the backend test harness for the root package.
  • Adapt the existing publish.sh to the root package and lockfile so this PR can land independently of the new CI release flow. Trusted staging and local release orchestration are introduced separately in Stage npm releases in CI and tag successful uploads #1022.

Review/merge #1024 (this PR) → #1022 → #1031. This PR is based directly on current main. Preserve the current package version (0.1.129) and the separate Convex-example typecheck.

Validation: clean install/build, lint/typechecks, all 1,237 package tests. At the stack tip, the example UI production build and package-content checks also pass: 154 packed files, all explicit entrypoints present, and no example UI, release scripts, test files, or nested package.json shipped. No npm release was published.

@pkg-pr-new

pkg-pr-new Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/convex-helpers@1024

commit: 04fdcde

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 18 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread package.json
Comment thread packages/convex-helpers/README.md Outdated

Copy link
Copy Markdown
Member Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 42 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread backendHarness.js Outdated
@ianmacartney
ianmacartney force-pushed the ian/package.json-bundling-setup branch from 8f97a44 to 3ff2f89 Compare October 15, 2026 00:58
@ianmacartney
ianmacartney changed the base branch from ian/deploy-tooling to ian/example-ui-layout October 15, 2026 00:59
@ianmacartney
ianmacartney force-pushed the ian/package.json-bundling-setup branch from 3ff2f89 to e1950f5 Compare October 19, 2026 19:05
@ianmacartney
ianmacartney force-pushed the ian/example-ui-layout branch from 418e0ea to 379f3db Compare October 19, 2026 19:05
@ianmacartney
ianmacartney force-pushed the ian/example-ui-layout branch from 379f3db to 800deac Compare October 21, 2026 23:13
@ianmacartney
ianmacartney force-pushed the ian/package.json-bundling-setup branch from e1950f5 to 29ba222 Compare October 21, 2026 23:13
@ianmacartney
ianmacartney changed the base branch from ian/example-ui-layout to ian/deploy-tooling October 21, 2026 23:13
@ianmacartney
ianmacartney force-pushed the ian/package.json-bundling-setup branch 2 times, most recently from 8e050e1 to 13638cf Compare October 21, 2026 23:25
@ianmacartney
ianmacartney changed the base branch from ian/deploy-tooling to main October 22, 2026 01:44
@ianmacartney
ianmacartney force-pushed the ian/package.json-bundling-setup branch from 13638cf to 04fdcde Compare October 22, 2026 05:12
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