1
0
mirror of https://github.com/SomboChea/ui synced 2024-12-24 21:24:26 +07:00
Amazing and stunning Verdaccio UI (React) https://verdaccio.org
Go to file
2020-05-06 09:07:12 +07:00
.circleci chore: test publish 2019-12-14 15:05:36 +01:00
.github chore: add snyk as an action (#230) 2020-01-19 09:46:48 +01:00
.vscode build(deps-dev): bump css-loader from 3.3.2 to 3.4.0 (#383) 2019-12-18 17:54:27 -03:00
config feat: migrating flow to typescript (#47) 2019-06-20 14:37:28 +02:00
i18n add cambodia flag (khmer) and cleanup 2020-05-05 19:27:53 +07:00
jest fix: generate correct registry URL (#413) 2020-01-09 06:12:50 +01:00
lib feat: migrating flow to typescript (#47) 2019-06-20 14:37:28 +02:00
partials/storage add a new language - Ukrainian && fix bug with dayjs locale (#472) 2020-05-03 17:45:17 +02:00
scripts chore: publish release as non-draft 2020-04-02 21:38:21 +02:00
src fixed khmer language icon missing 2020-05-06 09:07:12 +07:00
test feat: login Dialog Component - Replaced class by func. comp + added react-hook-form (#341) 2019-12-06 18:09:01 +01:00
tools feat(style): added dark mode (#446) 2020-03-31 08:44:59 +02:00
types feat(style): added dark mode (#446) 2020-03-31 08:44:59 +02:00
.babelrc chore: enable optional chaining and nullish (#306) 2019-11-23 20:15:14 +01:00
.editorconfig initial commit 2019-02-03 17:04:42 +01:00
.eslintignore feat: new not found component (#170) 2019-10-12 13:23:14 +02:00
.eslintrc feat: login Dialog Component - Replaced class by func. comp + added react-hook-form (#341) 2019-12-06 18:09:01 +01:00
.gitignore feat: new not found component (#170) 2019-10-12 13:23:14 +02:00
.npmignore fix: pattern allow yarn to add all files on pack (#50) 2019-05-07 20:40:08 +02:00
.nvmrc chore: update dependencies 2019-08-10 20:32:35 +02:00
.prettierrc chore: fix Prettier and Stylelint glob expansion for Windows 2019-09-11 15:53:57 +02:00
.secrets-baseline updated translation config for khmer 2020-05-05 19:14:17 +07:00
.sonarcloud.properties test: add SonarCloud (#408) 2020-01-03 21:51:40 +01:00
.stylelintrc chore: disable stylelint on files with no CSS templates 2019-07-16 14:59:54 +02:00
.yarnrc chore: enable optional chaining and nullish (#306) 2019-11-23 20:15:14 +01:00
CHANGELOG.md chore(release): 1.7.1 2020-04-27 21:37:54 +02:00
CODE_OF_CONDUCT.md chore: add missing conf files 2019-04-04 22:54:05 +02:00
codecept.conf.js refactor: update dependencies 2019-08-04 11:40:45 +02:00
codecov.yml chore: add codecov setup (#186) 2019-10-12 12:05:07 +02:00
index.js chore: add semicolon 2019-04-04 22:30:25 +02:00
LICENSE chore: add missing conf files 2019-04-04 22:54:05 +02:00
package.json add a new language - Ukrainian && fix bug with dayjs locale (#472) 2020-05-03 17:45:17 +02:00
README.md ref(doc): replaced cs_cz with czech (#474) 2020-05-03 15:28:38 +02:00
tsconfig.json Search Component - Replaced class by func. comp (#339) 2019-12-04 17:09:02 +01:00
tsconfig.strict.json fix: improved typing (#174) 2019-10-10 22:20:05 +02:00
yarn.lock build(deps-dev): bump @types/jest from 24.0.24 to 25.1.4 (#451) 2020-04-05 20:27:09 +02:00

verdaccio gif

Version 4 UI Theme

Verdaccio UI is a theme plugin build in React, Flow and Emotion. It uses Jest and Enzyme for Unit testing.

verdaccio (latest) docker pulls backers stackshare discord node MIT Crowdin codecov

Twitter followers Github

Contributing

We use >=yarn@1.13.0, keep in mind that we use lockfiles and use at least Node v10.13.0 to be able to build the project.

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.

⚠️ 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.

Before commit

Don't forget run the following commands before commit and push your code, it will save you time.

yarn lint && yarn test

Commits

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.

End to End Testing

Additionally, we recommend run E2E testing before push and verify your changes do not break anything. These command will run in our CI anyway.

yarn build && yarn test:e2e

yarn build will build with webpack the production files.

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]

sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor

Open Collective Backers

Thank you to all our backers! 🙏 [Become a backer]

backers

Contributors

This project exists thanks to all the people who contribute.

contrubitors

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.

Translations

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.

Your PR should contain:

1 - A json file in the folder i18n/translations/* with the translations. The file must be named according to the new added language

2 - The files i18n/config.ts and LanguageSwitch.tsx updated with the new language. Please see the current structure

3 - The other translations containing the new language in the language of the file. Example:

New language: cs_CZ

The file pt-BR should contain:

"lng": {
    ...,
    "czech": "Tcheco"
}

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/

License

Verdaccio is MIT licensed