@notionhq/custom-blocks-dev-shell 0.1.33 → 0.1.35
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/bin/cli.js +6 -1
- package/dist/assets/{index-kNlMQeXD.js → index-kz317NXT.js} +1 -1
- package/dist/index.html +1 -1
- package/dist-cli/block-server.js +3 -6
- package/dist-cli/convert.js +14 -32
- package/dist-cli/dev-shell-launcher.js +195 -0
- package/dist-cli/ports.js +36 -0
- package/dist-cli/process-supervisor.js +119 -0
- package/dist-cli/published-cli.js +73 -0
- package/dist-cli/utils.js +25 -0
- package/package.json +3 -3
- package/dist-cli/main.js +0 -271
package/bin/cli.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Executable wrapper for the published dev shell package.
|
|
4
|
+
*
|
|
5
|
+
* The package exposes this file as its CLI entry point. Keep the wrapper dependency-free.
|
|
6
|
+
*/
|
|
2
7
|
try {
|
|
3
|
-
await import(new URL("../dist-cli/
|
|
8
|
+
await import(new URL("../dist-cli/published-cli.js", import.meta.url))
|
|
4
9
|
} catch (error) {
|
|
5
10
|
if (
|
|
6
11
|
error?.code === "ERR_MODULE_NOT_FOUND" &&
|