@willbooster/wb 13.17.0 → 13.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ #!/bin/bash
2
+
3
+ set -e
4
+
5
+ SCRIPT_DIR=$(cd -- "$(dirname -- "$0")" && pwd)
6
+ keep_scripts=0
7
+
8
+ for arg in "$@"; do
9
+ case "${arg}" in
10
+ --keep-scripts)
11
+ keep_scripts=1
12
+ ;;
13
+ *)
14
+ echo "Usage: cleanup.sh [--keep-scripts]" >&2
15
+ exit 1
16
+ ;;
17
+ esac
18
+ done
19
+
20
+ apt-get purge -qq -y curl wget || true
21
+ apt-get autoremove -qq -y
22
+ apt-get clean -qq
23
+ rm -rf /var/lib/apt/lists/*
24
+
25
+ if [ "${keep_scripts}" = 0 ] && [ "$(basename "${SCRIPT_DIR}")" = "bash" ]; then
26
+ rm -rf "${SCRIPT_DIR}"
27
+ fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/wb",
3
- "version": "13.17.0",
3
+ "version": "13.19.0",
4
4
  "description": "CLI tool for WillBooster projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- apt-get purge -qq -y curl wget || true \
4
- && apt-get autoremove -qq -y \
5
- && apt-get clean -qq \
6
- && rm -rf /var/lib/apt/lists/*
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- # This script MUST NOT require superuser privileges; however, prepare-asdf.sh does require them.
4
- ASDF_VERSION=$(curl --silent "https://api.github.com/repos/asdf-vm/asdf/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') \
5
- && git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch ${ASDF_VERSION} \
6
- && echo 'legacy_version_file = yes' > $HOME/.asdfrc
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- apt-get -qq install -y --no-install-recommends tar gpg
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- # do nothing
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- # do nothing
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- # do nothing
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
-
3
- # c.f. https://github.com/pyenv/pyenv/wiki#suggested-build-environment
4
- apt-get -qq install -y --no-install-recommends \
5
- build-essential libssl-dev zlib1g-dev \
6
- libbz2-dev libreadline-dev libsqlite3-dev curl \
7
- libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
@@ -1,4 +0,0 @@
1
- #!/bin/bash
2
-
3
- # cf. https://github.com/rbenv/ruby-build/wiki#ubuntudebianmint
4
- apt-get -qq install -y --no-install-recommends autoconf patch build-essential rustc libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- apt-get -qq install -y --no-install-recommends gpg gpg-agent
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- apt-get -qq install -y --no-install-recommends curl git