mimi-seed 0.21.7 → 0.22.0
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.
|
@@ -368,6 +368,46 @@ var CREDENTIALS = [
|
|
|
368
368
|
},
|
|
369
369
|
detect: (home) => ({ present: anyFileStarting(home, "bigquery") })
|
|
370
370
|
},
|
|
371
|
+
{
|
|
372
|
+
id: "drive",
|
|
373
|
+
label: {
|
|
374
|
+
ko: "Google Drive \uC11C\uBE44\uC2A4 \uACC4\uC815",
|
|
375
|
+
en: "Google Drive service account"
|
|
376
|
+
},
|
|
377
|
+
requirement: "optional",
|
|
378
|
+
group: "core",
|
|
379
|
+
file: "~/.mimi-seed/drive-service-account.json",
|
|
380
|
+
fallbackOn: ["oauth"],
|
|
381
|
+
fix: "mimi-seed auth drive",
|
|
382
|
+
setup: { kind: "mcp-bin", bin: "mimi-seed-drive-auth" },
|
|
383
|
+
obtain: {
|
|
384
|
+
ko: [
|
|
385
|
+
"OAuth(drive.file)\uB294 mimi-seed \uAC00 \uB9CC\uB4E0 \uD30C\uC77C\xB7\uD3F4\uB354\uB9CC \uB2E4\uB8EC\uB2E4. \uC774\uBBF8 \uC788\uB294 \uD3F4\uB354\uB098 \uACF5\uC720 \uB4DC\uB77C\uC774\uBE0C\uC5D0 \uC62C\uB9AC\uB824\uBA74 \uC11C\uBE44\uC2A4 \uACC4\uC815\uC774 \uD544\uC694\uD558\uB2E4.",
|
|
386
|
+
"GCP Console \u2192 APIs & Services \u2192 Google Drive API \uC0AC\uC6A9 \uC124\uC815",
|
|
387
|
+
"IAM & Admin \u2192 \uC11C\uBE44\uC2A4 \uACC4\uC815 \u2192 \uD0A4 \u2192 \uC0C8 \uD0A4 \uB9CC\uB4E4\uAE30 \u2192 JSON",
|
|
388
|
+
"\uB300\uC0C1 \uD3F4\uB354(\uB610\uB294 \uACF5\uC720 \uB4DC\uB77C\uC774\uBE0C)\uB97C \uC11C\uBE44\uC2A4 \uACC4\uC815 \uC774\uBA54\uC77C\uACFC \uD3B8\uC9D1\uC790\uB85C **\uC9C1\uC811** \uACF5\uC720\uD574\uC57C \uD55C\uB2E4.",
|
|
389
|
+
"\uC11C\uBE44\uC2A4 \uACC4\uC815\uC5D0\uB294 \uC790\uAE30 \uC800\uC7A5 \uC6A9\uB7C9\uC774 \uC5C6\uC73C\uB2C8 \uACF5\uC720 \uB4DC\uB77C\uC774\uBE0C\uB098 \uACF5\uC720\uBC1B\uC740 \uD3F4\uB354\uC5D0 \uC62C\uB9B0\uB2E4.",
|
|
390
|
+
"\uD30C\uC77C\uC744 \uB458 \uC218 \uC5C6\uB294 \uD658\uACBD(CI\xB7\uD074\uB77C\uC6B0\uB4DC)\uC774\uBA74 \uD0A4 JSON \uBCF8\uBB38\uC744 MIMI_SEED_DRIVE_SA_JSON \uD658\uACBD \uBCC0\uC218\uC5D0 \uB123\uB294\uB2E4."
|
|
391
|
+
],
|
|
392
|
+
en: [
|
|
393
|
+
"OAuth (drive.file) only covers files and folders mimi-seed created. Uploading into an existing folder or shared drive needs a service account.",
|
|
394
|
+
"GCP Console \u2192 APIs & Services \u2192 enable the Google Drive API",
|
|
395
|
+
"IAM & Admin \u2192 Service Accounts \u2192 Keys \u2192 Add key \u2192 Create new key \u2192 JSON",
|
|
396
|
+
"You must share the target folder (or shared drive) with the service-account email as Editor **yourself**.",
|
|
397
|
+
"Service accounts have no storage quota of their own \u2014 upload into a shared drive or a shared folder.",
|
|
398
|
+
"Where a file can't live (CI, cloud), put the key JSON body in the MIMI_SEED_DRIVE_SA_JSON environment variable."
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
docsAnchor: "drive",
|
|
402
|
+
note: {
|
|
403
|
+
ko: "\uC120\uD0DD \u2014 mimi-seed \uAC00 \uB9CC\uB4E0 \uD3F4\uB354\uB9CC \uC4F0\uBA74 OAuth \uD3F4\uBC31 \uAC00\uB2A5",
|
|
404
|
+
en: "optional \u2014 falls back to OAuth for folders mimi-seed created"
|
|
405
|
+
},
|
|
406
|
+
detect: (home) => {
|
|
407
|
+
if (process.env.MIMI_SEED_DRIVE_SA_JSON?.trim()) return { present: true, detail: "MIMI_SEED_DRIVE_SA_JSON (env)" };
|
|
408
|
+
return { present: hasFile(home, "drive-service-account.json") };
|
|
409
|
+
}
|
|
410
|
+
},
|
|
371
411
|
{
|
|
372
412
|
id: "github",
|
|
373
413
|
label: {
|
|
@@ -909,7 +949,7 @@ function t() {
|
|
|
909
949
|
}
|
|
910
950
|
|
|
911
951
|
// package.json
|
|
912
|
-
var version = "0.
|
|
952
|
+
var version = "0.22.0";
|
|
913
953
|
|
|
914
954
|
// src/lib/windows-path.ts
|
|
915
955
|
import path4 from "path";
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
version,
|
|
34
34
|
writeConfig,
|
|
35
35
|
writeSettings
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DD2KRCK6.js";
|
|
37
37
|
|
|
38
38
|
// src/index.ts
|
|
39
39
|
import kleur11 from "kleur";
|
|
@@ -180,6 +180,7 @@ ${kleur.bold("\uD50C\uB7AB\uD3FC\uBCC4 \uC790\uACA9\uC99D\uBA85:")}
|
|
|
180
180
|
${kleur.cyan("mimi-seed auth appstore")} App Store Connect API \uD0A4 (appstore.json)
|
|
181
181
|
${kleur.cyan("mimi-seed auth playstore")} Play \uC11C\uBE44\uC2A4 \uACC4\uC815 JSON \uB4F1\uB85D
|
|
182
182
|
${kleur.cyan("mimi-seed auth bigquery")} BigQuery \uC11C\uBE44\uC2A4 \uACC4\uC815 (Crashlytics export \uB4F1)
|
|
183
|
+
${kleur.cyan("mimi-seed auth drive")} Google Drive \uC11C\uBE44\uC2A4 \uACC4\uC815 (\uACF5\uC720 \uD3F4\uB354\xB7\uACF5\uC720 \uB4DC\uB77C\uC774\uBE0C \uC5C5\uB85C\uB4DC)
|
|
183
184
|
|
|
184
185
|
${kleur.bold("\uBE4C\uB4DC / \uB9C8\uCF00\uD305:")}
|
|
185
186
|
${kleur.cyan("mimi-seed auth meta")} Facebook \xB7 Instagram \xB7 Threads \uD55C \uBC88\uC5D0
|
|
@@ -220,6 +221,7 @@ ${kleur.bold("Per-platform credentials:")}
|
|
|
220
221
|
${kleur.cyan("mimi-seed auth appstore")} App Store Connect API key (appstore.json)
|
|
221
222
|
${kleur.cyan("mimi-seed auth playstore")} register a Play service-account JSON
|
|
222
223
|
${kleur.cyan("mimi-seed auth bigquery")} BigQuery service account (Crashlytics export, etc.)
|
|
224
|
+
${kleur.cyan("mimi-seed auth drive")} Google Drive service account (uploads to shared folders / drives)
|
|
223
225
|
|
|
224
226
|
${kleur.bold("Build / marketing:")}
|
|
225
227
|
${kleur.cyan("mimi-seed auth meta")} Facebook \xB7 Instagram \xB7 Threads in one flow
|
|
@@ -276,6 +278,7 @@ async function cmdAuth(args) {
|
|
|
276
278
|
if (sub === "appstore") return void exitWith(await runMcpBin("mimi-seed-appstore-auth", rest));
|
|
277
279
|
if (sub === "playstore") return void exitWith(await runMcpBin("mimi-seed-playstore-auth", rest));
|
|
278
280
|
if (sub === "bigquery") return void exitWith(await runMcpBin("mimi-seed-bigquery-auth", rest));
|
|
281
|
+
if (sub === "drive") return void exitWith(await runMcpBin("mimi-seed-drive-auth", rest));
|
|
279
282
|
if (sub === "jenkins") return void exitWith(await runMcpBin("mimi-seed-jenkins-auth", rest));
|
|
280
283
|
if (sub === "googleads") return void exitWith(await runMcpBin("mimi-seed-googleads-auth", rest));
|
|
281
284
|
if (sub === "meta") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["all", ...rest]));
|
|
@@ -284,7 +287,7 @@ async function cmdAuth(args) {
|
|
|
284
287
|
if (sub === "threads") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["threads", ...rest]));
|
|
285
288
|
if (sub === "tiktok") return void exitWith(await runMcpBin("mimi-seed-tiktok-business-auth", rest));
|
|
286
289
|
if (sub === "ci") {
|
|
287
|
-
const { cmdSetup: cmdSetup2 } = await import("./setup-
|
|
290
|
+
const { cmdSetup: cmdSetup2 } = await import("./setup-F5S5C4KB.js");
|
|
288
291
|
await cmdSetup2(["--only", "github,gitlab", "--reconnect", "github,gitlab"]);
|
|
289
292
|
return;
|
|
290
293
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mimi-seed",
|
|
3
3
|
"keywords": ["release-doctor", "expo", "react-native", "unity", "google-play", "app-store", "release-readiness", "mcp", "cli"],
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.22.0",
|
|
5
5
|
"description": "Release Doctor: check Expo, React Native and Unity release risks before connecting app stores.",
|
|
6
6
|
"bin": {
|
|
7
7
|
"mimi-seed": "dist/index.js"
|