Skip to content

Commit 8cb2102

Browse files
authored
chore: bump nmtcpp to v2.0.2 to fix npm README rendering (#1560)
* chore: bump nmtcpp to v2.0.2 to fix npm README rendering * chore: remove redundant ensure-npm-public from nmtcpp and ocr on-merge workflows The publish-library-to-npm action already handles npm access public inline. The separate job was causing E409 conflicts during publish. * doc: update ocr-onnx README to use current package name and monorepo paths * chore: bump ocr-onnx to v0.4.2 with changelog update
1 parent 77108bb commit 8cb2102

7 files changed

Lines changed: 24 additions & 45 deletions

File tree

.github/workflows/on-merge-ocr-onnx.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -81,22 +81,6 @@ jobs:
8181
echo "publish_tmp=$publish_tmp" >> "$GITHUB_OUTPUT"
8282
echo "gpr_tag=$gpr_tag" >> "$GITHUB_OUTPUT"
8383
84-
ensure-npm-public:
85-
name: Ensure NPM package is public
86-
runs-on: ubuntu-latest
87-
environment: release
88-
permissions:
89-
id-token: write
90-
steps:
91-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
92-
with:
93-
node-version: 18
94-
registry-url: https://registry.npmjs.org/
95-
- name: Set package access to public
96-
env:
97-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
98-
run: npm access set status=public @qvac/ocr-onnx
99-
10084
release-merge-guard:
10185
name: Release Merge Guard
10286
if: >-
@@ -176,13 +160,12 @@ jobs:
176160
name-suffix: "-mono"
177161

178162
publish-npm:
179-
needs: [build, publish-logic, release-merge-guard, ensure-npm-public]
163+
needs: [build, publish-logic, release-merge-guard]
180164
if: >-
181165
!cancelled() &&
182166
needs.build.result == 'success' &&
183167
needs.publish-logic.outputs.publish_release == 'true' &&
184-
(needs.release-merge-guard.result == 'success' || needs.release-merge-guard.result == 'skipped') &&
185-
(needs.ensure-npm-public.result == 'success' || needs.ensure-npm-public.result == 'skipped')
168+
(needs.release-merge-guard.result == 'success' || needs.release-merge-guard.result == 'skipped')
186169
continue-on-error: false
187170
outputs:
188171
published_version: ${{ steps.publish.outputs.npm_published_version }}

.github/workflows/on-merge-qvac-lib-infer-nmtcpp.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,6 @@ jobs:
8080
echo "publish_tmp=$publish_tmp" >> "$GITHUB_OUTPUT"
8181
echo "gpr_tag=$gpr_tag" >> "$GITHUB_OUTPUT"
8282
83-
ensure-npm-public:
84-
name: Ensure NPM package is public
85-
runs-on: ubuntu-latest
86-
environment: release
87-
permissions:
88-
id-token: write
89-
steps:
90-
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # 6.3.0
91-
with:
92-
node-version: 18
93-
registry-url: https://registry.npmjs.org/
94-
- name: Set package access to public
95-
env:
96-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
97-
run: npm access set status=public @qvac/translation-nmtcpp
98-
9983
release-merge-guard:
10084
name: Release Merge Guard
10185
if: >-
@@ -175,13 +159,12 @@ jobs:
175159
name-suffix: "-mono"
176160

177161
publish-npm:
178-
needs: [build, publish-logic, release-merge-guard, ensure-npm-public]
162+
needs: [build, publish-logic, release-merge-guard]
179163
if: >-
180164
!cancelled() &&
181165
needs.build.result == 'success' &&
182166
needs.publish-logic.outputs.publish_release == 'true' &&
183-
(needs.release-merge-guard.result == 'success' || needs.release-merge-guard.result == 'skipped') &&
184-
(needs.ensure-npm-public.result == 'success' || needs.ensure-npm-public.result == 'skipped')
167+
(needs.release-merge-guard.result == 'success' || needs.release-merge-guard.result == 'skipped')
185168
continue-on-error: false
186169
outputs:
187170
published_version: ${{ steps.publish.outputs.npm_published_version }}

packages/ocr-onnx/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.2] - 2026-04-14
9+
10+
### Fixed
11+
12+
- Updated README to use current package name (`@qvac/ocr-onnx`) and monorepo paths
13+
- Removed redundant `ensure-npm-public` job from on-merge workflow
14+
815
## [0.4.0] - 2026-04-08
916

1017
### Changed

packages/ocr-onnx/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# qvac-lib-inference-addon-onnx-ocr-fasttext
1+
# @qvac/ocr-onnx
22

3-
[![Build Status](https://github.com/tetherto/qvac-lib-inference-addon-onnx-ocr-fasttext/actions/workflows/on-pr.yaml/badge.svg)](https://github.com/tetherto/qvac-lib-inference-addon-onnx-ocr-fasttext/actions/workflows/on-pr.yaml)
3+
[![Build Status](https://github.com/tetherto/qvac/actions/workflows/on-pr-ocr-onnx.yml/badge.svg)](https://github.com/tetherto/qvac/actions/workflows/on-pr-ocr-onnx.yml)
44
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
55
[![npm version](https://img.shields.io/npm/v/@qvac/ocr-onnx.svg)](https://www.npmjs.com/package/@qvac/ocr-onnx)
66

@@ -88,8 +88,8 @@ Before building, ensure you have the following installed:
8888

8989
1. **Clone the repository**:
9090
```bash
91-
git clone https://github.com/tetherto/qvac-lib-inference-addon-onnx-ocr-fasttext.git
92-
cd qvac-lib-inference-addon-onnx-ocr-fasttext
91+
git clone https://github.com/tetherto/qvac.git
92+
cd qvac/packages/ocr-onnx
9393
```
9494

9595
2. **Install dependencies**:
@@ -424,4 +424,4 @@ This project is licensed under the Apache-2.0 License - see the [LICENSE](LICENS
424424

425425
## Support
426426

427-
For questions, bug reports, or feature requests, please [open an issue](https://github.com/tetherto/qvac-lib-inference-addon-onnx-ocr-fasttext/issues) on GitHub.
427+
For questions, bug reports, or feature requests, please [open an issue](https://github.com/tetherto/qvac/issues) on GitHub.

packages/ocr-onnx/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qvac/ocr-onnx",
3-
"version": "0.4.0",
3+
"version": "0.4.2",
44
"description": "OCR addon for qvac",
55
"addon": true,
66
"engines": {

packages/qvac-lib-infer-nmtcpp/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.2] - 2026-04-14
9+
10+
### Fixed
11+
12+
- Fixed npm package page not rendering README by re-publishing after access change
13+
814
## [2.0.1] - 2026-04-13
915

1016
### Changed

packages/qvac-lib-infer-nmtcpp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qvac/translation-nmtcpp",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "translation addon for qvac",
55
"addon": true,
66
"engines": {

0 commit comments

Comments
 (0)