Skip to content

[FIX] package: add swc binaries to optional dependencies#7147

Closed
pro-odoo wants to merge 1 commit into17.0from
17.0-fix-test-pro
Closed

[FIX] package: add swc binaries to optional dependencies#7147
pro-odoo wants to merge 1 commit into17.0from
17.0-fix-test-pro

Conversation

@pro-odoo
Copy link
Collaborator

Release commit 8c68f3d has been done with Node.js v22.19.0 and NPM v10.9.3.
But in the meantime, NPM had an issue that affected the package-lock.json by pruning OS optional dependencies (See npm/cli#7961). The issue has been fixed (npm/cli#8184) in NPM v11.3 but not backported.

During the release process, we ran npm install, and so the package-lock.json was updated to remove the optional dependencies for swc binaries. Which caused issues for users each time they run npm install as they were not present anymore in the package-lock.json.

This commit adds the swc binaries to the optional dependencies of this project to avoid them being pruned again in the future.

Task: 0

Description:

description of this task, what is implemented and why it is implemented that way.

Task: TASK_ID

review checklist

  • feature is organized in plugin, or UI components
  • support of duplicate sheet (deep copy)
  • in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • in model/UI: ranges are strings (to show the user)
  • undo-able commands (uses this.history.update)
  • multiuser-able commands (has inverse commands and transformations where needed)
  • new/updated/removed commands are documented
  • exportable in excel
  • translations (_t("qmsdf %s", abc))
  • unit tested
  • clean commented code
  • track breaking changes
  • doc is rebuild (npm run doc)
  • status is correct in Odoo

Release commit 8c68f3d has been done with
Node.js v22.19.0 and NPM v10.9.3.
But in the meantime, NPM had an issue that affected the package-lock.json
by pruning OS optional dependencies (See npm/cli#7961).
The issue has been fixed (npm/cli#8184) in NPM v11.3
but not backported.

During the release process, we ran `npm install`, and so the package-lock.json
was updated to remove the optional dependencies for swc binaries.
Which caused issues for users each time they run `npm install` as they
were not present anymore in the package-lock.json.

This commit adds the swc binaries to the optional dependencies of this
project to avoid them being pruned again in the future.

Task: 0
@robodoo
Copy link
Collaborator

robodoo commented Sep 17, 2025

Pull request status dashboard

@LucasLefevre
Copy link
Collaborator

robodoo r+

robodoo pushed a commit that referenced this pull request Sep 17, 2025
Release commit 8c68f3d has been done with
Node.js v22.19.0 and NPM v10.9.3.
But in the meantime, NPM had an issue that affected the package-lock.json
by pruning OS optional dependencies (See npm/cli#7961).
The issue has been fixed (npm/cli#8184) in NPM v11.3
but not backported.

During the release process, we ran `npm install`, and so the package-lock.json
was updated to remove the optional dependencies for swc binaries.
Which caused issues for users each time they run `npm install` as they
were not present anymore in the package-lock.json.

This commit adds the swc binaries to the optional dependencies of this
project to avoid them being pruned again in the future.

closes #7147

Task: 0
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
@robodoo robodoo closed this Sep 17, 2025
@fw-bot fw-bot deleted the 17.0-fix-test-pro branch September 24, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants