フリー問題

Certified Backstage Associate のフリー問題 1 / 20 問目

問題文

A developer needs a date formatting library for a new page inside packages/app. They are used to other repositories where all dependencies go into the root package.json. Where should they add this dependency in a Backstage project, and why?

選択肢

  1. In a new workspace created for shared libraries.
  2. In the package.json of packages/app, because each directory under packages is a separate workspace with its own dependencies.
  3. In the root package.json, so that every workspace in the repository resolves the same version of the library.
  4. In the package.json of packages/backend, because installs are driven from there.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。