ballercat / walt

:zap: Walt is a JavaScript-like syntax for WebAssembly text format :zap:

Home Page:https://ballercat.github.io/walt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build dist as part of npm run publish

ballercat opened this issue · comments

Bug Report

Overview

npm run publish (from root dir) should build all nested packages before running lerna publish. It's too easy to publish a stale version of the library.

Expected

npm run publish build packages.

Actual

npm run publish only publishes changed sources not builds.

Yes, that did help!

I've added preversion hooks to the packages with a build step here f5de2bb

Lerna does not auto commit these builds, but it does seem to be publishing correctly. Thanks.