@verdaccio/web 6.0.0-6-next.31 → 6.0.0-6-next.34
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 +50 -0
- package/package.json +18 -18
- package/test/__snapshots__/template.test.ts.snap +56 -56
- package/test/__snapshots__/utils.spec.ts.snap +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,55 @@
|
|
|
1
1
|
# @verdaccio/web
|
|
2
2
|
|
|
3
|
+
## 6.0.0-6-next.34
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @verdaccio/core@6.0.0-6-next.47
|
|
8
|
+
- @verdaccio/config@6.0.0-6-next.47
|
|
9
|
+
- @verdaccio/auth@6.0.0-6-next.26
|
|
10
|
+
- @verdaccio/tarball@11.0.0-6-next.16
|
|
11
|
+
- @verdaccio/url@11.0.0-6-next.13
|
|
12
|
+
- @verdaccio/loaders@6.0.0-6-next.16
|
|
13
|
+
- @verdaccio/logger@6.0.0-6-next.15
|
|
14
|
+
- @verdaccio/middleware@6.0.0-6-next.26
|
|
15
|
+
- @verdaccio/store@6.0.0-6-next.27
|
|
16
|
+
- @verdaccio/utils@6.0.0-6-next.15
|
|
17
|
+
|
|
18
|
+
## 6.0.0-6-next.33
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [b849128d]
|
|
23
|
+
- @verdaccio/core@6.0.0-6-next.8
|
|
24
|
+
- @verdaccio/store@6.0.0-6-next.26
|
|
25
|
+
- @verdaccio/auth@6.0.0-6-next.25
|
|
26
|
+
- @verdaccio/config@6.0.0-6-next.17
|
|
27
|
+
- @verdaccio/tarball@11.0.0-6-next.15
|
|
28
|
+
- @verdaccio/url@11.0.0-6-next.12
|
|
29
|
+
- @verdaccio/loaders@6.0.0-6-next.15
|
|
30
|
+
- @verdaccio/logger@6.0.0-6-next.14
|
|
31
|
+
- @verdaccio/middleware@6.0.0-6-next.25
|
|
32
|
+
- @verdaccio/utils@6.0.0-6-next.14
|
|
33
|
+
- @verdaccio/readme@11.0.0-6-next.6
|
|
34
|
+
|
|
35
|
+
## 6.0.0-6-next.32
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- 351aeeaa: fix(deps): @verdaccio/utils should be a prod dep of local-storage
|
|
40
|
+
- Updated dependencies [351aeeaa]
|
|
41
|
+
- @verdaccio/auth@6.0.0-6-next.24
|
|
42
|
+
- @verdaccio/core@6.0.0-6-next.7
|
|
43
|
+
- @verdaccio/readme@11.0.0-6-next.6
|
|
44
|
+
- @verdaccio/tarball@11.0.0-6-next.14
|
|
45
|
+
- @verdaccio/url@11.0.0-6-next.11
|
|
46
|
+
- @verdaccio/loaders@6.0.0-6-next.14
|
|
47
|
+
- @verdaccio/logger@6.0.0-6-next.13
|
|
48
|
+
- @verdaccio/store@6.0.0-6-next.25
|
|
49
|
+
- @verdaccio/middleware@6.0.0-6-next.24
|
|
50
|
+
- @verdaccio/config@6.0.0-6-next.16
|
|
51
|
+
- @verdaccio/utils@6.0.0-6-next.13
|
|
52
|
+
|
|
3
53
|
## 6.0.0-6-next.31
|
|
4
54
|
|
|
5
55
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/web",
|
|
3
|
-
"version": "6.0.0-6-next.
|
|
3
|
+
"version": "6.0.0-6-next.34",
|
|
4
4
|
"description": "web ui middleware",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@verdaccio/auth": "6.0.0-6-next.
|
|
29
|
-
"@verdaccio/core": "6.0.0-6-next.
|
|
30
|
-
"@verdaccio/config": "6.0.0-6-next.
|
|
31
|
-
"@verdaccio/loaders": "6.0.0-6-next.
|
|
32
|
-
"@verdaccio/logger": "6.0.0-6-next.
|
|
33
|
-
"@verdaccio/middleware": "6.0.0-6-next.
|
|
34
|
-
"@verdaccio/readme": "11.0.0-6-next.
|
|
35
|
-
"@verdaccio/store": "6.0.0-6-next.
|
|
36
|
-
"@verdaccio/tarball": "11.0.0-6-next.
|
|
37
|
-
"@verdaccio/url": "11.0.0-6-next.
|
|
38
|
-
"@verdaccio/utils": "6.0.0-6-next.
|
|
28
|
+
"@verdaccio/auth": "6.0.0-6-next.26",
|
|
29
|
+
"@verdaccio/core": "6.0.0-6-next.47",
|
|
30
|
+
"@verdaccio/config": "6.0.0-6-next.47",
|
|
31
|
+
"@verdaccio/loaders": "6.0.0-6-next.16",
|
|
32
|
+
"@verdaccio/logger": "6.0.0-6-next.15",
|
|
33
|
+
"@verdaccio/middleware": "6.0.0-6-next.26",
|
|
34
|
+
"@verdaccio/readme": "11.0.0-6-next.6",
|
|
35
|
+
"@verdaccio/store": "6.0.0-6-next.27",
|
|
36
|
+
"@verdaccio/tarball": "11.0.0-6-next.16",
|
|
37
|
+
"@verdaccio/url": "11.0.0-6-next.13",
|
|
38
|
+
"@verdaccio/utils": "6.0.0-6-next.15",
|
|
39
39
|
"body-parser": "1.20.0",
|
|
40
40
|
"debug": "4.3.4",
|
|
41
41
|
"express": "4.18.1",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"lru-cache": "6.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/node": "16.11.
|
|
47
|
-
"@verdaccio/types": "11.0.0-6-next.
|
|
48
|
-
"@verdaccio/test-helper": "1.1.0-6-next.
|
|
49
|
-
"@verdaccio/api": "6.0.0-6-next.
|
|
46
|
+
"@types/node": "16.11.56",
|
|
47
|
+
"@verdaccio/types": "11.0.0-6-next.16",
|
|
48
|
+
"@verdaccio/test-helper": "1.1.0-6-next.4",
|
|
49
|
+
"@verdaccio/api": "6.0.0-6-next.30",
|
|
50
50
|
"node-html-parser": "4.1.5",
|
|
51
51
|
"supertest": "6.2.4",
|
|
52
52
|
"nock": "13.2.9",
|
|
53
53
|
"jsdom": "20.0.0",
|
|
54
54
|
"undici": "4.16.0",
|
|
55
|
-
"verdaccio-auth-memory": "11.0.0-6-next.
|
|
56
|
-
"verdaccio-memory": "11.0.0-6-next.
|
|
55
|
+
"verdaccio-auth-memory": "11.0.0-6-next.12",
|
|
56
|
+
"verdaccio-memory": "11.0.0-6-next.14"
|
|
57
57
|
},
|
|
58
58
|
"funding": {
|
|
59
59
|
"type": "opencollective",
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
exports[`template custom body after 1`] = `
|
|
4
4
|
"
|
|
5
5
|
<!DOCTYPE html>
|
|
6
|
-
<html lang
|
|
6
|
+
<html lang="en-us">
|
|
7
7
|
<head>
|
|
8
|
-
<meta charset
|
|
9
|
-
<base href
|
|
8
|
+
<meta charset="utf-8">
|
|
9
|
+
<base href="http://domain.com">
|
|
10
10
|
<title></title>
|
|
11
|
-
<link rel
|
|
12
|
-
<meta name
|
|
11
|
+
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
12
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
13
13
|
<script>
|
|
14
|
-
window.__VERDACCIO_BASENAME_UI_OPTIONS={
|
|
14
|
+
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
17
|
</head>
|
|
18
|
-
<body class
|
|
18
|
+
<body class="body">
|
|
19
19
|
|
|
20
|
-
<div id
|
|
21
|
-
<script defer
|
|
22
|
-
<script src
|
|
20
|
+
<div id="root"></div>
|
|
21
|
+
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
|
22
|
+
<script src="foo"/>
|
|
23
23
|
</body>
|
|
24
24
|
</html>
|
|
25
25
|
"
|
|
@@ -28,22 +28,22 @@ exports[`template custom body after 1`] = `
|
|
|
28
28
|
exports[`template custom body before 1`] = `
|
|
29
29
|
"
|
|
30
30
|
<!DOCTYPE html>
|
|
31
|
-
<html lang
|
|
31
|
+
<html lang="en-us">
|
|
32
32
|
<head>
|
|
33
|
-
<meta charset
|
|
34
|
-
<base href
|
|
33
|
+
<meta charset="utf-8">
|
|
34
|
+
<base href="http://domain.com">
|
|
35
35
|
<title></title>
|
|
36
|
-
<link rel
|
|
37
|
-
<meta name
|
|
36
|
+
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
37
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
38
38
|
<script>
|
|
39
|
-
window.__VERDACCIO_BASENAME_UI_OPTIONS={
|
|
39
|
+
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
|
40
40
|
</script>
|
|
41
41
|
|
|
42
42
|
</head>
|
|
43
|
-
<body class
|
|
44
|
-
<script src
|
|
45
|
-
<div id
|
|
46
|
-
<script defer
|
|
43
|
+
<body class="body">
|
|
44
|
+
<script src="fooBefore"/><script src="barBefore"/>
|
|
45
|
+
<div id="root"></div>
|
|
46
|
+
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
|
47
47
|
|
|
48
48
|
</body>
|
|
49
49
|
</html>
|
|
@@ -53,22 +53,22 @@ exports[`template custom body before 1`] = `
|
|
|
53
53
|
exports[`template custom render 1`] = `
|
|
54
54
|
"
|
|
55
55
|
<!DOCTYPE html>
|
|
56
|
-
<html lang
|
|
56
|
+
<html lang="en-us">
|
|
57
57
|
<head>
|
|
58
|
-
<meta charset
|
|
59
|
-
<base href
|
|
58
|
+
<meta charset="utf-8">
|
|
59
|
+
<base href="http://domain.com">
|
|
60
60
|
<title></title>
|
|
61
|
-
<link rel
|
|
62
|
-
<meta name
|
|
61
|
+
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
62
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
63
63
|
<script>
|
|
64
|
-
window.__VERDACCIO_BASENAME_UI_OPTIONS={
|
|
64
|
+
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
|
65
65
|
</script>
|
|
66
66
|
|
|
67
67
|
</head>
|
|
68
|
-
<body class
|
|
68
|
+
<body class="body">
|
|
69
69
|
|
|
70
|
-
<div id
|
|
71
|
-
<script defer
|
|
70
|
+
<div id="root"></div>
|
|
71
|
+
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
|
72
72
|
|
|
73
73
|
</body>
|
|
74
74
|
</html>
|
|
@@ -78,22 +78,22 @@ exports[`template custom render 1`] = `
|
|
|
78
78
|
exports[`template custom title 1`] = `
|
|
79
79
|
"
|
|
80
80
|
<!DOCTYPE html>
|
|
81
|
-
<html lang
|
|
81
|
+
<html lang="en-us">
|
|
82
82
|
<head>
|
|
83
|
-
<meta charset
|
|
84
|
-
<base href
|
|
83
|
+
<meta charset="utf-8">
|
|
84
|
+
<base href="http://domain.com">
|
|
85
85
|
<title>foo title</title>
|
|
86
|
-
<link rel
|
|
87
|
-
<meta name
|
|
86
|
+
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
87
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
88
88
|
<script>
|
|
89
|
-
window.__VERDACCIO_BASENAME_UI_OPTIONS={
|
|
89
|
+
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com","title":"foo title"}
|
|
90
90
|
</script>
|
|
91
91
|
|
|
92
92
|
</head>
|
|
93
|
-
<body class
|
|
93
|
+
<body class="body">
|
|
94
94
|
|
|
95
|
-
<div id
|
|
96
|
-
<script defer
|
|
95
|
+
<div id="root"></div>
|
|
96
|
+
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
|
97
97
|
|
|
98
98
|
</body>
|
|
99
99
|
</html>
|
|
@@ -103,22 +103,22 @@ exports[`template custom title 1`] = `
|
|
|
103
103
|
exports[`template custom title 2`] = `
|
|
104
104
|
"
|
|
105
105
|
<!DOCTYPE html>
|
|
106
|
-
<html lang
|
|
106
|
+
<html lang="en-us">
|
|
107
107
|
<head>
|
|
108
|
-
<meta charset
|
|
109
|
-
<base href
|
|
108
|
+
<meta charset="utf-8">
|
|
109
|
+
<base href="http://domain.com">
|
|
110
110
|
<title>foo title</title>
|
|
111
|
-
<link rel
|
|
112
|
-
<meta name
|
|
111
|
+
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
112
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
113
113
|
<script>
|
|
114
|
-
window.__VERDACCIO_BASENAME_UI_OPTIONS={
|
|
114
|
+
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com","title":"foo title"}
|
|
115
115
|
</script>
|
|
116
116
|
|
|
117
117
|
</head>
|
|
118
|
-
<body class
|
|
118
|
+
<body class="body">
|
|
119
119
|
|
|
120
|
-
<div id
|
|
121
|
-
<script defer
|
|
120
|
+
<div id="root"></div>
|
|
121
|
+
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
|
122
122
|
|
|
123
123
|
</body>
|
|
124
124
|
</html>
|
|
@@ -128,22 +128,22 @@ exports[`template custom title 2`] = `
|
|
|
128
128
|
exports[`template meta scripts 1`] = `
|
|
129
129
|
"
|
|
130
130
|
<!DOCTYPE html>
|
|
131
|
-
<html lang
|
|
131
|
+
<html lang="en-us">
|
|
132
132
|
<head>
|
|
133
|
-
<meta charset
|
|
134
|
-
<base href
|
|
133
|
+
<meta charset="utf-8">
|
|
134
|
+
<base href="http://domain.com">
|
|
135
135
|
<title></title>
|
|
136
|
-
<link rel
|
|
137
|
-
<meta name
|
|
136
|
+
<link rel="icon" href="http://domain.com-/static/favicon.ico"/>
|
|
137
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
138
138
|
<script>
|
|
139
|
-
window.__VERDACCIO_BASENAME_UI_OPTIONS={
|
|
139
|
+
window.__VERDACCIO_BASENAME_UI_OPTIONS={"base":"http://domain.com"}
|
|
140
140
|
</script>
|
|
141
141
|
<style>.someclass{font-size:10px;}</style>
|
|
142
142
|
</head>
|
|
143
|
-
<body class
|
|
143
|
+
<body class="body">
|
|
144
144
|
|
|
145
|
-
<div id
|
|
146
|
-
<script defer
|
|
145
|
+
<div id="root"></div>
|
|
146
|
+
<script defer="defer" src="http://domain.com/-/static/runtime.6126058572f989c948b1.js"></script><script defer="defer" src="http://domain.com/-/static/main.6126058572f989c948b1.js"></script>
|
|
147
147
|
|
|
148
148
|
</body>
|
|
149
149
|
</html>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Utilities parseReadme should parse makrdown text to html template 1`] = `
|
|
4
|
-
"<h1 id
|
|
4
|
+
"<h1 id="project-title">Project Title</h1>
|
|
5
5
|
<p>One Paragraph of project description goes here</p>
|
|
6
|
-
<h2 id
|
|
6
|
+
<h2 id="getting-started">Getting Started</h2>
|
|
7
7
|
<p>These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.</p>
|
|
8
|
-
<h3 id
|
|
8
|
+
<h3 id="prerequisites">Prerequisites</h3>
|
|
9
9
|
<p>What things you need to install the software and how to install them</p>
|
|
10
10
|
<pre><code>Give examples
|
|
11
11
|
</code></pre>
|
|
12
|
-
<h3 id
|
|
12
|
+
<h3 id="installing">Installing</h3>
|
|
13
13
|
<p>A step by step series of examples that tell you how to get a development env running</p>
|
|
14
14
|
<p>Say what the step will be</p>
|
|
15
15
|
<pre><code>Give the example
|
|
@@ -18,31 +18,31 @@ exports[`Utilities parseReadme should parse makrdown text to html template 1`] =
|
|
|
18
18
|
<pre><code>until finished
|
|
19
19
|
</code></pre>
|
|
20
20
|
<p>End with an example of getting some data out of the system or using it for a little demo</p>
|
|
21
|
-
<h2 id
|
|
21
|
+
<h2 id="running-the-tests">Running the tests</h2>
|
|
22
22
|
<p>Explain how to run the automated tests for this system</p>
|
|
23
|
-
<h3 id
|
|
23
|
+
<h3 id="break-down-into-end-to-end-tests">Break down into end to end tests</h3>
|
|
24
24
|
<p>Explain what these tests test and why</p>
|
|
25
25
|
<pre><code>Give an example
|
|
26
26
|
</code></pre>
|
|
27
|
-
<h3 id
|
|
27
|
+
<h3 id="and-coding-style-tests">And coding style tests</h3>
|
|
28
28
|
<p>Explain what these tests test and why</p>
|
|
29
29
|
<pre><code>Give an example
|
|
30
30
|
</code></pre>
|
|
31
|
-
<h2 id
|
|
31
|
+
<h2 id="deployment">Deployment</h2>
|
|
32
32
|
<p>Add additional notes about how to deploy this on a live system</p>
|
|
33
|
-
<h2 id
|
|
33
|
+
<h2 id="built-with">Built With</h2>
|
|
34
34
|
<ul>
|
|
35
35
|
<li>The web framework used</li>
|
|
36
36
|
<li>Dependency Management</li>
|
|
37
37
|
<li>Used to generate RSS Feeds</li>
|
|
38
38
|
</ul>
|
|
39
|
-
<h2 id
|
|
40
|
-
<p>Please read <a href
|
|
41
|
-
<h2 id
|
|
42
|
-
<p>We use <a href
|
|
43
|
-
<h2 id
|
|
44
|
-
<p>This project is licensed under the MIT License - see the <a href
|
|
45
|
-
<h2 id
|
|
39
|
+
<h2 id="contributing">Contributing</h2>
|
|
40
|
+
<p>Please read <a href="CONTRIBUTING.md">CONTRIBUTING.md</a> for details on our code of conduct, and the process for submitting pull requests to us.</p>
|
|
41
|
+
<h2 id="versioning">Versioning</h2>
|
|
42
|
+
<p>We use <a href="http://semver.org/">SemVer</a> for versioning. For the versions available, see the <a href="https://github.com/your/project/tags">tags on this repository</a>.</p>
|
|
43
|
+
<h2 id="license">License</h2>
|
|
44
|
+
<p>This project is licensed under the MIT License - see the <a href="LICENSE.md">LICENSE.md</a> file for details</p>
|
|
45
|
+
<h2 id="acknowledgments">Acknowledgments</h2>
|
|
46
46
|
<ul>
|
|
47
47
|
<li>Hat tip to anyone whose code was used</li>
|
|
48
48
|
<li>Inspiration</li>
|