Publishing ScandiPWA
When describing the release notes, we suggest using the following template:
Detailed (major / minor)
Patch
# What's inside
- Feature 1
- Feature 2
## Feature break-down
### Feature 1
Description of feature 1.
### Feature 2
Description of feature 2.
## Dependency check
### NPM dependencies:
- `some/package`: from `^x.x.x` to `^x.x.x`
### Composer dependencies
- `some/package`: from `^x.x.x` to `^x.x.x`
# What's inside
- Feature 1
- Feature 2
That's all there is to it :)
Because ScandiPWA is a mono repository managed by Lerna, you should publish it using Lerna commands.
Production
Canary
lerna publish
lerna publish --canary --exact --preid next --dist-tag=next minor
This will create a new tag in the ScandiPWA GitHub repository. You can then go ahead and add some release notes to your release. The tag name will be in the format
@scandipwa/scandipwa/X.X.X
.We use packagist.org to host published packages. Each composer package is contained in its own repository. To publish a package, you need to:
- 1.
- 2.Go to releases sections –
/releases
- 3.Click "Draft new release"
- 4.Enter the title, describe the changes
- 5.Click "Publish release"
Last modified 2yr ago