@forge/cli-shared 6.8.0-next.25-experimental-1aaebb0 → 6.8.0-next.27

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/CHANGELOG.md CHANGED
@@ -1,49 +1,16 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 6.8.0-next.25-experimental-1aaebb0
3
+ ## 6.8.0-next.27
4
4
 
5
- ### Minor Changes
5
+ ### Patch Changes
6
6
 
7
- - 1a9af0b: Add support for analytics to be displayed in the version commands
8
- - d156658: Switch the `forge create` flow to select product context first
7
+ - d0cb567: License Decoupling: removed agent license mode, added support for user-access license mode in cli
9
8
 
10
- ### Patch Changes
9
+ ## 6.8.0-next.26
11
10
 
12
- - f9c2880: Add support for --no-verify during tunnel
13
- - 3a510c5: Improve XPA uninstall wording
14
- - 7243788: Displaying all product options and fixing wording
15
- - 2204d8d: update the help text for license options
16
- - 2cdac63: forge install should list all scopes
17
- - c57e34a: Fix bundling when handlers are defined in subdirectories
18
- - 9d231e9: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
19
- - 0aad197: Change product wording to context
20
- - 61f499c: Fix XPA upgrade wording
21
- - 999a9d0: Update error messages for deployment
22
- - 7d8339b: verify installation exists before upgrading
23
- - 7a83fd9: Uninstall: Automatically select optional contexts when the required one is selected
24
- - b503084: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
25
- - 8c34ca3: Changed manifest to allow egress objects to be a list of string, egress objects containing at least the 'address' field, or a remote reference
26
- - 336f74f: Support serving i18n resources while using `forge tunnel`
27
- - 210360b: Refactor text functions for easier read and maintenance
28
- - a7db2e6: improve error message
29
- - Updated dependencies [7243788]
30
- - Updated dependencies [acf1edf]
31
- - Updated dependencies [2d5a0e6]
32
- - Updated dependencies [9d231e9]
33
- - Updated dependencies [b51be39]
34
- - Updated dependencies [4b083be]
35
- - Updated dependencies [94e48b9]
36
- - Updated dependencies [0dfb15d]
37
- - Updated dependencies [b503084]
38
- - Updated dependencies [8c34ca3]
39
- - Updated dependencies [336f74f]
40
- - Updated dependencies [e404ba0]
41
- - Updated dependencies [64daaa5]
42
- - Updated dependencies [99739ec]
43
- - Updated dependencies [3a703de]
44
- - Updated dependencies [003b1ed]
45
- - @forge/manifest@9.0.0-next.13-experimental-1aaebb0
46
- - @forge/i18n@0.0.5-next.1-experimental-1aaebb0
11
+ ### Minor Changes
12
+
13
+ - 2c0e151: Added new 'containers' command
47
14
 
48
15
  ## 6.8.0-next.25
49
16
 
@@ -209,7 +209,7 @@ class CommandLineUI {
209
209
  this.log(JSON.stringify(data, null, 2));
210
210
  return;
211
211
  }
