@quobix/vacuum 0.17.7 → 0.17.9

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/README.md +28 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,6 @@
6
6
  [![Go Report Card](https://goreportcard.com/badge/github.com/daveshanley/vacuum)](https://goreportcard.com/report/github.com/daveshanley/vacuum)
7
7
  [![discord](https://img.shields.io/discord/923258363540815912)](https://discord.gg/UAcUF78MQN)
8
8
  [![Docs](https://img.shields.io/badge/godoc-reference-5fafd7)](https:/-/pkg.go.dev/github.com/daveshanley/vacuum)
9
- [![GitHub downloads](https://img.shields.io/github/downloads/daveshanley/vacuum/total?label=github%20downloads&style=flat-square)](https://github.com/daveshanley/vacuum/releases)
10
9
  [![npm](https://img.shields.io/npm/dm/@quobix/vacuum?style=flat-square&label=npm%20downloads)](https://www.npmjs.com/package/@quobix/vacuum)
11
10
  [![Docker Pulls](https://img.shields.io/docker/pulls/dshanley/vacuum?style=flat-square)](https://hub.docker.com/r/dshanley/vacuum)
12
11
  [![Mentioned in Awesome Go](https://awesome.re/mentioned-badge-flat.svg)](https://github.com/avelino/awesome-go)
@@ -35,10 +34,35 @@ yarn global add @quobix/vacuum
35
34
 
36
35
  ## Install using curl
37
36
 
38
- ```
37
+ ```bash
39
38
  curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
40
39
  ```
41
40
 
41
+ ### For CI/CD environments
42
+
43
+ To avoid GitHub API rate limiting in automated environments, set a GitHub token:
44
+
45
+ ```bash
46
+ # Using repository token (GitHub Actions)
47
+ GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
48
+
49
+ # Using personal access token
50
+ GITHUB_TOKEN=your_github_token curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
51
+ ```
52
+
53
+ #### GitHub Actions example
54
+
55
+ ```yaml
56
+ - name: Install vacuum
57
+ env:
58
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Increases rate limit from 60 to 5000 requests/hour
59
+ run: |
60
+ curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
61
+ ```
62
+
63
+ > **Note**: The GitHub token prevents intermittent installation failures in CI/CD environments caused by API rate limiting.
64
+ > No additional permissions are required, the token only accesses public repository information.
65
+
42
66
  ## Install using [Docker](https://hub.docker.com/r/dshanley/vacuum)
43
67
 
44
68
  The image is available at: https://hub.docker.com/r/dshanley/vacuum
@@ -47,6 +71,8 @@ The image is available at: https://hub.docker.com/r/dshanley/vacuum
47
71
  docker pull dshanley/vacuum
48
72
  ```
49
73
 
74
+ > **Multi-platform support**: Docker images are available for both `linux/amd64` and `linux/arm64` architectures, including native ARM64 support for Apple Silicon Macs.
75
+
50
76
  To run, mount the current working dir to the container and use a relative path to your spec, like so
51
77
 
52
78
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quobix/vacuum",
3
- "version": "0.17.7",
3
+ "version": "0.17.9",
4
4
  "description": "The world's fastest, most scalable and complete OpenAPI parser",
5
5
  "type": "module",
6
6
  "author": "Dave Shanley",