wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ghndbcg

Total questions: 5

Worksheet time: 3mins

Name
Class
Date
1.

What does the 'workspace:' prefix in a package.json 'dependencies' value mean?

a)

It refers to a deprecated feature.

b)

It refers to a local workspace.

c)

It refers to an external library.

d)

It refers to a global package.

2.

Which version of Yarn introduced the 'workspace:' prefix?

a)

Yarn 4.x

b)

Yarn 3.x

c)

Yarn 2.x

d)

Yarn 1.x

3.

Where can you read more about the 'workspace:' prefix?

a)

In the Yarn documentation

b)

In the npm documentation

c)

In the Babel documentation

d)

In the Lerna documentation

4.

What command can you use to check a dependency in Yarn?

a)

yarn why

b)

yarn info

c)

yarn list

d)

yarn check

5.

What does the 'workspace:' prefix ensure?

a)

It ensures the dependency is from a local workspace.

b)

It ensures the dependency is from a remote server.

c)

It ensures the dependency is from a specific registry.

d)

It ensures the dependency is always the latest version.