@walltowall/blok
v0.1.7
Published
CLI tool for code-generating the required files for blocks in Sanity-NextJS projects.
Downloads
4
Keywords
Readme
@walltowall/blok
A CLI for scaffolding blocks for W|W Sanity + NextJS projects.
Usage
Install package as a dev dependency.
# npm
npm install -D @walltowall/blok
Usage:
# Create a new block
blok create CallToAction
Development
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
Releases
# Run Tests
pnpm test
# Build
pnpm prepack
# Publish
pnpm release
License
Published under MIT License.