You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the plugin to your Verdaccio configuration file (`config.yaml`):
12
+
13
+
```yaml
14
+
auth:
15
+
<%= name %>:
16
+
enabled: true
17
+
```
18
+
19
+
## Development
20
+
21
+
See the [verdaccio contributing guide](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md) for instructions setting up your development environment.
22
+
Once you have completed that, use the following npm tasks.
23
+
24
+
- `npm run build`
25
+
26
+
Build a distributable archive
27
+
28
+
- `npm run test`
29
+
30
+
Run unit test
31
+
32
+
- `npm run verify`
33
+
34
+
Verify the plugin can be loaded by Verdaccio. This runs [`@verdaccio/plugin-verifier`](https://www.npmjs.com/package/@verdaccio/plugin-verifier) which checks that the plugin exports the correct interface and can be instantiated as an **authentication** plugin.
35
+
36
+
For more information about any of these commands run `npm run ${task} -- --help`.
Add the plugin to your Verdaccio configuration file (`config.yaml`):
12
+
13
+
```yaml
14
+
filters:
15
+
<%= name %>:
16
+
enabled: true
17
+
```
18
+
19
+
## Development
20
+
21
+
See the [verdaccio contributing guide](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md) for instructions setting up your development environment.
22
+
Once you have completed that, use the following npm tasks.
23
+
24
+
- `npm run build`
25
+
26
+
Build a distributable archive
27
+
28
+
- `npm run test`
29
+
30
+
Run unit test
31
+
32
+
- `npm run verify`
33
+
34
+
Verify the plugin can be loaded by Verdaccio. This runs [`@verdaccio/plugin-verifier`](https://www.npmjs.com/package/@verdaccio/plugin-verifier) which checks that the plugin exports the correct interface and can be instantiated as a **filter** plugin.
35
+
36
+
For more information about any of these commands run `npm run ${task} -- --help`.
Add the plugin to your Verdaccio configuration file (`config.yaml`):
12
+
13
+
```yaml
14
+
middlewares:
15
+
<%= name %>:
16
+
enabled: true
17
+
```
18
+
19
+
## Development
20
+
21
+
See the [verdaccio contributing guide](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md) for instructions setting up your development environment.
22
+
Once you have completed that, use the following npm tasks.
23
+
24
+
- `npm run build`
25
+
26
+
Build a distributable archive
27
+
28
+
- `npm run test`
29
+
30
+
Run unit test
31
+
32
+
- `npm run verify`
33
+
34
+
Verify the plugin can be loaded by Verdaccio. This runs [`@verdaccio/plugin-verifier`](https://www.npmjs.com/package/@verdaccio/plugin-verifier) which checks that the plugin exports the correct interface and can be instantiated as a **middleware** plugin.
35
+
36
+
For more information about any of these commands run `npm run ${task} -- --help`.
Add the plugin to your Verdaccio configuration file (`config.yaml`):
12
+
13
+
```yaml
14
+
store:
15
+
<%= name %>:
16
+
enabled: true
17
+
```
18
+
19
+
## Development
20
+
21
+
See the [verdaccio contributing guide](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md) for instructions setting up your development environment.
22
+
Once you have completed that, use the following npm tasks.
23
+
24
+
- `npm run build`
25
+
26
+
Build a distributable archive
27
+
28
+
- `npm run test`
29
+
30
+
Run unit test
31
+
32
+
- `npm run verify`
33
+
34
+
Verify the plugin can be loaded by Verdaccio. This runs [`@verdaccio/plugin-verifier`](https://www.npmjs.com/package/@verdaccio/plugin-verifier) which checks that the plugin exports the correct interface and can be instantiated as a **storage** plugin.
35
+
36
+
For more information about any of these commands run `npm run ${task} -- --help`.
0 commit comments