Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 632 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 632 Bytes

CloudFlare Worker with Lerna

Setup

Reference

install git ignore script

mkdir cfw && \
cd cfw && \
npx lerna@latest init && \
gi macos,node,osx,visualstudiocode > .gitignore && \
mkdir packages && \
cd packages && \
npx create-cloudflare@latest main --accept-defaults --deploy=false --ts && \
npx lerna@latest create worker --yes

add a publish script to each package.json in the packages folder and a publish script to the main package.json to run in a coordinated manner.