Skip to content

Wiredcraft/miniprogram-tools

Repository files navigation

miniprogram-tools

Development

# install dependencies
yarn

# run this to build some packages
yarn lerna run prepare

# linking dependencies
yarn lerna bootstrap

# you probably need to run this if you encounter the error "swift" not found
ln -s $PWD/packages/swift-cli/dist/bin.js $PWD/node_modules/.bin/swift

Publish

# bump version (it will bump version and create git tags)
yarn lerna version --conventional-commits --no-private

# publish to npm registry
yarn lerna publish from-package