aspida / aspida

TypeScript friendly HTTP client wrapper for the browser and node.js.

Home Page:https://github.com/aspida/aspida

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add peer dependencies

SegaraRai opened this issue · comments

Description

pnpmのような依存関係を厳密に管理するパッケージマネージャでは直接依存関係にないパッケージが参照できない(@aspida/axiosからaxiosが使えない)ことがあります
peerDependenciesaxiosを追加すると解消します

@aspida/node-fetch@aspida/react-query@aspida/swr@aspida/swrvについてもおそらく同様です

Environment

  • Package version: v1.10.3
  • OS:
    • Linux
    • Windows
    • macOS
  • Node.js version: v16.15.1
  • npm version: 8.11.0

Additional context

Reproが必要な場合は用意します

commented

v1.13.1で対応しました