@@ -64,21 +64,21 @@ Sets access level for package described by `spec`.
64
64
65
65
The npm registry accepts the following ` access ` levels:
66
66
67
- ` public ` : package is public
68
- ` private ` : package is private
67
+ - ` public ` : package is public
68
+ - ` private ` : package is private
69
69
70
70
The npm registry also only allows scoped packages to have their access
71
71
level set.
72
72
73
73
#### access.setMfa(spec, level, opts) -> Promise<Boolean >`
74
74
75
75
Sets the publishing mfa requirements for a given package. Level must be one of the
76
- following
76
+ following:
77
77
78
- ` none ` : mfa is not required to publish this package.
79
- ` publish ` : mfa is required to publish this package, automation tokens
78
+ - ` none ` : mfa is not required to publish this package.
79
+ - ` publish ` : mfa is required to publish this package, automation tokens
80
80
cannot be used to publish.
81
- ` automation ` : mfa is required to publish this package, automation tokens
81
+ - ` automation ` : mfa is required to publish this package, automation tokens
82
82
may also be used for publishing from continuous integration workflows.
83
83
84
84
#### access.setPermissions(team, spec, permssions, opts) -> Promise<Boolean >`
@@ -89,5 +89,5 @@ Teams should be in the format `scope:team` or `@scope:team`
89
89
90
90
The npm registry accepts the following ` permissions ` :
91
91
92
- ` read-only ` : Read only permissions
93
- ` read-write ` : Read and write (aka publish) permissions
92
+ - ` read-only ` : Read only permissions
93
+ - ` read-write ` : Read and write (aka publish) permissions
0 commit comments