Skip to content

fix: mirror superdoc releases to scoped package - #1018

Merged
harbournick merged 3 commits into
mainfrom
nick/fix-dual-cicd-change-package-name
Sep 24, 2025
Merged

fix: mirror superdoc releases to scoped package#1018
harbournick merged 3 commits into
mainfrom
nick/fix-dual-cicd-change-package-name

Conversation

@harbournick

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread scripts/publish-superdoc.cjs Fixed
@harbournick
harbournick requested a review from Copilot September 24, 2025 03:32

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 reverses the package naming structure, changing the primary package from @harbour-enterprises/superdoc to the unscoped superdoc, while maintaining backward compatibility by mirroring releases to the scoped package.

Key changes:

  • Primary package name changed from @harbour-enterprises/superdoc to superdoc
  • New publish script creates mirrored releases for the scoped package
  • All documentation and examples updated to use the unscoped package name

Reviewed Changes

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

Show a summary per file
File Description
scripts/publish.mjs Removed old publish script that handled both scoped and unscoped packages
scripts/publish-superdoc.cjs New publish script that publishes superdoc as primary and mirrors to @harbour-enterprises/superdoc
packages/superdoc/package.json Changed package name to superdoc and updated version to pre-release
packages/superdoc/README.md Updated import examples and npm badge to use unscoped package
Multiple example files Updated all imports and dependencies to use superdoc instead of @harbour-enterprises/superdoc
package.json Updated workspace references and publish script
README.md Updated installation and usage examples to use unscoped package
.releaserc.cjs Added new publish script to semantic-release configuration
Files not reviewed (2)
  • examples/react-example/package-lock.json: Language not supported
  • packages/collaboration-yjs/examples/editor-base-collaboration/package-lock.json: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread scripts/publish-superdoc.cjs
Comment thread scripts/publish-superdoc.cjs
@harbournick
harbournick merged commit fe2ed0f into main Sep 24, 2025
6 of 7 checks passed
@harbournick
harbournick deleted the nick/fix-dual-cicd-change-package-name branch September 24, 2025 03:40
@harbournick

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 0.20.0-next.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

@harbournick

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 0.21.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

harbournick pushed a commit that referenced this pull request Sep 24, 2025
# [0.21.0](v0.20.2...v0.21.0) (2025-09-24)

### Bug Fixes

