@somewhere-cloud/cli 0.38.124 → 0.38.126
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 +12 -0
- package/README.md +8 -5
- package/dist/lib/bundle.js +126 -83
- package/dist/lib/bundle.js.map +2 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.38.126
|
|
2
|
+
|
|
3
|
+
- A claim link connects the CLI only to the claimed project. Use `somewhere login` for account access.
|
|
4
|
+
- Point deploy guidance to `api/` and simplify help and progress messages.
|
|
5
|
+
- Build the packed test suite in a private directory so another build cannot interrupt it.
|
|
6
|
+
|
|
7
|
+
## 0.38.125
|
|
8
|
+
|
|
9
|
+
- Restore React and React DOM as required dependencies in new starters so the platform can deploy their locked source.
|
|
10
|
+
- Upgrade repairs the React declarations in starters created by 0.38.123 and 0.38.124.
|
|
11
|
+
- Solve proof-of-work only when the server asks for it during temporary signup.
|
|
12
|
+
|
|
1
13
|
## 0.38.124
|
|
2
14
|
|
|
3
15
|
- Keep the name from signed-out init when creating the temporary project.
|
package/README.md
CHANGED
|
@@ -66,13 +66,16 @@ the project. The pinned version runs from npm’s cache when needed. `somewhere
|
|
|
66
66
|
upgrade` moves the pin. Type checking uses the pinned compiler through npm
|
|
67
67
|
when no compiler is installed in the project.
|
|
68
68
|
|
|
69
|
-
`init` installs the SDK and editor types.
|
|
70
|
-
|
|
71
|
-
`npm install --include=optional -D --save-exact vite@7.2.2`
|
|
69
|
+
`init` installs React, the SDK, and editor types. For a local Vite server, use
|
|
70
|
+
`npm install -D --save-exact vite@7.2.2`
|
|
72
71
|
for `somewhere dev` and `npm install -D --save-exact @playwright/test@1.65.0`
|
|
73
72
|
for browser tests. `somewhere test` supplies its own helpers to the test files.
|
|
74
73
|
`init --template bare` is the same as `init --bare` and installs no dependencies.
|
|
75
74
|
|
|
75
|
+
If you created the starter with CLI 0.38.123 or 0.38.124, run
|
|
76
|
+
`npx -y @somewhere-cloud/cli@latest upgrade`, then `npm install` before deploying.
|
|
77
|
+
This makes React a required dependency and refreshes the project's lockfile.
|
|
78
|
+
|
|
76
79
|
The CLI needs no MCP setup: every command works from the shell, and `somewhere run <script>` executes code against your live project. `somewhere init` keeps AGENTS.md and useful skills, but does not install agent hooks or command-running MCP configuration. Existing agent settings stay unchanged. Run `somewhere typecheck`, `somewhere typecheck --deploy`, or `somewhere typecheck --deploy --watch` explicitly when you want local checks. Use `somewhere mcp install <host>` when you explicitly want MCP tools connected to an agent host.
|
|
77
80
|
|
|
78
81
|
For optional after-edit checking, explicitly run `somewhere hooks install --host claude-code` (or `--host codex` / `--host cursor`). It installs only the requested project-local deploy-reference typecheck hook, not MCP registration. Follow the reported host trust step. Shell writes do not trigger the hook; run `somewhere typecheck` after edits, or start `somewhere typecheck --deploy --watch`.
|
|
@@ -91,7 +94,7 @@ For optional after-edit checking, explicitly run `somewhere hooks install --host
|
|
|
91
94
|
| `somewhere projects` | List all projects with status |
|
|
92
95
|
| `somewhere project create <name>` | Create a new project |
|
|
93
96
|
| `somewhere project view [name]` | Show project details |
|
|
94
|
-
| `somewhere project delete <name>` | Delete a project and all its data. The first call returns a confirmation code
|
|
97
|
+
| `somewhere project delete <name>` | Delete a project and all its data. The first call returns a confirmation code. Run again with `--confirm-code <code>`, or type the project name when asked. |
|
|
95
98
|
| `somewhere dev` | Frontend hot reload on localhost with your project's own Vite; API requests go to your deployed project |
|
|
96
99
|
| `somewhere preview` | Run your whole app on the platform — every save goes to a private URL, and production is untouched until you promote |
|
|
97
100
|
| `somewhere deploy` | Deploy current directory to linked project |
|
|
@@ -189,7 +192,7 @@ deploys but does not undeploy the current site.
|
|
|
189
192
|
| `--dry-run` | Upload source and show what would change without publishing |
|
|
190
193
|
| `--replace-functions` | Drop deployed functions not present locally. A full deploy already does this and names each removed function; use it with `--scope functions`, which otherwise keeps them |
|
|
191
194
|
| `--project <id>` | Deploy to a specific project instead of the linked one |
|
|
192
|
-
| `-m, --message <text>` |
|
|
195
|
+
| `-m, --message <text>` | Add a note for this version |
|
|
193
196
|
| `--force` | Overwrite remote changes even when this machine has an older deployed version |
|
|
194
197
|
| `--yes` | Skip the `--force` confirmation prompt |
|
|
195
198
|
|