Publishing
This guide explains the automated publishing process for the OWOX Data Marts Backend package to npm.
The @owox/backend package is published automatically through GitHub Actions. For detailed information about the release strategy, versioning, installation commands, security guidelines, and troubleshooting, see the Release & Versioning Strategy.
Automated Publishing Process
Section titled āAutomated Publishing ProcessāThe publishing process automatically:
- Runs the
prepackscript (which builds the package) - Runs the
prepublishOnlyscript (which runs security audit, tests and linting) - Publishes the package to the appropriate npm tag
Package Contents
Section titled āPackage ContentsāThe published package contains only the production-necessary files:
dist/**/*.js- Compiled JavaScript files (no source maps or TypeScript declarations)dist/**/*.json- Configuration filesdist/**/*.html- HTML files (web application)dist/**/*.css- Stylesheetsdist/**/*.png,dist/**/*.ico,dist/**/*.svg- Static assetspackage.json- Package metadata and dependencies
To preview what will be published before the automated process runs:
npm pack --dry-runThis command will show you exactly which files will be included in the published package.