@joripspace/cli 0.5.7 → 0.5.8
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 +23 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,9 @@ npx -y @joripspace/cli@latest get --cwd "my project" --json
|
|
|
53
53
|
|
|
54
54
|
Follow the link from `login` to [JoripSpace Connect](https://joripspace.com/connect/), approve the connection, and copy the one-time code, which expires after five minutes. Replace `my-app` with your existing project slug.
|
|
55
55
|
|
|
56
|
-
`login --code` stores the connection token
|
|
56
|
+
`login --code` stores the connection token in the OS credential store: Windows Credential Manager, macOS Keychain, or Linux Secret Service. The project's Git-ignored `.env.joripspace` contains only the API URL, account ID, and connection source, without the token. A regular `.env` file is not used for authentication. Subsequent npx runs reuse the saved connection, so you do not need to log in each time. Credentials and project state are not stored inside the npm package or cache.
|
|
57
|
+
|
|
58
|
+
If the OS credential store is unavailable, login stops without saving a plaintext token. For automation, supply `JORIPSPACE_API_TOKEN` and the matching `JORIPSPACE_API_URL` through the process environment.
|
|
57
59
|
|
|
58
60
|
Without `--cwd`, the CLI uses your current working directory and searches parent directories for the project connection. Existing `.joripspace/project` markers, the `--project` alias, environment variables, and legacy credential validation and migration remain supported. The default API is `https://api.joripspace.com`; use the existing `--api-url` option or `JORIPSPACE_API_URL` environment variable to override it.
|
|
59
61
|
|
|
@@ -61,10 +63,28 @@ Without `--cwd`, the CLI uses your current working directory and searches parent
|
|
|
61
63
|
|
|
62
64
|
## Optional global installation
|
|
63
65
|
|
|
66
|
+
```sh
|
|
67
|
+
npm install -g @joripspace/cli@latest
|
|
68
|
+
joripspace --help
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
An existing global installation does not update automatically. Run the same install command to update, then check the installed version:
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
npm install -g @joripspace/cli@latest
|
|
75
|
+
joripspace --version
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
You can continue using `npx -y @joripspace/cli@latest ...` to select the latest published release on each invocation. Global installation and permanent PATH changes are not required.
|
|
79
|
+
|
|
80
|
+
## CLI language
|
|
81
|
+
|
|
64
82
|
CLI notices and prompts follow the OS default locale: Korean for `ko`, English otherwise, including
|
|
65
83
|
unsupported or unavailable locales. JSON field names and error codes stay unchanged. Agreement payloads
|
|
66
84
|
keep English text and the Korean originals so agents can explain them in the user's conversation language.
|
|
67
85
|
|
|
86
|
+
## Create a project
|
|
87
|
+
|
|
68
88
|
To create a new Free project, run `joripspace create --name my-app --json` first. It returns all three required agreements
|
|
69
89
|
in English with the Korean web originals. Login is verified with the server before any agreements are shown;
|
|
70
90
|
missing or revoked credentials stop creation. Agents must present the agreements faithfully in the user's language
|
|
@@ -72,13 +92,6 @@ and obtain explicit consent before rerunning with `--agree-noncommercial --agree
|
|
|
72
92
|
terminals ask each agreement separately. `--yes` cannot replace consent. Web/server name restrictions and uniqueness
|
|
73
93
|
checks apply. Creation does not link or change local project source; use `start` separately when requested.
|
|
74
94
|
|
|
75
|
-
```sh
|
|
76
|
-
npm install -g @joripspace/cli
|
|
77
|
-
joripspace --help
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
You can continue using npx instead. Global installation and permanent PATH changes are not required.
|
|
81
|
-
|
|
82
95
|
## Commands and compatibility
|
|
83
96
|
|
|
84
97
|
Use `--help`, `deploy --help`, `deploy-template --help`, or `install-template --help` for the supported commands and options. Existing functionality includes authentication, project inspection, deployment, templates, checkpoints, databases, storage, realtime v2, secrets, cron jobs, domains, mail, usage, and events. Operations restricted to the web interface remain restricted.
|
|
@@ -107,10 +120,10 @@ Set `JORIPSPACE_BASELINE_CLI` to the original `bin/joripspace.js` path to compar
|
|
|
107
120
|
To try a tarball before publishing, use its absolute path:
|
|
108
121
|
|
|
109
122
|
```sh
|
|
110
|
-
npm exec --yes --package="/absolute/path/joripspace-cli-
|
|
123
|
+
npm exec --yes --package="/absolute/path/joripspace-cli-VERSION.tgz" -- joripspace --help
|
|
111
124
|
```
|
|
112
125
|
|
|
113
|
-
On Windows, use a path such as `C:/path/to/joripspace-cli-
|
|
126
|
+
Replace `VERSION` with the version in the tarball filename. On Windows, use a path such as `C:/path/to/joripspace-cli-VERSION.tgz`. The local release procedure is documented in [release](docs/release.md).
|
|
114
127
|
|
|
115
128
|
## License
|
|
116
129
|
|