@nimbus-sh/cli 0.1.2 → 0.1.3
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/dist/commands/scaffold.d.ts +1 -1
- package/dist/commands/scaffold.js +5 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* v0.1 ships a single template: `worker-only`. The scaffolder writes:
|
|
5
5
|
*
|
|
6
6
|
* <project>/
|
|
7
|
-
* ├── package.json — deps: @nimbus-sh/
|
|
7
|
+
* ├── package.json — deps: @nimbus-sh/sdk, @nimbus-sh/worker
|
|
8
8
|
* ├── wrangler.jsonc — the canonical 28-LOC embedder snippet
|
|
9
9
|
* ├── src/
|
|
10
10
|
* │ └── index.ts — 6 LOC default-export
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* v0.1 ships a single template: `worker-only`. The scaffolder writes:
|
|
5
5
|
*
|
|
6
6
|
* <project>/
|
|
7
|
-
* ├── package.json — deps: @nimbus-sh/
|
|
7
|
+
* ├── package.json — deps: @nimbus-sh/sdk, @nimbus-sh/worker
|
|
8
8
|
* ├── wrangler.jsonc — the canonical 28-LOC embedder snippet
|
|
9
9
|
* ├── src/
|
|
10
10
|
* │ └── index.ts — 6 LOC default-export
|
|
@@ -117,8 +117,8 @@ function renderPackageJson(name) {
|
|
|
117
117
|
typecheck: 'tsc --noEmit',
|
|
118
118
|
},
|
|
119
119
|
dependencies: {
|
|
120
|
-
'@nimbus-sh/worker': '^0.1.
|
|
121
|
-
'@nimbus-sh/sdk': '^0.1.
|
|
120
|
+
'@nimbus-sh/worker': '^0.1.1',
|
|
121
|
+
'@nimbus-sh/sdk': '^0.1.1',
|
|
122
122
|
},
|
|
123
123
|
devDependencies: {
|
|
124
124
|
'@cloudflare/workers-types': '^4.20250327.0',
|
|
@@ -190,7 +190,7 @@ function renderIndexTs() {
|
|
|
190
190
|
NimbusDOStub,
|
|
191
191
|
CirrusHmrRPC,
|
|
192
192
|
createNimbusHandler,
|
|
193
|
-
} from '@nimbus-sh/worker';
|
|
193
|
+
} from '@nimbus-sh/sdk/worker';
|
|
194
194
|
|
|
195
195
|
// Re-export the DO class + every RPC class so wrangler's
|
|
196
196
|
// \`durable_objects.bindings[].class_name\` lookup + \`enable_ctx_exports\`
|
|
@@ -270,7 +270,7 @@ import { NimbusTerminal } from '@nimbus-sh/react';
|
|
|
270
270
|
Edit \`src/index.ts\`:
|
|
271
271
|
|
|
272
272
|
\`\`\`ts
|
|
273
|
-
import { NimbusSession, createNimbusHandler } from '@nimbus-sh/worker';
|
|
273
|
+
import { NimbusSession, createNimbusHandler } from '@nimbus-sh/sdk/worker';
|
|
274
274
|
import { issueNimbusToken } from '@nimbus-sh/sdk/token';
|
|
275
275
|
|
|
276
276
|
export { NimbusSession };
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-sh/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Nimbus CLI — `create-nimbus-app` scaffolder + `token mint` + `runtime sync`.",
|
|
5
5
|
"homepage": "https://github.com/AshishKumar4/Nimbus",
|
|
6
6
|
"repository": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"typecheck": "tsc --noEmit"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nimbus-sh/sdk": "^0.1.
|
|
40
|
-
"@nimbus-sh/worker": "^0.1.
|
|
39
|
+
"@nimbus-sh/sdk": "^0.1.1",
|
|
40
|
+
"@nimbus-sh/worker": "^0.1.1"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=20"
|