@verdaccio/config 6.0.0-6-next.13 → 6.0.0-6-next.14

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # @verdaccio/config
2
2
 
3
+ ## 6.0.0-6-next.14
4
+
5
+ ### Minor Changes
6
+
7
+ - d43894e8: feat: rework web header for mobile, add new settings and raw manifest button
8
+
9
+ ### New set of variables to hide features
10
+
11
+ Add set of new variables that allow hide different parts of the UI, buttons, footer or download tarballs. _All are
12
+ enabled by default_.
13
+
14
+ ```yaml
15
+ # login: true <-- already exist but worth the reminder
16
+ # showInfo: true
17
+ # showSettings: true
18
+ # In combination with darkMode you can force specific theme
19
+ # showThemeSwitch: true
20
+ # showFooter: true
21
+ # showSearch: true
22
+ # showDownloadTarball: true
23
+ ```
24
+
25
+ > If you disable `showThemeSwitch` and force `darkMode: true` the local storage settings would be
26
+ > ignored and force all themes to the one in the configuration file.
27
+
28
+ Future could be extended to
29
+
30
+ ### Raw button to display manifest package
31
+
32
+ A new experimental feature (enabled by default), button named RAW to be able navigate on the package manifest directly on the ui, kudos to [react-json-view](https://www.npmjs.com/package/react-json-view) that allows an easy integration, not configurable yet until get more feedback.
33
+
34
+ ```yaml
35
+ showRaw: true
36
+ ```
37
+
38
+ #### Rework header buttons
39
+
40
+ - The header has been rework, the mobile was not looking broken.
41
+ - Removed info button in the header and moved to a dialog
42
+ - Info dialog now contains more information about the project, license and the aid content for Ukrania now is inside of the info modal.
43
+ - Separate settings and info to avoid collapse too much info (for mobile still need some work)
44
+
45
+ - d08fe29d: feat(web): add a config item to web,let the developer can select whet……her enable the html cache
46
+
47
+ ### Patch Changes
48
+
49
+ - @verdaccio/core@6.0.0-6-next.5
50
+
3
51
  ## 6.0.0-6-next.13
4
52
 
5
53
  ### Major Changes
@@ -19,6 +19,17 @@ web:
19
19
  # sort_packages: asc
20
20
  # convert your UI to the dark side
21
21
  # darkMode: true
22
+ # html_cache: true
23
+ # by default all features are displayed
24
+ # login: true
25
+ # showInfo: true
26
+ # showSettings: true
27
+ # In combination with darkMode you can force specific theme
28
+ # showThemeSwitch: true
29
+ # showFooter: true
30
+ # showSearch: true
31
+ # showRaw: true
32
+ # showDownloadTarball: true
22
33
  # HTML tags injected after manifest <scripts/>
23
34
  # scriptsBodyAfter:
24
35
  # - '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
@@ -23,7 +23,32 @@ web:
23
23
  # gravatar: false
24
24
  # by default packages are ordercer ascendant (asc|desc)
25
25
  # sort_packages: asc
26
+ # convert your UI to the dark side
26
27
  # darkMode: true
28
+ # html_cache: true
29
+ # by default all features are displayed
30
+ # login: true
31
+ # showInfo: true
32
+ # showSettings: true
33
+ # In combination with darkMode you can force specific theme
34
+ # showThemeSwitch: true
35
+ # showFooter: true
36
+ # showSearch: true
37
+ # showRaw: true
38
+ # showDownloadTarball: true
39
+ # HTML tags injected after manifest <scripts/>
40
+ # scriptsBodyAfter:
41
+ # - '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
42
+ # HTML tags injected before ends </head>
43
+ # metaScripts:
44
+ # - '<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>'
45
+ # - '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
46
+ # - '<meta name="robots" content="noindex" />'
47
+ # HTML tags injected first child at <body/>
48
+ # bodyBefore:
49
+ # - '<div id="myId">html before webpack scripts</div>'
50
+ # Public path for template manifest scripts (only manifest)
51
+ # publicPath: http://somedomain.org/
27
52
 
28
53
  # translate your registry, api i18n not available yet
29
54
  # i18n:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/config",
3
- "version": "6.0.0-6-next.13",
3
+ "version": "6.0.0-6-next.14",
4
4
  "description": "logger",
5
5
  "main": "./build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -19,6 +19,17 @@ web:
19
19
  # sort_packages: asc
20
20
  # convert your UI to the dark side
21
21
  # darkMode: true
22
+ # html_cache: true
23
+ # by default all features are displayed
24
+ # login: true
25
+ # showInfo: true
26
+ # showSettings: true
27
+ # In combination with darkMode you can force specific theme
28
+ # showThemeSwitch: true
29
+ # showFooter: true
30
+ # showSearch: true
31
+ # showRaw: true
32
+ # showDownloadTarball: true
22
33
  # HTML tags injected after manifest <scripts/>
23
34
  # scriptsBodyAfter:
24
35
  # - '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
@@ -23,7 +23,32 @@ web:
23
23
  # gravatar: false
24
24
  # by default packages are ordercer ascendant (asc|desc)
25
25
  # sort_packages: asc
26
+ # convert your UI to the dark side
26
27
  # darkMode: true
28
+ # html_cache: true
29
+ # by default all features are displayed
30
+ # login: true
31
+ # showInfo: true
32
+ # showSettings: true
33
+ # In combination with darkMode you can force specific theme
34
+ # showThemeSwitch: true
35
+ # showFooter: true
36
+ # showSearch: true
37
+ # showRaw: true
38
+ # showDownloadTarball: true
39
+ # HTML tags injected after manifest <scripts/>
40
+ # scriptsBodyAfter:
41
+ # - '<script type="text/javascript" src="https://my.company.com/customJS.min.js"></script>'
42
+ # HTML tags injected before ends </head>
43
+ # metaScripts:
44
+ # - '<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>'
45
+ # - '<script type="text/javascript" src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js"></script>'
46
+ # - '<meta name="robots" content="noindex" />'
47
+ # HTML tags injected first child at <body/>
48
+ # bodyBefore:
49
+ # - '<div id="myId">html before webpack scripts</div>'
50
+ # Public path for template manifest scripts (only manifest)
51
+ # publicPath: http://somedomain.org/
27
52
 
28
53
  # translate your registry, api i18n not available yet
29
54
  # i18n: