@quantis-ai/gary 0.2.0 → 0.2.1

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 +14 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -86,6 +86,20 @@ still runs an older version.
86
86
  make dist VERSION=0.1.0 && node npm/build.js 0.1.0 # npm/out/0.1.0/*.tgz, nothing published
87
87
  ```
88
88
 
89
+ ### Releasing
90
+
91
+ ```bash
92
+ make release 0.2.1 # or: make release VERSION=0.2.1
93
+ DRY_RUN=1 make release 0.2.1 # everything but the publishing (npm publish --dry-run)
94
+ ```
95
+
96
+ `make release` (`npm/release.sh`) checks the tree is clean, HEAD is on `origin/main` and you're signed in to npm,
97
+ runs `make test`, builds `dist/` and the npm packages, checks this computer's binary says the version, then publishes
98
+ the six platform packages and `@quantis-ai/gary` last, so the main package never names one that isn't there. npm asks
99
+ for 2FA on each. A package already on npm at that version is skipped, so after a refused 2FA, run the same command
100
+ again and it carries on. `ALLOW_UNMERGED=1` releases a commit that isn't on `origin/main` yet. It doesn't publish the
101
+ image of Gary's computer (`ahartpence/gary`, from the gary repo); without a tag for the version the CLI uses `:latest`.
102
+
89
103
  ## Building
90
104
 
91
105
  ```bash
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quantis-ai/gary",
3
3
  "description": "Connects this computer to your Gary, so your Garys can work in the directories you share here.",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://docs.getquantis.com",
7
7
  "author": "QUANTIS",
@@ -16,11 +16,11 @@
16
16
  "node": ">=18"
17
17
  },
18
18
  "optionalDependencies": {
19
- "@quantis-ai/gary-darwin-arm64": "0.2.0",
20
- "@quantis-ai/gary-darwin-x64": "0.2.0",
21
- "@quantis-ai/gary-linux-arm64": "0.2.0",
22
- "@quantis-ai/gary-linux-x64": "0.2.0",
23
- "@quantis-ai/gary-win32-arm64": "0.2.0",
24
- "@quantis-ai/gary-win32-x64": "0.2.0"
19
+ "@quantis-ai/gary-darwin-arm64": "0.2.1",
20
+ "@quantis-ai/gary-darwin-x64": "0.2.1",
21
+ "@quantis-ai/gary-linux-arm64": "0.2.1",
22
+ "@quantis-ai/gary-linux-x64": "0.2.1",
23
+ "@quantis-ai/gary-win32-arm64": "0.2.1",
24
+ "@quantis-ai/gary-win32-x64": "0.2.1"
25
25
  }
26
26
  }