@verdaccio/ui-theme 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.
Files changed (105) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/jest/server-handlers.ts +1 -1
  3. package/package.json +26 -28
  4. package/src/App/Header/HeaderMenu.tsx +6 -3
  5. package/src/App/Header/HeaderToolTipIcon.tsx +4 -2
  6. package/src/App/Header/LoginDialog/LoginDialog.tsx +2 -1
  7. package/src/App/Header/LoginDialog/LoginDialogForm.tsx +2 -1
  8. package/src/App/Header/RegistryInfoContent/RegistryInfoContent.tsx +6 -3
  9. package/src/App/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +2 -1
  10. package/src/App/Header/Search/__snapshots__/Search.test.tsx.snap +5 -1
  11. package/src/components/AutoComplete/AutoCompleteV2.tsx +10 -4
  12. package/src/components/Link.tsx +2 -1
  13. package/src/components/NotFound/NotFound.tsx +2 -1
  14. package/src/components/NotFound/__snapshots__/Notfound.test.tsx.snap +1 -1
  15. package/src/components/TextField/__snapshots__/TextField.test.tsx.snap +2 -0
  16. package/src/i18n/download_translations/cs-CZ/ui.json +92 -92
  17. package/src/i18n/download_translations/es-ES/ui.json +23 -23
  18. package/src/i18n/download_translations/fr-FR/ui.json +66 -66
  19. package/src/i18n/download_translations/gl-ES/ui.json +28 -28
  20. package/src/i18n/download_translations/ja-JP/ui.json +71 -71
  21. package/src/i18n/download_translations/km-KH/ui.json +73 -73
  22. package/src/i18n/download_translations/pt-BR/ui.json +69 -69
  23. package/src/i18n/download_translations/ru-RU/ui.json +70 -70
  24. package/src/i18n/download_translations/tr-TR/ui.json +65 -65
  25. package/src/i18n/download_translations/uk-UA/ui.json +68 -68
  26. package/src/i18n/download_translations/zh-CN/ui.json +66 -66
  27. package/src/i18n/download_translations/zh-TW/ui.json +60 -60
  28. package/src/pages/Version/DetailContainer/DetailContainerTabs.tsx +2 -1
  29. package/src/pages/Version/DetailContainer/UpLinks/__snapshots__/UpLinks.test.tsx.snap +2 -2
  30. package/src/pages/Version/DetailSidebar/DetailSidebarFundButton.tsx +2 -1
  31. package/src/pages/Version/DetailSidebar/Dist/Dist.tsx +2 -1
  32. package/src/pages/Version/DetailSidebar/Engines/Engines.tsx +4 -2
  33. package/src/pages/Version/DetailSidebar/Install/Install.tsx +2 -1
  34. package/src/pages/Version/DetailSidebar/Repository/Repository.tsx +2 -1
  35. package/src/pages/Version/Version.test.tsx +2 -1
  36. package/src/pages/Version/VersionContextProvider.tsx +2 -1
  37. package/src/pages/home/PackageList/Help/__snapshots__/Help.test.tsx.snap +1 -1
  38. package/src/pages/home/PackageList/Package/Package.tsx +6 -3
  39. package/src/store/models/login.ts +11 -7
  40. package/src/store/models/manifest.ts +2 -2
  41. package/src/store/models/packages.ts +1 -1
  42. package/src/store/models/search.ts +1 -1
  43. package/static/Dependencies.915355f5a928b489259e.js +2 -0
  44. package/static/{Dependencies.15768a14646212b71166.js.LICENSE.txt → Dependencies.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  45. package/static/Dist.915355f5a928b489259e.js +2 -0
  46. package/static/{Dist.15768a14646212b71166.js.LICENSE.txt → Dist.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  47. package/static/Engines.915355f5a928b489259e.js +2 -0
  48. package/static/{Engines.15768a14646212b71166.js.LICENSE.txt → Engines.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  49. package/static/Home.915355f5a928b489259e.js +2 -0
  50. package/static/{Home.15768a14646212b71166.js.LICENSE.txt → Home.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  51. package/static/Install.915355f5a928b489259e.js +2 -0
  52. package/static/{Install.15768a14646212b71166.js.LICENSE.txt → Install.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  53. package/static/NotFound.915355f5a928b489259e.js +2 -0
  54. package/static/{NotFound.15768a14646212b71166.js.LICENSE.txt → NotFound.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  55. package/static/{Provider.15768a14646212b71166.js → Provider.915355f5a928b489259e.js} +1 -1
  56. package/static/{Provider.15768a14646212b71166.js.LICENSE.txt → Provider.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  57. package/static/Repository.915355f5a928b489259e.js +2 -0
  58. package/static/{Repository.15768a14646212b71166.js.LICENSE.txt → Repository.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  59. package/static/UpLinks.915355f5a928b489259e.js +2 -0
  60. package/static/{UpLinks.15768a14646212b71166.js.LICENSE.txt → UpLinks.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  61. package/static/Version.915355f5a928b489259e.js +2 -0
  62. package/static/{Version.15768a14646212b71166.js.LICENSE.txt → Version.915355f5a928b489259e.js.LICENSE.txt} +2 -22
  63. package/static/Versions.915355f5a928b489259e.js +2 -0
  64. package/static/{Versions.15768a14646212b71166.js.LICENSE.txt → Versions.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  65. package/static/index.html +1 -1
  66. package/static/main.915355f5a928b489259e.js +2 -0
  67. package/static/{main.15768a14646212b71166.js.LICENSE.txt → main.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  68. package/static/manifest.json +17 -17
  69. package/static/{runtime.15768a14646212b71166.js → runtime.915355f5a928b489259e.js} +2 -2
  70. package/static/{runtime.15768a14646212b71166.js.LICENSE.txt → runtime.915355f5a928b489259e.js.LICENSE.txt} +2 -2
  71. package/static/vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-03c9e7.915355f5a928b489259e.js +2 -0
  72. package/static/{vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js.LICENSE.txt → vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-03c9e7.915355f5a928b489259e.js.LICENSE.txt} +20 -20
  73. package/static/{vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js → vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-e72974.915355f5a928b489259e.js} +2 -2
  74. package/static/{vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js.LICENSE.txt → vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-e72974.915355f5a928b489259e.js.LICENSE.txt} +31 -31
  75. package/static/vendors-node_modules_pnpm_mui_material_5_2_8_f5341c4d41f1e34c3a73251df9f98a19_node_modules_mu-6057aa.915355f5a928b489259e.js +2 -0
  76. package/static/{vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js.LICENSE.txt → vendors-node_modules_pnpm_mui_material_5_2_8_f5341c4d41f1e34c3a73251df9f98a19_node_modules_mu-6057aa.915355f5a928b489259e.js.LICENSE.txt} +7 -7
  77. package/static/vendors.915355f5a928b489259e.js +103 -0
  78. package/static/{vendors.15768a14646212b71166.js.LICENSE.txt → vendors.915355f5a928b489259e.js.LICENSE.txt} +362 -364
  79. package/src/i18n/deprecated_translations_dont_use/cs-CZ.json +0 -168
  80. package/src/i18n/deprecated_translations_dont_use/de-DE.json +0 -168
  81. package/src/i18n/deprecated_translations_dont_use/en-US.json +0 -170
  82. package/src/i18n/deprecated_translations_dont_use/es-ES.json +0 -168
  83. package/src/i18n/deprecated_translations_dont_use/fr-FR.json +0 -168
  84. package/src/i18n/deprecated_translations_dont_use/ja-JP.json +0 -168
  85. package/src/i18n/deprecated_translations_dont_use/km-KH.json +0 -168
  86. package/src/i18n/deprecated_translations_dont_use/pt-BR.json +0 -168
  87. package/src/i18n/deprecated_translations_dont_use/ru-RU.json +0 -168
  88. package/src/i18n/deprecated_translations_dont_use/tr-TR.json +0 -168
  89. package/src/i18n/deprecated_translations_dont_use/uk-UA.json +0 -168
  90. package/src/i18n/deprecated_translations_dont_use/zh-CN.json +0 -168
  91. package/src/i18n/deprecated_translations_dont_use/zh-TW.json +0 -165
  92. package/static/Dependencies.15768a14646212b71166.js +0 -2
  93. package/static/Dist.15768a14646212b71166.js +0 -2
  94. package/static/Engines.15768a14646212b71166.js +0 -2
  95. package/static/Home.15768a14646212b71166.js +0 -2
  96. package/static/Install.15768a14646212b71166.js +0 -2
  97. package/static/NotFound.15768a14646212b71166.js +0 -2
  98. package/static/Repository.15768a14646212b71166.js +0 -2
  99. package/static/UpLinks.15768a14646212b71166.js +0 -2
  100. package/static/Version.15768a14646212b71166.js +0 -2
  101. package/static/Versions.15768a14646212b71166.js +0 -2
  102. package/static/main.15768a14646212b71166.js +0 -2
  103. package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js +0 -2
  104. package/static/vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js +0 -2
  105. package/static/vendors.15768a14646212b71166.js +0 -103
@@ -1,121 +1,121 @@
1
1
  {
2
- "copy-to-clipboard": "Copy to clipboard",
3
- "author-anonymous": "Anonymous",
4
- "author-unknown": "Unknown",
2
+ "copy-to-clipboard": "复制到粘贴板",
3
+ "author-anonymous": "匿名",
4
+ "author-unknown": "未知",
5
5
  "action-bar-action": {
6
- "visit-home-page": "Visit homepage",
7
- "open-an-issue": "Open an issue",
8
- "download-tarball": "Download tarball"
6
+ "visit-home-page": "访问主页",
7
+ "open-an-issue": "提交问题",
8
+ "download-tarball": "下载压缩包"
9
9
  },
10
10
  "dialog": {
11
11
  "registry-info": {
12
- "title": "Registry Info"
12
+ "title": "注册信息"
13
13
  }
14
14
  },
15
15
  "header": {
16
- "documentation": "Documentation",
17
- "registry-info": "Registry Information",
16
+ "documentation": "文档",
17
+ "registry-info": "登记信息",
18
18
  "registry-info-link": "Learn more",
19
19
  "registry-no-conf": "No configurations available",
20
- "greetings": "Hi "
20
+ "greetings": "您好 "
21
21
  },
22
22
  "search": {
23
- "packages": "Search Packages"
23
+ "packages": "搜尋套件"
24
24
  },
25
25
  "autoComplete": {
26
- "loading": "Loading...",
27
- "no-results-found": "No results found",
28
- "clear": "Clear",
29
- "expand": "Expand",
30
- "collapse": "Collapse"
26
+ "loading": "載入中...",
27
+ "no-results-found": "没有找到结果",
28
+ "clear": "清除",
29
+ "expand": "展开",
30
+ "collapse": "收回"
31
31
  },
32
32
  "tab": {
33
33
  "uplinks": "上行链路",
34
- "versions": "Versions",
35
- "dependencies": "Dependencies",
34
+ "versions": "版本",
35
+ "dependencies": "依赖",
36
36
  "readme": "Readme"
37
37
  },
38
38
  "uplinks": {
39
39
  "title": "上行链路",
40
- "no-items": "{{name}} has no uplinks."
40
+ "no-items": "{{name}} 没有 uplinks."
41
41
  },
42
42
  "versions": {
43
- "current-tags": "Current Tags",
44
- "version-history": "Version history",
45
- "not-available": "Not available"
43
+ "current-tags": "当前标签",
44
+ "version-history": "历史版本",
45
+ "not-available": "不可用"
46
46
  },
47
47
  "package": {
48
- "published-on": "Published on {{time}} •",
48
+ "published-on": "发布于 {{time}} •",
49
49
  "version": "v{{version}}",
50
- "visit-home-page": "Visit homepage",
51
- "homepage": "Homepage",
52
- "open-an-issue": "Open an issue",
50
+ "visit-home-page": "访问主页",
51
+ "homepage": "主页",
52
+ "open-an-issue": "提交问题",
53
53
  "bugs": "Bugs",
54
- "download": "Download {{what}}",
55
- "the-tar-file": "the tar file",
56
- "tarball": "Tarball"
54
+ "download": "下载 {{what}}",
55
+ "the-tar-file": "tar 文件",
56
+ "tarball": "压缩包"
57
57
  },
58
58
  "dependencies": {
59
- "has-no-dependencies": "{{package}} has no dependencies.",
59
+ "has-no-dependencies": "{{package}} 没有依赖包.",
60
60
  "dependency-block": "{{package}}@{{version}}"
61
61
  },
62
62
  "form": {
63
- "username": "Username",
64
- "password": "Password"
63
+ "username": "用户名",
64
+ "password": "密码"
65
65
  },
66
66
  "form-placeholder": {
67
- "username": "Your username",
68
- "password": "Your strong password"
67
+ "username": "您的用户名",
68
+ "password": "您的密码"
69
69
  },
70
70
  "form-validation": {
71
- "required-field": "This field is required",
72
- "required-min-length": "This field required the min length of {{length}}",
73
- "unable-to-sign-in": "Unable to sign in",
74
- "username-or-password-cant-be-empty": "Username or password can't be empty!"
71
+ "required-field": "必填项",
72
+ "required-min-length": "长度不能小于 {{length}}",
73
+ "unable-to-sign-in": "登录失败",
74
+ "username-or-password-cant-be-empty": "用户名或密码不能为空!"
75
75
  },
76
76
  "help": {
77
- "title": "No Package Published Yet.",
78
- "sub-title": "To publish your first package just:",
79
- "first-step": "1. Login",
77
+ "title": "还没有发布任何 Npm 包.",
78
+ "sub-title": "发布第一个 NPM 包:",
79
+ "first-step": "1. 登录",
80
80
  "first-step-command-line": "npm adduser --registry {{registryUrl}}",
81
- "second-step": "2. Publish",
81
+ "second-step": "2. 发布",
82
82
  "second-step-command-line": "npm publish --registry {{registryUrl}}",
83
- "third-step": "3. Refresh this page"
83
+ "third-step": "3. 刷新当前页面."
84
84
  },
85
85
  "sidebar": {
86
86
  "detail": {
87
- "latest-version": "Latest v{{version}}",
87
+ "latest-version": "最新版本 v{{version}}",
88
88
  "version": "v{{version}}"
89
89
  },
90
90
  "installation": {
91
91
  "title": "安装",
92
- "install-using-yarn": "Install using yarn",
92
+ "install-using-yarn": "使用 yarn",
93
93
  "install-using-yarn-command": "yarn add {{packageName}}",
94
- "install-using-npm": "Install using npm",
94
+ "install-using-npm": "\"使用 npm 安装",
95
95
  "install-using-npm-command": "npm install {{packageName}}",
96
- "install-using-pnpm": "Install using pnpm",
96
+ "install-using-pnpm": "使用 pnpm 安装",
97
97
  "install-using-pnpm-command": "pnpm install {{packageName}}"
98
98
  },
99
99
  "repository": {
100
- "title": "Repository"
100
+ "title": "仓库"
101
101
  },
102
102
  "author": {
103
- "title": "Author"
103
+ "title": "作者"
104
104
  },
105
105
  "distribution": {
106
- "title": "Latest Distribution",
107
- "license": "License",
108
- "size": "Size",
109
- "file-count": "file count"
106
+ "title": "发布信息",
107
+ "license": "许可",
108
+ "size": "大小",
109
+ "file-count": "文件数量"
110
110
  },
111
111
  "maintainers": {
112
- "title": "Maintainers"
112
+ "title": "维护人"
113
113
  },
114
114
  "contributors": {
115
- "title": "Contributors"
115
+ "title": "贡献者"
116
116
  },
117
117
  "engines": {
118
- "npm-version": "NPM Version",
118
+ "npm-version": "NPM 版本",
119
119
  "node-js": "NODE JS"
120
120
  }
121
121
  },
@@ -124,19 +124,19 @@
124
124
  "made-with-love-on": "Made with <0>♥</0> on"
125
125
  },
126
126
  "button": {
127
- "close": "Close",
128
- "cancel": "Cancel",
129
- "login": "Login",
130
- "logout": "Logout",
131
- "go-to-the-home-page": "Go to the home page",
132
- "learn-more": "Learn More",
133
- "fund-this-package": "<0>Fund</0> this package"
127
+ "close": "关闭",
128
+ "cancel": "取消",
129
+ "login": "登录",
130
+ "logout": "注销",
131
+ "go-to-the-home-page": "跳转到主页",
132
+ "learn-more": "了解更多",
133
+ "fund-this-package": "<0>捐助</0>这个 package"
134
134
  },
135
135
  "error": {
136
- "unspecific": "Something went wrong.",
136
+ "unspecific": "发生了一些错误",
137
137
  "404": {
138
- "page-not-found": "404 - Page not found",
139
- "sorry-we-could-not-find-it": "Sorry, we couldn't find it..."
138
+ "page-not-found": "404 - 页面不存在",
139
+ "sorry-we-could-not-find-it": "对不起, 我们没有找到..."
140
140
  },
141
141
  "app-context-not-correct-used": "The app context was not used correctly",
142
142
  "theme-context-not-correct-used": "The theme context was not used correctly",
@@ -1,38 +1,38 @@
1
1
  {
2
- "copy-to-clipboard": "Copy to clipboard",
3
- "author-anonymous": "Anonymous",
4
- "author-unknown": "Unknown",
2
+ "copy-to-clipboard": "複製到剪貼簿",
3
+ "author-anonymous": "匿名",
4
+ "author-unknown": "未知",
5
5
  "action-bar-action": {
6
- "visit-home-page": "Visit homepage",
7
- "open-an-issue": "Open an issue",
8
- "download-tarball": "Download tarball"
6
+ "visit-home-page": "瀏覽首頁",
7
+ "open-an-issue": "提交問題",
8
+ "download-tarball": "下載 tarball"
9
9
  },
10
10
  "dialog": {
11
11
  "registry-info": {
12
- "title": "Registry Info"
12
+ "title": "註冊資訊"
13
13
  }
14
14
  },
15
15
  "header": {
16
- "documentation": "Documentation",
17
- "registry-info": "Registry Information",
16
+ "documentation": "文件",
17
+ "registry-info": "註冊資訊",
18
18
  "registry-info-link": "Learn more",
19
19
  "registry-no-conf": "No configurations available",
20
- "greetings": "Hi "
20
+ "greetings": "你好 "
21
21
  },
22
22
  "search": {
23
23
  "packages": "Search Packages"
24
24
  },
25
25
  "autoComplete": {
26
- "loading": "Loading...",
27
- "no-results-found": "No results found",
26
+ "loading": "載入中...",
27
+ "no-results-found": "無結果",
28
28
  "clear": "Clear",
29
29
  "expand": "Expand",
30
30
  "collapse": "Collapse"
31
31
  },
32
32
  "tab": {
33
33
  "uplinks": "Uplinks",
34
- "versions": "Versions",
35
- "dependencies": "Dependencies",
34
+ "versions": "版本",
35
+ "dependencies": "相依",
36
36
  "readme": "Readme"
37
37
  },
38
38
  "uplinks": {
@@ -40,82 +40,82 @@
40
40
  "no-items": "{{name}} has no uplinks."
41
41
  },
42
42
  "versions": {
43
- "current-tags": "Current Tags",
44
- "version-history": "Version history",
45
- "not-available": "Not available"
43
+ "current-tags": "當前標籤",
44
+ "version-history": "歷史版本",
45
+ "not-available": "無法取得"
46
46
  },
47
47
  "package": {
48
- "published-on": "Published on {{time}} •",
48
+ "published-on": "發布於 {{time}} •",
49
49
  "version": "v{{version}}",
50
- "visit-home-page": "Visit homepage",
51
- "homepage": "Homepage",
52
- "open-an-issue": "Open an issue",
50
+ "visit-home-page": "瀏覽首頁",
51
+ "homepage": "首頁",
52
+ "open-an-issue": "提交問題",
53
53
  "bugs": "Bugs",
54
- "download": "Download {{what}}",
55
- "the-tar-file": "the tar file",
54
+ "download": "下载 {{what}}",
55
+ "the-tar-file": "tar 檔案",
56
56
  "tarball": "Tarball"
57
57
  },
58
58
  "dependencies": {
59
- "has-no-dependencies": "{{package}} has no dependencies.",
59
+ "has-no-dependencies": "{{package}} 沒有相依套件.",
60
60
  "dependency-block": "{{package}}@{{version}}"
61
61
  },
62
62
  "form": {
63
- "username": "Username",
64
- "password": "Password"
63
+ "username": "使用者名稱",
64
+ "password": "密碼"
65
65
  },
66
66
  "form-placeholder": {
67
- "username": "Your username",
68
- "password": "Your strong password"
67
+ "username": "你的使用者名稱",
68
+ "password": "你的密碼"
69
69
  },
70
70
  "form-validation": {
71
- "required-field": "This field is required",
72
- "required-min-length": "This field required the min length of {{length}}",
73
- "unable-to-sign-in": "Unable to sign in",
74
- "username-or-password-cant-be-empty": "Username or password can't be empty!"
71
+ "required-field": "必填欄位",
72
+ "required-min-length": "長度不可短於 {{length}}",
73
+ "unable-to-sign-in": "無法登入",
74
+ "username-or-password-cant-be-empty": "使用者名稱或密碼不可空白"
75
75
  },
76
76
  "help": {
77
- "title": "No Package Published Yet.",
78
- "sub-title": "To publish your first package just:",
79
- "first-step": "1. Login",
77
+ "title": "尚未發布任何 Npm 套件.",
78
+ "sub-title": "發布第一個 NPM 套件:",
79
+ "first-step": "1. 登入",
80
80
  "first-step-command-line": "npm adduser --registry {{registryUrl}}",
81
- "second-step": "2. Publish",
81
+ "second-step": "2. 發布",
82
82
  "second-step-command-line": "npm publish --registry {{registryUrl}}",
83
- "third-step": "3. Refresh this page"
83
+ "third-step": "3. 重新整理頁面。"
84
84
  },
85
85
  "sidebar": {
86
86
  "detail": {
87
- "latest-version": "Latest v{{version}}",
87
+ "latest-version": "最新版本 v{{version}}",
88
88
  "version": "v{{version}}"
89
89
  },
90
90
  "installation": {
91
- "title": "Installation",
92
- "install-using-yarn": "Install using yarn",
91
+ "title": "安装",
92
+ "install-using-yarn": "使用 yarn 安装",
93
93
  "install-using-yarn-command": "yarn add {{packageName}}",
94
- "install-using-npm": "Install using npm",
94
+ "install-using-npm": "使用 npm 安装",
95
95
  "install-using-npm-command": "npm install {{packageName}}",
96
- "install-using-pnpm": "Install using pnpm",
96
+ "install-using-pnpm": "使用 pnpm 安装",
97
97
  "install-using-pnpm-command": "pnpm install {{packageName}}"
98
98
  },
99
99
  "repository": {
100
- "title": "Repository"
100
+ "title": "儲存庫"
101
101
  },
102
102
  "author": {
103
- "title": "Author"
103
+ "title": "作者"
104
104
  },
105
105
  "distribution": {
106
- "title": "Latest Distribution",
107
- "license": "License",
108
- "size": "Size",
109
- "file-count": "file count"
106
+ "title": "發布資訊",
107
+ "license": "許可",
108
+ "size": "大小",
109
+ "file-count": "檔案數量"
110
110
  },
111
111
  "maintainers": {
112
- "title": "Maintainers"
112
+ "title": "維護人員"
113
113
  },
114
114
  "contributors": {
115
- "title": "Contributors"
115
+ "title": "貢獻人員"
116
116
  },
117
117
  "engines": {
118
- "npm-version": "NPM Version",
118
+ "npm-version": "NPM 版本",
119
119
  "node-js": "NODE JS"
120
120
  }
121
121
  },
@@ -124,19 +124,19 @@
124
124
  "made-with-love-on": "Made with <0>♥</0> on"
125
125
  },
126
126
  "button": {
127
- "close": "Close",
128
- "cancel": "Cancel",
129
- "login": "Login",
130
- "logout": "Logout",
131
- "go-to-the-home-page": "Go to the home page",
132
- "learn-more": "Learn More",
127
+ "close": "關閉",
128
+ "cancel": "取消",
129
+ "login": "登入",
130
+ "logout": "登出",
131
+ "go-to-the-home-page": "前往首頁",
132
+ "learn-more": "了解更多",
133
133
  "fund-this-package": "<0>Fund</0> this package"
134
134
  },
135
135
  "error": {
136
- "unspecific": "Something went wrong.",
136
+ "unspecific": "發生錯誤。",
137
137
  "404": {
138
- "page-not-found": "404 - Page not found",
139
- "sorry-we-could-not-find-it": "Sorry, we couldn't find it..."
138
+ "page-not-found": "404 - 頁面不存在",
139
+ "sorry-we-could-not-find-it": "不好意思, 找不到..."
140
140
  },
141
141
  "app-context-not-correct-used": "The app context was not used correctly",
142
142
  "theme-context-not-correct-used": "The theme context was not used correctly",
@@ -19,7 +19,8 @@ const DetailContainerTabs: React.FC<Props> = ({ tabPosition, onChange }) => {
19
19
  indicatorColor={'primary'}
20
20
  onChange={onChange}
21
21
  value={tabPosition}
22
- variant={'fullWidth'}>
22
+ variant={'fullWidth'}
23
+ >
23
24
  <Tab data-testid={'readme-tab'} id={'readme-tab'} label={t('tab.readme')} />
24
25
  <Tab data-testid={'dependencies-tab'} id={'dependencies-tab'} label={t('tab.dependencies')} />
25
26
  <Tab data-testid={'versions-tab'} id={'versions-tab'} label={t('tab.versions')} />
@@ -216,7 +216,7 @@ Object {
216
216
  <span
217
217
  class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary emotion-6"
218
218
  >
219
- 3 years ago
219
+ 4 years ago
220
220
  </span>
221
221
  </div>
222
222
  </li>
@@ -344,7 +344,7 @@ Object {
344
344
  <span
345
345
  class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary emotion-6"
346
346
  >
347
- 3 years ago
347
+ 4 years ago
348
348
  </span>
349
349
  </div>
350
350
  </li>
@@ -27,7 +27,8 @@ const DetailSidebarFundButton: React.FC = () => {
27
27
  color="primary"
28
28
  fullWidth={true}
29
29
  startIcon={<StyledFavoriteIcon />}
30
- variant="outlined">
30
+ variant="outlined"
31
+ >
31
32
  <Trans components={[<StyledFundStrong key="fund" />]} i18nKey="button.fund-this-package" />
32
33
  </Button>
33
34
  </StyledLink>
@@ -32,7 +32,8 @@ const Dist: FC = () => {
32
32
 
33
33
  return (
34
34
  <List
35
- subheader={<StyledText variant="subtitle1">{t('sidebar.distribution.title')}</StyledText>}>
35
+ subheader={<StyledText variant="subtitle1">{t('sidebar.distribution.title')}</StyledText>}
36
+ >
36
37
  <DistListItem button={true}>
37
38
  <DistChip name={t('sidebar.distribution.file-count')}>{dist.fileCount}</DistChip>
38
39
  <DistChip name={t('sidebar.distribution.size')}>
@@ -27,7 +27,8 @@ const Engine: React.FC = () => {
27
27
  <List
28
28
  subheader={
29
29
  <StyledText variant={'subtitle1'}>{t('sidebar.engines.node-js')}</StyledText>
30
- }>
30
+ }
31
+ >
31
32
  <EngineListItem button={true}>
32
33
  <Avatar src={node} />
33
34
  <ListItemText primary={engines.node} />
@@ -41,7 +42,8 @@ const Engine: React.FC = () => {
41
42
  <List
42
43
  subheader={
43
44
  <StyledText variant={'subtitle1'}>{t('sidebar.engines.npm-version')}</StyledText>
44
- }>
45
+ }
46
+ >
45
47
  <EngineListItem button={true}>
46
48
  <Avatar src={npm} />
47
49
  <ListItemText primary={engines.npm} />
@@ -33,7 +33,8 @@ const Install: React.FC = () => {
33
33
  return hasPkgManagers ? (
34
34
  <List
35
35
  data-testid={'installList'}
36
- subheader={<StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>}>
36
+ subheader={<StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>}
37
+ >
37
38
  {hasNpm && (
38
39
  <InstallListItem dependencyManager={DependencyManager.NPM} packageName={packageName} />
39
40
  )}
@@ -71,7 +71,8 @@ const Repository: React.FC = () => {
71
71
  return (
72
72
  <List
73
73
  dense={true}
74
- subheader={<StyledText variant="subtitle1">{t('sidebar.repository.title')}</StyledText>}>
74
+ subheader={<StyledText variant="subtitle1">{t('sidebar.repository.title')}</StyledText>}
75
+ >
75
76
  <RepositoryListItem button={true}>
76
77
  <RepositoryAvatar src={git} />
77
78
  <RepositoryListItemText
@@ -44,7 +44,8 @@ describe.skip('test Version page', () => {
44
44
  value={{
45
45
  ...detailContextValue,
46
46
  hasNotBeenFound: true,
47
- }}>
47
+ }}
48
+ >
48
49
  <Version />
49
50
  </DetailContext.Provider>
50
51
  </MemoryRouter>
@@ -33,7 +33,8 @@ const VersionContextProvider: React.FC = ({ children }) => {
33
33
  packageName,
34
34
  isLoading,
35
35
  hasNotBeenFound,
36
- }}>
36
+ }}
37
+ >
37
38
  {children}
38
39
  </DetailContext.Provider>
39
40
  );
@@ -384,7 +384,7 @@ exports[`<Help /> component should load the component in default state 1`] = `
384
384
  class="MuiCardActions-root MuiCardActions-spacing emotion-23"
385
385
  >
386
386
  <a
387
- class="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButtonBase-root emotion-24"
387
+ class="MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButtonBase-root emotion-24"
388
388
  href="https://verdaccio.org/docs/en/installation"
389
389
  tabindex="0"
390
390
  >
@@ -159,10 +159,12 @@ const Package: React.FC<PackageInterface> = ({
159
159
  onClick={() => {
160
160
  handleDownload(dist.tarball);
161
161
  }}
162
- to="#">
162
+ to="#"
163
+ >
163
164
  <Tooltip
164
165
  aria-label={t('package.download', { what: t('package.the-tar-file') })}
165
- title={t('package.tarball')}>
166
+ title={t('package.tarball')}
167
+ >
166
168
  <IconButton aria-label={t('package.download')} size="large">
167
169
  <DownloadIcon />
168
170
  </IconButton>
@@ -183,7 +185,8 @@ const Package: React.FC<PackageInterface> = ({
183
185
  container={true}
184
186
  item={true}
185
187
  justify="flex-end"
186
- xs={true}>
188
+ xs={true}
189
+ >
187
190
  {renderHomePageLink()}
188
191
  {renderBugsLink()}
189
192
  {renderDownloadLink()}
@@ -72,13 +72,17 @@ export const login = createModel<RootModel>()({
72
72
  async getUser({ username, password }, state) {
73
73
  const basePath = state.configuration.config.base;
74
74
  try {
75
- const payload: LoginResponse = await API.request(`${basePath}-/verdaccio/login`, 'POST', {
76
- body: JSON.stringify({ username, password }),
77
- headers: {
78
- Accept: HEADERS.JSON,
79
- 'Content-Type': HEADERS.JSON,
80
- },
81
- });
75
+ const payload: LoginResponse = await API.request(
76
+ `${basePath}-/verdaccio/sec/login`,
77
+ 'POST',
78
+ {
79
+ body: JSON.stringify({ username, password }),
80
+ headers: {
81
+ Accept: HEADERS.JSON,
82
+ 'Content-Type': HEADERS.JSON,
83
+ },
84
+ }
85
+ );
82
86
  dispatch.login.logInUser(payload);
83
87
  dispatch.packages.getPackages();
84
88
  } catch (error: any) {
@@ -72,12 +72,12 @@ export const manifest = createModel<RootModel>()({
72
72
  }
73
73
 
74
74
  const manifest: Package = await API.request(
75
- `${basePath}-/verdaccio/sidebar/${packageName}${
75
+ `${basePath}-/verdaccio/data/sidebar/${packageName}${
76
76
  packageVersion ? `?v=${packageVersion}` : ''
77
77
  }`
78
78
  );
79
79
  const readme: string = await API.request<string>(
80
- `${basePath}-/verdaccio/package/readme/${packageName}${
80
+ `${basePath}-/verdaccio/data/package/readme/${packageName}${
81
81
  packageVersion ? `?v=${packageVersion}` : ''
82
82
  }`,
83
83
  'GET'
@@ -21,7 +21,7 @@ export const packages = createModel<RootModel>()({
21
21
  async getPackages(_payload, state) {
22
22
  const basePath = state.configuration.config.base;
23
23
  try {
24
- const payload: Package[] = await API.request(`${basePath}-/verdaccio/packages`, 'GET');
24
+ const payload: Package[] = await API.request(`${basePath}-/verdaccio/data/packages`, 'GET');
25
25
  dispatch.packages.savePackages(payload);
26
26
  } catch (error: any) {
27
27
  // eslint-disable-next-line no-console
@@ -60,7 +60,7 @@ export const search = createModel<RootModel>()({
60
60
  // https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#Browser_compatibility
61
61
  // FUTURE: signal is not well supported for IE and Samsung Browser
62
62
  const suggestions: SearchResultWeb[] = await API.request(
63
- `${basePath}-/verdaccio/search/${encodeURIComponent(value)}`,
63
+ `${basePath}-/verdaccio/data/search/${encodeURIComponent(value)}`,
64
64
  'GET',
65
65
  {
66
66
  signal,