-
Notifications
You must be signed in to change notification settings - Fork 10
Editor npm package
LarsTheGlidingSquirrel edited this page Feb 19, 2024
·
1 revision
- Increment version number in
packages/editor/package.json
(make sure this version string was never used to build previously to avoid yarn caching issues) - Run yarn
build && npm pack
insidepackages/editor
- You will find a
serlo-editor-0.6.0-beta.[x].tgz
- Now you can link this file in another project in the
package.json
like
"dependencies": {
"@serlo/editor": "file:/home/lars/git-repos/frontend/packages/editor/serlo-editor-0.6.0-beta.10.tgz",
A Github workflow is set up to publish the package to npm. See editor.yaml
- Test the package locally
- Increment version number in
packages/editor/package.json
- Merge your changes into either
editor-package-vite
orstaging
to trigger the workflow.