@dura-run/cli 0.1.0 → 0.1.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 +0 -29
- package/dist/dura.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,32 +18,3 @@ dura deploy
|
|
|
18
18
|
## Documentation
|
|
19
19
|
|
|
20
20
|
https://dura.run/docs
|
|
21
|
-
|
|
22
|
-
## Publishing (maintainers)
|
|
23
|
-
|
|
24
|
-
The CLI publishes to npm under the `@dura-run` scope. One-time setup:
|
|
25
|
-
|
|
26
|
-
1. Log into npm: `npm login` (or use an automation token via `NPM_TOKEN`).
|
|
27
|
-
2. Confirm you're a member of the `@dura-run` org: `npm org ls dura-run`.
|
|
28
|
-
|
|
29
|
-
To cut a release:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
cd packages/cli
|
|
33
|
-
|
|
34
|
-
# 1. Bump the version (edit package.json directly or):
|
|
35
|
-
npm version patch # 0.1.0 → 0.1.1
|
|
36
|
-
npm version minor # 0.1.0 → 0.2.0
|
|
37
|
-
|
|
38
|
-
# 2. Publish. prepublishOnly runs build + smoke-test automatically.
|
|
39
|
-
npm publish
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
`prepublishOnly` rebuilds `dist/dura.js`, runs the bundle invariants, and
|
|
43
|
-
executes `bun run smoke-test` — which packs the tarball, installs it into
|
|
44
|
-
a temp directory, and asserts `dura --version` prints the new version.
|
|
45
|
-
Publish is blocked if any step fails.
|
|
46
|
-
|
|
47
|
-
First-time only: scoped packages default to private. `publishConfig.access`
|
|
48
|
-
is set to `"public"` in package.json, so `npm publish` without flags ships
|
|
49
|
-
publicly.
|
package/dist/dura.js
CHANGED
|
@@ -19151,7 +19151,7 @@ async function registerAllCommands(program2) {
|
|
|
19151
19151
|
registerProjectsCommand2(program2);
|
|
19152
19152
|
return program2;
|
|
19153
19153
|
}
|
|
19154
|
-
var CLI_VERSION = "0.1.
|
|
19154
|
+
var CLI_VERSION = "0.1.2";
|
|
19155
19155
|
var init_src3 = __esm(() => {
|
|
19156
19156
|
init_esm();
|
|
19157
19157
|
if (import.meta.url === `file://${realpathSync(process.argv[1] ?? "").replace(/\\/g, "/")}`) {
|
|
@@ -19168,4 +19168,4 @@ export {
|
|
|
19168
19168
|
CLI_VERSION
|
|
19169
19169
|
};
|
|
19170
19170
|
|
|
19171
|
-
//# debugId=
|
|
19171
|
+
//# debugId=E1334E5AE992840164756E2164756E21
|