@tscircuit/cli 0.0.94 → 0.0.95

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.
@@ -122,6 +122,12 @@ export const createContextAndRunProgram = async (process_args: any) => {
122
122
  process.exit(0)
123
123
  }
124
124
 
125
+ // HACK: Fixes issue with tsci version --show-latest
126
+ if (args_without_globals.includes("--show_latest")) {
127
+ args_without_globals[args_without_globals.indexOf("--show_latest")] =
128
+ "--show-latest"
129
+ }
130
+
125
131
  await perfectCli(getProgram(ctx), args_without_globals, {
126
132
  async customParamHandler({ commandPath, optionName }, { prompts }) {
127
133
  let optionNameHandler =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.0.94",
3
+ "version": "0.0.95",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Command line tool for developing, publishing and installing tscircuit circuits",
@@ -61,7 +61,7 @@
61
61
  "minimist": "^1.2.8",
62
62
  "node-persist": "^4.0.1",
63
63
  "open": "^10.1.0",
64
- "perfect-cli": "1.0.20",
64
+ "perfect-cli": "^1.0.20",
65
65
  "prompts": "^2.4.2",
66
66
  "react": "^18.2.0",
67
67
  "semver": "^7.6.0",