Created
May 14, 2020 22:38
-
-
Save klappradla/084bed40b1e8e7fc89cd3c0eaa157be9 to your computer and use it in GitHub Desktop.
Minimal example to explore custom versions problem with np
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -o errexit | |
set -o nounset | |
# Create directory | |
mkdir example && cd example | |
# Initialize Git repository | |
git init && git commit --allow-empty -m "init commit" | |
# Create bare bones `yarn` project with `np` | |
yarn init -y && yarn add -D np | |
# Commit everything (for simplicity) | |
git add --all && git commit -m "all" | |
# Run `np` and select `Other (specify)` for the version | |
yarn np --any-branch --no-tests --no-cleanup --no-release-draft --no-publish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment