
Understanding 'workspace:' Prefix in package.json
Authored by Pritish Nagpal
Science
3rd Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'workspace:' prefix in a package.json 'dependencies' value mean?
It refers to a global package.
It refers to a deprecated package.
It refers to an external package.
It refers to a local workspace.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which package manager introduced the 'workspace:' prefix?
npm
yarn
bower
pip
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will Yarn do when it sees the 'workspace:' prefix?
Resolve to a global package.
Resolve to a local workspace.
Resolve to a deprecated package.
Resolve to an external package.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'workspace:' prefix?
To select an external package.
To select a deprecated package.
To select a local workspace.
To select a global package.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What version of Yarn started supporting the 'workspace:' prefix?
v1
v2
v3
v4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command can you use to check a dependency in Yarn?
yarn list
yarn find
yarn why
yarn check
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'workspace:' prefix ensure?
It ensures the package is from an external repository.
It ensures the package is deprecated.
It ensures the package is from a local workspace.
It ensures the package is from a global repository.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?