Files
ab4bc1018f 🐛 fix: Fix error in release static workflow (#252)
* Initial plan

* Initial plan

Co-authored-by: canisminor1990 <[email protected]>

* fix: add legacy-peer-deps=true to prevent npm version crash in release:static

The `@semantic-release/npm` prepare step runs `npm version` which triggers
arborist peer dependency resolution. In CI with npm 10.x, this crashes with
"Cannot read properties of null (reading 'matches')" because peer dependency
nodes are missing from the bun-managed node_modules.

Adding `legacy-peer-deps=true` tells npm to use the legacy peer dependency
resolution algorithm which gracefully handles missing peer dependencies.

Co-authored-by: canisminor1990 <[email protected]>

---------

Co-authored-by: canisminor1990 <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-02-10 10:35:51 +08:00

14 lines
396 B
Plaintext

lockfile=false
package-lock=false
legacy-peer-deps=true
resolution-mode=highest
public-hoist-pattern[]=*@umijs/lint*
public-hoist-pattern[]=*changelog*
public-hoist-pattern[]=*commitlint*
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*postcss*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=*remark*
public-hoist-pattern[]=*semantic-release*
public-hoist-pattern[]=*stylelint*