@verdaccio/ui-theme 3.2.1 → 4.1.0-beta.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.
Files changed (74) hide show
  1. package/README.md +12 -101
  2. package/package.json +107 -187
  3. package/static/Dependencies.c738adaa8051e16da2ff.js +2 -0
  4. package/static/Dependencies.c738adaa8051e16da2ff.js.LICENSE.txt +78 -0
  5. package/static/Dist.c738adaa8051e16da2ff.js +2 -0
  6. package/static/Dist.c738adaa8051e16da2ff.js.LICENSE.txt +60 -0
  7. package/static/Engines.c738adaa8051e16da2ff.js +2 -0
  8. package/static/Engines.c738adaa8051e16da2ff.js.LICENSE.txt +66 -0
  9. package/static/Home.c738adaa8051e16da2ff.js +2 -0
  10. package/static/Home.c738adaa8051e16da2ff.js.LICENSE.txt +222 -0
  11. package/static/Install.c738adaa8051e16da2ff.js +2 -0
  12. package/static/Install.c738adaa8051e16da2ff.js.LICENSE.txt +66 -0
  13. package/static/NotFound.c738adaa8051e16da2ff.js +2 -0
  14. package/static/NotFound.c738adaa8051e16da2ff.js.LICENSE.txt +40 -0
  15. package/static/Provider.c738adaa8051e16da2ff.js +2 -0
  16. package/static/Provider.c738adaa8051e16da2ff.js.LICENSE.txt +32 -0
  17. package/static/Repository.c738adaa8051e16da2ff.js +2 -0
  18. package/static/Repository.c738adaa8051e16da2ff.js.LICENSE.txt +50 -0
  19. package/static/UpLinks.c738adaa8051e16da2ff.js +2 -0
  20. package/static/UpLinks.c738adaa8051e16da2ff.js.LICENSE.txt +56 -0
  21. package/static/Version.c738adaa8051e16da2ff.js +2 -0
  22. package/static/Version.c738adaa8051e16da2ff.js.LICENSE.txt +360 -0
  23. package/static/Versions.c738adaa8051e16da2ff.js +2 -0
  24. package/static/Versions.c738adaa8051e16da2ff.js.LICENSE.txt +64 -0
  25. package/static/favicon.ico +0 -0
  26. package/static/index.html +21 -0
  27. package/static/main.c738adaa8051e16da2ff.js +2 -0
  28. package/static/main.c738adaa8051e16da2ff.js.LICENSE.txt +972 -0
  29. package/static/manifest.json +19 -17
  30. package/static/runtime.c738adaa8051e16da2ff.js +2 -0
  31. package/static/{runtime.9adbe059a74ff4e2d469.js.LICENSE.txt → runtime.c738adaa8051e16da2ff.js.LICENSE.txt} +2 -2
  32. package/static/vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-03c9e7.c738adaa8051e16da2ff.js +2 -0
  33. package/static/vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-03c9e7.c738adaa8051e16da2ff.js.LICENSE.txt +146 -0
  34. package/static/vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-e72974.c738adaa8051e16da2ff.js +2 -0
  35. package/static/vendors-node_modules_pnpm_mui_icons-material_5_2_5_f463eef15d59df5aa770d062739aa27b_node_modu-e72974.c738adaa8051e16da2ff.js.LICENSE.txt +216 -0
  36. package/static/vendors-node_modules_pnpm_mui_material_5_2_8_f5341c4d41f1e34c3a73251df9f98a19_node_modules_mu-6057aa.c738adaa8051e16da2ff.js +2 -0
  37. package/static/vendors-node_modules_pnpm_mui_material_5_2_8_f5341c4d41f1e34c3a73251df9f98a19_node_modules_mu-6057aa.c738adaa8051e16da2ff.js.LICENSE.txt +312 -0
  38. package/static/vendors.c738adaa8051e16da2ff.js +103 -0
  39. package/static/vendors.c738adaa8051e16da2ff.js.LICENSE.txt +3118 -0
  40. package/CHANGELOG.md +0 -635
  41. package/LICENSE +0 -21
  42. package/static/238.9adbe059a74ff4e2d469.js +0 -2
  43. package/static/238.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  44. package/static/718.9adbe059a74ff4e2d469.js +0 -2
  45. package/static/718.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  46. package/static/73.9adbe059a74ff4e2d469.js +0 -2
  47. package/static/73.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  48. package/static/Dependencies.9adbe059a74ff4e2d469.js +0 -2
  49. package/static/Dependencies.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  50. package/static/Dist.9adbe059a74ff4e2d469.js +0 -2
  51. package/static/Dist.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  52. package/static/Engines.9adbe059a74ff4e2d469.js +0 -2
  53. package/static/Engines.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  54. package/static/Home.9adbe059a74ff4e2d469.js +0 -2
  55. package/static/Home.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  56. package/static/Install.9adbe059a74ff4e2d469.js +0 -2
  57. package/static/Install.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  58. package/static/NotFound.9adbe059a74ff4e2d469.js +0 -2
  59. package/static/NotFound.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  60. package/static/Provider.9adbe059a74ff4e2d469.js +0 -2
  61. package/static/Provider.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  62. package/static/Repository.9adbe059a74ff4e2d469.js +0 -2
  63. package/static/Repository.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  64. package/static/UpLinks.9adbe059a74ff4e2d469.js +0 -2
  65. package/static/UpLinks.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  66. package/static/Version.9adbe059a74ff4e2d469.js +0 -2
  67. package/static/Version.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  68. package/static/Versions.9adbe059a74ff4e2d469.js +0 -2
  69. package/static/Versions.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  70. package/static/main.9adbe059a74ff4e2d469.js +0 -2
  71. package/static/main.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -10
  72. package/static/runtime.9adbe059a74ff4e2d469.js +0 -2
  73. package/static/vendors.9adbe059a74ff4e2d469.js +0 -2
  74. package/static/vendors.9adbe059a74ff4e2d469.js.LICENSE.txt +0 -98
package/README.md CHANGED
@@ -1,74 +1,7 @@
1
- ⚠️⚠️ **THIS REPOSITORY IS ON STALE, ALL NEW FEATURES SHOULD BE REDIRECTED TO [https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/ui-theme](https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/ui-theme)** OR IF YOU WANT THE FEATURE AVAILABLE FOR 5.X SHOULD OPEN A PR IN BOTH REPOSITORIES. ⚠️⚠️
2
-
1
+ ⚠️⚠️ **THIS REPOSITORY IS DEPRECATED, ONLY BUGFIXES, ALL NEW FEATURES SHOULD BE DEVELOPED INTO [https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/ui-theme](https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/ui-theme)** ⚠️⚠️
3
2
 
