Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Work-around NPM trying to fake authentication and allow anonymous publishing. | ||
# This file must be copied to the .npmrc of the project in order to work. | ||
//localhost:4873/:_authToken="fake" | ||
registry=http://localhost:4873/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# https://verdaccio.org/docs/configuration/ | ||
|
||
# Path to a directory with all packages. | ||
storage: .verdaccio/storage | ||
|
||
# Path to a directory with plugins to include. | ||
plugins: .verdaccio/plugins | ||
|
||
web: | ||
title: Verdaccio - Weaver - Localhost | ||
|
||
# Disable login requirement for localhost. | ||
login: false | ||
|
||
# List of other known repositories to use. | ||
uplinks: | ||
npmjs: | ||
url: https://registry.npmjs.org/ | ||
cache: false | ||
|
||
# For verdaccio-memory, designate memory limit. | ||
# Comment this out to store package in .verdaccio directory rather than in memory. | ||
store: | ||
memory: | ||
limit: 10000 | ||
|
||
packages: | ||
'@wvr/*': | ||
# Choices: "$all", "$anonymous", "$authenticated". | ||
access: $all | ||
publish: $all | ||
unpublish: $all | ||
|
||
'**': | ||
access: $all | ||
|
||
# Proxy non-local packages to 'npmjs' registry. | ||
proxy: npmjs | ||
|
||
# Allow for publishing while offline. | ||
publish: | ||
allow_offline: true | ||
|
||
server: | ||
keepAliveTimeout: 60 | ||
|
||
security: | ||
api: | ||
jwt: | ||
sign: | ||
expiresIn: 15d | ||
notBefore: 0 | ||
web: | ||
sign: | ||
expiresIn: 1h | ||
|
||
middlewares: | ||
audit: | ||
enabled: true | ||
|
||
logs: { type: stdout, format: pretty, level: http } |