shipthis 0.1.23 → 0.1.25

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 (89) hide show
  1. package/README.md +25 -16
  2. package/docs/assets/ship-outputx0.8.gif +0 -0
  3. package/package.json +1 -1
  4. package/bin/readme.sh +0 -15
  5. package/dist/AppleBundleIdDetails-C9C5WSPR.js +0 -76
  6. package/dist/Command-BQCJ9Wf-.js +0 -28
  7. package/dist/CommandGame-CkGqTno0.js +0 -9
  8. package/dist/Create-t_E231OA.js +0 -59
  9. package/dist/Import-Ljz1gxXd.js +0 -110
  10. package/dist/JobProgress-D9tHgBvi.js +0 -121
  11. package/dist/JobStatusTable-DmI7qCHc.js +0 -203
  12. package/dist/NextSteps-CK9zHOCt.js +0 -18
  13. package/dist/ProgressSpinner-6pw1T8Iw.js +0 -16
  14. package/dist/ProjectCredentialsTable-CTkP1mvy.js +0 -37
  15. package/dist/RunWithSpinner-BVXNWGD3.js +0 -27
  16. package/dist/StatusTable-Dm5St4g-.js +0 -33
  17. package/dist/Table-CvM6pccN.js +0 -101
  18. package/dist/Title-BCQtayg6.js +0 -6
  19. package/dist/UserCredentialsTable-DhtM_iTG.js +0 -82
  20. package/dist/baseAppleCommand-IGl6KTvv.js +0 -10
  21. package/dist/baseGameAndroidCommand-DFn4zMvq.js +0 -43
  22. package/dist/commands/apple/apiKey/create.js +0 -103
  23. package/dist/commands/apple/apiKey/export.js +0 -81
  24. package/dist/commands/apple/apiKey/import.js +0 -85
  25. package/dist/commands/apple/apiKey/status.js +0 -122
  26. package/dist/commands/apple/certificate/create.js +0 -133
  27. package/dist/commands/apple/certificate/export.js +0 -81
  28. package/dist/commands/apple/certificate/import.js +0 -85
  29. package/dist/commands/apple/certificate/status.js +0 -130
  30. package/dist/commands/apple/login.js +0 -76
  31. package/dist/commands/apple/status.js +0 -79
  32. package/dist/commands/dashboard.js +0 -38
  33. package/dist/commands/game/android/apiKey/connect.js +0 -74
  34. package/dist/commands/game/android/apiKey/create.js +0 -74
  35. package/dist/commands/game/android/apiKey/export.js +0 -84
  36. package/dist/commands/game/android/apiKey/import.js +0 -93
  37. package/dist/commands/game/android/apiKey/invite.js +0 -81
  38. package/dist/commands/game/android/apiKey/status.js +0 -87
  39. package/dist/commands/game/android/keyStore/create.js +0 -69
  40. package/dist/commands/game/android/keyStore/export.js +0 -83
  41. package/dist/commands/game/android/keyStore/import.js +0 -112
  42. package/dist/commands/game/android/keyStore/status.js +0 -70
  43. package/dist/commands/game/android/status.js +0 -84
  44. package/dist/commands/game/build/download.js +0 -80
  45. package/dist/commands/game/build/list.js +0 -94
  46. package/dist/commands/game/create.js +0 -67
  47. package/dist/commands/game/details.js +0 -113
  48. package/dist/commands/game/export.js +0 -58
  49. package/dist/commands/game/ios/app/addTester.js +0 -124
  50. package/dist/commands/game/ios/app/create.js +0 -117
  51. package/dist/commands/game/ios/app/status.js +0 -66
  52. package/dist/commands/game/ios/app/sync.js +0 -95
  53. package/dist/commands/game/ios/profile/create.js +0 -129
  54. package/dist/commands/game/ios/profile/export.js +0 -83
  55. package/dist/commands/game/ios/profile/import.js +0 -92
  56. package/dist/commands/game/ios/profile/status.js +0 -139
  57. package/dist/commands/game/ios/status.js +0 -92
  58. package/dist/commands/game/ios/wizard.js +0 -153
  59. package/dist/commands/game/job/list.js +0 -91
  60. package/dist/commands/game/job/status.js +0 -91
  61. package/dist/commands/game/list.js +0 -83
  62. package/dist/commands/game/ship.js +0 -205
  63. package/dist/commands/game/status.js +0 -114
  64. package/dist/commands/game/wizard.js +0 -686
  65. package/dist/commands/internal/fastlane.js +0 -74
  66. package/dist/commands/internal/readme.js +0 -937
  67. package/dist/commands/login.js +0 -92
  68. package/dist/commands/status.js +0 -76
  69. package/dist/export-CVs_xoDN.js +0 -36
  70. package/dist/git-DREGq-jc.js +0 -32
  71. package/dist/import-Ch5O7xfN.js +0 -47
  72. package/dist/index-BB00V5oF.js +0 -136
  73. package/dist/index-CIa2EDQ6.js +0 -24
  74. package/dist/index-DkNQs11R.js +0 -711
  75. package/dist/index-DrcGhlrc.js +0 -138
  76. package/dist/index-DyOv-ge5.js +0 -125
  77. package/dist/index-vMXsdSCy.js +0 -208
  78. package/dist/index.d.ts +0 -1
  79. package/dist/index.js +0 -1
  80. package/dist/upload-CRE2nVdd.js +0 -60
  81. package/dist/useAndroidServiceAccountTestResult-DcYDam-p.js +0 -52
  82. package/dist/useAppleApp-B16WbUxJ.js +0 -32
  83. package/dist/useAppleBundleId-DobPATan.js +0 -64
  84. package/dist/useJobWatching-BZSUa8E-.js +0 -45
  85. package/dist/useProjectCredentials-Btnr7WK3.js +0 -54
  86. package/dist/useWebSocket-ByuNoqRw.js +0 -36
  87. package/dist/utils/help.js +0 -14
  88. package/npm-shrinkwrap.json +0 -14011
  89. package/oclif.manifest.json +0 -2275
