@verdaccio/config 8.0.0-next-8.32 → 9.0.0-next-9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,9 @@
3
3
  # please read carefully the documentation and best practices to
4
4
  # improve security.
5
5
  #
6
+ # Look here for more config file examples:
7
+ # https://github.com/verdaccio/verdaccio/blob/master/docker-examples/README.md
8
+ #
6
9
  # Read about the best practices
7
10
  # https://verdaccio.org/docs/best
8
11
 
@@ -0,0 +1,246 @@
1
+ #
2
+ # This is the default configuration file. It allows all users to do anything,
3
+ # please read carefully the documentation and best practices to
4
+ # improve security.
5
+ #
6
+ # Look here for more config file examples:
7
+ # https://github.com/verdaccio/verdaccio/blob/master/docker-examples/README.md
8
+ #
9
+ # Read about the best practices
10
+ # https://verdaccio.org/docs/best
11
+
12
+ # Path to a directory with all packages
13
+ storage: /verdaccio/storage/data
14
+
15
+ # Path to a directory with plugins to include, the plugins folder has the higher priority for loading plugins
16
+ # Disable this folder to avoid warnings if is not used
17
+ plugins: /verdaccio/plugins
18
+
19
+ # Web UI settings
20
+ # https://verdaccio.org/docs/webui
21
+ web:
22
+ title: Verdaccio
23
+ # Disable complete web UI
24
+ # enabled: false
25
+ # Custom colors for header background and font
26
+ # primaryColor: "#4b5e40"
27
+ # Custom logos and favicon
28
+ # logo: ./path/to/logo.png
29
+ # logoDark: ./path/to/logoDark.png
30
+ # favicon: ./path/to/favicon.ico
31
+ # Disable gravatar support
32
+ # gravatar: false
33
+ # By default, packages are ordered ascending
34
+ # sort_packages: asc | desc
35
+ # Convert your UI to the dark side
36
+ # darkMode: true
37
+ # html_cache: true
38
+ # By default, all features are displayed
39
+ # login: true
40
+ # showInfo: true
41
+ # showSettings: true
42
+ # In combination with darkMode you can force specific theme
43
+ # showThemeSwitch: true
44
+ # showFooter: true
45
+ # showSearch: true
46
+ # showRaw: true
47
+ # showDownloadTarball: true
48
+ # showUplinks: true
49
+ #
50
+ # HTML tags injected before ends </head>
51
+ # metaScripts:
52
+ # - '<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>'
53
+ # - '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
54
+ # - '<meta name="robots" content="noindex">'
55
+ #
56
+ # HTML tags injected as first child in <body>
57
+ # scriptsBodyBefore:
58
+ # - '<div id="myId">html before webpack scripts</div>'
59
+ #
60
+ # HTML tags injected as last child in </body>
61
+ # scriptsBodyAfter:
62
+ # - '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
63
+ #
64
+ # Public path for template manifest scripts (only manifest)
65
+ # publicPath: http://somedomain.org/
66
+
67
+ # Settings for authentication plugin
68
+ # https://verdaccio.org/docs/configuration#authentication
69
+ auth:
70
+ htpasswd:
71
+ file: /verdaccio/storage/htpasswd
72
+ # Maximum amount of users allowed to register, defaults to "+inf".
73
+ # You can set this to -1 to disable registration.
74
+ # max_users: 1000
75
+
76
+ # A list of other known repositories we can talk to
77
+ # https://verdaccio.org/docs/configuration#uplinks
78
+ uplinks:
79
+ npmjs:
80
+ url: https://registry.npmjs.org/
81
+
82
+ # Learn how to protect your packages
83
+ # https://verdaccio.org/docs/protect-your-dependencies/
84
+ # https://verdaccio.org/docs/configuration#packages
85
+ packages:
86
+ '@*/*':
87
+ # scoped packages
88
+ access: $all
89
+ publish: $authenticated
90
+ unpublish: $authenticated
91
+ proxy: npmjs
92
+
93
+ '**':
94
+ # allow all users (including non-authenticated users) to read and
95
+ # publish all packages
96
+ #
97
+ # you can specify usernames/groupnames (depending on your auth plugin)
98
+ # and three keywords: "$all", "$anonymous", "$authenticated"
99
+ access: $all
100
+
101
+ # allow all known users to publish/unpublish packages
102
+ # (anyone can register by default, remember?)
103
+ publish: $authenticated
104
+ unpublish: $authenticated
105
+
106
+ # if package is not available locally, proxy requests to 'npmjs' registry
107
+ proxy: npmjs
108
+
109
+ # To improve your security configuration and avoid dependency confusion
110
+ # consider removing the proxy property for private packages
111
+ # https://verdaccio.org/docs/best#remove-proxy-to-increase-security-at-private-packages
112
+
113
+ # https://verdaccio.org/docs/configuration#server
114
+ # You can specify HTTP/1.1 server keep alive timeout in seconds for incoming connections.
115
+ # A value of 0 makes the http server behave similarly to Node.js versions prior to 8.0.0, which did not have a keep-alive timeout.
116
+ # WORKAROUND: Through given configuration you can workaround following issue https://github.com/verdaccio/verdaccio/issues/301. Set to 0 in case 60 is not enough.
117
+ server:
118
+ keepAliveTimeout: 60
119
+ # The pluginPrefix replaces the default plugins prefix which is `verdaccio`. Please don't include `-`. If `something` is provided
120
+ # the resolved package will be `something-xxxx`.
121
+ # pluginPrefix: something
122
+ # A regex for the password validation /.{3}$/ (3 characters min)
123
+ # An example to limit to 10 characters minimum
124
+ # passwordValidationRegex: /.{10}$/
125
+ # Allow `req.ip` to resolve properly when Verdaccio is behind a proxy or load-balancer
126
+ # https://expressjs.com/en/guide/behind-proxies.html
127
+ # trustProxy: '127.0.0.1'
128
+
129
+ # https://verdaccio.org/docs/configuration#offline-publish
130
+ # publish:
131
+ # allow_offline: false
132
+ # check_owners: false
133
+ # keep_readmes: 'latest' | 'tagged' | 'all'
134
+
135
+ # Define public URL of registry in combination with VERDACCIO_PUBLIC_URL environment variable
136
+ # https://verdaccio.org/docs/configuration#url-prefix
137
+ # url_prefix: /verdaccio/
138
+ #
139
+ # Examples:
140
+ # VERDACCIO_PUBLIC_URL='https://somedomain.org'
141
+ # url_prefix: '/my_prefix'
142
+ # // url -> https://somedomain.org/my_prefix/
143
+ #
144
+ # VERDACCIO_PUBLIC_URL='https://somedomain.org'
145
+ # url_prefix: '/'
146
+ # // url -> https://somedomain.org/
147
+ #
148
+ # VERDACCIO_PUBLIC_URL='https://somedomain.org/first_prefix'
149
+ # url_prefix: '/second_prefix'
150
+ # // url -> https://somedomain.org/second_prefix/
151
+
152
+ # Security settings
153
+ # https://verdaccio.org/docs/configuration#security
154
+ # security:
155
+ # api:
156
+ # legacy: true
157
+ # jwt:
158
+ # sign:
159
+ # expiresIn: 29d
160
+ # verify:
161
+ # someProp: [value]
162
+ # web:
163
+ # sign:
164
+ # expiresIn: 1h # 1 hour by default
165
+ # verify:
166
+ # someProp: [value]
167
+
168
+ # https://verdaccio.org/docs/configuration#user-rate-limit
169
+ # userRateLimit:
170
+ # windowMs: 50000
171
+ # max: 1000
172
+
173
+ # https://verdaccio.org/docs/configuration#max-body-size
174
+ # max_body_size: 10mb
175
+
176
+ # https://verdaccio.org/docs/configuration#listen-port
177
+ # listen:
178
+ # - localhost:4873 # default value
179
+ # - http://localhost:4873 # same thing
180
+ # - 0.0.0.0:4873 # listen on all addresses (INADDR_ANY)
181
+ # - https://example.org:4873 # if you want to use https
182
+ # - "[::1]:4873" # ipv6
183
+ # - unix:/tmp/verdaccio.sock # unix socket
184
+
185
+ # The HTTPS configuration is useful if you do not consider use a HTTP Proxy
186
+ # https://verdaccio.org/docs/configuration#https
187
+ # https:
188
+ # key: ./path/verdaccio-key.pem
189
+ # cert: ./path/verdaccio-cert.pem
190
+ # ca: ./path/verdaccio-csr.pem
191
+
192
+ # https://verdaccio.org/docs/configuration#proxy
193
+ # http_proxy: http://something.local/
194
+ # https_proxy: https://something.local/
195
+ # no_proxy: localhost,127.0.0.1,server.local
196
+
197
+ # https://verdaccio.org/docs/configuration#notifications
198
+ # notify:
199
+ # method: 'POST'
200
+ # headers: '[{ "Content-Type": "application/json" }]'
201
+ # endpoint: 'https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken'
202
+ # content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}'
203
+
204
+ # Settings for middleware plugins
205
+ # https://verdaccio.org/docs/plugins#middleware-configuration
206
+ middlewares:
207
+ audit:
208
+ enabled: true
209
+ # timeout: 10000
210
+
211
+ # Log settings
212
+ # https://verdaccio.org/docs/logger
213
+ # Redaction: https://getpino.io/#/docs/redaction
214
+ # Synchronous logging: https://getpino.io/#/docs/asynchronous
215
+ log:
216
+ type: stdout
217
+ format: pretty
218
+ level: http
219
+ # redact:
220
+ # paths: ['req.header.authorization','req.header.cookie','req.remoteAddress','req.remotePort','ip','remoteIP','user','msg']
221
+ # censor: '<redacted>'
222
+ # sync: true
223
+
224
+ # Feature flags (experimental settings that can be changed or removed in the future)
225
+ # https://verdaccio.org/docs/configuration#experiments
226
+ # experiments:
227
+ # # Support for npm token command
228
+ # token: false
229
+ # # Enable tarball URL redirect for hosting tarball with a different server.
230
+ # # The tarball_url_redirect can be a template string
231
+ # tarball_url_redirect: 'https://mycdn.com/verdaccio/${packageName}/${filename}'
232
+ # # The tarball_url_redirect can be a function, takes packageName and filename and returns the url,
233
+ # # when working with a js configuration file
234
+ # tarball_url_redirect(packageName, filename) {
235
+ # const signedUrl = // generate a signed url
236
+ # return signedUrl;
237
+ # }
238
+ # Renamed from "experiments" to "flags" in next major release
239
+ # flags:
240
+ # changePassword: true
241
+ # searchRemote: true
242
+
243
+ # Translate your registry, API and web UI
244
+ # List of the available translations https://github.com/verdaccio/verdaccio/blob/master/packages/plugins/ui-theme/src/i18n/ABOUT_TRANSLATIONS.md
245
+ i18n:
246
+ web: en-US
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/config",
3
- "version": "8.0.0-next-8.32",
3
+ "version": "9.0.0-next-9.0",
4
4
  "description": "Verdaccio Configuration",
5
5
  "main": "./build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -33,13 +33,13 @@
33
33
  "node": ">=18"
34
34
  },
35
35
  "dependencies": {
36
- "@verdaccio/core": "8.0.0-next-8.32",
36
+ "@verdaccio/core": "9.0.0-next-9.0",
37
37
  "debug": "4.4.3",
38
38
  "js-yaml": "4.1.1",
39
39
  "lodash": "4.17.23"
40
40
  },
41
41
  "devDependencies": {
42
- "@verdaccio/types": "13.0.0-next-8.11",
42
+ "@verdaccio/types": "14.0.0-next-9.0",
43
43
  "vitest": "3.2.4"
44
44
  },
45
45
  "funding": {