lingo.dev 0.93.6 → 0.93.8
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/README.md +115 -42
- package/build/cli.cjs +24 -15
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +15 -6
- package/build/cli.mjs.map +1 -1
- package/package.json +4 -4
package/build/cli.mjs
CHANGED
|
@@ -6828,12 +6828,14 @@ var getPlatformKit = () => {
|
|
|
6828
6828
|
};
|
|
6829
6829
|
|
|
6830
6830
|
// src/cli/cmd/ci/index.ts
|
|
6831
|
-
var ci_default = new Command15().command("ci").description("Run Lingo.dev CI/CD action").helpOption("-h, --help", "Show help").option("--parallel", "Run in parallel mode", (
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6831
|
+
var ci_default = new Command15().command("ci").description("Run Lingo.dev CI/CD action").helpOption("-h, --help", "Show help").option("--parallel [boolean]", "Run in parallel mode", parseBooleanArg).option("--api-key <key>", "API key").option(
|
|
6832
|
+
"--pull-request [boolean]",
|
|
6833
|
+
"Create a pull request with the changes",
|
|
6834
|
+
parseBooleanArg
|
|
6835
|
+
).option("--commit-message <message>", "Commit message").option("--pull-request-title <title>", "Pull request title").option("--working-directory <dir>", "Working directory").option(
|
|
6835
6836
|
"--process-own-commits [boolean]",
|
|
6836
|
-
"Process commits made by this action"
|
|
6837
|
+
"Process commits made by this action",
|
|
6838
|
+
parseBooleanArg
|
|
6837
6839
|
).action(async (options) => {
|
|
6838
6840
|
const settings = getSettings(options.apiKey);
|
|
6839
6841
|
console.log(options);
|
|
@@ -6884,6 +6886,13 @@ var ci_default = new Command15().command("ci").description("Run Lingo.dev CI/CD
|
|
|
6884
6886
|
}
|
|
6885
6887
|
await flow.postRun?.();
|
|
6886
6888
|
});
|
|
6889
|
+
function parseBooleanArg(val) {
|
|
6890
|
+
if (val === true) return true;
|
|
6891
|
+
if (typeof val === "string") {
|
|
6892
|
+
return val.toLowerCase() === "true";
|
|
6893
|
+
}
|
|
6894
|
+
return false;
|
|
6895
|
+
}
|
|
6887
6896
|
|
|
6888
6897
|
// src/cli/cmd/status.ts
|
|
6889
6898
|
import { bucketTypeSchema as bucketTypeSchema4, localeCodeSchema as localeCodeSchema3, resolveOverriddenLocale as resolveOverriddenLocale7 } from "@lingo.dev/_spec";
|
|
@@ -7377,7 +7386,7 @@ async function renderHero2() {
|
|
|
7377
7386
|
// package.json
|
|
7378
7387
|
var package_default = {
|
|
7379
7388
|
name: "lingo.dev",
|
|
7380
|
-
version: "0.93.
|
|
7389
|
+
version: "0.93.8",
|
|
7381
7390
|
description: "Lingo.dev CLI",
|
|
7382
7391
|
private: false,
|
|
7383
7392
|
publishConfig: {
|