Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

タグ

ブックマーク / classic.yarnpkg.com (3)

  • Yarn

    For Yarn 2+ docs and migration guide, see yarnpkg.com. Workspaces are a new way to set up your package architecture that’s available by default starting from Yarn 1.0. It allows you to setup multiple packages in such a way that you only need to run yarn install once to install all of them in a single pass. Why would you want to do this? Your dependencies can be linked together, which means that yo

    Yarn
  • Yarn

    For Yarn 2+ docs and migration guide, see yarnpkg.com. Yarn supports selective version resolutions, which lets you define custom package versions or ranges inside your dependencies through the resolutions field in your package.json file. Normally, this would require manual edits in the yarn.lock file. See the Selective Versions Resolutions RFC for the full spec. Why would you want to do this? You

    Yarn
  • 選択的な依存関係の解決 | Yarn

    Yarn はバージョンを選択して解決する機能をサポートしており、package.json ファイル内の resolutions フィールドを通じて、依存関係に独自のパッケージのバージョンを定義することができます。 通常、これにより yarn.lock を手動で編集する必要が出てきます。 なぜこれがしたいのか? 依存しているパッケージに重要な更新があっても、頻繁に更新されるわけではないパッケージに依存していることがあるでしょう。 その場合、依存関係が直接指定されたバージョンの範囲において、さらに依存しているパッケージ(サブ依存関係のパッケージ)の更新されたバージョンをカバーしていないなら、作者の対応を待たなければなりません。 プロジェクトでサブ依存関係にあるパッケージが重要なセキュリティ上の更新があり、依存関係にあるパッケージが最小のバージョン更新を行うまで待てないことがあります。 メンテナ

  • 1