@gpc-cli/cli 0.9.74 → 0.9.75

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.
Files changed (76) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/dist/__complete-AZXI2O25.js +0 -0
  4. package/dist/anomalies-I5P6QQAZ.js +0 -0
  5. package/dist/apps-WPUQOQLL.js +0 -0
  6. package/dist/audit-BDPS5ODN.js +0 -0
  7. package/dist/auth-4DRT7ZH2.js +0 -0
  8. package/dist/bin.js +1 -1
  9. package/dist/bundle-PFTE7XMU.js +0 -0
  10. package/dist/bundles-6F3AD4QM.js +0 -0
  11. package/dist/cache-FGNP7Y37.js +0 -0
  12. package/dist/changelog-STYBBYDC.js +0 -0
  13. package/dist/chunk-22XCOLZX.js +0 -0
  14. package/dist/chunk-3SJ6OXCZ.js +0 -0
  15. package/dist/chunk-ELXAK7GI.js +0 -0
  16. package/dist/chunk-FAN4ZITI.js +0 -0
  17. package/dist/chunk-JDRY7HK5.js +0 -0
  18. package/dist/{chunk-OUOQV62L.js → chunk-QJGVMQFD.js} +2 -2
  19. package/dist/chunk-QLR4EWJG.js +0 -0
  20. package/dist/chunk-RZQSEDKI.js +0 -0
  21. package/dist/chunk-WSLFHX5X.js +0 -0
  22. package/dist/chunk-Y3QZDAKS.js +0 -0
  23. package/dist/completion-ZK7RPPFD.js +0 -0
  24. package/dist/config-RRQM4A3G.js +0 -0
  25. package/dist/{data-safety-46VY64OO.js → data-safety-UM74SYYE.js} +3 -3
  26. package/dist/data-safety-UM74SYYE.js.map +1 -0
  27. package/dist/device-tiers-MNZYMG3Y.js +0 -0
  28. package/dist/diff-OBSHUSTL.js +0 -0
  29. package/dist/docs-OU6LSSJD.js +0 -0
  30. package/dist/doctor-AT2OKNVS.js +0 -0
  31. package/dist/enterprise-L7DTIX2O.js +0 -0
  32. package/dist/external-transactions-BP42CK3H.js +0 -0
  33. package/dist/feedback-LS2B3NBT.js +0 -0
  34. package/dist/games-SVFN2YIS.js +0 -0
  35. package/dist/generated/docs-bundle.json +1 -1
  36. package/dist/generated-apks-TC33S2YN.js +0 -0
  37. package/dist/grants-32DED5QL.js +0 -0
  38. package/dist/iap-EPJ76IAC.js +0 -0
  39. package/dist/index.js +1 -1
  40. package/dist/init-OCBFI4VH.js +0 -0
  41. package/dist/install-skills-P7LXDTBX.js +0 -0
  42. package/dist/internal-sharing-KW6YENDG.js +0 -0
  43. package/dist/listings-7RTA4MCI.js +0 -0
  44. package/dist/migrate-ZQCJGQQS.js +0 -0
  45. package/dist/one-time-products-OIDBVCFE.js +0 -0
  46. package/dist/preflight-BL67VGUX.js +0 -0
  47. package/dist/pricing-HYQRXKNO.js +0 -0
  48. package/dist/prompt-HJXNXXAR.js +0 -0
  49. package/dist/publish-4LBADN6P.js +0 -0
  50. package/dist/purchase-options-KFWW4JW2.js +0 -0
  51. package/dist/purchases-GFLYTKR3.js +0 -0
  52. package/dist/quickstart-FOWM3OKT.js +0 -0
  53. package/dist/quota-MZRWYJGR.js +0 -0
  54. package/dist/recovery-2VJJLAIQ.js +0 -0
  55. package/dist/releases-KXE2EKSO.js +0 -0
  56. package/dist/reports-CIB2T3XT.js +0 -0
  57. package/dist/reviews-GZ2VOIRN.js +0 -0
  58. package/dist/rtdn-ECZOB7FH.js +0 -0
  59. package/dist/setup-IKHZQJIH.js +0 -0
  60. package/dist/skills-2H5WC6XH.js +0 -0
  61. package/dist/status-32AJ7A6O.js +0 -0
  62. package/dist/subscriptions-JPHFBREY.js +0 -0
  63. package/dist/system-apks-KWTN5LHO.js +0 -0
  64. package/dist/testers-7ILUCKYB.js +0 -0
  65. package/dist/tracks-RH3RKVFB.js +0 -0
  66. package/dist/train-G44NEK43.js +0 -0
  67. package/dist/update-2Z5XJD33.js +0 -0
  68. package/dist/users-W66YCFDX.js +0 -0
  69. package/dist/validate-RHWEZYD2.js +0 -0
  70. package/dist/verify-O2PSBTIC.js +0 -0
  71. package/dist/version-SOH43VET.js +0 -0
  72. package/dist/vitals-QPHS6QFH.js +0 -0
  73. package/dist/watch-4HDEY5FR.js +0 -0
  74. package/package.json +19 -19
  75. package/dist/data-safety-46VY64OO.js.map +0 -1
  76. /package/dist/{chunk-OUOQV62L.js.map → chunk-QJGVMQFD.js.map} +0 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 GPC Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -97,7 +97,7 @@ curl -fsSL https://raw.githubusercontent.com/yasserstudio/gpc/main/scripts/insta
