Skip to content

casaub0n/cfstack

Repository files navigation

CF Stack

This repository is the ideal monorepo for next.js

I follow these technical stacks:

documents

storybook

dev

$ pnpm storybook

storybook readme

Windows

Update powershell

Windows への PowerShell のインストール

This is by using winget

$ winget search Microsoft.PowerShell
$ winget install --id Microsoft.Powershell --source winget

Scoop

Scoop is the best package manager for Windows. In this section, installed:

$ 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

$ git clone [email protected]:casaub0n/cfstack.git
$ cd cfstack
$ pnpm install
$ pnpm build

environment secrets:

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

$ pnpm turbo login
$ pnpm turbo link

RFC