Skip to content

Releasing packages ​

The Excel packages are released by the repository's single automated flow, not by a flow of their own. This viewer is viewers/xlsx in the ooxml repository, together with ooxml-core (src/core) and ooxml-ui (src/ui). The whole process (how a release is decided, the bump level, the hourly workflow, trusted publishing and the one-time repository setup) is described in docs/releasing.md at the repository root.

What is published from here ​

Each package has its own version line, git tag <npm-name>@<version> and changelog. They are declared in scripts/viewer-packages.mjs at the repository root.

PackageDirNotes
@christophervr/xlsx-corepackages/coreWorkbook model entry point over ooxml-core; no logic of its own.
@christophervr/xlsx-react-viewerpackages/reactSelf-contained editor package; bundles the web component and the bindings.
xlsx-vue-viewerpackages/vueSame shape.
xlsx-angular-viewerpackages/angularSame shape.
xlsx-svelte-viewerpackages/svelteSame shape.
xlsx-solid-viewerpackages/solidSame shape.
xlsx-vanilla-viewerpackages/vanillaSame shape; also owns the plain <xlsx-editor> entry.
xlsx-viewer-mcpmcpStandalone MCP server, see its README.

The internal packages packages/web-component (xlsx-web-component) and packages/bindings (xlsx-bindings) are private and never published: scripts/build-packages.mjs bundles them into every framework package, so a non-test change in either releases all six. A published tarball imports only @christophervr/xlsx-core, ooxml-core, ooxml-ui and its framework peer; ole2 is inlined inside ooxml-core. ooxml-core and ooxml-ui are real registry dependencies, never bundled.

Checks from this folder ​

Run these from viewers/xlsx after a root bun install:

sh
bun run build:packages
bun run check:published   # no tarball imports an internal package or ole2
bun run pack:smoke        # install the tarballs into a clean consumer and load .xlsx and .xls

The release planner, the publish guards and the workflow run from the repository root (bun run release:plan, node scripts/publish-released.mjs --dry-run, .github/workflows/release.yml). Never run npm publish or push release tags by hand.

Commit conventions ​

The bump level comes from the commit type (! or BREAKING CHANGE: is major, feat is minor, anything else patch), and the files a commit touches decide whether a package releases. Rules and examples are in CONTRIBUTING.md.

Released under the Apache-2.0 License.