Practice private package registry vocabulary: internal publishing, scoped packages, .npmrc configuration, Verdaccio, JFrog Artifactory, and GitHub Packages.
0 / 5 completed
1 / 5
'We ___ to our internal Artifactory.' Which verb describes uploading a package to a registry?
'Publish' is the standard npm verb: 'npm publish' uploads a package to a registry. 'We publish to Artifactory' means our internal registry receives the package.
2 / 5
'The scoped package @company/utils is on the ___ registry.' Which adjective is correct?
A 'private registry' hosts packages that are not publicly available on npmjs.com. Scoped packages like @company/utils are redirected to the private registry via .npmrc configuration.
3 / 5
'The .npmrc ___ to our private registry.' Which verb describes configuration pointing?
The .npmrc file 'points' to a private registry with a line like: '@company:registry=https://registry.company.com'. This tells npm where to look for scoped packages.
4 / 5
Which three tools are commonly mentioned as private npm registry solutions?
Verdaccio (lightweight, open source), JFrog Artifactory (enterprise), and GitHub Packages (integrated with GitHub Actions) are the three most commonly used private npm registry solutions.
5 / 5
What is a 'scoped package' in npm?
A scoped package uses the @scope/name format. Scopes allow organizations to group related packages under a namespace and redirect them to a private registry in .npmrc without affecting unscoped packages.