mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-13 22:48:31 -05:00
config
This commit is contained in:
parent
03a903d924
commit
6626e77766
2 changed files with 8 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine as builder
|
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine AS builder
|
||||||
|
|
||||||
ENV NODE_ENV=development \
|
ENV NODE_ENV=development \
|
||||||
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org
|
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org
|
||||||
|
|
28
config.yaml
28
config.yaml
|
@ -58,9 +58,9 @@ web:
|
||||||
# - '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
|
# - '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
|
||||||
# HTML tags injected first child at <body/>
|
# HTML tags injected first child at <body/>
|
||||||
scriptsbodyBefore:
|
scriptsbodyBefore:
|
||||||
- '<div id="beta" style="color:white;background-color:blue;margin:auto;text-align:center;font-size:12px;"><strong>***PLAYGROUND***</strong> Packages will be deleted every Sunday night! <strong>***PLAYGROUND***</strong></div>'
|
# - '<div id="beta" style="color:white;background-color:blue;margin:auto;text-align:center;font-size:12px;"><strong>***PLAYGROUND***</strong> Packages will be deleted every Sunday night! <strong>***PLAYGROUND***</strong></div>'
|
||||||
# Public path for template manifest scripts (only manifest)
|
# Public path for template manifest scripts (only manifest)
|
||||||
publicPath: https://playground.abappm.com/
|
# publicPath: https://playground.abappm.com/
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
htpasswd:
|
htpasswd:
|
||||||
|
@ -80,29 +80,15 @@ uplinks:
|
||||||
packages:
|
packages:
|
||||||
'@*/*':
|
'@*/*':
|
||||||
# scoped packages
|
# scoped packages
|
||||||
access: none
|
|
||||||
publish: none
|
|
||||||
unpublish: none
|
|
||||||
#access: $all
|
|
||||||
#publish: $authenticated
|
|
||||||
#unpublish: $authenticated
|
|
||||||
#proxy: npmjs
|
|
||||||
|
|
||||||
'**':
|
|
||||||
# allow all users (including non-authenticated users) to read and
|
|
||||||
# publish all packages
|
|
||||||
#
|
|
||||||
# you can specify usernames/groupnames (depending on your auth plugin)
|
|
||||||
# and three keywords: "$all", "$anonymous", "$authenticated"
|
|
||||||
access: $all
|
access: $all
|
||||||
|
|
||||||
# allow all known users to publish/publish packages
|
|
||||||
# (anyone can register by default, remember?)
|
|
||||||
publish: $authenticated
|
publish: $authenticated
|
||||||
unpublish: $authenticated
|
unpublish: $authenticated
|
||||||
|
|
||||||
# if package is not available locally, proxy requests to 'npmjs' registry
|
'**':
|
||||||
# proxy: npmjs
|
# global packages
|
||||||
|
access: $all
|
||||||
|
publish: $authenticated
|
||||||
|
unpublish: $authenticated
|
||||||
|
|
||||||
# To improve your security configuration and avoid dependency confusion
|
# To improve your security configuration and avoid dependency confusion
|
||||||
# consider removing the proxy property for private packages
|
# consider removing the proxy property for private packages
|
||||||
|
|
Loading…
Add table
Reference in a new issue