Skip to content

Commit 18bbc5f

Browse files
authored
Merge pull request #414 from OpenAPI-Qraft/fix/qraft-cli-dist-issue
fix: update build command to include additional package filter for Qraft
2 parents 0a89cab + 5041c44 commit 18bbc5f

5 files changed

Lines changed: 13 additions & 4 deletions

File tree

.changeset/dull-parts-yell.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@qraft/asyncapi-plugin': patch
3+
'@qraft/asyncapi-typescript-plugin': patch
4+
'@qraft/cli': patch
5+
'@qraft/cli-utils': patch
6+
---
7+
8+
Align release pipeline with the new publishable package set.

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: yarn install --immutable
4040

4141
- name: Build
42-
run: yarn build --filter "@openapi-qraft/*" --filter "@qraft/*" --force
42+
run: yarn build:publishable
4343

4444
- name: Remove Verdaccio Storage
4545
run: rm -rf e2e/verdaccio-storage

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: yarn install --immutable
3131

3232
- name: Build
33-
run: yarn build --filter "@openapi-qraft/*" --force
33+
run: yarn build:publishable
3434

3535
- name: Create dummy npmrc # Prevent creation of '.npmrc' by 'changesets-gitlab' with the 'NPM_TOKEN'
3636
run: touch ".npmrc"

PUBLISH_HOW_TO.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Ensure you have a NPM account and this account is added to the `@openapi-qraft`
2525
1. Login to NPM: `yarn npm login --scope openapi-qraft`
2626
2. Create new branch `packages-version-update(-<version>)` from the `main` branch.
2727
3. Run `yarn install --immutable`
28-
4. Run `yarn build` to validate that packages are building correctly.
28+
4. Run `yarn build:publishable` to validate that publishable packages are building correctly.
2929
5. Run Changesets versioning:
3030
```bash
3131
.changeset/version.sh
@@ -34,7 +34,7 @@ Ensure you have a NPM account and this account is added to the `@openapi-qraft`
3434
and create a new Merge Request into `main`.
3535
Review it and merge.
3636
7. Checkout `main` branch
37-
8. Run `yarn build` to rebuild packages with the updated versions.
37+
8. Run `yarn build:publishable` to rebuild publishable packages with the updated versions.
3838
9. Run command below and answer <kbd>Y</kbd>:
3939
```bash
4040
.changeset/publish.sh

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"build": "turbo run build",
7+
"build:publishable": "turbo run build --filter '@openapi-qraft/*' --filter '@qraft/*' --force",
78
"dev": "turbo run dev",
89
"dev:qraft": "turbo run dev --filter '@openapi-qraft/*' --filter '@qraft/*'",
910
"test": "turbo run test --continue --output-logs=new-only",

0 commit comments

Comments
 (0)