@microsoft/rayfin-guide 1.36.0 → 1.36.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.
|
@@ -73,7 +73,7 @@ The proxy is reachable wherever the Vite dev server is reachable, so keep Vite b
|
|
|
73
73
|
The local functions setup makes these workspace changes:
|
|
74
74
|
|
|
75
75
|
- Merges backend coordinates and the Node inspector argument into the configured functions package's `local.settings.json`.
|
|
76
|
-
- Adds a `Functions: Attach` configuration to the root `.vscode/launch.json` after the Functions host becomes ready.
|
|
76
|
+
- Adds a `Functions: Attach` configuration to the root `.vscode/launch.json` after the Functions host becomes ready. If the entry already exists and the inspector moved to another port, only its `port` is updated.
|
|
77
77
|
- Leaves JSON-with-comments launch files unchanged and reports that the attach configuration must be added manually.
|
|
78
78
|
- Patches recognized existing `src/services/rayfinClient.ts` and `src/services/bootstrap.ts` files once so non-adapter projects read `VITE_RAYFIN_FUNCTIONS_URL` only during Vite development.
|
|
79
79
|
- Regenerates the framework `.env.local` file unless `--no-emit-env` is set.
|
|
@@ -68,7 +68,7 @@ If the response remains stale after compilation finishes, restart the dev sessio
|
|
|
68
68
|
|
|
69
69
|
## Debugging
|
|
70
70
|
|
|
71
|
-
With debugging enabled (default), attach your debugger to the inspector port (`9229` by default) using the generated **"Functions: Attach"** launch configuration in VS Code. Pass `--no-debug` to run without the inspector.
|
|
71
|
+
With debugging enabled (default), attach your debugger to the inspector port (`9229` by default) using the generated **"Functions: Attach"** launch configuration in VS Code. If you pass a different `--inspect-port`, the existing configuration's port is updated to match. Pass `--no-debug` to run without the inspector.
|
|
72
72
|
|
|
73
73
|
## Secrets in local development
|
|
74
74
|
|
package/assets/docs/cli/index.md
CHANGED
|
@@ -140,6 +140,7 @@ Other standalone subcommands and Docker maintenance flags such as `dev --stop` d
|
|
|
140
140
|
|
|
141
141
|
Local Functions sessions show function endpoints, the debugger address, application output, and warnings or errors by default.
|
|
142
142
|
Recognized host startup and configuration detail, HTTP request metadata, and successful initial build output are kept in diagnostics; use `--verbose` to mirror that detail to the terminal.
|
|
143
|
+
When the host restarts after a watched file change, such as `node_modules` updates after an install, the terminal shows a single `Functions host restarted.` line and the debugger address only when it changes.
|
|
143
144
|
When the initial build fails, human output includes a bounded tail of compiler output, and JSON errors include it in `buildOutput`.
|
|
144
145
|
The tail retains up to 100 complete lines and 64 KiB, with an explicit marker when earlier output is omitted.
|
|
145
146
|
Verbose mode does not replay the same compiler output a second time.
|
|
@@ -48,7 +48,7 @@ The command also:
|
|
|
48
48
|
|
|
49
49
|
- Merges local backend settings into the configured functions package's `local.settings.json`.
|
|
50
50
|
- Reserves a Node inspector port starting at `9229`.
|
|
51
|
-
- Adds `Functions: Attach` to the root `.vscode/launch.json` after the Functions host is ready.
|
|
51
|
+
- Adds `Functions: Attach` to the root `.vscode/launch.json` after the Functions host is ready. If the entry already exists and the inspector moved to another port, only its `port` is updated.
|
|
52
52
|
- Patches recognized existing `src/services/rayfinClient.ts` and `src/services/bootstrap.ts` files to pass `VITE_RAYFIN_FUNCTIONS_URL` directly only during Vite development.
|
|
53
53
|
|
|
54
54
|
If `.vscode/launch.json` contains JSON with comments, Rayfin leaves it unchanged to avoid losing those comments and asks you to add the attach configuration manually.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/rayfin-guide",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.2",
|
|
4
4
|
"description": "Cross-cutting Builder guides for the Rayfin platform — discovered by `@microsoft/rayfin-docs` via the `rayfinDocs` package.json field convention.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|