Resolve "Push built package to NPM registry"
For #7 (closed)
What does this MR do?
This merge request addresses the need to automate the process of pushing our built package to the NPM registry as outlined in issue #7. It updates the .gitlab-ci.yml
to include stages for production deployments. The publish
job is specifically designed to run only when merged into the main branch and will publish the package to the NPM registry only if there are version changes detected in package.json
. Additional updates include adding a LICENSE file, updating the README.md with the latest instructions and CHANGELOG, and upgrading TypeScript to version "^5.5.3".
Checks
- Configured the
publish
job to activate only when changes are committed to themain
branch and specifically if there are changes inpackage.json
that alter the package version. - Updated README.md with necessary instructions and CHANGELOG, and added a LICENSE file to meet open-source compliance.
- Updated TypeScript from "^5.4.5" to "^5.5.3".
Edited by E. Evstafiev