@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/dist/index.js +1 -1
- package/dist/lib.d.ts +1 -0
- package/dist/lib.js +384 -287
- package/package.json +2 -2
- package/src/actions/localization-strings.ts +1 -1
- package/src/lib.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/cli",
|
|
3
|
-
"version": "0.1.
|
|
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": "
|
|
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";
|