Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinrecuerda/recwhale
:whale: Provide some extensions tools
https://github.com/kevinrecuerda/recwhale
Last synced: 15 days ago
JSON representation
:whale: Provide some extensions tools
- Host: GitHub
- URL: https://github.com/kevinrecuerda/recwhale
- Owner: KevinRecuerda
- License: apache-2.0
- Created: 2021-08-30T06:17:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T16:26:31.000Z (over 2 years ago)
- Last Synced: 2025-01-16T17:26:22.941Z (18 days ago)
- Language: TypeScript
- Size: 1.11 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RecWhale
:whale: Provide some extensions tools
- https://react-ts-recwhale.stackblitz.io
- https://stackblitz.com/edit/react-ts-recwhale[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)
### start
```sh
npx lerna init -i
```### add dependencies
```sh
npx lerna add a --scope=b --scope=c --scope=dnpx lerna bootstrap
npx lerna lspnpm -r --filter recwhale-ts build
pnpm -r --filter "...sample-recwhale-react" dev
test: urlloader:http://localhost:3000/?anotherType=another%20basic&itemIds=a
```
### CD
```sh
npx lerna changednpx lerna publish --no-git-tag-version --no-push
npx lerna version --conventional-commits --yes
npx lerna publish --from-git
npx lerna publish --from-packagenpx lerna publish from-package --conventional-commits --yes
npx lerna publish from-package --contents dist --conventional-commits --yesnpx lerna changed
```### Next steps:
- [x] publish multiple with lerna
- [x] test dependencies
- [x] publish version auto- [x] test lib ts
- [x] test lib ts extension
- [x] test lib react- [ ] use npm orga `@recwhale`
- [x] use github actions### others
need lerna ? only for dependencies otherwise can loop on src/**/packages.json and build/publish
#### lerna details
- https://medium.com/@jsilvax/a-workflow-guide-for-lerna-with-yarn-workspaces-60f97481149d
- https://dev.to/xaviercanchal/monorepo-using-lerna-conventional-commits-and-github-packages-4m8m
- https://dev.to/xaviercanchal/automatic-versioning-in-a-lerna-monorepo-using-github-actions-4hij
---
- https://github.com/NiGhTTraX/ts-monorepo
- https://medium.com/@NiGhTTraX/how-to-set-up-a-typescript-monorepo-with-lerna-c6acda7d4559
---
- https://stackoverflow.com/questions/43281741/how-to-use-paths-in-tsconfig-json#### sample
- https://github.com/react-cosmos/react-cosmos
- https://github.com/ovieokeh/dummy-counter- https://devsday.ru/blog/details/43682
- https://github.com/CryogenicPlanet/typescript-monorepo-example- https://react-styleguidist.js.org/
- https://divotion.com/blog/creating-a-component-library-with-vite-and-storybook- https://pnpm.io/workspaces
- https://pnpm.io/cli/recursive
- https://vitejs.dev/guide/build.html#library-mode#### publish dist only ?
```json
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": ["dist"],
"publishConfig": {
"directory": "dist"
},
```"packageManager": "[email protected]"
TODO: remove lerna
TOOD: facto tsconfig-reacttest2
****
https://react-ts-recwhale.stackblitz.iohttps://codesandbox.io/s/recwhale-691fm
***
consider `luxon` instead of `moment`