@notionhq/custom-blocks-dev-shell 0.1.10 → 0.1.11
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/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Workers local shell</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-BWWoeYho.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-D7A1CDPg.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/dist-cli/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Entry point for the published dev-shell CLI (`npx`-run from a worker
|
|
3
|
-
* project). Mirrors the
|
|
3
|
+
* project). Mirrors the repo's `scripts/dev.ts`: build the
|
|
4
4
|
* worker, extract its manifest, serve one Vite dev server per custom block
|
|
5
5
|
* (using the worker's own Vite install), and serve the prebuilt dev-shell UI
|
|
6
6
|
* with the block registry injected at runtime.
|
|
@@ -180,7 +180,6 @@ async function main() {
|
|
|
180
180
|
}
|
|
181
181
|
try {
|
|
182
182
|
await serveUi(distDir, cliArgs.shellPort, {
|
|
183
|
-
mode: "worker",
|
|
184
183
|
blocks: registry,
|
|
185
184
|
dataSources,
|
|
186
185
|
});
|