Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onramplab/onr-react-ui
https://github.com/onramplab/onr-react-ui
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/onramplab/onr-react-ui
- Owner: OnrampLab
- Created: 2020-12-25T02:51:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T07:27:11.000Z (3 months ago)
- Last Synced: 2024-11-06T17:03:07.677Z (12 days ago)
- Language: TypeScript
- Size: 6.39 MB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 53
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# onr-react-ui
## Examples
- [next-starter](examples/next-starter/README.md)
## Packages
- [@onr/common](packages/common/README.md)
- [@onr/core](packages/core/README.md)
- [@onr/eslint-config](packages/eslint-config/README.md)
- [@onr/mock](packages/mock/README.md)
- [@onr/prettier-config](packages/prettier-config/README.md)
- [@onr/tailwind-palette](packages/tailwind-palette/README.md)
- [@onr/tsconfig](packages/tsconfig/README.md)## Package Management
[Using syncpack](https://jamiemason.github.io/syncpack/)
List all packages
```
yarn syncpack list
```Fix mis-matched packages
```
yarn syncpack fix-mismatches
```Update @onr packages to newest version
```
yarn syncpack update -f @onr
```Update all packages.json to newest version
```
yarn syncpack update -f
```Yarn install new version of packages
```
yarn
```## Release
[Using Changeset](https://github.com/changesets/changesets)
Add changeset, use space to choose target items, if not select any, click enter to jump to next question
```
yarn changeset add
```Bump version
```
yarn changeset version
git add --all
git commit -m "chore: bump version"
yarn changeset tag
```Push tags
```
git push --follow-tags
```Circle CI may failed to deploy when push multiple tags, if so, please push web@*.*.* tag separately
## Publish
### Login to npm
When you want to use yarn to publish packages, you will need to login to npm, and have write permission under `onr` team to be able to publish packages.
```sh
npm login
```Publish packages
```sh
yarn changeset publish
```### Publish by using lerna command
1. create a version
Use [lerna version](https://github.com/lerna/lerna/tree/main/commands/version#usage) command
```sh
yarn lerna version # by default it will increase the minor version
```or
```sh
yarn lerna version patch
```## Development Tools
### VS Code
- plugins
- Code Spell Checker (streetsidesoftware.code-spell-checker)
- EditorConfig for VS Code (editorconfig.editorconfig)
- Prettier - Code formatter (esbenp.prettier-vscode)
- ESLint (dbaeumer.vscode-eslint)
- PostCSS Sorting (mrmlnc.vscode-postcss-sorting)