odoo/o-spreadsheet#7155

Created by fw-bot
Merged at cbf814c77d425335619f5ff30c7b4bdba43fd4a9

Statuses:

label
odoo:saas-18.4-17.0-fix-test-pro-464003-fw
head
dcca2e377d182ec262fe5556c7664868fb6f6161
merged
1 month ago by BI, Pierre Rousseau (pro)
odoo/o-spreadsheet
17.0 #7147
18.0 #7148
saas-18.1 #7151
saas-18.2 #7153
saas-18.3 #7154
saas-18.4 #7155
19.0 #7156
master #7157

[FIX] package: add swc binaries to optional dependencies

Release commit 8c68f3d54422d40b3204f7073d7f8e4a2cc170a5 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

Forward-Port-Of: #7153
Forward-Port-Of: #7147