@that-company/dat 0.1.39 → 0.1.41
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 +5 -5
- package/package.json +2 -2
- 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
|
|
@@ -36,12 +36,12 @@ The installer intentionally downloads from `download/v<package version>` instead
|
|
|
36
36
|
of `latest/download`, so npm installs are reproducible and the package version
|
|
37
37
|
has one meaning.
|
|
38
38
|
|
|
39
|
-
Release order:
|
|
39
|
+
Release order is owned by the `Release` GitHub Actions workflow in this repo:
|
|
40
40
|
|
|
41
|
-
1.
|
|
42
|
-
2. Set this package version to the same `X.Y.Z
|
|
41
|
+
1. Build and publish the `dat` binary release to `that-company/dat-releases`.
|
|
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
|
-
4. Publish with
|
|
44
|
+
4. Publish with npm Trusted Publishing/OIDC.
|
|
45
45
|
5. Verify `npm view @that-company/dat version` and a temp global install:
|
|
46
46
|
|
|
47
47
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@that-company/dat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"description": "Installer for the D.A.T. CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"dat": "bin/dat.js"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/that-company/
|
|
21
|
+
"url": "git+https://github.com/that-company/dat.git",
|
|
22
22
|
"directory": "npm/dat"
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://thatcompany.ai",
|
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}`,
|