7bac0886eb
A login forces react to reload the list of available packages (by changing the state). However the state (which triggers react to refresh) is set before storing the login token resulting in fetching (XHR GET) only the public packages as the token is not yet available in the GET request. Fixed by setting the storage items ('username' and 'token') before this.setLoggedUser(). |
||
---|---|---|
.circleci | ||
.github | ||
flow-typed/npm | ||
scripts | ||
src | ||
test | ||
tools | ||
types | ||
.babelrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.flowconfig | ||
.gitignore | ||
.npmignore | ||
.prettierrc | ||
.stylelintrc | ||
.yarnrc | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
index.js | ||
jest.config.js | ||
jestEnvironment.js | ||
LICENSE | ||
package.json | ||
README.md | ||
yarn.lock |
Version 4 UI Theme
Verdaccio UI is a theme plugin build in React, Flow and Emotion. It uses Jest and Enzyme for Unit testing.
Contributing
We use >=yarn@1.13.0
, keep on mind we use lock file.
For development run the following command, it will execute webpack
and verdaccio
to
yarn dev
The configuration file is located on tools/_config.yaml
.
Run linting tooling and test to check your code is clean before commit.
yarn lint && yarn test
Remember we follow the the Conventional Commits specification.
🤓 Feel free to participate in code reviews, let us know if you want to participate in this plugin.
Open Collective Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Open Collective Backers
Thank you to all our backers! 🙏 [Become a backer]
Contributors
This project exists thanks to all the people who contribute. [Contribute].
FAQ / Contact / Troubleshoot
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.
License
Verdaccio is MIT licensed