Skip to content

feat #330, #370, #491 - Prepare Dual Editor packages for npm publishing - #580

Merged
lornakelly merged 4 commits into
open-workflow-specification:mainfrom
fantonangeli:issues-330-370-491-publish-dual-editor-packages
Dec 2, 2026
Merged

lornakelly merged 4 commits into
open-workflow-specification:mainfrom
fantonangeli:issues-330-370-491-publish-dual-editor-packages

Conversation

@fantonangeli

@fantonangeli fantonangeli commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Closes #330
Closes #370
Closes #491

Summary

Prepare the following packages for publishing through the existing Changesets release workflow:

  • @openworkflowspec/core
  • @openworkflowspec/language-service
  • @openworkflowspec/text-editor
  • @openworkflowspec/dual-editor

Set private: false, add the missing README and LICENSE files, and complete the package metadata. Enable Changesets versioning and changelog generation for private packages (including the Vanilla Web Component example), without publishing or tagging them.

The four npm bootstrap packages (0.0.0-bootstrap.0) have already been published and their availability verified.

How to verify

  • Verify the package manifests and packaging metadata. The four packages were packed locally and their exports and dependencies inspected before the documentation updates.
  • Verify that pnpm changeset add includes the Vanilla Web Component example while it remains private.

What's next

  • Run the Release :: Prepare workflow after merging this PR, as a test/verification of the changes.
  • Review the generated Changesets PR (versions, dependencies and changelogs).
  • Configure npm Trusted Publishing (OIDC) for the four new packages (@fantonangeli), no earlier than 48 hours before the official release, as npm requires a successful publication within this timeframe to validate the configuration.
  • Do the normal release, see: https://github.com/open-workflow-specification/editor/blob/main/RELEASE_PROCESS.md

Signed-off-by: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com>
Copilot AI balanced review requested due to automatic review settings December 2, 2026 10:01
@changeset-bot

changeset-bot Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1aa3d8b

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

This PR includes changesets to release 7 packages
Name Type
@openworkflowspec/core Patch
@openworkflowspec/language-service Patch
@openworkflowspec/dual-editor Patch
@openworkflowspec/diagram-editor Patch
@openworkflowspec/text-editor Patch
@openworkflowspec/vanilla-web-component-example Patch
@openworkflowspec/i18n 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

@netlify

netlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openworkflow-editor ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1aa3d8b
🔍 Latest deploy log https://app.netlify.com/projects/openworkflow-editor/deploys/6b0fefad6f17561c7cdc35d7
😎 Deploy Preview https://deploy-preview-580--openworkflow-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

🟢 Approval recommended

No active review issues remain for the changes preparing the four editor packages for npm publishing.

No open issues 🎉

What changed in this PR

Prepares four editor packages for npm publishing through the existing Changesets workflow. Official releases and trusted publishing remain separate follow-up work.

Changes:

  • Marks core, language-service, text-editor, and dual-editor as public.
  • Adds missing documentation, licenses, and package metadata.
  • Enables private-package versioning and changelogs without publishing or tagging them.
File Description
packages/​text-editor/​package.json Marks the package as public.
packages/​language-service/​package.json Marks the package as public and includes documentation and license files.
packages/​language-service/​LICENSE Adds the Apache 2.0 license.
packages/​dual-editor/​package.json Marks the package as public.
packages/​core/​README.md Adds a brief package overview.
packages/​core/​package.json Adds explicit public status and repository metadata.
packages/​core/​LICENSE Adds the Apache 2.0 license.
.changeset/​config.json Enables private-package versioning while disabling tags.

Review effort: Balanced

Signed-off-by: Fabrizio Antonangeli <fabrizio.antonangeli@gmail.com>
Copilot AI balanced review requested due to automatic review settings December 2, 2026 10:15

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.

🔵 Needs a closer look

The Dual Editor manifest lacks repository.url, which will cause the planned OIDC release to fail npm’s provenance validation.

No open issues 🎉

1 previously missed issue

In code that hasn't changed since last review

Medium severity Add repository URL metadata for OIDC publishing

packages/​dual-editor/​package.json:4

The Dual Editor manifest still lacks repository.url. npm automatically generates provenance for trusted publishing and validates this URL against the GitHub repository, so the planned OIDC release will fail for this package. Add the repository metadata used by the other publishable packages.

Review effort: Balanced

@fantonangeli fantonangeli added the documentation Improvements or additions to documentation label Dec 2, 2026
@fantonangeli

Copy link
Copy Markdown
Member Author

@lornakelly @handreyrc @kumaradityaraj Can you please prioritize this small PR, so we can go forward with the final release process?

@lornakelly lornakelly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lornakelly
lornakelly merged commit 055d3ac into open-workflow-specification:main Dec 2, 2026
13 checks passed
This was referenced Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Publish the core package to npm feat: Publish the dual-editor package to npm feat: Publish the language-service package to npm

4 participants