gaztec 1.0.1 → 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 +7 -0
  2. package/package.json +1 -1
package/gaztec-install CHANGED
@@ -53,5 +53,12 @@ fi
53
53
 
54
54
  # needed due to a bug. Without this line, it tries to use bb from ~/.bb
55
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
56
63
 
57
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.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "Aztec version manager",
6
6
  "repository": {