@verdaccio/types 11.0.0-6-next.11 → 11.0.0-6-next.12
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 +42 -0
- package/index.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.0.0-6-next.12
|
|
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
|
+
|
|
3
45
|
## 11.0.0-6-next.11
|
|
4
46
|
|
|
5
47
|
### Major Changes
|
package/index.d.ts
CHANGED
|
@@ -43,6 +43,13 @@ declare module '@verdaccio/types' {
|
|
|
43
43
|
// deprecated
|
|
44
44
|
basename?: string;
|
|
45
45
|
scope?: string;
|
|
46
|
+
showInfo?: boolean;
|
|
47
|
+
showSettings?: boolean;
|
|
48
|
+
showSearch?: boolean;
|
|
49
|
+
showFooter?: boolean;
|
|
50
|
+
showThemeSwitch?: boolean;
|
|
51
|
+
showDownloadTarball?: boolean;
|
|
52
|
+
showRaw?: boolean;
|
|
46
53
|
base: string;
|
|
47
54
|
primaryColor?: string;
|
|
48
55
|
version?: string;
|