atlasflow 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/LICENSE +1 -0
- package/README.md +21 -0
- package/bin/atlasflow.js +19 -0
- package/package.json +29 -0
package/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Proprietary software. Copyright (c) 2026 Cybernetyx. All rights reserved.
|
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# atlasflow
|
|
2
|
+
|
|
3
|
+
Convenience CLI alias for AtlasFlow.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx atlasflow init
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
This package contains only a small wrapper. The wrapper invokes the current
|
|
10
|
+
published scoped CLI package:
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
npm exec --yes --package @cybernetyx1/atlasflow-cli@latest -- atlasflow ...
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
For pinned installs, use the scoped package directly:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npm install -D @cybernetyx1/atlasflow-cli
|
|
20
|
+
npx atlasflow info
|
|
21
|
+
```
|
package/bin/atlasflow.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawn } from "node:child_process";
|
|
3
|
+
|
|
4
|
+
const npm = process.platform === "win32" ? "npm.cmd" : "npm";
|
|
5
|
+
const child = spawn(
|
|
6
|
+
npm,
|
|
7
|
+
["exec", "--yes", "--package", "@cybernetyx1/atlasflow-cli@latest", "--", "atlasflow", ...process.argv.slice(2)],
|
|
8
|
+
{ stdio: "inherit" },
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
child.on("error", (err) => {
|
|
12
|
+
console.error(`atlasflow alias could not start npm exec: ${err instanceof Error ? err.message : String(err)}`);
|
|
13
|
+
process.exit(1);
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
child.on("exit", (code, signal) => {
|
|
17
|
+
if (signal) process.kill(process.pid, signal);
|
|
18
|
+
else process.exit(code ?? 1);
|
|
19
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "atlasflow",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Convenience CLI alias for AtlasFlow.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
7
|
+
"author": "Cybernetyx",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/Cybernetyx/atlasflow.git",
|
|
11
|
+
"directory": "packages/atlasflow"
|
|
12
|
+
},
|
|
13
|
+
"bin": {
|
|
14
|
+
"atlasflow": "bin/atlasflow.js"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"bin",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE"
|
|
20
|
+
],
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "node --check bin/atlasflow.js",
|
|
26
|
+
"typecheck": "node --check bin/atlasflow.js",
|
|
27
|
+
"test": "node --test test/*.test.mjs"
|
|
28
|
+
}
|
|
29
|
+
}
|