Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/casaub0n/cfstack
for company site
https://github.com/casaub0n/cfstack
monorepo
Last synced: 7 days ago
JSON representation
for company site
- Host: GitHub
- URL: https://github.com/casaub0n/cfstack
- Owner: casaub0n
- License: mit
- Created: 2022-09-03T08:03:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T22:21:06.000Z (3 months ago)
- Last Synced: 2024-10-24T01:32:48.930Z (3 months ago)
- Topics: monorepo
- Language: TypeScript
- Homepage: https://a-one-housing.com
- Size: 7.83 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository is the ideal monorepo for next.js
I follow these technical stacks:
- [Turborepo](https://turbo.build/repo)
- [Prettier](https://prettier.io/)
- [ESLint](https://eslint.org/)
- [Jest](https://jestjs.io/)
- [Storybook](https://storybook.js.org/)
- [GitHub actions](https://github.com/features/actions)
- [Work on Windows](#Windows)# documents
[storybook](https://casaub0n.github.io/cfstack/)
## dev
```console
$ pnpm storybook
```[storybook readme](./apps/catalog/README.md)
## Windows
### Update powershell
[Windows への PowerShell のインストール](https://learn.microsoft.com/ja-jp/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3)
This is by using [winget](https://learn.microsoft.com/ja-jp/windows/package-manager/winget/)
```console
$ winget search Microsoft.PowerShell
$ winget install --id Microsoft.Powershell --source winget```
### Scoop
Scoop is the best package manager for Windows.
In this section, installed:- [Scoop](https://scoop.sh/)
- [Git](https://gitforwindows.org/)
- [fnm](https://github.com/Schniz/fnm)
- [Node.js](https://nodejs.org/)
- [pnpm](https://pnpm.io/)```console
$ Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
$ irm get.scoop.sh | iex
$ scoop bucket add main
$ scoop install main/git
$ scoop install main/fnm
$ fnm install --lts
$ fnm use v18.16.0
$ scoop install main/pnpm
```## Getting Started
```console
$ git clone [email protected]:casaub0n/cfstack.git
$ cd cfstack
$ pnpm install
$ pnpm build
```environment secrets:
- CLOUDFLARE_ACCOUNT_ID
- CLOUDFLARE_API_TOKEN
- TURBO_TEAM
- TURBO_TOKEN
in Action sercrets(https://github.com/someone/cfstack/settings/secrets/actions) for your GitHub Actions.### CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN
https://zenn.dev/nwtgck/articles/1fdee0e84e5808
### TURBO_TEAM and TURBO_TOKEN
https://turborepo.org/docs/ci/github-actions
### local cache to build
```console
$ pnpm turbo login
$ pnpm turbo link
```[RFC](docs/rfc.md)