From 24e4f1f210f933030b0071ae693bcb44d5fb0291 Mon Sep 17 00:00:00 2001 From: Joram van den Boezem Date: Mon, 27 May 2024 21:54:30 +0200 Subject: [PATCH] chore: moker update --- .github/workflows/dependency-review.yml | 14 +++++++++++ .github/workflows/release.yml | 3 +++ .github/workflows/update-node-versions.yml | 21 +++++++++++++++++ CHANGELOG.md | 10 ++++---- README.md | 27 ++++++++++++---------- 5 files changed, 59 insertions(+), 16 deletions(-) create mode 100644 .github/workflows/dependency-review.yml create mode 100644 .github/workflows/update-node-versions.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 00000000..11db947c --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,14 @@ +name: dependency-review + +on: + pull_request: + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/dependency-review-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e879bf59..2e7ad77e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,15 @@ name: release on: + workflow_dispatch: push: branches: - main jobs: release: + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/update-node-versions.yml b/.github/workflows/update-node-versions.yml new file mode 100644 index 00000000..373ea0eb --- /dev/null +++ b/.github/workflows/update-node-versions.yml @@ -0,0 +1,21 @@ +name: update-node-versions + +on: + workflow_dispatch: + schedule: + - cron: "30 7 * * 0" + +jobs: + update-node-versions: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: hongaar/update-node-versions@v2 + - uses: peter-evans/create-pull-request@v5 + with: + title: "feat: update node.js versions" + body: | + Automated changes by [update-node-versions](https://github.com/hongaar/update-node-versions) GitHub action + + BREAKING CHANGE: This updates the supported node.js versions + token: ${{ secrets.GH_PAT }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 972f3d42..7efb8e3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,18 @@ ## [1.12.15](https://github.com/hongaar/bandersnatch/compare/v1.12.14...v1.12.15) (2024-04-10) - ### Bug Fixes -* **deps:** bump tar from 6.1.11 to 6.2.1 ([#596](https://github.com/hongaar/bandersnatch/issues/596)) ([bdb1c06](https://github.com/hongaar/bandersnatch/commit/bdb1c06ac2e0d0d2c9140b9ee70828c521ded5df)) +- **deps:** bump tar from 6.1.11 to 6.2.1 + ([#596](https://github.com/hongaar/bandersnatch/issues/596)) + ([bdb1c06](https://github.com/hongaar/bandersnatch/commit/bdb1c06ac2e0d0d2c9140b9ee70828c521ded5df)) ## [1.12.14](https://github.com/hongaar/bandersnatch/compare/v1.12.13...v1.12.14) (2024-02-21) - ### Bug Fixes -* **deps:** bump ip from 1.1.8 to 1.1.9 ([#579](https://github.com/hongaar/bandersnatch/issues/579)) ([c5c103e](https://github.com/hongaar/bandersnatch/commit/c5c103e3e3f693e444d5f30727dc21769007ab60)) +- **deps:** bump ip from 1.1.8 to 1.1.9 + ([#579](https://github.com/hongaar/bandersnatch/issues/579)) + ([c5c103e](https://github.com/hongaar/bandersnatch/commit/c5c103e3e3f693e444d5f30727dc21769007ab60)) ## [1.12.13](https://github.com/hongaar/bandersnatch/compare/v1.12.12...v1.12.13) (2023-11-27) diff --git a/README.md b/README.md index 5080b61b..9cffbdff 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,10 @@ Simple and intuitive yet powerful and versatile framework for Node.js CLI progra yarn|npm add bandersnatch ``` -> [!NOTE] -> We recommend using an _Active LTS_ or _Maintenance LTS_ [Node.js version](https://nodejs.org/en/about/releases/). -> _Current_ versions are tested, but not guaranteed to work. +> [!NOTE] +> We recommend using an _Active LTS_ or _Maintenance LTS_ Node.js +> [version](https://nodejs.org/en/about/releases/). _Current_ versions are +> tested, but not guaranteed to work. ### Simple example @@ -316,10 +317,10 @@ $ node pizza.js "The Netherlands" --name Joram --confirmed } ``` -> [!WARNING] -> Please note that even though `--confirmed` was specified on the command -> line, it was still being prompted. This is a known issue. In this case, the -> default value was the same as the input, in which case bandersnatch doesn't know +> [!WARNING] +> Please note that even though `--confirmed` was specified on the command line, +> it was still being prompted. This is a known issue. In this case, the default +> value was the same as the input, in which case bandersnatch doesn't know > whether a value was explicitly passed in or inherited from the default value. ### TypeScript @@ -359,8 +360,9 @@ type Args = { }; ``` -> [!TIP] -> More examples in the [examples](https://github.com/hongaar/bandersnatch/tree/main/examples) +> [!TIP] +> More examples in the +> [examples](https://github.com/hongaar/bandersnatch/tree/main/examples) > directory. ## API @@ -596,8 +598,9 @@ provides [everything you need](https://nodejs.org/api/console.html). There are many options to bundle your application for distribution. We'll discuss a common pattern. -> [!TIP] -> An example can be found in the [examples/bundle](https://github.com/hongaar/bandersnatch/tree/main/examples/bundle) +> [!TIP] +> An example can be found in the +> [examples/bundle](https://github.com/hongaar/bandersnatch/tree/main/examples/bundle) > directory. Init a `package.json` if needed: @@ -739,7 +742,7 @@ To create a binary (your app with Node.js bundled), add this script to } ``` -> [!TIP] +> [!TIP] > Omit `-t host` to create binaries for all platforms. Run `yarn bundle` and then `./echo --help`. 💪