#!/bin/bash
VERSION=`python3 setup.py --version | \
        sed s/\.dev/-dev/ | \
        sed s/+/./ | \
        sed "s/\.d[0-9]\{8\}$//" | \
        sed "s/^\([0-9]\+\.[0-9]\+\.[0-9]\+\)\(.\+\)/\1-\2/" | \
        sed "s/--/-/g"`
sed -i "s/\"version\": .*/\"version\": \"$VERSION\",/" packages/*/package.json
sed -i "s/\"@wq\/\(.\+\)\": \".\+\"/\"@wq\/\1\": \"*\"/" packages/*/package.json

#!/bin/bash
VERSION=`python3 setup.py --version | \
        sed s/\.dev/-dev/ | \
        sed s/+/./ | \
        sed "s/\.d[0-9]\{8\}$//" | \
        sed "s/^\([0-9]\+\.[0-9]\+\.[0-9]\+\)\(.\+\)/\1-\2/" | \
        sed "s/--/-/g"`
sed -i "s/\"version\": .*/\"version\": \"$VERSION\",/" packages/*/package.json
sed -i "s/\"@wq\/\(.\+\)\": \".\+\"/\"@wq\/\1\": \"\^$VERSION\"/" packages/*/package.json

Revert "loose deps for dev builds"
Revert "loose deps for dev builds"

This reverts commit 15f0c0f824a041733cada279caee4bf86932e902.
