airship-cli 1.0.0 → 1.1.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.
Files changed (47) hide show
  1. package/.github/workflows/npm-publish.yml +22 -0
  2. package/LICENSE +673 -673
  3. package/README.MD +9 -0
  4. package/out/AirshipTypes.d.ts +1 -1
  5. package/out/AirshipTypes.d.ts.map +1 -1
  6. package/out/cli.d.ts +2 -2
  7. package/out/cli.d.ts.map +1 -1
  8. package/out/cli.js +47 -22
  9. package/out/cli.js.map +1 -1
  10. package/out/commands/CommandTypes.d.ts +1 -0
  11. package/out/commands/CommandTypes.d.ts.map +1 -1
  12. package/out/commands/FetchGame.d.ts.map +1 -1
  13. package/out/commands/FetchGame.js +28 -15
  14. package/out/commands/FetchGame.js.map +1 -1
  15. package/out/commands/FetchUser.d.ts.map +1 -1
  16. package/out/commands/FetchUser.js +27 -16
  17. package/out/commands/FetchUser.js.map +1 -1
  18. package/out/commands/{help.d.ts → Help.d.ts} +1 -1
  19. package/out/commands/Help.d.ts.map +1 -0
  20. package/out/commands/{help.js → Help.js} +4 -3
  21. package/out/commands/Help.js.map +1 -0
  22. package/out/util/TokenManager.d.ts +1 -1
  23. package/out/util/TokenManager.d.ts.map +1 -1
  24. package/out/util/TokenManager.js +7 -4
  25. package/out/util/TokenManager.js.map +1 -1
  26. package/package.json +2 -2
  27. package/src/AirshipTypes.ts +62 -62
  28. package/src/cli.ts +68 -49
  29. package/src/commands/CommandTypes.ts +7 -6
  30. package/src/commands/FetchGame.ts +76 -60
  31. package/src/commands/FetchUser.ts +74 -60
  32. package/src/commands/Help.ts +36 -35
  33. package/src/util/Styles.ts +19 -19
  34. package/src/util/TokenManager.ts +21 -19
  35. package/tsconfig.json +42 -42
  36. package/out/Types.d.ts +0 -2
  37. package/out/Types.d.ts.map +0 -1
  38. package/out/Types.js +0 -2
  39. package/out/Types.js.map +0 -1
  40. package/out/commands/FetchUser copy.d.ts +0 -3
  41. package/out/commands/FetchUser copy.d.ts.map +0 -1
  42. package/out/commands/FetchUser copy.js +0 -46
  43. package/out/commands/FetchUser copy.js.map +0 -1
  44. package/out/commands/help.d.ts.map +0 -1
  45. package/out/commands/help.js.map +0 -1
  46. package/out/index.d.ts.map +0 -1
  47. package/out/index.js.map +0 -1
@@ -0,0 +1,22 @@
1
+ name: Public NPM Package
2
+
3
+ on:
4
+ release:
5
+ types: [created]
6
+
7
+ permissions:
8
+ id-token: write
9
+ contents: read
10
+
11
+ jobs:
12
+ publish:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '24'
20
+ registry-url: 'https://registry.npmjs.org'
21
+ - run: npm ci
22
+ - run: npm publish