Skip to content

Commit 5b5e886

Browse files
authored
fix(libnpmaccess): formatting of options in README (#8289)
1 parent 2210d7a commit 5b5e886

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

workspaces/libnpmaccess/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,21 @@ Sets access level for package described by `spec`.
6464

6565
The npm registry accepts the following `access` levels:
6666

67-
`public`: package is public
68-
`private`: package is private
67+
- `public`: package is public
68+
- `private`: package is private
6969

7070
The npm registry also only allows scoped packages to have their access
7171
level set.
7272

7373
#### access.setMfa(spec, level, opts) -> Promise<Boolean>`
7474

7575
Sets the publishing mfa requirements for a given package. Level must be one of the
76-
following
76+
following:
7777

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
8080
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
8282
may also be used for publishing from continuous integration workflows.
8383

8484
#### access.setPermissions(team, spec, permssions, opts) -> Promise<Boolean>`
@@ -89,5 +89,5 @@ Teams should be in the format `scope:team` or `@scope:team`
8989

9090
The npm registry accepts the following `permissions`:
9191

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

Comments
 (0)