@plasmicapp/cli 0.1.302 → 0.1.304

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.302",
3
+ "version": "0.1.304",
4
4
  "description": "plasmic cli for syncing local code with Plasmic designs",
5
5
  "engines": {
6
6
  "node": ">=12"
@@ -78,5 +78,5 @@
78
78
  "wrap-ansi": "^7.0.0",
79
79
  "yargs": "^15.4.1"
80
80
  },
81
- "gitHead": "98f55a13c36ec563fe7e8f286167d0c3f241fee8"
81
+ "gitHead": "7569dd15624b746deaea9cf9631a43961a30f52f"
82
82
  }
@@ -109,7 +109,7 @@ export async function localizationStrings(
109
109
  if (existsBuffered(output)) {
110
110
  const overwrite = await confirmWithUser(
111
111
  `File ${output} already exists. Do you want to overwrite?`,
112
- opts.forceOverwrite
112
+ opts.forceOverwrite || opts.yes
113
113
  );
114
114
  if (!overwrite) {
115
115
  throw new HandledError(
package/src/lib.ts CHANGED
@@ -8,3 +8,7 @@ export { WatchArgs, watchProjects } from "./actions/watch";
8
8
  export { logger } from "./deps";
9
9
  export { HandledError, handleError } from "./utils/error";
10
10
  export { Metadata, setMetadataEnv } from "./utils/get-context";
11
+ export {
12
+ localizationStrings,
13
+ LocalizationStringsArgs,
14
+ } from "./actions/localization-strings";