* allow regex search across docx run wrappers ([#1021](#1021)) ([053fedc](053fedc))
* bookmarkStart custom round trip, tests, add example doc with round trip tests ([#1014](#1014)) ([0849157](0849157))
* build ([#992](#992)) ([9ce8d6f](9ce8d6f))
* commitlint for historical commits ([8294dc5](8294dc5))
* deprecation message ([5e2a112](5e2a112))
* example tests ([25adfea](25adfea))
* examples tests ([21a834a](21a834a))
* export table annotation images with sanitized media paths, add tests ([a270b2a](a270b2a))
* field annotation export test ([f0a68f4](f0a68f4))
* headless mode crash ([#1002](#1002)) ([08a72cb](08a72cb))
* **image:** preserve anchored rotation margins and add coverage ([#1013](#1013)) ([15aaba7](15aaba7))
* **importer:** retain gdocs comments without extended metadata ([#1017](#1017)) ([c232308](c232308))
* legacy publish ([bffa3da](bffa3da))
* make 'structured content' title more opaque so its clearly visible over content ([e422e86](e422e86))
* mirror superdoc releases to scoped package ([#1018](#1018)) ([fe2ed0f](fe2ed0f))
* normalize file names for images, add tests ([#1009](#1009)) ([a841905](a841905))
* skip table rows without content ([#990](#990)) ([62ce156](62ce156))
* table spacing import export ([#1008](#1008)) ([7deb5d2](7deb5d2))
* test ([93eb27d](93eb27d))
* ul lists importing as ol ([#978](#978)) ([#979](#979)) ([d02ea82](d02ea82)), closes [#977](#977)

### Features

* add bookmark start and end node handlers with v3 translators ([#946](#946)) ([81c0b24](81c0b24))
* add v3 handler for w:tbl table (HAR-10483) ([#985](#985)) ([be58be8](be58be8))
* custom highlight plugin example ([7beede6](7beede6))
* register images from paste + HTML insertion, fixes [#790](#790) ([#1010](#1010)) ([b444138](b444138))
* run node ([#986](#986)) ([4e85dcd](4e85dcd))
* structured content node views ([#987](#987)) ([1df4d91](1df4d91))
@harbournick

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 0.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

luccas-harbour pushed a commit that referenced this pull request Sep 26, 2025
# [0.21.0](v0.20.2...v0.21.0) (2025-09-24)

### Bug Fixes

* allow regex search across docx run wrappers ([#1021](#1021)) ([053fedc](053fedc))
* bookmarkStart custom round trip, tests, add example doc with round trip tests ([#1014](#1014)) ([0849157](0849157))
* build ([#992](#992)) ([9ce8d6f](9ce8d6f))
* commitlint for historical commits ([8294dc5](8294dc5))
* deprecation message ([5e2a112](5e2a112))
* example tests ([25adfea](25adfea))
* examples tests ([21a834a](21a834a))
* export table annotation images with sanitized media paths, add tests ([a270b2a](a270b2a))
* field annotation export test ([f0a68f4](f0a68f4))
* headless mode crash ([#1002](#1002)) ([08a72cb](08a72cb))
* **image:** preserve anchored rotation margins and add coverage ([#1013](#1013)) ([15aaba7](15aaba7))
* **importer:** retain gdocs comments without extended metadata ([#1017](#1017)) ([c232308](c232308))
* legacy publish ([bffa3da](bffa3da))
* make 'structured content' title more opaque so its clearly visible over content ([e422e86](e422e86))
* mirror superdoc releases to scoped package ([#1018](#1018)) ([fe2ed0f](fe2ed0f))
* normalize file names for images, add tests ([#1009](#1009)) ([a841905](a841905))
* skip table rows without content ([#990](#990)) ([62ce156](62ce156))
* table spacing import export ([#1008](#1008)) ([7deb5d2](7deb5d2))
* test ([93eb27d](93eb27d))
* ul lists importing as ol ([#978](#978)) ([#979](#979)) ([d02ea82](d02ea82)), closes [#977](#977)

### Features

* add bookmark start and end node handlers with v3 translators ([#946](#946)) ([81c0b24](81c0b24))
* add v3 handler for w:tbl table (HAR-10483) ([#985](#985)) ([be58be8](be58be8))
* custom highlight plugin example ([7beede6](7beede6))
* register images from paste + HTML insertion, fixes [#790](#790) ([#1010](#1010)) ([b444138](b444138))
* run node ([#986](#986)) ([4e85dcd](4e85dcd))
* structured content node views ([#987](#987)) ([1df4d91](1df4d91))
superdoc-bot Bot pushed a commit that referenced this pull request Jul 29, 2026
The first production deploy built all 26 links and verified every
destination, then failed on the upload:

  npm error Unsupported URL Type "catalog:": catalog:

The Cloudflare action installs wrangler with `npm i wrangler@4`. Run from
`go-links/`, which had no `package.json`, npm walked up to the repository
root and tried to read a pnpm workspace manifest full of `catalog:`
versions it cannot parse.

A minimal private `package.json` in `go-links/` stops that walk. It
declares no dependencies and matches no `pnpm-workspace.yaml` glob, so
pnpm ignores it and the workspace is unaffected.

Ported-From-Source-Repo: superdoc/orbit
Ported-From-Source-Commit: 49026202fad233ec13ec3cfe3a16ed037e479ac6
Ported-Public-Prefix: superdoc/public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants