Skip to content

chore: add a pnpm workspace with an empty private core package - #1887

Open
gabrielseco wants to merge 1 commit into
mainfrom
chore/pnpm-workspace-core-package
Open

gabrielseco wants to merge 1 commit into
mainfrom
chore/pnpm-workspace-core-package

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Sets up the repo as a pnpm workspace with an empty, private packages/core package. Nothing changes for people using @remoteoss/remote-flows.

Why

First step of the Angular support plan (#1833, Phase 1). Later PRs move framework-neutral code into this package, and this one makes sure the workspace and build setup are ready before any code moves.

What changed

Toggle details
  • pnpm-workspace.yaml now lists packages/*. example/ has its own workspace file and is not part of this one.
  • New packages/core (@remoteoss/remote-flows-core): private, version 0.0.0, exports an empty module from source.
  • Root package.json has it as a workspace:* dev dependency, so tsdown bundles it into the React build and it is never published or listed as a runtime dependency.
  • tsconfig.json includes packages in the type-check.
  • No public API change: the exports map, files and dependencies of the published package are untouched.
  • Build check: a production build before and after produces byte-identical .js files. The .d.ts files differ only in generated chunk file names, which depend on the checkout path.

Screenshots

N/A

Related Resources

Testing

N/A, no code behavior changes. CI covers the build, exports check, size check, type check and tests.

  • Tested against the example/ app in a browser
  • Feature flag: N/A

Note

Low Risk
Infrastructure-only: workspace config, empty private package, and TypeScript include scope—no product behavior or published API changes.

Overview
Introduces a pnpm monorepo layout so framework-neutral code can live in a separate package ahead of the Angular work (#1833).

pnpm-workspace.yaml now registers packages/*. A new private workspace package @remoteoss/remote-flows-core (packages/core) exports an empty module from source. The root package lists it as a workspace:* devDependency (not published or exposed on the public @remoteoss/remote-flows API). tsconfig.json type-checks packages, and the lockfile records the workspace link.

No runtime or public export changes in this PR; later PRs are expected to move shared code into core and consume it from the React build.

Reviewed by Cursor Bugbot for commit c925dc0. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 246.23 kB 246.23 kB 0 B (0%) 🟢
Total (raw) 679.32 kB 679.32 kB 0 B (0%) 🟢
CSS (gzip) 22.03 kB 22.03 kB 0 B (0%) 🟢
CSS (raw) 114.89 kB 114.89 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 246.23 kB / 350 kB (70.4%)
  • ✅ Total raw: 679.32 kB / 850 kB (79.9%)
  • ✅ CSS gzipped: 22.03 kB / 25 kB (88.1%)

Largest Files (Top 5)

  1. index.esm-wIkXrqU6.js - 11.4 kB (0 B (0%))
  2. styles.css - 11.02 kB (0 B (0%))
  3. index.css - 11.02 kB (0 B (0%))
  4. internals-H6qlKsTt.js - 6.14 kB (0 B (0%))
  5. hooks-A-2L2xT_.js - 5.77 kB (0 B (0%))
View All Files (315 total)
File Size (gzip) Change
index.esm-wIkXrqU6.js 11.4 kB 0 B (0%)
styles.css 11.02 kB 0 B (0%)
index.css 11.02 kB 0 B (0%)
internals-H6qlKsTt.js 6.14 kB 0 B (0%)
hooks-A-2L2xT_.js 5.77 kB 0 B (0%)
index.js 5.63 kB 0 B (0%)
sdk.gen-D_5dqKZ5.js 5.63 kB 0 B (0%)
flows/Onboarding/hooks.js 4.67 kB 0 B (0%)
utils-DBhSCMkt.js 4.59 kB 0 B (0%)
FieldSetField-B19xEZmQ.js 4.55 kB 0 B (0%)

✅ Bundle size check passed

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-neb2csoy9-remotecom.vercel.app
Latest Commit:c925dc0

Deployed with vercel-action

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-g66ykgg6h-remotecom.vercel.app
Latest Commit:c925dc0

Deployed with vercel-action

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

📊 Coverage Report

✅ Coverage increased! 🎉

Metric Current Previous Change Status
Lines 90.30% 90.29% +0.02% 🟢
Statements 90.19% 90.17% +0.02% 🟢
Functions 89.19% 89.19% 0% ⚪
Branches 81.91% 81.89% +0.02% 🟢

Detailed Breakdown

Lines Coverage
  • Covered: 5877 / 6508
  • Coverage: 90.30%
  • Change: +0.02% (1 lines)
Statements Coverage
  • Covered: 5946 / 6593
  • Coverage: 90.19%
  • Change: +0.02% (1 statements)
Functions Coverage
  • Covered: 1560 / 1749
  • Coverage: 89.19%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3645 / 4450
  • Coverage: 81.91%
  • Change: +0.02% (1 branches)

✅ Coverage check passed

This branch has not been deployed

No deployments
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