4
3
  ![verdaccio gif](https://user-images.githubusercontent.com/558752/52916111-fa4ba980-32db-11e9-8a64-f4e06eb920b3.png)
5
4
 
6
- # Version 5 UI Theme
7
-
8
- [Verdaccio](https://verdaccio.org/) UI is a [theme plugin](https://verdaccio.org/docs/en/dev-plugins#theme-plugin) build in React, Typescript and Emotion. It uses Jest and Testing Library for Unit testing.
9
-
10
-
11
- [![verdaccio (latest)](https://img.shields.io/npm/v/@verdaccio/ui-theme/latest.svg)](https://www.npmjs.com/package/@verdaccio/ui-theme)
12
- [![docker pulls](https://img.shields.io/docker/pulls/verdaccio/verdaccio.svg?maxAge=43200)](https://verdaccio.org/docs/en/docker.html)
13
- [![backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio)
14
- [![stackshare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/verdaccio)
15
- [![discord](https://img.shields.io/discord/388674437219745793.svg)](http://chat.verdaccio.org/)
16
- [![node](https://img.shields.io/node/v/@verdaccio/ui-theme/latest.svg)](https://www.npmjs.com/package/@verdaccio/ui-theme)
17
- [![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](./LICENSE)
18
- [![Crowdin](https://d322cqt584bo4o.cloudfront.net/verdaccio/localized.svg)](https://crowdin.com/project/verdaccio)
19
- [![codecov](https://codecov.io/gh/verdaccio/ui/branch/master/graph/badge.svg)](https://codecov.io/gh/verdaccio/ui)
20
-
21
-
22
- [![Twitter followers](https://img.shields.io/twitter/follow/verdaccio_npm.svg?style=social&label=Follow)](https://twitter.com/verdaccio_npm)
23
- [![Github](https://img.shields.io/github/stars/verdaccio/verdaccio.svg?style=social&label=Stars)](https://github.com/verdaccio/verdaccio/stargazers)
24
-
25
- ## Contributing
26
-
27
- > If you are willing to ship an improvement for Verdaccio 5.x, here is the repo where you must contribute, but remember, if you are willing your feature persist in next major releases, you also need to PR [here](https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/ui-theme) since this repo is intended to be archived after Verdaccio 5 is being deprecated in the future.
28
-
29
- We use `>=yarn`, keep in mind that we use lockfiles and use at least Node `v14` to be able to build the project.
30
-
31
- Install dependencies
32
-
33
- ```
34
- yarn
35
- ```
36
-
37
- For development run the following command, it will execute `webpack` and `verdaccio` to
38
-
39
- ```bash
40
- yarn dev
41
- ```
42
- The configuration file is located on `tools/_config.yaml`.
43
-
44
- Run linting tooling and test to check your code is clean before commit.
45
-
46
- > ⚠️ The development mode just emulate interaction of the UI development with a real verdaccio server, but it is not the real integration. UI is just a theme plugin dependency in the [Verdaccio project](https://github.com/verdaccio/verdaccio).
47
-
48
- ### Before commit
49
-
50
- Don't forget run the following commands before commit and push your code, it will save you time.
51
-
52
- ```bash
53
- yarn lint && yarn test
54
- ```
55
-
56
- #### Commits
57
-
58
- Remember we follow the [the Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0-beta.4/).
59
-
60
- 🤓 Feel free to participate in code reviews, let us know if you want to participate in this plugin.
61
-
62
- ### End to End Testing
63
-
64
- Additionally, we recommend run E2E testing before push and verify your changes do not break anything. These command will run in our CI anyway.
65
-
66
- ```bash
67
- yarn build && yarn test:e2e
68
- ```
69
-
70
- > `yarn build` will build with webpack the production files.
71
-
72
5
  ## Special Thanks
73
6
 
74
7
  Thanks to the following companies to help us to achieve our goals providing free open source licenses.
@@ -108,47 +41,24 @@ This project exists thanks to all the people who contribute.
108
41
 
109
42
  If you have any issue you can try the following options, do no desist to ask or check our issues database, perhaps someone has asked already what you are looking for.
110
43
 
111
- * [Blog](https://medium.com/verdaccio)
112
- * [Donations](https://opencollective.com/verdaccio)
113
- * [Roadmaps](https://github.com/verdaccio/ui/projects)
114
- * [Reporting an issue](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug)
115
- * [Running discussions](https://github.com/verdaccio/verdaccio/issues?q=is%3Aissue+is%3Aopen+label%3Adiscuss)
116
- * [Chat](http://chat.verdaccio.org/)
117
- * [Logos](https://verdaccio.org/docs/en/logo)
118
- * [FAQ](https://github.com/verdaccio/verdaccio/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Aquestion%20)
119
- * [Docker Examples](https://github.com/verdaccio/docker-examples)
44
+ - [Blog](https://medium.com/verdaccio)
45
+ - [Donations](https://opencollective.com/verdaccio)
46
+ - [Roadmaps](https://github.com/verdaccio/ui/projects)
47
+ - [Reporting an issue](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug)
48
+ - [Running discussions](https://github.com/verdaccio/verdaccio/issues?q=is%3Aissue+is%3Aopen+label%3Adiscuss)
49
+ - [Chat](http://chat.verdaccio.org/)
50
+ - [Logos](https://verdaccio.org/docs/en/logo)
51
+ - [FAQ](https://github.com/verdaccio/verdaccio/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Aquestion%20)
52
+ - [Docker Examples](https://github.com/verdaccio/docker-examples)
120
53
 
121
54
  ### Translations
122
55
 
123
- Translations are handled locally. I18n files can be found in the folder ```i18n/translations/*``` of this repository. We would love to provide translations from other languages, embracing all our users, but unfortunately we cannot do this without your help. Would you like to help us? Please feel **super welcome** to add a locale by opening a pull request.
124
-
125
- Your PR should contain:
126
-
127
- 1 - A json file in the folder ```i18n/translations/*``` with the translations. The file must be named according to the new added language
128
-
129
- 2 - The files ```i18n/config.ts``` and ```LanguageSwitch.tsx``` updated with the new language. Please see the current structure
130
-
131
- 3 - The other translations containing the new language in the language of the file. Example:
132
-
133
- New language: ```cs_CZ ```
134
-
135
- The file ```pt-BR ``` should contain:
136
- ```
137
- "lng": {
138
- ...,
139
- "czech": "Tcheco"
140
- }
141
- ```
142
-
143
- 4 - A SVG flag of the new translated language in the the folder ```src/components/Icon/img/*```. You maybe want to compress the svg file using https://jakearchibald.github.io/svgomg/
144
-
145
-
56
+ Translations are now part of [main repository](https://github.com/verdaccio/verdaccio), check contribution guidelines.
146
57
 
147
58
  ### License
148
59
 
149
60
  Verdaccio is [MIT licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)
150
61
 
151
-
152
62
  ### Contributors
153
63
 
154
64
  <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
@@ -168,4 +78,5 @@ Verdaccio is [MIT licensed](https://github.com/verdaccio/verdaccio/blob/master/L
168
78
 
169
79
  <!-- markdownlint-enable -->
170
80
  <!-- prettier-ignore-end -->
81
+
171
82
  <!-- ALL-CONTRIBUTORS-LIST:END -->
package/package.json CHANGED
@@ -1,174 +1,108 @@
1
1
  {
2
2
  "name": "@verdaccio/ui-theme",
3
- "version": "3.2.1",
3
+ "version": "4.1.0-beta.0",
4
4
  "description": "Verdaccio User Interface",
5
5
  "author": {
6
- "name": "Verdaccio Core Team",
6
+ "name": "Verdaccio Contributors",
7
7
  "email": "verdaccio.npm@gmail.com"
8
8
  },
9
9
  "repository": {
10
- "type": "git",
11
- "url": "git://github.com/verdaccio/ui"
10
+ "type": "https",
11
+ "url": "https://github.com/verdaccio/verdaccio"
12
12
  },
13
13
  "homepage": "https://verdaccio.org",
14
14
  "main": "index.js",
15
+ "engines": {
16
+ "node": ">=14",
17
+ "npm": ">=6"
18
+ },
15
19
  "devDependencies": {
16
- "@babel/cli": "7.13.16",
17
- "@babel/core": "7.13.16",
18
- "@babel/node": "7.13.13",
19
- "@babel/plugin-proposal-class-properties": "7.13.0",
20
- "@babel/plugin-proposal-decorators": "7.13.15",
21
- "@babel/plugin-proposal-export-namespace-from": "7.12.13",
22
- "@babel/plugin-proposal-function-sent": "7.12.13",
23
- "@babel/plugin-proposal-json-strings": "7.13.8",
24
- "@babel/plugin-proposal-nullish-coalescing-operator": "7.13.8",
25
- "@babel/plugin-proposal-numeric-separator": "7.12.13",
26
- "@babel/plugin-proposal-object-rest-spread": "7.13.8",
27
- "@babel/plugin-proposal-optional-chaining": "7.13.12",
28
- "@babel/plugin-proposal-throw-expressions": "7.12.13",
29
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
30
- "@babel/plugin-syntax-import-meta": "7.10.4",
31
- "@babel/plugin-transform-async-to-generator": "7.12.1",
32
- "@babel/plugin-transform-classes": "7.13.0",
33
- "@babel/plugin-transform-runtime": "7.13.15",
34
- "@babel/polyfill": "^7.12.1",
35
- "@babel/preset-env": "7.13.15",
36
- "@babel/preset-react": "7.13.13",
37
- "@babel/preset-typescript": "7.13.0",
38
- "@babel/register": "7.13.16",
39
- "@babel/runtime": "7.13.17",
40
- "@commitlint/cli": "9.1.2",
41
- "@commitlint/config-conventional": "9.1.2",
42
- "@emotion/core": "10.1.1",
43
- "@emotion/jest": "^11.1.0",
44
- "@emotion/styled": "10.0.27",
45
- "@emotion/styled-base": "^10.0.31",
46
- "@material-ui/core": "4.11.4",
47
- "@material-ui/icons": "4.11.2",
48
- "@material-ui/styles": "^4.11.4",
49
- "@octokit/rest": "16.43.2",
50
- "@percy/puppeteer": "^1.1.0",
51
- "@testing-library/dom": "^7.29.0",
52
- "@testing-library/jest-dom": "^5.11.6",
53
- "@testing-library/react": "10.4.9",
54
- "@types/autosuggest-highlight": "3.1.0",
55
- "@types/jest": "26.0.19",
56
- "@types/js-base64": "3.0.0",
57
- "@types/lodash": "4.14.165",
58
- "@types/node": "14.14.13",
59
- "@types/react": "16.14.2",
60
- "@types/react-autosuggest": "10.0.1",
61
- "@types/react-dom": "^16.9.10",
62
- "@types/react-router-dom": "5.1.6",
63
- "@types/react-virtualized": "9.21.10",
64
- "@types/request": "2.48.5",
65
- "@types/testing-library__jest-dom": "^5.9.5",
66
- "@types/validator": "13.1.1",
67
- "@types/webpack": "^4.41.25",
68
- "@types/webpack-env": "1.16.0",
69
- "@typescript-eslint/eslint-plugin": "2.34.0",
70
- "@typescript-eslint/parser": "2.34.0",
71
- "@verdaccio/commons-api": "9.7.1",
72
- "@verdaccio/eslint-config": "9.3.2",
73
- "@verdaccio/types": "9.7.2",
74
- "all-contributors-cli": "6.19.0",
75
- "autosuggest-highlight": "3.1.1",
76
- "babel-eslint": "10.1.0",
77
- "babel-jest": "26.6.3",
78
- "babel-loader": "^8.2.2",
79
- "babel-plugin-dynamic-import-node": "^2.3.3",
80
- "babel-plugin-emotion": "10.0.33",
81
- "bundlesize": "0.18.0",
82
- "codeceptjs": "2.6.11",
83
- "codecov": "3.8.1",
84
- "concurrently": "5.3.0",
85
- "css-loader": "5.2.0",
86
- "dayjs": "1.10.4",
87
- "detect-secrets": "1.0.6",
88
- "emotion": "10.0.27",
89
- "emotion-theming": "10.0.27",
90
- "eslint": "7.15.0",
91
- "eslint-config-prettier": "7.2.0",
92
- "eslint-loader": "^4.0.2",
93
- "eslint-plugin-codeceptjs": "1.3.0",
94
- "eslint-plugin-import": "2.22.1",
95
- "eslint-plugin-jsx-a11y": "6.4.1",
96
- "eslint-plugin-react": "7.21.5",
97
- "eslint-plugin-react-hooks": "4.2.0",
98
- "eslint-plugin-verdaccio": "9.6.1",
99
- "file-loader": "5.1.0",
20
+ "@types/react": "17.0.38",
21
+ "@types/react-autosuggest": "10.1.5",
22
+ "@types/react-dom": "17.0.11",
23
+ "@types/react-helmet": "6.1.5",
24
+ "@types/redux": "3.6.0",
25
+ "@types/react-router-dom": "5.3.2",
26
+ "@types/react-virtualized": "9.21.16",
27
+ "@emotion/react": "11.7.1",
28
+ "@emotion/jest": "11.7.1",
29
+ "@emotion/styled": "11.6.0",
30
+ "@emotion/css": "11.7.1",
31
+ "@emotion/babel-plugin": "11.7.2",
32
+ "@mui/icons-material": "5.2.5",
33
+ "@mui/material": "5.2.8",
34
+ "@mui/styles": "5.2.3",
35
+ "@rematch/core": "2.2.0",
36
+ "@rematch/loading": "2.1.2",
37
+ "@testing-library/dom": "8.11.1",
38
+ "@testing-library/jest-dom": "5.16.1",
39
+ "@testing-library/react": "12.1.2",
40
+ "@verdaccio/types": "6-next",
41
+ "babel-loader": "8.2.3",
42
+ "babel-plugin-dynamic-import-node": "2.3.3",
43
+ "bundlesize": "0.18.1",
44
+ "css-loader": "6.5.1",
45
+ "dayjs": "1.10.7",
100
46
  "friendly-errors-webpack-plugin": "1.7.0",
101
- "get-stdin": "7.0.0",
102
- "github-markdown-css": "3.0.1",
103
- "harmony-reflect": "^1.6.1",
104
- "history": "^4.10.1",
105
- "html-webpack-plugin": "^5.0.0-alpha.15",
106
- "husky": "4.3.5",
107
- "i18next": "^19.8.4",
47
+ "github-markdown-css": "4.0.0",
48
+ "harmony-reflect": "1.6.2",
49
+ "history": "4.10.1",
50
+ "html-webpack-plugin": "5.5.0",
51
+ "i18next": "20.6.1",
108
52
  "in-publish": "2.0.1",
109
- "jest": "26.6.3",
110
- "jest-environment-jsdom": "26.6.2",
111
- "jest-environment-jsdom-global": "^2.0.4",
112
- "jest-environment-node": "26.6.2",
113
- "jest-fetch-mock": "3.0.3",
114
- "js-base64": "2.5.1",
115
- "js-yaml": "3.14.0",
116
- "lint-staged": "9.5.0",
53
+ "country-flag-icons": "1.4.19",
54
+ "js-base64": "3.7.2",
55
+ "js-yaml": "3.14.1",
117
56
  "localstorage-memory": "1.0.3",
118
- "lockfile-lint": "4.6.2",
119
- "lodash": "^4.17.21",
120
- "mini-css-extract-plugin": "^1.3.3",
57
+ "lodash": "4.17.21",
58
+ "mini-css-extract-plugin": "2.4.6",
121
59
  "mutationobserver-shim": "0.3.7",
122
- "node-mocks-http": "1.9.0",
60
+ "node-mocks-http": "1.11.0",
123
61
  "normalize.css": "8.0.1",
124
- "optimize-css-assets-webpack-plugin": "^5.0.4",
125
- "ora": "4.0.4",
126
- "prettier": "1.19.1",
127
- "prop-types": "15.7.2",
128
- "puppeteer": "5.3.1",
129
- "react": "16.13.1",
130
- "react-autosuggest": "10.0.2",
131
- "react-dom": "16.14.0",
132
- "react-hook-form": "3.29.4",
133
- "react-hot-loader": "4.12.21",
134
- "react-i18next": "^11.8.13",
135
- "react-router": "^5.2.0",
136
- "react-router-dom": "5.2.0",
62
+ "optimize-css-assets-webpack-plugin": "6.0.1",
63
+ "ora": "5.4.1",
64
+ "react": "17.0.2",
65
+ "react-dom": "17.0.2",
66
+ "react-hook-form": "7.23.0",
67
+ "react-hot-loader": "4.13.0",
68
+ "react-i18next": "11.15.3",
69
+ "react-router": "5.2.1",
70
+ "react-router-dom": "5.3.0",
137
71
  "react-virtualized": "9.22.3",
138
- "request": "2.88.2",
139
- "resolve-url-loader": "3.1.1",
72
+ "react-redux": "7.2.6",
73
+ "redux": "4.1.2",
140
74
  "rimraf": "3.0.2",
141
- "source-map-loader": "1.1.0",
142
- "standard-version": "9.2.0",
143
- "style-loader": "1.2.1",
144
- "stylelint": "13.7.2",
145
- "stylelint-config-recommended": "3.0.0",
75
+ "msw": "0.36.4",
76
+ "style-loader": "3.3.1",
77
+ "stylelint": "13.13.1",
78
+ "stylelint-config-recommended": "5.0.0",
146
79
  "stylelint-config-styled-components": "0.1.1",
147
80
  "stylelint-processor-styled-components": "1.10.0",
148
- "stylelint-webpack-plugin": "^2.1.1",
149
- "supertest": "4.0.2",
150
- "terser-webpack-plugin": "^5.0.3",
151
- "typescript": "3.9.6",
152
- "url-loader": "^4.1.1",
153
- "validator": "13.1.1",
154
- "verdaccio": "4.11.3",
155
- "verdaccio-auth-memory": "9.7.2",
156
- "verdaccio-memory": "9.7.2",
157
- "wait-on": "5.2.0",
158
- "webpack": "5.36.0",
159
- "webpack-bundle-analyzer": "3.8.0",
81
+ "stylelint-webpack-plugin": "3.1.0",
82
+ "supertest": "6.2.1",
83
+ "terser-webpack-plugin": "5.3.0",
84
+ "url-loader": "4.1.1",
85
+ "validator": "13.7.0",
86
+ "webpack": "5.66.0",
87
+ "webpack-bundle-analyzer": "4.5.0",
160
88
  "webpack-bundle-size-analyzer": "3.1.0",
161
- "webpack-cli": "~4.5.0",
162
- "webpack-dev-server": "^3.11.0",
163
- "webpack-manifest-plugin": "^3.0.0",
164
- "webpack-merge": "^5.6.1",
165
- "whatwg-fetch": "^3.6.2",
166
- "xss": "1.0.8"
89
+ "webpack-cli": "^4.7.2",
90
+ "webpack-dev-server": "3.11.3",
91
+ "webpack-manifest-plugin": "4.1.1",
92
+ "webpack-merge": "5.8.0",
93
+ "whatwg-fetch": "3.6.2",
94
+ "xss": "1.0.10"
167
95
  },
168
96
  "keywords": [
169
- "verdaccio",
170
- "verdaccio-plugin",
171
- "verdaccio-theme"
97
+ "private",
98
+ "package",
99
+ "repository",
100
+ "registry",
101
+ "enterprise",
102
+ "modules",
103
+ "proxy",
104
+ "server",
105
+ "verdaccio"
172
106
  ],
173
107
  "bundlesize": [
174
108
  {
@@ -178,53 +112,39 @@
178
112
  {
179
113
  "path": "./static/main.*.js",
180
114
  "maxSize": "400 kB"
115
+ },
116
+ {
117
+ "path": "./static/*.svg",
118
+ "maxSize": "1.3 kB"
119
+ },
120
+ {
121
+ "path": "./static/*.png",
122
+ "maxSize": "15 kB"
123
+ },
124
+ {
125
+ "path": "./static/fonts/*.{woff,woff2}",
126
+ "maxSize": "20 kB"
181
127
  }
182
128
  ],
129
+ "license": "MIT",
130
+ "collective": {
131
+ "type": "opencollective",
132
+ "url": "https://opencollective.com/verdaccio",
133
+ "logo": "https://opencollective.com/verdaccio/logo.txt"
134
+ },
183
135
  "scripts": {
184
- "type-check": "tsc --noEmit --pretty",
185
- "type-check:watch": "yarn run type-check -- --watch",
186
- "release": "standard-version -a",
136
+ "type-check": "tsc --noEmit -p tsconfig.build.json",
137
+ "start": "babel-node tools/dev.server.js",
187
138
  "test:clean": "jest --clearCache",
188
- "test:acceptance": "codeceptjs run --steps",
189
- "test:acceptance:server": "concurrently --kill-others \"yarn run verdaccio:server\" \"yarn run test:acceptance\"",
190
- "test:e2e": " jest --config ./test/jest.config.e2e.js --runInBand",
191
- "test": "BABEL_ENV=test NODE_ENV=test TZ=UTC jest --config ./jest/jest.config.js --maxWorkers 2 --passWithNoTests",
139
+ "test": "cross-env BABEL_ENV=test cross-env NODE_ENV=test cross-env TZ=UTC jest --config ./jest/jest.config.js --runInBand",
192
140
  "test:update-snapshot": "yarn run test -- -u",
193
141
  "test:size": "bundlesize",
194
- "lint": "yarn run lint:js && yarn run lint:css",
195
- "lint:js": "yarn run type-check && eslint . --ext .js,.ts,.tsx",
142
+ "lint": "pnpm lint:js && pnpm lint:css",
196
143
  "lint:css": "yarn stylelint \"src/**/styles.ts\"",
197
- "coverage:publish": "codecov",
198
- "dev:web": "babel-node tools/dev.server.js",
199
144
  "verdaccio:server": "node tools/verdaccio.js",
200
145
  "build": "webpack --config tools/webpack.prod.config.babel.js",
201
146
  "build:stats": "webpack --config tools/webpack.prod.config.babel.js --json > stats.json",
202
- "build:size": "webpack --config tools/webpack.prod.config.babel.js --json | webpack-bundle-size-analyzer",
203
- "dev": "concurrently --kill-others \"yarn run dev:web\" \"yarn run verdaccio:server\""
204
- },
205
- "husky": {
206
- "hooks": {
207
- "pre-commit": "lint-staged --relative",
208
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
209
- }
210
- },
211
- "lint-staged": {
212
- "*.{js,tsx,ts}": [
213
- "eslint . --ext .js,.ts,.tsx"
214
- ],
215
- "*": [
216
- "git add"
217
- ]
147
+ "build:size": "webpack --config tools/webpack.prod.config.babel.js --json | webpack-bundle-size-analyzer"
218
148
  },
219
- "license": "MIT",
220
- "commitlint": {
221
- "extends": [
222
- "@commitlint/config-conventional"
223
- ]
224
- },
225
- "collective": {
226
- "type": "opencollective",
227
- "url": "https://opencollective.com/verdaccio",
228
- "logo": "https://opencollective.com/verdaccio/logo.txt"
229
- }
230
- }
149
+ "readme": "⚠️⚠️ **THIS REPOSITORY IS DEPRECATED, ONLY BUGFIXES, ALL NEW FEATURES SHOULD BE DEVELOPED INTO [https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/ui-theme](https://github.com/verdaccio/verdaccio/tree/master/packages/plugins/ui-theme)** ⚠️⚠️\n\n![verdaccio gif](https://user-images.githubusercontent.com/558752/52916111-fa4ba980-32db-11e9-8a64-f4e06eb920b3.png)\n\n## Special Thanks\n\nThanks to the following companies to help us to achieve our goals providing free open source licenses.\n\n[![jetbrain](https://github.com/verdaccio/verdaccio/raw/master/assets/thanks/jetbrains/logo.png)](https://www.jetbrains.com/)\n[![crowdin](https://github.com/verdaccio/verdaccio/raw/master/assets/thanks/crowdin/logo.png)](https://crowdin.com/)\n[![browserstack](https://cdn.verdaccio.dev/readme/browserstack_logo.png)](https://www.browserstack.com/)\n\n## Open Collective Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/verdaccio#sponsor)]\n\n[![sponsor](https://opencollective.com/verdaccio/sponsor/0/avatar.svg)](https://opencollective.com/verdaccio/sponsor/0/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/1/avatar.svg)](https://opencollective.com/verdaccio/sponsor/1/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/2/avatar.svg)](https://opencollective.com/verdaccio/sponsor/2/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/3/avatar.svg)](https://opencollective.com/verdaccio/sponsor/3/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/4/avatar.svg)](https://opencollective.com/verdaccio/sponsor/4/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/5/avatar.svg)](https://opencollective.com/verdaccio/sponsor/5/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/6/avatar.svg)](https://opencollective.com/verdaccio/sponsor/6/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/7/avatar.svg)](https://opencollective.com/verdaccio/sponsor/7/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/8/avatar.svg)](https://opencollective.com/verdaccio/sponsor/8/website)\n[![sponsor](https://opencollective.com/verdaccio/sponsor/9/avatar.svg)](https://opencollective.com/verdaccio/sponsor/9/website)\n\n## Open Collective Backers\n\nThank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/verdaccio#backer)]\n\n[![backers](https://opencollective.com/verdaccio/backers.svg?width=890)](https://opencollective.com/verdaccio#backers)\n\n## Contributors\n\nThis project exists thanks to all the people who contribute.\n\n[![contrubitors](https://opencollective.com/verdaccio/contributors.svg?width=890&button=true)](../../graphs/contributors)\n\n### FAQ / Contact / Troubleshoot\n\nIf you have any issue you can try the following options, do no desist to ask or check our issues database, perhaps someone has asked already what you are looking for.\n\n- [Blog](https://medium.com/verdaccio)\n- [Donations](https://opencollective.com/verdaccio)\n- [Roadmaps](https://github.com/verdaccio/ui/projects)\n- [Reporting an issue](https://github.com/verdaccio/verdaccio/blob/master/CONTRIBUTING.md#reporting-a-bug)\n- [Running discussions](https://github.com/verdaccio/verdaccio/issues?q=is%3Aissue+is%3Aopen+label%3Adiscuss)\n- [Chat](http://chat.verdaccio.org/)\n- [Logos](https://verdaccio.org/docs/en/logo)\n- [FAQ](https://github.com/verdaccio/verdaccio/issues?utf8=%E2%9C%93&q=is%3Aissue%20label%3Aquestion%20)\n- [Docker Examples](https://github.com/verdaccio/docker-examples)\n\n### Translations\n\nTranslations are now part of [main repository](https://github.com/verdaccio/verdaccio), check contribution guidelines.\n\n### License\n\nVerdaccio is [MIT licensed](https://github.com/verdaccio/verdaccio/blob/master/LICENSE)\n\n### Contributors\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n <tr>\n <td align=\"center\"><a href=\"https://www.linkedin.com/in/jotadeveloper/\"><img src=\"https://avatars0.githubusercontent.com/u/558752?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Juan Picado</b></sub></a><br /><a href=\"https://github.com/verdaccio/ui/commits?author=juanpicado\" title=\"Documentation\">📖</a> <a href=\"https://github.com/verdaccio/ui/commits?author=juanpicado\" title=\"Code\">💻</a> <a href=\"#infra-juanpicado\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#eventOrganizing-juanpicado\" title=\"Event Organizing\">📋</a> <a href=\"#blog-juanpicado\" title=\"Blogposts\">📝</a> <a href=\"#maintenance-juanpicado\" title=\"Maintenance\">🚧</a></td>\n <td align=\"center\"><a href=\"https://github.com/sergiohgz\"><img src=\"https://avatars3.githubusercontent.com/u/14012309?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Sergio Herrera</b></sub></a><br /><a href=\"#infra-sergiohgz\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-sergiohgz\" title=\"Maintenance\">🚧</a></td>\n <td align=\"center\"><a href=\"https://daniel-ruf.de/\"><img src=\"https://avatars1.githubusercontent.com/u/827205?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Daniel Ruf</b></sub></a><br /><a href=\"#security-DanielRuf\" title=\"Security\">🛡️</a> <a href=\"#infra-DanielRuf\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-DanielRuf\" title=\"Maintenance\">🚧</a></td>\n <td align=\"center\"><a href=\"https://priscilawebdev.github.io/priscilaoliveira/\"><img src=\"https://avatars1.githubusercontent.com/u/29228205?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Priscila Oliveira</b></sub></a><br /><a href=\"#design-priscilawebdev\" title=\"Design\">🎨</a> <a href=\"https://github.com/verdaccio/ui/commits?author=priscilawebdev\" title=\"Code\">💻</a> <a href=\"#maintenance-priscilawebdev\" title=\"Maintenance\">🚧</a></td>\n <td align=\"center\"><a href=\"https://github.com/VentyCZ\"><img src=\"https://avatars1.githubusercontent.com/u/3247664?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jiří Michel</b></sub></a><br /><a href=\"https://github.com/verdaccio/ui/commits?author=VentyCZ\" title=\"Code\">💻</a> <a href=\"#maintenance-VentyCZ\" title=\"Maintenance\">🚧</a></td>\n <td align=\"center\"><a href=\"https://github.com/tso1158687\"><img src=\"https://avatars2.githubusercontent.com/u/9198263?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>jason</b></sub></a><br /><a href=\"#translation-tso1158687\" title=\"Translation\">🌍</a> <a href=\"https://github.com/verdaccio/ui/commits?author=tso1158687\" title=\"Code\">💻</a></td>\n <td align=\"center\"><a href=\"http://ayusharma.github.io\"><img src=\"https://avatars0.githubusercontent.com/u/6918450?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Ayush Sharma</b></sub></a><br /><a href=\"#maintenance-ayusharma\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/verdaccio/ui/commits?author=ayusharma\" title=\"Code\">💻</a></td>\n </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n"
150
+ }
@@ -0,0 +1,2 @@
1
+ /*! For license information please see Dependencies.c738adaa8051e16da2ff.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_verdaccio_ui_theme=self.webpackChunk_verdaccio_ui_theme||[]).push([["Dependencies"],{"./src/components/Card.tsx":(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var n,o=a("../../../node_modules/.pnpm/@babel+runtime@7.16.7/node_modules/@babel/runtime/helpers/esm/extends.js"),r=a("../../../node_modules/.pnpm/@mui+material@5.2.8_f5341c4d41f1e34c3a73251df9f98a19/node_modules/@mui/material/Card/Card.js"),s=a("../../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js");e=a.hmd(e),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&n(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var d=(0,s.forwardRef)((function(e,t){return s.createElement(r.default,(0,o.default)({},e,{ref:t}))})),i=d;const l=i;var u,c;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(d,"Card","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/Card.tsx"),u.register(i,"default","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/Card.tsx")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},"./src/components/CardContent.tsx":(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var n,o=a("../../../node_modules/.pnpm/@babel+runtime@7.16.7/node_modules/@babel/runtime/helpers/esm/extends.js"),r=a("../../../node_modules/.pnpm/@mui+material@5.2.8_f5341c4d41f1e34c3a73251df9f98a19/node_modules/@mui/material/CardContent/CardContent.js"),s=a("../../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js");e=a.hmd(e),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&n(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var d=(0,s.forwardRef)((function(e,t){return s.createElement(r.default,(0,o.default)({},e,{innerRef:t}))})),i=d;const l=i;var u,c;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(d,"CardContent","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/CardContent.tsx"),u.register(i,"default","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/CardContent.tsx")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},"./src/components/Chip.tsx":(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var n,o=a("../../../node_modules/.pnpm/@babel+runtime@7.16.7/node_modules/@babel/runtime/helpers/esm/extends.js"),r=a("../../../node_modules/.pnpm/@mui+material@5.2.8_f5341c4d41f1e34c3a73251df9f98a19/node_modules/@mui/material/Chip/Chip.js"),s=a("../../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js");e=a.hmd(e),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&n(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var d=(0,s.forwardRef)((function(e,t){return s.createElement(r.default,(0,o.default)({},e,{innerRef:t}))})),i=d;const l=i;var u,c;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(d,"Chip","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/Chip.tsx"),u.register(i,"default","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/Chip.tsx")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},"./src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx":(e,t,a)=>{a.r(t),a.d(t,{default:()=>v});var n,o=a("../../../node_modules/.pnpm/@babel+runtime@7.16.7/node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),r=a("../../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js"),s=a("../../../node_modules/.pnpm/react-i18next@11.15.3_ad209b3ec0793904285d43906e66750b/node_modules/react-i18next/dist/es/useTranslation.js"),d=a("../../../node_modules/.pnpm/react-router@5.2.1_react@17.0.2/node_modules/react-router/esm/react-router.js"),i=a("./src/components/CardContent.tsx"),l=a("./src/pages/Version/context.ts"),u=a("./src/pages/Version/DetailContainer/NoItems/index.ts"),c=a("./src/pages/Version/DetailContainer/Dependencies/styles.ts");e=a.hmd(e),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&n(e);var p="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},m=function(e){var t=e.title,a=e.dependencies,n=(0,r.useContext)(l.DetailContext).enableLoading,u=(0,d.useHistory)(),p=(0,s.useTranslation)().t,m=Object.entries(a);return r.createElement(c.CardWrap,null,r.createElement(i.default,null,r.createElement(c.StyledText,{variant:"subtitle1"},"".concat(t," (").concat(m.length,")")),r.createElement(c.Tags,null,m.map((function(e){var t=(0,o.default)(e,2),a=t[0],s=t[1];return r.createElement(c.Tag,{className:"dep-tag",clickable:!0,key:a,label:p("dependencies.dependency-block",{package:a,version:s}),onClick:function(){return function(e){null==n||n(),u.push("/-/web/detail/".concat(e))}(a)}})})))))};function f(e){return!!e&&Object.keys(e).length>0}p(m,"useContext{{ enableLoading }}\nuseHistory{history}\nuseTranslation{{ t }}",(function(){return[d.useHistory,s.useTranslation]}));var g=function(){var e=(0,r.useContext)(l.DetailContext).packageMeta,t=(0,s.useTranslation)().t;if(!e)throw new Error(t("error.package-meta-is-required-at-detail-context"));var a=e.latest,n=a.dependencies,d=a.devDependencies,i=a.peerDependencies,c=a.name,p={dependencies:n,devDependencies:d,peerDependencies:i};return f(n)||f(d)||f(i)?r.createElement(r.Fragment,null,Object.entries(p).map((function(e){var t=(0,o.default)(e,2),a=t[0],n=t[1];return n&&0!==Object.keys(n).length?r.createElement(m,{dependencies:n,key:a,title:a}):null}))):r.createElement(u.default,{className:"no-dependencies",text:t("dependencies.has-no-dependencies",{package:c})})};p(g,"useContext{{ packageMeta }}\nuseTranslation{{ t }}",(function(){return[s.useTranslation]}));var b=g;const v=b;var h,C;(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(h.register(m,"DependencyBlock","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx"),h.register(f,"hasKeys","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx"),h.register(g,"Dependencies","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx"),h.register(b,"default","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx")),(C="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&C(e)},"./src/pages/Version/DetailContainer/Dependencies/index.ts":(e,t,a)=>{a.r(t),a.d(t,{default:()=>n.default});var n=a("./src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx");"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},"./src/pages/Version/DetailContainer/Dependencies/styles.ts":(e,t,a)=>{a.r(t),a.d(t,{CardWrap:()=>u,StyledText:()=>c,Tags:()=>p,Tag:()=>m});var n,o=a("../../../node_modules/.pnpm/@emotion+styled@11.6.0_023218a630dedcfdc5aa065bf93ff9d7/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"),r=a("./src/components/Card.tsx"),s=a("./src/components/Chip.tsx"),d=a("./src/components/Text/index.ts");e=a.hmd(e),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&n(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var i,l,u=(0,o.default)(r.default,{target:"e12vbvs3"})({name:"13ksum9",styles:"margin:0 0 16px"}),c=(0,o.default)(d.default,{target:"e12vbvs2"})((function(e){return{fontWeight:e.theme&&e.theme.fontWeight.bold,textTransform:"capitalize"}}),""),p=(0,o.default)("div",{target:"e12vbvs1"})({name:"li4bbv",styles:"display:flex;justify-content:start;flex-wrap:wrap;margin:0 -5px"}),m=(0,o.default)(s.default,{target:"e12vbvs0"})({name:"t10jb8",styles:"margin:5px"});(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(i.register(u,"CardWrap","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/styles.ts"),i.register(c,"StyledText","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/styles.ts"),i.register(p,"Tags","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/styles.ts"),i.register(m,"Tag","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/Dependencies/styles.ts")),(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&l(e)},"./src/pages/Version/DetailContainer/NoItems/NoItems.tsx":(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});var n,o=a("../../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js"),r=a("./src/components/Text/index.ts");e=a.hmd(e),(n="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&n(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var s=function(e){var t=e.className,a=e.text;return o.createElement(r.default,{className:t,gutterBottom:!0,variant:"subtitle1"},a)},d=s;const i=d;var l,u;(l="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(l.register(s,"NoItems","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/NoItems/NoItems.tsx"),l.register(d,"default","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailContainer/NoItems/NoItems.tsx")),(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(e)},"./src/pages/Version/DetailContainer/NoItems/index.ts":(e,t,a)=>{a.r(t),a.d(t,{default:()=>n.default});var n=a("./src/pages/Version/DetailContainer/NoItems/NoItems.tsx");"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature}}]);
@@ -0,0 +1,78 @@
1
+ /*!
2
+ *
3
+ * Name: Dependencies
4
+ * Generated on: 1642197553148
5
+ * Package: @verdaccio/ui-theme
6
+ * Version: v4.1.0-beta.0
7
+ * License: MIT
8
+ * https://www.verdaccio.org
9
+ *
10
+ */
11
+
12
+ /*! ../../context */
13
+
14
+ /*! ../NoItems */
15
+
16
+ /*! ./Dependencies */
17
+
18
+ /*! ./NoItems */
19
+
20
+ /*! ./styles */
21
+
22
+ /*! @babel/runtime/helpers/extends */
23
+
24
+ /*! @babel/runtime/helpers/slicedToArray */
25
+
26
+ /*! @emotion/styled/base */
27
+
28
+ /*! @mui/material/Card */
29
+
30
+ /*! @mui/material/CardContent */
31
+
32
+ /*! @mui/material/Chip */
33
+
34
+ /*! react */
35
+
36
+ /*! react-i18next */
37
+
38
+ /*! react-router-dom */
39
+
40
+ /*! verdaccio-ui/components/Card */
41
+
42
+ /*! verdaccio-ui/components/CardContent */
43
+
44
+ /*! verdaccio-ui/components/Chip */
45
+
46
+ /*! verdaccio-ui/components/Text */
47
+
48
+ /*!*********************************!*\
49
+ !*** ./src/components/Card.tsx ***!
50
+ \*********************************/
51
+
52
+ /*!*********************************!*\
53
+ !*** ./src/components/Chip.tsx ***!
54
+ \*********************************/
55
+
56
+ /*!****************************************!*\
57
+ !*** ./src/components/CardContent.tsx ***!
58
+ \****************************************/
59
+
60
+ /*!************************************************************!*\
61
+ !*** ./src/pages/Version/DetailContainer/NoItems/index.ts ***!
62
+ \************************************************************/
63
+
64
+ /*!***************************************************************!*\
65
+ !*** ./src/pages/Version/DetailContainer/NoItems/NoItems.tsx ***!
66
+ \***************************************************************/
67
+
68
+ /*!*****************************************************************!*\
69
+ !*** ./src/pages/Version/DetailContainer/Dependencies/index.ts ***!
70
+ \*****************************************************************/
71
+
72
+ /*!******************************************************************!*\
73
+ !*** ./src/pages/Version/DetailContainer/Dependencies/styles.ts ***!
74
+ \******************************************************************/
75
+
76
+ /*!*************************************************************************!*\
77
+ !*** ./src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx ***!
78
+ \*************************************************************************/
@@ -0,0 +1,2 @@
1
+ /*! For license information please see Dist.c738adaa8051e16da2ff.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_verdaccio_ui_theme=self.webpackChunk_verdaccio_ui_theme||[]).push([["Dist"],{"./src/components/Chip.tsx":(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var r,o=a("../../../node_modules/.pnpm/@babel+runtime@7.16.7/node_modules/@babel/runtime/helpers/esm/extends.js"),i=a("../../../node_modules/.pnpm/@mui+material@5.2.8_f5341c4d41f1e34c3a73251df9f98a19/node_modules/@mui/material/Chip/Chip.js"),s=a("../../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js");e=a.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var n=(0,s.forwardRef)((function(e,t){return s.createElement(i.default,(0,o.default)({},e,{innerRef:t}))})),l=n;const d=l;var u,c;(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(u.register(n,"Chip","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/Chip.tsx"),u.register(l,"default","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/components/Chip.tsx")),(c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&c(e)},"./src/pages/Version/DetailSidebar/Dist/Dist.tsx":(e,t,a)=>{a.r(t),a.d(t,{default:()=>g});var r,o=a("../../../node_modules/.pnpm/react@17.0.2/node_modules/react/index.js"),i=a("../../../node_modules/.pnpm/react-i18next@11.15.3_ad209b3ec0793904285d43906e66750b/node_modules/react-i18next/dist/es/useTranslation.js"),s=a("./src/components/List.tsx"),n=a("./src/utils/file-size.ts"),l=a("./src/utils/package.ts"),d=a("./src/pages/Version/context.ts"),u=a("./src/pages/Version/DetailSidebar/Dist/styles.ts");e=a.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var c="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default.signature:function(e){return e},m=function(e){var t=e.name,a=e.children;return a?o.createElement(u.DistChips,{label:o.createElement(o.Fragment,null,o.createElement("b",null,t),": ",a)}):null},p=function(){var e=(0,o.useContext)(d.DetailContext).packageMeta,t=(0,i.useTranslation)().t;if(!e)return null;var a=e&&e.latest,r=a.dist,c=a.license;return o.createElement(s.default,{subheader:o.createElement(u.StyledText,{variant:"subtitle1"},t("sidebar.distribution.title"))},o.createElement(u.DistListItem,{button:!0},o.createElement(m,{name:t("sidebar.distribution.file-count")},r.fileCount),o.createElement(m,{name:t("sidebar.distribution.size")},r.unpackedSize&&(0,n.default)(r.unpackedSize)),o.createElement(m,{name:t("sidebar.distribution.license")},(0,l.formatLicense)(c))))};c(p,"useContext{{ packageMeta }}\nuseTranslation{{ t }}",(function(){return[i.useTranslation]}));var f=p;const g=f;var b,h;(b="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(b.register(m,"DistChip","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailSidebar/Dist/Dist.tsx"),b.register(p,"Dist","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailSidebar/Dist/Dist.tsx"),b.register(f,"default","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailSidebar/Dist/Dist.tsx")),(h="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&h(e)},"./src/pages/Version/DetailSidebar/Dist/index.ts":(e,t,a)=>{a.r(t),a.d(t,{default:()=>r.default});var r=a("./src/pages/Version/DetailSidebar/Dist/Dist.tsx");"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature},"./src/pages/Version/DetailSidebar/Dist/styles.ts":(e,t,a)=>{a.r(t),a.d(t,{StyledText:()=>c,DistListItem:()=>m,DistChips:()=>p,DownloadButton:()=>f});var r,o=a("../../../node_modules/.pnpm/@emotion+styled@11.6.0_023218a630dedcfdc5aa065bf93ff9d7/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js"),i=a("./src/components/Chip.tsx"),s=a("./src/components/FloatingActionButton.tsx"),n=a("./src/components/ListItem.tsx"),l=a("./src/components/Text/index.ts");e=a.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;var d,u,c=(0,o.default)(l.default,{target:"emhg1mg3"})((function(e){return{fontWeight:e.theme&&e.theme.fontWeight.bold,textTransform:"capitalize"}}),""),m=(0,o.default)(n.default,{target:"emhg1mg2"})({name:"8a1gtu",styles:"padding-left:0;padding-right:0;flex-wrap:wrap"}),p=(0,o.default)(i.default,{target:"emhg1mg1"})({name:"186t8fy",styles:"margin-right:5px;text-transform:capitalize;margin-top:5px"}),f=(0,o.default)(s.default,{target:"emhg1mg0"})((function(e){return{backgroundColor:e.theme&&e.theme.palette.primary.main,color:e.theme&&e.theme.palette.white}}),"");(d="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&(d.register(c,"StyledText","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailSidebar/Dist/styles.ts"),d.register(m,"DistListItem","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailSidebar/Dist/styles.ts"),d.register(p,"DistChips","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailSidebar/Dist/styles.ts"),d.register(f,"DownloadButton","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/pages/Version/DetailSidebar/Dist/styles.ts")),(u="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&u(e)},"./src/utils/file-size.ts":(e,t,a)=>{var r;a.r(t),a.d(t,{default:()=>s}),e=a.hmd(e),(r="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.enterModule:void 0)&&r(e);var o,i;"undefined"!=typeof reactHotLoaderGlobal&&reactHotLoaderGlobal.default.signature;function s(e,t,a,r,o){return(t=Math,a=t.log,1e3,o=a(e)/a(1e3)|0,e/t.pow(1e3,o)).toFixed(2)+" "+(o?"kMGTPEZY"[--o]+"B":"Bytes")}(o="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.default:void 0)&&o.register(s,"fileSizeSI","/home/runner/work/ui/ui/packages/plugins/ui-theme/src/utils/file-size.ts"),(i="undefined"!=typeof reactHotLoaderGlobal?reactHotLoaderGlobal.leaveModule:void 0)&&i(e)}}]);