@tscircuit/cli 0.1.860 → 0.1.861

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/cli/entrypoint.js CHANGED
@@ -25,7 +25,7 @@ const globalPackageJson = require("../package.json")
25
25
  const useGlobal = process.argv.includes("--use-global")
26
26
  const args = process.argv.slice(2).filter((arg) => arg !== "--use-global")
27
27
 
28
- let mainPath = join(packageRoot, "dist/main.js")
28
+ let mainPath = join(packageRoot, "dist/cli/main.js")
29
29
 
30
30
  if (!useGlobal) {
31
31
  try {
@@ -35,7 +35,7 @@ if (!useGlobal) {
35
35
  )
36
36
  const localPackageJson = localRequire(localPackageJsonPath)
37
37
  const localPackageRoot = dirname(localPackageJsonPath)
38
- const localMainPath = join(localPackageRoot, "dist/main.js")
38
+ const localMainPath = join(localPackageRoot, "dist/cli/main.js")
39
39
 
40
40
  if (localPackageRoot !== packageRoot && existsSync(localMainPath)) {
41
41
  console.warn(
@@ -74384,11 +74384,15 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
74384
74384
  import { execSync as execSync2 } from "node:child_process";
74385
74385
  var import_semver2 = __toESM2(require_semver2(), 1);
74386
74386
  // package.json
74387
- var version = "0.1.859";
74387
+ var version = "0.1.860";
74388
74388
  var package_default = {
74389
74389
  name: "@tscircuit/cli",
74390
+ main: "dist/cli/main.js",
74391
+ exports: {
74392
+ ".": "./dist/cli/main.js",
74393
+ "./lib": "./dist/lib/index.js"
74394
+ },
74390
74395
  version,
74391
- main: "dist/main.js",
74392
74396
  devDependencies: {
74393
74397
  "@babel/standalone": "^7.26.9",
74394
74398
  "@biomejs/biome": "^1.9.4",