@onegateway/cli 0.0.0-stage → 0.0.0

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.
Files changed (3) hide show
  1. package/README.md +4 -2
  2. package/index.js +8 -0
  3. package/package.json +15 -4
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
- # Temporary Holding Version
1
+ # @onegateway/cli
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ This package holds the name for the command line of [One Gateway](https://onegateway.app), `onegateway`. The command line is not published yet; running this package only says so and exits with status 1.
4
+
5
+ Until it is published, the command line is run from a checkout of the One Gateway repository: `node packages/cli/src/main.ts <command>` (see https://onegateway.app/llms.txt).
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ // A placeholder: it holds the name on npm until the One Gateway command line is published under it.
3
+ process.stderr.write(
4
+ 'onegateway: the One Gateway command line is not published on npm yet; this package only holds its name.\n' +
5
+ 'Run it from a checkout of the One Gateway repository: node packages/cli/src/main.ts <command>\n' +
6
+ 'See https://onegateway.app/llms.txt\n'
7
+ );
8
+ process.exitCode = 1;
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@onegateway/cli",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.0",
4
+ "description": "Holds the name for the One Gateway command line, which is not published yet. See https://onegateway.app",
5
+ "homepage": "https://onegateway.app",
6
+ "license": "UNLICENSED",
7
+ "bin": {
8
+ "onegateway": "index.js"
9
+ },
10
+ "files": [
11
+ "index.js",
12
+ "README.md"
13
+ ],
14
+ "publishConfig": {
15
+ "access": "public"
16
+ }
17
+ }