@tscircuit/cli 0.1.785 → 0.1.786
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 +3 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -74129,7 +74129,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
|
|
|
74129
74129
|
import { execSync as execSync2 } from "node:child_process";
|
|
74130
74130
|
var import_semver2 = __toESM2(require_semver2(), 1);
|
|
74131
74131
|
// package.json
|
|
74132
|
-
var version = "0.1.
|
|
74132
|
+
var version = "0.1.785";
|
|
74133
74133
|
var package_default = {
|
|
74134
74134
|
name: "@tscircuit/cli",
|
|
74135
74135
|
version,
|
|
@@ -173682,9 +173682,9 @@ var validateMainInDist = (projectDir, distDir) => {
|
|
|
173682
173682
|
};
|
|
173683
173683
|
|
|
173684
173684
|
// cli/utils/get-latest-tscircuit-cdn-url.ts
|
|
173685
|
-
var
|
|
173685
|
+
var TSCIRCUIT_NPMJS_API_URL = "https://registry.npmjs.org/tscircuit/latest";
|
|
173686
173686
|
async function getLatestTscircuitCdnVersion() {
|
|
173687
|
-
const response = await fetch(
|
|
173687
|
+
const response = await fetch(TSCIRCUIT_NPMJS_API_URL);
|
|
173688
173688
|
if (!response.ok) {
|
|
173689
173689
|
throw new Error(`Failed to fetch tscircuit version from CDN: ${response.statusText}`);
|
|
173690
173690
|
}
|