@that-company/dat 0.1.40 → 0.1.42
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/README.md +2 -2
- package/package.json +1 -1
- package/scripts/install.js +1 -1
- package/scripts/prepublish.js +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ curl -fsSL https://thatcompany.ai/install.sh | sh
|
|
|
24
24
|
|
|
25
25
|
## Environment Overrides
|
|
26
26
|
|
|
27
|
-
- `DAT_RELEASE_REPO`: release repo, default `
|
|
27
|
+
- `DAT_RELEASE_REPO`: release repo, default `that-company/dat-releases`
|
|
28
28
|
- `DAT_INSTALL_BASE`: full release asset base URL
|
|
29
29
|
- `DAT_CHANNEL`: release path under `/releases`, default `download/v<package version>`
|
|
30
30
|
- `DAT_SKIP_INSTALL=1`: skip binary download during npm install
|
|
@@ -38,7 +38,7 @@ has one meaning.
|
|
|
38
38
|
|
|
39
39
|
Release order is owned by the `Release` GitHub Actions workflow in this repo:
|
|
40
40
|
|
|
41
|
-
1. Build and publish the `dat` binary release to `
|
|
41
|
+
1. Build and publish the `dat` binary release to `that-company/dat-releases`.
|
|
42
42
|
2. Set this package version to the same `X.Y.Z` in the workflow workspace.
|
|
43
43
|
3. Run `npm run verify:release`.
|
|
44
44
|
4. Publish with npm Trusted Publishing/OIDC.
|
package/package.json
CHANGED
package/scripts/install.js
CHANGED
|
@@ -10,7 +10,7 @@ const { URL } = require("node:url");
|
|
|
10
10
|
|
|
11
11
|
const pkg = require("../package.json");
|
|
12
12
|
|
|
13
|
-
const REPO = process.env.DAT_RELEASE_REPO || "
|
|
13
|
+
const REPO = process.env.DAT_RELEASE_REPO || "that-company/dat-releases";
|
|
14
14
|
const CHANNEL = process.env.DAT_CHANNEL || `download/v${pkg.version}`;
|
|
15
15
|
const RELEASE_BASE = trimTrailingSlash(
|
|
16
16
|
process.env.DAT_INSTALL_BASE || `https://github.com/${REPO}/releases/${CHANNEL}`,
|
package/scripts/prepublish.js
CHANGED
|
@@ -7,7 +7,7 @@ const { URL } = require("node:url");
|
|
|
7
7
|
const pkg = require("../package.json");
|
|
8
8
|
|
|
9
9
|
const RELEASE_ASSETS = ["dat-darwin-arm64", "dat-darwin-x64", "dat-linux-arm64", "dat-linux-x64"];
|
|
10
|
-
const REPO = process.env.DAT_RELEASE_REPO || "
|
|
10
|
+
const REPO = process.env.DAT_RELEASE_REPO || "that-company/dat-releases";
|
|
11
11
|
const CHANNEL = process.env.DAT_CHANNEL || `download/v${pkg.version}`;
|
|
12
12
|
const RELEASE_BASE = trimTrailingSlash(
|
|
13
13
|
process.env.DAT_INSTALL_BASE || `https://github.com/${REPO}/releases/${CHANNEL}`,
|