Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/Publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
with:
node-version-file: 'javascript/package.json'

- name: Enable corepack
run: corepack enable

- name: Install JS dependencies
run: yarn install
working-directory: javascript
Expand Down Expand Up @@ -129,6 +132,9 @@ jobs:
# node-version-file: 'javascript/package.json'
# registry-url: 'https://registry.npmjs.org' # Setup .npmrc file to publish to npm

# - name: Enable corepack
# run: corepack enable

# - name: Install JS dependencies
# run: yarn install
# working-directory: javascript
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/PublishDev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
node-version-file: 'javascript/package.json'
registry-url: 'https://registry.npmjs.org'

- name: Enable corepack
run: corepack enable

- name: Install JS dependencies
run: yarn install
working-directory: javascript
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/QA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ jobs:
with:
node-version-file: 'javascript/package.json'

- name: Enable corepack
run: corepack enable

- name: Install JS dependencies
working-directory: javascript
run: yarn install
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/Tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ jobs:
with:
node-version-file: 'javascript/package.json'

- name: Enable corepack
run: corepack enable

- name: Install JS dependencies
run: yarn install
working-directory: javascript
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ $RECYCLE.BIN/
.vscode
src/libzim-stubs
javascript/node_modules
javascript/.yarn/*

# rule files are generated by rules/generate_rules.py
src/zimscraperlib/rewriting/rules.py
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Upgrade Python and Javascript dependencies (#319)
- Migrate `javascript/` from Yarn Classic to Yarn Berry (#320)

## [5.4.0] - 2026-05-28

Expand Down
1 change: 1 addition & 0 deletions javascript/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
},
"engines": {
"node": ">=26.0.0 <27.0.0"
}
},
"packageManager": "yarn@4.17.1"
}
Loading