@helyx/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/CHANGELOG.md +13 -0
- package/README.md +2 -2
- package/dist/self-host/project-generator.js +5 -3
- package/package.json +6 -5
- package/self-host-catalogue.json +9 -9
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.2 - 2026-07-23
|
|
4
|
+
|
|
5
|
+
- Identify the included Helyx Source Available Licence as `HSAL 1.0` and align public core dependencies.
|
|
6
|
+
|
|
7
|
+
## 0.1.1 - 2026-07-23
|
|
8
|
+
|
|
9
|
+
- Run npm through its JavaScript entry point when available so starter generation works reliably on supported Windows and Node.js versions.
|
|
10
|
+
|
|
11
|
+
## 0.1.0 - 2026-07-22
|
|
12
|
+
|
|
13
|
+
- Initial public self-host CLI release.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Helyx CLI
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The supported Helyx command-line entry point for running and generating self-hosted deployments.
|
|
4
4
|
|
|
5
5
|
```text
|
|
6
6
|
helyx start
|
|
@@ -13,4 +13,4 @@ helyx self-host init --manifest ./helyx-build.json --output ./helyx
|
|
|
13
13
|
|
|
14
14
|
`self-host init` validates a build manifest against the reviewed catalogue shipped with this exact CLI version, creates a new starter-project directory, pins the runtime and selected official modules, generates a lockfile with lifecycle scripts disabled, and writes checksums. Add `--install` only when the dependencies should also be installed locally. Unknown, unpublished, duplicated or modified package selections fail closed.
|
|
15
15
|
|
|
16
|
-
The package
|
|
16
|
+
The package is published under the Helyx Source Available Licence. Generated projects contain deployment configuration and exact public npm dependencies; they do not contain Helyx source code or credentials.
|
|
@@ -170,14 +170,16 @@ function assertSafeTargetDirectory(targetDirectory) {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
async function runNpmCommand(arguments_, workingDirectory) {
|
|
173
|
-
const
|
|
173
|
+
const npmCli = process.env.npm_execpath;
|
|
174
|
+
const executable = npmCli ? process.execPath : "npm";
|
|
175
|
+
const commandArguments = npmCli ? [npmCli, ...arguments_] : [...arguments_];
|
|
174
176
|
await new Promise((resolvePromise, reject) => {
|
|
175
|
-
const child = spawn(executable,
|
|
177
|
+
const child = spawn(executable, commandArguments, {
|
|
176
178
|
cwd: workingDirectory,
|
|
177
179
|
env: arguments_.includes("--ignore-scripts")
|
|
178
180
|
? { ...process.env, npm_config_ignore_scripts: "true" }
|
|
179
181
|
: process.env,
|
|
180
|
-
shell:
|
|
182
|
+
shell: process.platform === "win32" && npmCli === undefined,
|
|
181
183
|
stdio: ["ignore", "pipe", "pipe"],
|
|
182
184
|
});
|
|
183
185
|
child.stdout.resume();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helyx/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Command-line tools for running and generating self-hosted Helyx deployments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"helyx",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"self-hosted"
|
|
10
10
|
],
|
|
11
11
|
"private": false,
|
|
12
|
-
"license": "
|
|
12
|
+
"license": "HSAL 1.0",
|
|
13
13
|
"homepage": "https://helyx.gg/",
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/ZyC0R3/Helyx/issues"
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"self-host-catalogue.json",
|
|
36
36
|
"templates",
|
|
37
37
|
"README.md",
|
|
38
|
+
"CHANGELOG.md",
|
|
38
39
|
"LICENSE"
|
|
39
40
|
],
|
|
40
41
|
"bin": {
|
|
@@ -51,9 +52,9 @@
|
|
|
51
52
|
"build": "tsc -b"
|
|
52
53
|
},
|
|
53
54
|
"dependencies": {
|
|
54
|
-
"@helyx/bot": "0.1.
|
|
55
|
-
"@helyx/config": "0.1.
|
|
56
|
-
"@helyx/database": "0.1.
|
|
55
|
+
"@helyx/bot": "0.1.2",
|
|
56
|
+
"@helyx/config": "0.1.2",
|
|
57
|
+
"@helyx/database": "0.1.1",
|
|
57
58
|
"semver": "7.8.5",
|
|
58
59
|
"zod": "4.4.3"
|
|
59
60
|
},
|
package/self-host-catalogue.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"catalogueVersion":
|
|
3
|
+
"catalogueVersion": 6,
|
|
4
4
|
"core": {
|
|
5
5
|
"package": "@helyx/bot",
|
|
6
|
-
"version": "0.1.
|
|
7
|
-
"availability": "
|
|
6
|
+
"version": "0.1.2",
|
|
7
|
+
"availability": "published"
|
|
8
8
|
},
|
|
9
9
|
"generator": {
|
|
10
10
|
"package": "@helyx/cli",
|
|
11
|
-
"version": "0.1.
|
|
11
|
+
"version": "0.1.2",
|
|
12
12
|
"command": "helyx",
|
|
13
|
-
"availability": "
|
|
13
|
+
"availability": "published"
|
|
14
14
|
},
|
|
15
15
|
"modules": [
|
|
16
16
|
{
|
|
17
17
|
"id": "helyx.feedback",
|
|
18
18
|
"package": "@helyx/module-feedback",
|
|
19
|
-
"version": "1.0.
|
|
19
|
+
"version": "1.0.2",
|
|
20
20
|
"name": "Feedback",
|
|
21
21
|
"description": "Collect structured member feedback in a channel you choose.",
|
|
22
22
|
"category": "Community",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
{
|
|
26
26
|
"id": "helyx.welcome",
|
|
27
27
|
"package": "@helyx/module-welcome",
|
|
28
|
-
"version": "1.0.
|
|
28
|
+
"version": "1.0.2",
|
|
29
29
|
"name": "Welcome",
|
|
30
30
|
"description": "Greet new members and optionally give them a starting role.",
|
|
31
31
|
"category": "Community",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{
|
|
35
35
|
"id": "helyx.suggestions",
|
|
36
36
|
"package": "@helyx/module-suggestions",
|
|
37
|
-
"version": "1.0.
|
|
37
|
+
"version": "1.0.2",
|
|
38
38
|
"name": "Suggestions",
|
|
39
39
|
"description": "Collect community ideas with reaction or button voting.",
|
|
40
40
|
"category": "Community",
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
{
|
|
215
215
|
"id": "helyx.logging",
|
|
216
216
|
"package": "@helyx/module-logging",
|
|
217
|
-
"version": "1.0.
|
|
217
|
+
"version": "1.0.2",
|
|
218
218
|
"name": "Logging",
|
|
219
219
|
"description": "Post selected Helyx module activity to one server channel.",
|
|
220
220
|
"category": "Insights",
|