odoo/o-spreadsheet#7148

Created by fw-bot
Merged at 6cc703fdcf234f435f649486e0852d3811ec0ae7

Statuses:

label
odoo:18.0-17.0-fix-test-pro-463988-fw
head
ef47e1c842cd0c13a5b572fc86616b73bdb99c17
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: #7147