@joripspace/cli 0.4.1 → 0.4.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/README.md +48 -26
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# JoripSpace CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**JoripSpace — Build and deploy web apps with AI agents. Powered by Cosmosfarm.**
|
|
4
|
+
|
|
5
|
+
The official Node.js command-line client for JoripSpace. Connect your projects and manage deployments, databases, storage, and realtime services from your terminal.
|
|
6
|
+
|
|
7
|
+
[Website](https://joripspace.com) · [Support](mailto:support@cosmosfarm.com) · [GitHub](https://github.com/JoripSpace/joripspace-cli)
|
|
8
|
+
|
|
9
|
+
## Quick start
|
|
10
|
+
|
|
11
|
+
Run with npx. No global installation is required:
|
|
4
12
|
|
|
5
13
|
```sh
|
|
6
14
|
npx -y @joripspace/cli@latest --help
|
|
@@ -8,45 +16,49 @@ npx -y @joripspace/cli@latest templates --json
|
|
|
8
16
|
npx -y @joripspace/cli@latest realtime-v2 docs --json
|
|
9
17
|
```
|
|
10
18
|
|
|
11
|
-
|
|
19
|
+
Requires **Node.js 18 or later and npm** on Windows, macOS, or Linux. No TypeScript compiler or native build tools are needed. The CLI runs directly in Node.js; it does not download an OS-specific executable. Installation does not build source code, log you in, open a browser, or change project settings.
|
|
12
20
|
|
|
13
|
-
##
|
|
21
|
+
## Connect a project
|
|
14
22
|
|
|
15
|
-
|
|
23
|
+
Run commands from your project directory. Quote paths containing spaces or non-ASCII characters.
|
|
16
24
|
|
|
17
25
|
```sh
|
|
18
26
|
npx -y @joripspace/cli@latest login
|
|
19
|
-
npx -y @joripspace/cli@latest login --code "
|
|
20
|
-
npx -y @joripspace/cli@latest start my-app --cwd "
|
|
21
|
-
npx -y @joripspace/cli@latest get --cwd "
|
|
27
|
+
npx -y @joripspace/cli@latest login --code "YOUR_CONNECTION_CODE" --cwd "my project"
|
|
28
|
+
npx -y @joripspace/cli@latest start my-app --cwd "my project" --json
|
|
29
|
+
npx -y @joripspace/cli@latest get --cwd "my project" --json
|
|
22
30
|
```
|
|
23
31
|
|
|
24
|
-
`login
|
|
32
|
+
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.
|
|
25
33
|
|
|
26
|
-
|
|
34
|
+
`login --code` stores the connection token and API URL in the project's Git-ignored `.env.joripspace` file. A regular `.env` file is not used for authentication. Subsequent npx runs reuse the same project credentials, so you do not need to log in each time. Credentials and project state are not stored inside the npm package or cache.
|
|
27
35
|
|
|
28
|
-
|
|
36
|
+
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.
|
|
29
37
|
|
|
30
|
-
|
|
38
|
+
`start` connects to or resumes an existing project; it does not create a new project. It maintains project guidance files and synchronizes the required source files using the existing CLI behavior. This npm package preserves the original commands and compatibility modules without adding agent detection, MCP registration, plugins, skills, or hooks.
|
|
31
39
|
|
|
32
|
-
|
|
40
|
+
## Optional global installation
|
|
33
41
|
|
|
34
42
|
```sh
|
|
35
43
|
npm install -g @joripspace/cli
|
|
36
44
|
joripspace --help
|
|
37
45
|
```
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
You can continue using npx instead. Global installation and permanent PATH changes are not required.
|
|
48
|
+
|
|
49
|
+
## Commands and compatibility
|
|
40
50
|
|
|
41
|
-
|
|
51
|
+
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.
|
|
42
52
|
|
|
43
|
-
CLI
|
|
53
|
+
The CLI preserves existing output formats and exit codes `0`, `1`, and `2`. With `--json`, successful results go to stdout and errors go to stderr. CLI messages retain their existing language; this release updates the package documentation and description.
|
|
44
54
|
|
|
45
|
-
|
|
55
|
+
Installation and ordinary API commands require only Node.js and npm. Existing GitHub source connection and Git history synchronization features also require Git. Interactive `start` opens the browser using Windows `cmd.exe`, macOS `open`, or Linux `xdg-open`. If opening a browser fails, you can open the printed URL yourself.
|
|
46
56
|
|
|
47
|
-
|
|
57
|
+
The `executable` field in a `start` response is the absolute path to the JavaScript entrypoint. Use `node "path/to/entrypoint" ...` or npx to run it. The `login_command`, `resume_command`, and `install_command` fields include the Node.js executable. In PowerShell, prefix a quoted executable path with the call operator `&`. JSON keys and structure remain unchanged.
|
|
48
58
|
|
|
49
|
-
|
|
59
|
+
## Development and package verification
|
|
60
|
+
|
|
61
|
+
This repository works independently of the platform repository. It reuses the existing JavaScript implementation and requires no compilation. `prepack` checks package metadata, JavaScript syntax, the Node shebang, and executable permissions. There are no installation lifecycle hooks.
|
|
50
62
|
|
|
51
63
|
```sh
|
|
52
64
|
npm ci --ignore-scripts
|
|
@@ -55,20 +67,30 @@ npm test
|
|
|
55
67
|
npm run test:package
|
|
56
68
|
```
|
|
57
69
|
|
|
58
|
-
`test:package
|
|
70
|
+
`test:package` creates a real tarball in `.artifacts/` and checks its files, hashes, licenses, and permissions. It verifies installation, npx, npm exec, arguments, output, exit codes, working directories, cancellation, and credential reuse through a local mock API. Tests run in temporary directories outside the repository, including paths with spaces and Korean characters. They do not modify production projects or actual user credentials.
|
|
71
|
+
|
|
72
|
+
Set `JORIPSPACE_BASELINE_CLI` to the original `bin/joripspace.js` path to compare against the original CLI; otherwise, comparisons use this repository's source. GitHub CI covers Windows, macOS, and Linux with Node.js 18, 20, 22, and 24. It does not upload artifacts, cache dependencies, or publish to GitHub Packages.
|
|
59
73
|
|
|
60
|
-
|
|
74
|
+
To try a tarball before publishing, use its absolute path:
|
|
61
75
|
|
|
62
76
|
```sh
|
|
63
|
-
npm exec --yes --package="/absolute/path/joripspace-cli-0.4.
|
|
77
|
+
npm exec --yes --package="/absolute/path/joripspace-cli-0.4.2.tgz" -- joripspace --help
|
|
64
78
|
```
|
|
65
79
|
|
|
66
|
-
Windows
|
|
80
|
+
On Windows, use a path such as `C:/path/to/joripspace-cli-0.4.2.tgz`. Detailed engineering records are available in [verification](docs/verification.md) and [packaging](docs/packaging.md) (Korean).
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
JoripSpace CLI is available under the [MIT License](LICENSE).
|
|
85
|
+
|
|
86
|
+
Copyright (c) 2026 Cosmosfarm Software
|
|
67
87
|
|
|
68
|
-
|
|
88
|
+
Use of the JoripSpace cloud service is subject to separate service terms and pricing plans. Platform server, administration, and infrastructure code are not included in this CLI distribution. Included Worker examples are public customer templates.
|
|
69
89
|
|
|
70
|
-
|
|
90
|
+
Third-party dependencies retain their original licenses and copyrights. See [Third-party notices](THIRD_PARTY_NOTICES.md) for the preserved license texts.
|
|
71
91
|
|
|
72
|
-
|
|
92
|
+
## Support
|
|
73
93
|
|
|
74
|
-
|
|
94
|
+
- Website: [joripspace.com](https://joripspace.com)
|
|
95
|
+
- Email: [support@cosmosfarm.com](mailto:support@cosmosfarm.com)
|
|
96
|
+
- Bug reports: [GitHub Issues](https://github.com/JoripSpace/joripspace-cli/issues)
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joripspace/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"description": "JoripSpace
|
|
5
|
+
"description": "The official JoripSpace CLI. Build and deploy web apps with AI agents. Powered by Cosmosfarm.",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"bin": {
|
|
8
8
|
"joripspace": "bin/joripspace.js"
|