gaztec 1.0.3 → 1.1.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.
- package/.github/workflows/release.yml +48 -0
- package/.github/workflows/test.yml +1 -1
- package/.release-please-manifest.json +3 -0
- package/CHANGELOG.md +28 -0
- package/CONTRIBUTING.md +10 -0
- package/gaztec-install +8 -0
- package/package.json +1 -1
- package/release-please-config.json +14 -0
- package/test/test.sh +2 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release-please:
|
|
10
|
+
name: Create Release
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write
|
|
14
|
+
issues: write
|
|
15
|
+
pull-requests: write
|
|
16
|
+
id-token: write
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- name: Run release-please
|
|
20
|
+
id: release
|
|
21
|
+
uses: googleapis/release-please-action@v4
|
|
22
|
+
with:
|
|
23
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
24
|
+
config-file: release-please-config.json
|
|
25
|
+
|
|
26
|
+
- name: Checkout
|
|
27
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
28
|
+
uses: actions/checkout@v4
|
|
29
|
+
|
|
30
|
+
- name: Setup pnpm
|
|
31
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
32
|
+
uses: pnpm/action-setup@v4
|
|
33
|
+
|
|
34
|
+
- name: Setup Node.js
|
|
35
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
36
|
+
uses: actions/setup-node@v4
|
|
37
|
+
with:
|
|
38
|
+
node-version: 24
|
|
39
|
+
cache: "pnpm"
|
|
40
|
+
registry-url: "https://registry.npmjs.org"
|
|
41
|
+
|
|
42
|
+
- name: Install dependencies
|
|
43
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
44
|
+
run: pnpm install --frozen-lockfile
|
|
45
|
+
|
|
46
|
+
- name: Publish to npm
|
|
47
|
+
if: ${{ steps.release.outputs.release_created }}
|
|
48
|
+
run: pnpm publish
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.1.0](https://github.com/nemi-fi/gaztec/compare/v1.0.3...v1.1.0) (2026-03-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add support for nargo command in gaztec ([5d8ec8d](https://github.com/nemi-fi/gaztec/commit/5d8ec8dfac7c5108dbecd33754d3f703d4a514b7))
|
|
9
|
+
* Fallback to latest ([7fd4ec7](https://github.com/nemi-fi/gaztec/commit/7fd4ec7eab450465d263d0083705b48fdffbe67c))
|
|
10
|
+
* Show gaztec version ([6aff490](https://github.com/nemi-fi/gaztec/commit/6aff4909800b966ac526f015902757c993d28f42))
|
|
11
|
+
* Support aztec v4 dockerless cli ([#2](https://github.com/nemi-fi/gaztec/issues/2)) ([6589e7d](https://github.com/nemi-fi/gaztec/commit/6589e7df67500ddfa53fd2a77a32865d81ded476))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* Add NARGO path to gaztec-install script ([b7e0dad](https://github.com/nemi-fi/gaztec/commit/b7e0dade2339536089b186bfb9be7cb905907435))
|
|
17
|
+
* Bb path ([5ba1cd1](https://github.com/nemi-fi/gaztec/commit/5ba1cd120511967305dd9c0fd6262b110cc26d30))
|
|
18
|
+
* Correct filename from .gaztecrc to .aztecrc in README.md ([a8819bb](https://github.com/nemi-fi/gaztec/commit/a8819bb4bffa0901a9c7f27fcacde475fa135fa1))
|
|
19
|
+
* Fetch the latest version from github ([70d53c8](https://github.com/nemi-fi/gaztec/commit/70d53c8c23736243b12e41bd6943d5780c467f2f))
|
|
20
|
+
* Fix installation ([77643a8](https://github.com/nemi-fi/gaztec/commit/77643a89816a396f9dd4b8cbe8b5fc6a516d8a74))
|
|
21
|
+
* Handle npm prefix in CI environments ([a0e7ef7](https://github.com/nemi-fi/gaztec/commit/a0e7ef782f55353643fd8d17e951e835d49e8afe))
|
|
22
|
+
* Update gaztec-install to set AZTEC_VERSION and modify GITHUB_PATH for CI ([1c7925d](https://github.com/nemi-fi/gaztec/commit/1c7925d57a6909e547624caa762905287a8db5ef))
|
|
23
|
+
|
|
24
|
+
## [1.0.3] - 2025-03-04
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- Support dockerless `aztec` installation
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
## Releasing
|
|
4
|
+
|
|
5
|
+
Releases are automated with [release-please](https://github.com/googleapis/release-please). Use [Conventional Commits](https://www.conventionalcommits.org/) in your PRs (`feat:`, `fix:`, etc.). When a Release PR is merged, it will:
|
|
6
|
+
|
|
7
|
+
1. Create a GitHub release and tag
|
|
8
|
+
2. Publish to npm
|
|
9
|
+
|
|
10
|
+
**Required secret:** Add `NPM_TOKEN` (npm automation token) to your repo secrets for publishing. Create one at npmjs.com → Account → Access Tokens.
|
package/gaztec-install
CHANGED
|
@@ -51,6 +51,8 @@ if ! $AZTEC_UP list | grep $AZTEC_VERSION; then
|
|
|
51
51
|
$AZTEC_UP install $AZTEC_VERSION
|
|
52
52
|
fi
|
|
53
53
|
|
|
54
|
+
$AZTEC_UP use $AZTEC_VERSION
|
|
55
|
+
|
|
54
56
|
# needed due to a bug. Without this line, it tries to use bb from ~/.bb
|
|
55
57
|
export BB="$AZTEC_PATH/versions/$AZTEC_VERSION/node_modules/.bin/bb"
|
|
56
58
|
# needed due to a bug. Without this line, it tries to use nargo from ~/.nargo
|
|
@@ -61,4 +63,10 @@ if [[ -n "${CI:-}" ]] && command -v npm >/dev/null 2>&1; then
|
|
|
61
63
|
npm config delete prefix
|
|
62
64
|
fi
|
|
63
65
|
|
|
66
|
+
# on github CI (GITHUB_PATH exists), add the aztec path to the path
|
|
67
|
+
if [[ -n "${GITHUB_PATH:-}" ]]; then
|
|
68
|
+
echo "$AZTEC_PATH/versions/$AZTEC_VERSION/bin" >> $GITHUB_PATH
|
|
69
|
+
echo "$AZTEC_PATH/versions/$AZTEC_VERSION/node_modules/.bin" >> $GITHUB_PATH
|
|
70
|
+
fi
|
|
71
|
+
|
|
64
72
|
AZTEC="$AZTEC_PATH/versions/$AZTEC_VERSION/node_modules/.bin/aztec"
|
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"release-type": "simple",
|
|
3
|
+
"bump-minor-pre-major": true,
|
|
4
|
+
"bump-patch-for-minor-pre-major": true,
|
|
5
|
+
"pull-request-title-pattern": "chore: Release ${version}",
|
|
6
|
+
"group-pull-request-title-pattern": "chore: Release ${version}",
|
|
7
|
+
"packages": {
|
|
8
|
+
".": {
|
|
9
|
+
"release-type": "node",
|
|
10
|
+
"include-component-in-tag": false
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"plugins": ["sentence-case"]
|
|
14
|
+
}
|