97
97
  - [Commands reference](https://yasserstudio.github.io/gpc/commands/)
98
98
  - [CI/CD recipes](https://yasserstudio.github.io/gpc/ci-cd/)
99
99
 
100
- Free to use. 2,269 tests. 90%+ coverage. Every write operation supports `--dry-run`.
100
+ Free to use. 2,281 tests. 90%+ coverage. Every write operation supports `--dry-run`.
101
101
 
102
102
  ## Licensing
103
103
 
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/bin.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  createProgram,
4
4
  handleCliError,
5
5
  loadPlugins
6
- } from "./chunk-OUOQV62L.js";
6
+ } from "./chunk-QJGVMQFD.js";
7
7
  import {
8
8
  checkForUpdate,
9
9
  formatUpdateNotification
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -141,7 +141,7 @@ async function createProgram(pluginManager) {
141
141
  (await import("./recovery-2VJJLAIQ.js")).registerRecoveryCommands(program);
142
142
  },
143
143
  "data-safety": async () => {
144
- (await import("./data-safety-46VY64OO.js")).registerDataSafetyCommands(program);
144
+ (await import("./data-safety-UM74SYYE.js")).registerDataSafetyCommands(program);
145
145
  },
146
146
  "external-transactions": async () => {
147
147
  (await import("./external-transactions-BP42CK3H.js")).registerExternalTransactionsCommands(
@@ -471,4 +471,4 @@ export {
471
471
  createProgram,
472
472
  handleCliError
473
473
  };
474
- //# sourceMappingURL=chunk-OUOQV62L.js.map
474
+ //# sourceMappingURL=chunk-QJGVMQFD.js.map
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -27,7 +27,7 @@ function registerDataSafetyCommands(program) {
27
27
  });
28
28
  throw err;
29
29
  });
