Skip to content

Commit

Permalink
sometimes you need to burn your builder
Browse files Browse the repository at this point in the history
Added npm shortcut to blow away backstopbuilder.  Run this and reinit as needed.
  • Loading branch information
garris committed Feb 20, 2024
1 parent 4576240 commit eed89b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"publish-docker": "PV=$(node -p -e \"require('./package.json').version\"); echo $PV; docker buildx build --push --platform linux/amd64,linux/arm64 -t backstopjs/backstopjs:$PV --build-arg BACKSTOPJS_VERSION=$PV docker; docker buildx build --push --platform linux/amd64,linux/arm64 -t backstopjs/backstopjs:latest --build-arg BACKSTOPJS_VERSION=$PV docker",
"build-and-publish": "npm run publish-npm && npm run build-docker && npm run publish-docker",
"init-docker-builder": "docker buildx create --name backstopbuilder --use --bootstrap",
"burn-docker-builder": "docker buildx rm backstopbuilder",
"success-message": "printf \"\\n\\e[32m✓ SUCCESS!\\e[0m BackstopJS internal testing passed.\\n\"",
"caution-message": "printf \"\\n\\e[33m⚠ Notice.\\e[0m BackstopJS internal testing exited with a non-success status. This is expected when BackstopJS finds differences.\\n\"",
"fail-message": "printf \"\\n\\e[31m✖ FAIL!\\e[0m BackstopJS internal testing failed. See logs for details.\\n\""
Expand Down

0 comments on commit eed89b4

Please sign in to comment.