212
- if (!data && emptyMessage) {
212
+ if (!data?.length && emptyMessage) {
213
213
  this.info(emptyMessage);
214
214
  return;
215
215
  }
package/out/ui/text.d.ts CHANGED
@@ -751,6 +751,76 @@ export declare const Text: {
751
751
  fixSummary: (numErrors: number, numFixableErrors: number, numFixableWarnings: number) => string;
752
752
  warning: (line: number, column: number, message: string, reference: string) => string;
753
753
  };
754
+ containers: {
755
+ cmd: {
756
+ desc: string;
757
+ };
758
+ create: {
759
+ cmd: {
760
+ desc: string;
761
+ keyOption: string;
762
+ };
763
+ prompt: {
764
+ overview: string;
765
+ entry: string;
766
+ };
767
+ creatingNewContainer: (key: string) => string;
768
+ start: string;
769
+ success: string;
770
+ createdRepositoryURI: (uri: string) => string;
771
+ };
772
+ list: {
773
+ cmd: {
774
+ desc: string;
775
+ };
776
+ listingContainers: string;
777
+ noContainersFound: string;
778
+ };
779
+ images: {
780
+ cmd: {
781
+ desc: string;
782
+ };
783
+ list: {
784
+ cmd: {
785
+ desc: string;
786
+ keyOption: string;
787
+ };
788
+ prompt: {
789
+ overview: string;
790
+ entry: string;
791
+ };
792
+ listingImages: (key: string) => string;
793
+ noImagesFound: string;
794
+ promptNextPage: string;
795
+ confirmationForNextPage: string;
796
+ };
797
+ };
798
+ login: {
799
+ cmd: {
800
+ desc: string;
801
+ onlyPassword: string;
802
+ };
803
+ truncatedPassword: (password: string) => string;
804
+ };
805
+ delete: {
806
+ cmd: {
807
+ desc: string;
808
+ keyOption: string;
809
+ };
810
+ interactive: {
811
+ overview: string;
812
+ desc: string;
813
+ progressInfo: string;
814
+ noContainersFound: string;
815
+ };
816
+ deletingContainer: (key: string) => string;
817
+ warning: string;
818
+ confirmation: (key: string) => string;
819
+ abortedDeletion: string;
820
+ start: string;
821
+ success: string;
822
+ };
823
+ };
754
824
  stub: {
755
825
  error: (newName: string, oldName: string) => string;
756
826
  };
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAK9D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAoBD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjE;AAKD,eAAO,MAAM,UAAU,SAAU,MAAM,KAAG,MAAsD,CAAC;AAoDjG,eAAO,MAAM,IAAI;;;;;6BAiBM,MAAM;2BACR,MAAM;6BAGJ,MAAM;+BAEJ,MAAM;;wCAIK,MAAM,UAAU,MAAM;qDAOT,MAAM,sBAAsB,MAAM;;wCAM/C,MAAM,EAAE;;;;;;6CAcH,MAAM,YAAY,MAAM,YAAY,MAAM;;;kDAQrC,MAAM,EAAE;gDAKV,MAAM,aAAa,MAAM;8CAG3B,MAAM,aAAa,MAAM;uCAGhC,MAAM;iCAEZ,MAAM;;;;;;;;;;;;;;;kDAoBS,MAAM;;;;0DAMI,MAAM,EAAE;;;yCAKzB,MAAM;;;mDAYI,MAAM,yBAAyB,MAAM;;6BAM7D,MAAM,EAAE;;;;;;;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
90
90
  prodEnvNotSupported: '--license-modes and --users-with-access options are not supported in production environments',
91
- empty: '--license-modes option list is empty. Provide a space-separated list of license mode. Supported values are user_access and agent. \nFor example: install --license-modes user_access --users-with-access aaid1',
92
- invalid: 'Invalid --license-modes option value. Supported values are user_access and agent',
91
+ empty: '--license-modes option list is empty. Provide a space-separated list of license mode. Supported values are user-access. \nFor example: install --license-modes user-access --users-with-access aaid1',
92
+ invalid: 'Invalid --license-modes option value. Supported values are user-access',
93
93
  userWithAccessRequired: '--users-with-access option is required when specifying --license-modes option'
94
94
  },
95
95
  userWithAccessOverrideErrors: {
96
96
  prodEnvNotSupported: '--license-modes and --users-with-access options are not supported in production environments',
97
- empty: '--users-with-access option list is empty. Provide a space-separated list of Atlassian Account IDs(aaid). \nFor example: install --license-modes user_access --users-with-access aaid1 aaid2',
97
+ empty: '--users-with-access option list is empty. Provide a space-separated list of Atlassian Account IDs(aaid). \nFor example: install --license-modes user-access --users-with-access aaid1 aaid2',
98
98
  countSize: (maxSizeOfUsersWithAccess) => `User limit exceeded. The --users-with-access option allows a maximum of ${maxSizeOfUsersWithAccess} users.`,
99
99
  licenseModeRequired: '--license-modes option is required when specifying --users-with-access option'
100
100
  },
@@ -704,8 +704,8 @@ What do you like or don't like about Forge? Share your feedback below or press C
704
704
  optionConfirmScopes: 'skip confirmation of scopes for the app before installing or upgrading the app',
705
705
  optionUpgrade: 'upgrade an existing installation',
706
706
  optionLicense: 'specify the license value for the app (allowed values: active, standard, advanced, inactive, and trial)',
707
- optionLicenseModes: '[This feature is under development] specify the list of license mode value for the app (allowed values: user-access, agent)',
708
- optionUsersWithAccess: '[This feature is under development] specify the list of Atlassian Account IDs(aaid) for users who have access to the app',
707
+ optionLicenseModes: 'specify the list of license mode value for the app (allowed values: user-access)',
708
+ optionUsersWithAccess: 'specify the list of Atlassian Account IDs(aaid) for users who have access to the app',
709
709
  listScopes: (scopes) => `Your app will be installed with the following scopes:\n${scopes
710
710
  .map(({ name, requiresInteractiveConsent }) => `- ${name}${requiresInteractiveConsent ? ' (requires user consent)' : ''}`)
711
711
  .join('\n')}\n`,
