hatchkit 0.1.10 → 0.1.12
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/dist/adopt.d.ts.map +1 -1
- package/dist/adopt.js +93 -97
- package/dist/adopt.js.map +1 -1
- package/dist/deploy/coolify-app.d.ts +12 -0
- package/dist/deploy/coolify-app.d.ts.map +1 -1
- package/dist/deploy/coolify-app.js +42 -101
- package/dist/deploy/coolify-app.js.map +1 -1
- package/dist/deploy/coolify-mongo.d.ts.map +1 -1
- package/dist/deploy/coolify-mongo.js +15 -3
- package/dist/deploy/coolify-mongo.js.map +1 -1
- package/dist/deploy/gh-actions-secrets.d.ts +44 -0
- package/dist/deploy/gh-actions-secrets.d.ts.map +1 -0
- package/dist/deploy/gh-actions-secrets.js +111 -0
- package/dist/deploy/gh-actions-secrets.js.map +1 -0
- package/dist/deploy/github.d.ts +10 -1
- package/dist/deploy/github.d.ts.map +1 -1
- package/dist/deploy/github.js +32 -3
- package/dist/deploy/github.js.map +1 -1
- package/dist/index.js +39 -1
- package/dist/index.js.map +1 -1
- package/dist/prompts.d.ts +54 -0
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +115 -20
- package/dist/prompts.js.map +1 -1
- package/dist/scaffold/app.js +1 -1
- package/dist/scaffold/app.js.map +1 -1
- package/dist/scaffold/infra.d.ts.map +1 -1
- package/dist/scaffold/infra.js +17 -8
- package/dist/scaffold/infra.js.map +1 -1
- package/dist/scaffold/manifest.d.ts.map +1 -1
- package/dist/scaffold/manifest.js +2 -1
- package/dist/scaffold/manifest.js.map +1 -1
- package/dist/scaffold/update.js +1 -1
- package/dist/scaffold/update.js.map +1 -1
- package/dist/templates/build-pipeline/deploy.yml.hbs +15 -5
- package/dist/utils/coolify-api.d.ts.map +1 -1
- package/dist/utils/coolify-api.js.map +1 -1
- package/dist/utils/coolify-server-ips.d.ts +26 -0
- package/dist/utils/coolify-server-ips.d.ts.map +1 -0
- package/dist/utils/coolify-server-ips.js +135 -0
- package/dist/utils/coolify-server-ips.js.map +1 -0
- package/dist/utils/errors.js +1 -1
- package/dist/utils/errors.js.map +1 -1
- package/package.json +2 -2
- package/scripts/release-prep.mjs +5 -23
package/scripts/release-prep.mjs
CHANGED
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
/*
|
|
3
3
|
* release-prep — strict pre-release verification.
|
|
4
4
|
*
|
|
5
|
-
* Refuses to release if
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* the version commit + tag, the npm publish, and the cross-repo push
|
|
10
|
-
* all line up against the same set of trees.
|
|
5
|
+
* Refuses to release if the working tree has uncommitted or untracked
|
|
6
|
+
* changes. Exits with a clear list of what's dirty so the version
|
|
7
|
+
* commit + tag, the npm publish, and the push all line up against the
|
|
8
|
+
* same baseline.
|
|
11
9
|
*
|
|
12
10
|
* ALSO refuses when the local cli/package.json version is at-or-
|
|
13
11
|
* behind the version published to npm. `npm version patch` increments
|
|
@@ -42,26 +40,10 @@ try {
|
|
|
42
40
|
process.exit(1);
|
|
43
41
|
}
|
|
44
42
|
|
|
45
|
-
const repos = [
|
|
46
|
-
{ label: "hatchkit (main)", path: repoRoot, hint: `cd ${repoRoot}` },
|
|
47
|
-
{
|
|
48
|
-
label: "infra (submodule)",
|
|
49
|
-
path: join(repoRoot, "infra"),
|
|
50
|
-
hint: `cd ${join(repoRoot, "infra")}`,
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
label: "starter (submodule)",
|
|
54
|
-
path: join(repoRoot, "starter"),
|
|
55
|
-
hint: `cd ${join(repoRoot, "starter")}`,
|
|
56
|
-
},
|
|
57
|
-
];
|
|
43
|
+
const repos = [{ label: "hatchkit (main)", path: repoRoot, hint: `cd ${repoRoot}` }];
|
|
58
44
|
|
|
59
45
|
const dirty = [];
|
|
60
46
|
for (const r of repos) {
|
|
61
|
-
// Submodule may not be initialized — skip silently rather than fail.
|
|
62
|
-
// (`.git` is a file inside an initialized submodule, a dir at the root.)
|
|
63
|
-
if (!existsSync(join(r.path, ".git"))) continue;
|
|
64
|
-
|
|
65
47
|
let status;
|
|
66
48
|
try {
|
|
67
49
|
status = sh("git status --porcelain", { cwd: r.path });
|