@plasmicapp/cli 0.1.349 → 0.1.351

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/cli",
3
- "version": "0.1.349",
3
+ "version": "0.1.351",
4
4
  "description": "plasmic cli for syncing local code with Plasmic designs",
5
5
  "engines": {
6
6
  "node": ">=12"
@@ -82,5 +82,5 @@
82
82
  "wrap-ansi": "^7.0.0",
83
83
  "yargs": "^15.4.1"
84
84
  },
85
- "gitHead": "7bf672dd90c570e60ab3670d7a53d11839b08769"
85
+ "gitHead": "8df0090d06f8565e0a21404cea947d34df23a045"
86
86
  }
package/src/api.ts CHANGED
@@ -585,6 +585,8 @@ export class PlasmicApi {
585
585
  private get codegenHost() {
586
586
  if (!this.auth.host || this.auth.host === DEFAULT_HOST) {
587
587
  return "https://codegen.plasmic.app";
588
+ } else if (this.auth.host === "https://studio.dev.plasmic.app") {
589
+ return "https://codegen.dev.plasmic.app";
588
590
  } else {
589
591
  return this.auth.host;
590
592
  }
package/tsconfig.json CHANGED
@@ -63,7 +63,14 @@
63
63
  "skipLibCheck": true,
64
64
 
65
65
  /* Advanced Options */
66
- "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
66
+ "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
67
+
68
+ "paths": {
69
+ // This package depends on inquirer@7, but we just installed inquirer@12 as a transitive dep.
70
+ // inquirere@12 which ships with .d.ts files, which tsc automatically finds and uses.
71
+ // This tells tsc to use @types/inquirer instead.
72
+ "inquirer": ["../../node_modules/@types/inquirer"]
73
+ }
67
74
  },
68
75
  "include": ["src"]
69
76
  }