@tscircuit/cli 0.1.129 → 0.1.130
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/main.js +5 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -441915,7 +441915,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
|
|
|
441915
441915
|
import { execSync as execSync2 } from "node:child_process";
|
|
441916
441916
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
441917
441917
|
// package.json
|
|
441918
|
-
var version = "0.1.
|
|
441918
|
+
var version = "0.1.129";
|
|
441919
441919
|
var package_default = {
|
|
441920
441920
|
name: "@tscircuit/cli",
|
|
441921
441921
|
version,
|
|
@@ -443620,12 +443620,15 @@ var stdin_default = winterSpec;
|
|
|
443620
443620
|
|
|
443621
443621
|
// lib/site/getIndex.ts
|
|
443622
443622
|
var getIndex = async () => {
|
|
443623
|
+
const sessionToken = getSessionToken();
|
|
443624
|
+
const tokenScript = sessionToken ? `
|
|
443625
|
+
window.TSCIRCUIT_REGISTRY_TOKEN = ${JSON.stringify(sessionToken)};` : "";
|
|
443623
443626
|
return `<html>
|
|
443624
443627
|
<head>
|
|
443625
443628
|
</head>
|
|
443626
443629
|
<body>
|
|
443627
443630
|
<script>
|
|
443628
|
-
window.TSCIRCUIT_USE_RUNFRAME_FOR_CLI = true
|
|
443631
|
+
window.TSCIRCUIT_USE_RUNFRAME_FOR_CLI = true;${tokenScript}
|
|
443629
443632
|
</script>
|
|
443630
443633
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
443631
443634
|
<div id="root">loading...</div>
|