gaztec 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/gaztec-install +10 -0
  2. package/package.json +1 -1
package/gaztec-install CHANGED
@@ -51,4 +51,14 @@ if ! $AZTEC_UP list | grep $AZTEC_VERSION; then
51
51
  $AZTEC_UP install $AZTEC_VERSION
52
52
  fi
53
53
 
54
+ # needed due to a bug. Without this line, it tries to use bb from ~/.bb
55
+ export BB="$AZTEC_PATH/versions/$AZTEC_VERSION/node_modules/.bin/bb"
56
+ # needed due to a bug. Without this line, it tries to use nargo from ~/.nargo
57
+ export NARGO="$AZTEC_PATH/versions/$AZTEC_VERSION/bin/nargo"
58
+
59
+ # bug on CI with nvm
60
+ if [[ -n "${CI:-}" ]] && command -v npm >/dev/null 2>&1; then
61
+ npm config delete prefix
62
+ fi
63
+
54
64
  AZTEC="$AZTEC_PATH/versions/$AZTEC_VERSION/node_modules/.bin/aztec"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaztec",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "Aztec version manager",
6
6
  "repository": {