odoo/o-spreadsheet#7147

Created by BI, Pierre Rousseau (pro)
Merged at 2612a1243dc76221f6bc245d909efa6fdac7bebc

Statuses:

label
odoo:17.0-fix-test-pro
head
b3411e2baca817972004c0faeccfb4ca2ac4f8df
merged
1 month ago by BI, Lucas Lefèvre (lul)
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