@@ -952,6 +952,76 @@ Debugging in Google Chrome:
952
952
  },
953
953
  warning: (line, column, message, reference) => getLintMessage(line, column, message, 'warning', log_color_1.LogColor.warn, reference)
954
954
  },
955
+ containers: {
956
+ cmd: {
957
+ desc: 'manage containers and container images'
958
+ },
959
+ create: {
960
+ cmd: {
961
+ desc: 'create new container definition',
962
+ keyOption: 'specify the name of the container'
963
+ },
964
+ prompt: {
965
+ overview: 'Create a new container.',
966
+ entry: 'Enter a name for your container:'
967
+ },
968
+ creatingNewContainer: (key) => `Creating new container with key '${key}'.`,
969
+ start: 'Creating container...',
970
+ success: 'Container created.',
971
+ createdRepositoryURI: (uri) => `New repository URI: ${uri}`
972
+ },
973
+ list: {
974
+ cmd: {
975
+ desc: 'list all container definitions'
976
+ },
977
+ listingContainers: 'Listing all app containers.',
978
+ noContainersFound: `No containers found.`
979
+ },
980
+ images: {
981
+ cmd: {
982
+ desc: 'manage container images'
983
+ },
984
+ list: {
985
+ cmd: {
986
+ desc: 'list all images for the container',
987
+ keyOption: 'specify the name of the container'
988
+ },
989
+ prompt: {
990
+ overview: 'List all images for a container.',
991
+ entry: 'Enter the name of the container to list images for:'
992
+ },
993
+ listingImages: (key) => `Listing images for container with key '${key}'.`,
994
+ noImagesFound: `No images found.`,
995
+ promptNextPage: 'Load next page [Y] or [Enter] to exit',
996
+ confirmationForNextPage: 'y'
997
+ }
998
+ },
999
+ login: {
1000
+ cmd: {
1001
+ desc: 'get login password for the image repository',
1002
+ onlyPassword: 'display only the password'
1003
+ },
1004
+ truncatedPassword: (password) => `${password.substring(0, 12)}...<truncated>`
1005
+ },
1006
+ delete: {
1007
+ cmd: {
1008
+ desc: 'delete container definition along with the associated image repository and all of its images',
1009
+ keyOption: 'specify the name of the container'
1010
+ },
1011
+ interactive: {
1012
+ overview: 'Select which container to delete.',
1013
+ desc: 'Select where to uninstall the app:',
1014
+ progressInfo: `To delete a container, select it from the list.\nPress Ctrl+C to cancel.`,
1015
+ noContainersFound: `This app does not have any containers.\nRun ${chalk_1.default.bold('forge containers create')} to create a container for your app.`
1016
+ },
1017
+ deletingContainer: (key) => `Deleting container definition with key '${key}'.`,
1018
+ warning: 'Deleting container is irreversible and will delete all images associated with it.',
1019
+ confirmation: (key) => `Type the container key [${key}] to confirm deletion:`,
1020
+ abortedDeletion: 'Aborted.',
1021
+ start: 'Deleting container...',
1022
+ success: 'Container deleted.'
1023
+ }
1024
+ },
955
1025
  stub: {
956
1026
  error: (newName, oldName) => `The ${forge(oldName)} command has been deprecated and replaced by ${forge(newName)}.`
957
1027
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/cli-shared",
3
- "version": "6.8.0-next.25-experimental-1aaebb0",
3
+ "version": "6.8.0-next.27",
4
4
  "description": "Common functionality for Forge CLI",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -12,9 +12,9 @@
12
12
  "generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
13
13
  },
14
14
  "dependencies": {
15
- "@forge/manifest": "9.0.0-next.13-experimental-1aaebb0",
15
+ "@forge/manifest": "9.0.0-next.13",
16
16
  "@forge/util": "1.4.8",
17
- "@forge/i18n": "0.0.5-next.1-experimental-1aaebb0",
17
+ "@forge/i18n": "0.0.5-next.1",
18
18
  "@sentry/node": "7.106.0",
19
19
  "adm-zip": "^0.5.10",
20
20
  "array.prototype.flatmap": "^1.3.2",