@nifrajs/cli 0.1.0-beta.0 → 0.1.0-beta.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/dist/cli.js +1 -1
- package/dist/mcp-http.js +1 -1
- package/package.json +6 -6
- package/src/cli.ts +1 -1
- package/src/mcp-http.ts +1 -1
package/dist/cli.js
CHANGED
|
@@ -68,7 +68,7 @@ routes/ from the current directory. Run from your project root.
|
|
|
68
68
|
Port: \`dev\` and \`start\` share the default ${DEFAULT_DEV_PORT}. Override with \`--port <n>\` (alias \`-p\`) or the
|
|
69
69
|
\`PORT\` env var (\`--port\` wins over \`PORT\`, which wins over the default).`;
|
|
70
70
|
// Kept in lockstep with packages/cli/package.json by check:publish's version-consistency gate.
|
|
71
|
-
const CLI_VERSION = "0.1.0-beta.
|
|
71
|
+
const CLI_VERSION = "0.1.0-beta.1";
|
|
72
72
|
// A render adapter + nifra server are opaque to the CLI (it just forwards them); cast at the seam.
|
|
73
73
|
const asAdapter = (v) => v;
|
|
74
74
|
const asBunPlugins = (v) => v;
|
package/dist/mcp-http.js
CHANGED
|
@@ -19,7 +19,7 @@ import { handleRpc, rpcError } from "./mcp-protocol.js";
|
|
|
19
19
|
// tool factory + the transport core from one entry: `import { respondMcpHttp, docsTools } from "@nifrajs/cli/mcp"`.
|
|
20
20
|
export { docsTools } from "./mcp-docs-tools.js";
|
|
21
21
|
// Kept in lockstep with packages/cli/package.json by check:publish's version-consistency gate.
|
|
22
|
-
const VERSION = "0.1.0-beta.
|
|
22
|
+
const VERSION = "0.1.0-beta.1";
|
|
23
23
|
const SERVER_INFO = { name: "nifra-docs", version: VERSION };
|
|
24
24
|
const CORS = {
|
|
25
25
|
"access-control-allow-origin": "*",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nifrajs/cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
4
|
"description": "The nifra CLI — zero-config dev/build/start for a nifra app (`nifra dev`, `nifra build`, `nifra start`).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bun",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@nifrajs/client": "
|
|
45
|
-
"@nifrajs/runner": "
|
|
46
|
-
"@nifrajs/schema": "
|
|
47
|
-
"@nifrajs/web": "
|
|
48
|
-
"create-nifra": "
|
|
44
|
+
"@nifrajs/client": "0.1.0-beta.2",
|
|
45
|
+
"@nifrajs/runner": "0.1.0-beta.2",
|
|
46
|
+
"@nifrajs/schema": "0.1.0-beta.2",
|
|
47
|
+
"@nifrajs/web": "0.1.0-beta.2",
|
|
48
|
+
"create-nifra": "0.1.0-beta.2"
|
|
49
49
|
},
|
|
50
50
|
"repository": {
|
|
51
51
|
"type": "git",
|
package/src/cli.ts
CHANGED
|
@@ -82,7 +82,7 @@ Port: \`dev\` and \`start\` share the default ${DEFAULT_DEV_PORT}. Override with
|
|
|
82
82
|
\`PORT\` env var (\`--port\` wins over \`PORT\`, which wins over the default).`
|
|
83
83
|
|
|
84
84
|
// Kept in lockstep with packages/cli/package.json by check:publish's version-consistency gate.
|
|
85
|
-
const CLI_VERSION = "0.1.0-beta.
|
|
85
|
+
const CLI_VERSION = "0.1.0-beta.1"
|
|
86
86
|
|
|
87
87
|
// A render adapter + nifra server are opaque to the CLI (it just forwards them); cast at the seam.
|
|
88
88
|
const asAdapter = (v: unknown): RenderAdapter => v as RenderAdapter
|
package/src/mcp-http.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type { Example } from "./examples.ts"
|
|
|
23
23
|
export { docsTools } from "./mcp-docs-tools.ts"
|
|
24
24
|
|
|
25
25
|
// Kept in lockstep with packages/cli/package.json by check:publish's version-consistency gate.
|
|
26
|
-
const VERSION = "0.1.0-beta.
|
|
26
|
+
const VERSION = "0.1.0-beta.1"
|
|
27
27
|
const SERVER_INFO = { name: "nifra-docs", version: VERSION }
|
|
28
28
|
|
|
29
29
|
const CORS: Record<string, string> = {
|