30
- dataSafety.command("update").description("Update data safety declaration from a JSON file").requiredOption("--file <path>", "Path to data safety JSON file").action(async (options) => {
30
+ dataSafety.command("update").description("Update data safety declaration from a CSV file").requiredOption("--file <path>", "Path to data safety CSV file (Play Console export format)").action(async (options) => {
31
31
  const config = await loadConfig();
32
32
  const packageName = resolvePackageName(program.opts()["app"], config);
33
33
  const format = getOutputFormat(program, config);
@@ -47,7 +47,7 @@ function registerDataSafetyCommands(program) {
47
47
  const result = await importDataSafety(client, packageName, options.file);
48
48
  console.log(formatOutput(result, format));
49
49
  });
50
- dataSafety.command("export").description("Export data safety declaration to a JSON file").option("--output <path>", "Output file path", "data-safety.json").action(async () => {
50
+ dataSafety.command("export").description("Export data safety declaration to a file").action(async () => {
51
51
  const err = new Error(
52
52
  "The Google Play Developer API does not provide a GET endpoint for data safety declarations.\nData safety labels cannot be exported via the API."
53
53
  );
@@ -62,4 +62,4 @@ function registerDataSafetyCommands(program) {
62
62
  export {
63
63
  registerDataSafetyCommands
64
64
  };
65
- //# sourceMappingURL=data-safety-46VY64OO.js.map
65
+ //# sourceMappingURL=data-safety-UM74SYYE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/commands/data-safety.ts"],"sourcesContent":["import { resolvePackageName, getClient } from \"../resolve.js\";\nimport type { Command } from \"commander\";\nimport { loadConfig } from \"@gpc-cli/config\";\n\nimport { importDataSafety, formatOutput } from \"@gpc-cli/core\";\nimport { isDryRun, printDryRun } from \"../dry-run.js\";\nimport { getOutputFormat } from \"../format.js\";\n\nexport function registerDataSafetyCommands(program: Command): void {\n const dataSafety = program.command(\"data-safety\").description(\"Manage data safety declarations\");\n\n dataSafety\n .command(\"get\")\n .description(\"Get the current data safety declaration\")\n .action(async () => {\n const err = new Error(\n \"The Google Play Developer API does not provide a GET endpoint for data safety declarations.\\n\\n\" +\n \"Data safety labels can only be updated (not read) via the API.\\n\" +\n \"To view your current data safety declaration, use the Google Play Console:\\n\" +\n \" https://play.google.com/console → App content → Data safety\",\n );\n Object.assign(err, {\n code: \"UNSUPPORTED_OPERATION\",\n exitCode: 2,\n suggestion:\n \"To update data safety via the API, use: gpc data-safety update --file <csv-file>\",\n });\n throw err;\n });\n\n dataSafety\n .command(\"update\")\n .description(\"Update data safety declaration from a CSV file\")\n .requiredOption(\"--file <path>\", \"Path to data safety CSV file (Play Console export format)\")\n .action(async (options) => {\n const config = await loadConfig();\n const packageName = resolvePackageName(program.opts()[\"app\"], config);\n const format = getOutputFormat(program, config);\n\n if (isDryRun(program)) {\n printDryRun(\n {\n command: \"data-safety update\",\n action: \"update data safety from\",\n target: options.file,\n },\n format,\n formatOutput,\n );\n return;\n }\n\n const client = await getClient(config);\n\n const result = await importDataSafety(client, packageName, options.file);\n console.log(formatOutput(result, format));\n });\n\n dataSafety\n .command(\"export\")\n .description(\"Export data safety declaration to a file\")\n .action(async () => {\n const err = new Error(\n \"The Google Play Developer API does not provide a GET endpoint for data safety declarations.\\n\" +\n \"Data safety labels cannot be exported via the API.\",\n );\n Object.assign(err, {\n code: \"UNSUPPORTED_OPERATION\",\n exitCode: 2,\n suggestion:\n \"To export your data safety declaration, use the Google Play Console: App content → Data safety → Export to CSV\",\n });\n throw err;\n });\n}\n"],"mappings":";;;;;;;;;;;;;;AAEA,SAAS,kBAAkB;AAE3B,SAAS,kBAAkB,oBAAoB;AAIxC,SAAS,2BAA2B,SAAwB;AACjE,QAAM,aAAa,QAAQ,QAAQ,aAAa,EAAE,YAAY,iCAAiC;AAE/F,aACG,QAAQ,KAAK,EACb,YAAY,yCAAyC,EACrD,OAAO,YAAY;AAClB,UAAM,MAAM,IAAI;AAAA,MACd;AAAA,IAIF;AACA,WAAO,OAAO,KAAK;AAAA,MACjB,MAAM;AAAA,MACN,UAAU;AAAA,MACV,YACE;AAAA,IACJ,CAAC;AACD,UAAM;AAAA,EACR,CAAC;AAEH,aACG,QAAQ,QAAQ,EAChB,YAAY,gDAAgD,EAC5D,eAAe,iBAAiB,2DAA2D,EAC3F,OAAO,OAAO,YAAY;AACzB,UAAM,SAAS,MAAM,WAAW;AAChC,UAAM,cAAc,mBAAmB,QAAQ,KAAK,EAAE,KAAK,GAAG,MAAM;AACpE,UAAM,SAAS,gBAAgB,SAAS,MAAM;AAE9C,QAAI,SAAS,OAAO,GAAG;AACrB;AAAA,QACE;AAAA,UACE,SAAS;AAAA,UACT,QAAQ;AAAA,UACR,QAAQ,QAAQ;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,MACF;AACA;AAAA,IACF;AAEA,UAAM,SAAS,MAAM,UAAU,MAAM;AAErC,UAAM,SAAS,MAAM,iBAAiB,QAAQ,aAAa,QAAQ,IAAI;AACvE,YAAQ,IAAI,aAAa,QAAQ,MAAM,CAAC;AAAA,EAC1C,CAAC;AAEH,aACG,QAAQ,QAAQ,EAChB,YAAY,0CAA0C,EACtD,OAAO,YAAY;AAClB,UAAM,MAAM,IAAI;AAAA,MACd;AAAA,IAEF;AACA,WAAO,OAAO,KAAK;AAAA,MACjB,MAAM;AAAA,MACN,UAAU;AAAA,MACV,YACE;AAAA,IACJ,CAAC;AACD,UAAM;AAAA,EACR,CAAC;AACL;","names":[]}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes