@openupstream/cli 0.2.1 → 0.2.2
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 +11 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
`oup` — the openupstream command line tool. Built on `@openupstream/sdk`.
|
|
4
4
|
|
|
5
|
+
The dashboard shows what is between the two `docs` comments below as its
|
|
6
|
+
`/cli` page (`dashboard/src/lib/docs.ts`): paragraphs, one level of list
|
|
7
|
+
items, code blocks and inline code only; a test of the dashboard fails on
|
|
8
|
+
anything else.
|
|
9
|
+
|
|
10
|
+
<!-- docs:start -->
|
|
11
|
+
|
|
5
12
|
```sh
|
|
6
13
|
npm i -g @openupstream/cli
|
|
7
14
|
oup login
|
|
@@ -121,6 +128,8 @@ oup site deploy dist --bucket my-site
|
|
|
121
128
|
In CI, set `OUP_API_KEY` to a madAuth API key instead of signing in, and
|
|
122
129
|
`OUP_API_URL` for another API than `https://console.openupstream.com/api`.
|
|
123
130
|
|
|
131
|
+
<!-- docs:end -->
|
|
132
|
+
|
|
124
133
|
`src/oidc.ts` is the device grant and refresh, `src/session.ts` the token
|
|
125
134
|
for each call, `src/deploy.ts` the site deploy (`planDeploy` is pure),
|
|
126
135
|
`src/project.ts` the linked Project, `src/services.ts` the Service deploy
|
|
@@ -137,6 +146,7 @@ Merge, then tag that commit `cli-v<version>` and push the tag; only admins
|
|
|
137
146
|
may. The workflow `.github/workflows/cli-release.yml` waits in the
|
|
138
147
|
Environment `npm-release` until a maintainer approves the run on GitHub,
|
|
139
148
|
then checks that the tag names the version and that the SDK it needs is
|
|
140
|
-
on npm
|
|
149
|
+
on npm (waiting up to five minutes for its file, which npm serves a little
|
|
150
|
+
after it lists a new version), builds, tests, installs the packed CLI and runs `oup version`, and
|
|
141
151
|
publishes with npm trusted publishing and provenance (ARCHITECTURE.md,
|
|
142
152
|
decision 80).
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openupstream/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "oup, the openupstream command line tool",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@aws-sdk/client-s3": "^3.1161.0",
|
|
39
|
-
"@openupstream/sdk": "^0.
|
|
39
|
+
"@openupstream/sdk": "^0.4.0"
|
|
40
40
|
}
|
|
41
41
|
}
|