@@ -1,74 +0,0 @@
1
- import fs__default, { promises } from 'fs';
2
- import path from 'path';
3
- import { Args, Flags } from '@oclif/core';
4
- import { Y as BaseCommand } from '../../index-DkNQs11R.js';
5
- import '@expo/apple-utils/build/index.js';
6
- import 'axios';
7
- import 'crypto-js';
8
- import 'uuid';
9
- import 'luxon';
10
- import 'crypto';
11
- import 'readline-sync';
12
- import 'node:readline';
13
- import 'node:path';
14
- import 'node:url';
15
- import 'isomorphic-git';
16
- import 'ini';
17
- import 'deepmerge';
18
- import 'react';
19
- import '@tanstack/react-query';
20
- import 'fast-glob';
21
- import 'yazl';
22
- import 'socket.io-client';
23
-
24
- function generateFastlaneSession(cookieData) {
25
- return cookieData.cookies.map((cookie) => {
26
- return `- !ruby/object:HTTP::Cookie
27
- name: ${cookie.key}
28
- value: ${cookie.value}
29
- domain: ${cookie.domain}
30
- for_domain: ${cookie.hostOnly ? "false" : "true"}
31
- path: "${cookie.path}"
32
- secure: ${cookie.secure || false}
33
- httponly: ${cookie.httpOnly || false}
34
- expires: ${cookie.expires ? `"${cookie.expires}"` : ""}
35
- max_age: ${cookie.maxAge || ""}
36
- created_at: ${cookie.creation}
37
- accessed_at: ${cookie.lastAccessed}`;
38
- }).join("\n");
39
- }
40
- class AppleFastlane extends BaseCommand {
41
- static args = {
42
- username: Args.string({ description: "Your Apple email address", required: true }),
43
- file: Args.string({ description: "Path where the fastlane session will be written", required: true })
44
- };
45
- static description = "Output a fastlane session file which can be used with xcodes";
46
- static examples = [
47
- "<%= config.bin %> <%= command.id %>",
48
- "<%= config.bin %> <%= command.id %> --force --username me@email.nowhere"
49
- ];
50
- static flags = {
51
- force: Flags.boolean({ char: "f" })
52
- };
53
- async run() {
54
- const { args } = this;
55
- const { username, file } = args;
56
- const homeDirectory = this.config.home;
57
- const inputFilePath = path.join(homeDirectory, ".app-store", "auth", username, "cookie");
58
- if (!fs__default.existsSync(inputFilePath)) {
59
- throw new Error(`No expo auth file found for ${username}`);
60
- }
61
- if (fs__default.existsSync(file) && !this.flags.force) {
62
- throw new Error(`The file ${file} already exists. Use --force to overwrite it.`);
63
- }
64
- const outputFilePath = file;
65
- const fileContent = await promises.readFile(inputFilePath, "utf-8");
66
- const cookieData = JSON.parse(fileContent);
67
- const yamlContent = generateFastlaneSession(cookieData);
68
- await promises.mkdir(path.dirname(outputFilePath), { recursive: true });
69
- await promises.writeFile(outputFilePath, yamlContent, "utf-8");
70
- console.log(`FASTLANE_SESSION written to ${outputFilePath}`);
71
- }
72
- }
73
-
74
- export { AppleFastlane as default };