> For the complete documentation index, see [llms.txt](https://docs.scandipwa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scandipwa.com/about/contributing/publishing-scandipwa.md).

# Publishing ScandiPWA

## Release note sample

When describing the release notes, we suggest using the following template:

{% tabs %}
{% tab title="Detailed (major / minor)" %}

```
# 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`
```

{% endtab %}

{% tab title="Patch" %}

```
# What's inside

- Feature 1
- Feature 2

That's all there is to it :)
```

{% endtab %}
{% endtabs %}

## Publishing ScandiPWA

Because [ScandiPWA is a mono repository managed by Lerna](/about/contributing/repository-structure.md#the-main-repository), you should publish it using Lerna commands.

{% tabs %}
{% tab title="Production" %}

```
lerna publish
```

{% endtab %}

{% tab title="Canary" %}

```
lerna publish --canary --exact --preid next --dist-tag=next minor
```

{% endtab %}
{% endtabs %}

This will create a new tag in the [ScandiPWA GitHub repository](https://github.com/scandipwa/scandipwa/releases). 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`.

## Publishing Composer packages

We use [packagist.org](https://packagist.org/) to host published packages. Each composer package is contained in its own repository. To publish a package, you need to:

1. Go to the selected repository ([see the list of common ones](/about/contributing/repository-structure.md#the-composer-packages))
2. Go to releases sections – `/releases`
3. Click "Draft new release"
4. Enter the title, describe the changes
5. Click "Publish release"

After that, the change will appear on [packagist.org](https://packagist.org/). You can search for the package name there.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.scandipwa.com/about/contributing/publishing-scandipwa.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
