Skip to content

fix(plugin): publish types entrypoint#273

Open
jaasieldelgado131 wants to merge 1 commit into
styleframe-dev:mainfrom
jaasieldelgado131:fix/plugin-types-entrypoint
Open

fix(plugin): publish types entrypoint#273
jaasieldelgado131 wants to merge 1 commit into
styleframe-dev:mainfrom
jaasieldelgado131:fix/plugin-types-entrypoint

Conversation

@jaasieldelgado131

Copy link
Copy Markdown

Summary

  • add the missing src/types.ts build entry for the existing @styleframe/plugin/types export
  • preserve the public subpath while generating both dist/types.js and dist/types.d.ts
  • add a patch changeset

Reproduction

@styleframe/plugin@3.4.0 publishes ./types: ./dist/types.js, but its npm tarball does not contain that file. A clean import(@styleframe/plugin/types) fails with ERR_MODULE_NOT_FOUND.

Verification

  • pnpm --filter @styleframe/plugin build
  • local pnpm pack contains dist/types.js and dist/types.d.ts
  • clean tarball install: import(@styleframe/plugin/types) passes
  • clean TypeScript consumer resolves Options from @styleframe/plugin/types
  • oxfmt --check tooling/plugin/src/types.ts
  • git diff --check

The package test/typecheck commands require built workspace dependencies. On Windows, the dependency build currently stops in @styleframe/core with the pre-existing styleframe:dual-declarations dist ENOENT; the plugin build itself completes successfully.

@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

@jaasieldelgado131 is attempting to deploy a commit to the Grozav Pro Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Jun 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 42060eb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@styleframe/plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the published @styleframe/plugin/types subpath by adding a missing build entry so the package tarball contains the corresponding runtime stub (dist/types.js) and TypeScript declarations (dist/types.d.ts).

Changes:

  • Added tooling/plugin/src/types.ts as a build entry that type-reexports the plugin option types.
  • Added a patch changeset to publish the fix.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tooling/plugin/src/types.ts Adds a dedicated types entrypoint that re-exports Options (and any future public types) from src/plugin/types.
.changeset/tidy-foxes-build.md Declares a patch release for @styleframe/plugin to ship the fixed ./types entrypoint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jun 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants