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

smhmayboudi/cloudflare-worker-with-lerna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.