mirror of
https://github.com/hanzoai/icons.git
synced 2026-09-24 16:59:52 +00:00
🐛 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]>
This commit is contained in:
committed by
GitHub
co-authored by
Hanzo Dev
parent
257ea524d9
commit
ab4bc1018f
@@ -64,3 +64,4 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
npm_config_legacy_peer_deps: true
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
lockfile=false
|
||||
package-lock=false
|
||||
legacy-peer-deps=true
|
||||
resolution-mode=highest
|
||||
public-hoist-pattern[]=*@umijs/lint*
|
||||
public-hoist-pattern[]=*changelog*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lobehub/icons-rn",
|
||||
"version": "2.0.0",
|
||||
"version": "2.1.0",
|
||||
"description": "Popular AI / LLM Model Brand Icons for React Native and Expo",
|
||||
"keywords": [
|
||||
"lobehub",
|
||||
|
||||
Reference in New Issue
Block a user