@forge/cli-shared 9.7.0-next.1-experimental-13c2f8d → 9.7.0-next.10
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 +49 -7
- package/out/ari/ari.d.ts +5 -0
- package/out/ari/ari.d.ts.map +1 -1
- package/out/ari/ari.js +13 -1
- package/out/graphql/graphql-types.d.ts +3176 -90
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +422 -56
- package/out/http-client/file-uploader.d.ts.map +1 -1
- package/out/http-client/file-uploader.js +2 -1
- package/out/http-client/node-request.d.ts +2 -0
- package/out/http-client/node-request.d.ts.map +1 -1
- package/out/http-client/node-request.js +4 -3
- package/out/tunnel/docker-compose-lifecycle.d.ts +0 -3
- package/out/tunnel/docker-compose-lifecycle.d.ts.map +1 -1
- package/out/tunnel/docker-compose-lifecycle.js +8 -10
- package/out/tunnel/index.d.ts +0 -1
- package/out/tunnel/index.d.ts.map +1 -1
- package/out/tunnel/index.js +0 -1
- package/out/tunnel/tunnel-options.d.ts +0 -2
- package/out/tunnel/tunnel-options.d.ts.map +1 -1
- package/out/ui/command-line-ui.d.ts +6 -3
- package/out/ui/command-line-ui.d.ts.map +1 -1
- package/out/ui/command-line-ui.js +41 -13
- package/out/ui/index.d.ts +1 -0
- package/out/ui/index.d.ts.map +1 -1
- package/out/ui/index.js +1 -0
- package/out/ui/table-prompt.d.ts.map +1 -1
- package/out/ui/table-prompt.js +2 -2
- package/out/ui/table.d.ts +9 -0
- package/out/ui/table.d.ts.map +1 -0
- package/out/ui/table.js +57 -0
- package/out/ui/text.d.ts +72 -66
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +82 -66
- package/out/ui/ui.d.ts +5 -1
- package/out/ui/ui.d.ts.map +1 -1
- package/package.json +3 -3
- package/out/tunnel/compose-project-lifecycle.d.ts +0 -39
- package/out/tunnel/compose-project-lifecycle.d.ts.map +0 -1
- package/out/tunnel/compose-project-lifecycle.js +0 -105
package/out/ui/text.d.ts
CHANGED
|
@@ -42,7 +42,6 @@ export declare const Text: {
|
|
|
42
42
|
missingProductNameValue: string;
|
|
43
43
|
invalidContext: (validContexts: string[]) => string;
|
|
44
44
|
missingSiteUrlValue: string;
|
|
45
|
-
missingShardContext: string;
|
|
46
45
|
invalidSite: string;
|
|
47
46
|
invalidWorkspace: string;
|
|
48
47
|
invalidInstallationContext: string;
|
|
@@ -103,10 +102,6 @@ export declare const Text: {
|
|
|
103
102
|
};
|
|
104
103
|
optionSite: string;
|
|
105
104
|
optionProduct: (supportedProducts: string[]) => string;
|
|
106
|
-
optionShard: {
|
|
107
|
-
desc: string;
|
|
108
|
-
incorrectFormat: string;
|
|
109
|
-
};
|
|
110
105
|
optionPlacement: {
|
|
111
106
|
desc: string;
|
|
112
107
|
};
|
|
@@ -474,65 +469,6 @@ export declare const Text: {
|
|
|
474
469
|
desc: string;
|
|
475
470
|
};
|
|
476
471
|
};
|
|
477
|
-
localStorage: {
|
|
478
|
-
cmd: {
|
|
479
|
-
desc: string;
|
|
480
|
-
start: string;
|
|
481
|
-
status: string;
|
|
482
|
-
seed: string;
|
|
483
|
-
reset: string;
|
|
484
|
-
stop: string;
|
|
485
|
-
};
|
|
486
|
-
option: {
|
|
487
|
-
seedKvs: string;
|
|
488
|
-
seedSql: string;
|
|
489
|
-
resetKvs: string;
|
|
490
|
-
resetSql: string;
|
|
491
|
-
};
|
|
492
|
-
error: {
|
|
493
|
-
seedFailed: string;
|
|
494
|
-
resetFailed: string;
|
|
495
|
-
};
|
|
496
|
-
view: {
|
|
497
|
-
title: string;
|
|
498
|
-
labels: {
|
|
499
|
-
kvs: string;
|
|
500
|
-
sql: string;
|
|
501
|
-
};
|
|
502
|
-
app: (name: string) => string;
|
|
503
|
-
statusApp: (name: string) => string;
|
|
504
|
-
noServices: string;
|
|
505
|
-
running: (services: string[]) => string;
|
|
506
|
-
dataPersistence: string;
|
|
507
|
-
declarations: {
|
|
508
|
-
kvs: string;
|
|
509
|
-
sql: string;
|
|
510
|
-
};
|
|
511
|
-
configured: (declaration?: string) => string;
|
|
512
|
-
states: {
|
|
513
|
-
running: string;
|
|
514
|
-
unhealthy: string;
|
|
515
|
-
stopped: string;
|
|
516
|
-
};
|
|
517
|
-
health: (healthy: boolean) => string;
|
|
518
|
-
endpoint: (endpoint: string) => string;
|
|
519
|
-
dataPreserved: string;
|
|
520
|
-
notConfigured: {
|
|
521
|
-
kvs: string;
|
|
522
|
-
sql: string;
|
|
523
|
-
};
|
|
524
|
-
seedHelp: string[];
|
|
525
|
-
seedWarning: string;
|
|
526
|
-
recordCount: (count?: number) => string;
|
|
527
|
-
statementCount: (count?: number) => string;
|
|
528
|
-
seedSucceeded: (label: string, count: string) => string;
|
|
529
|
-
seedFailed: (label: string, error?: string) => string;
|
|
530
|
-
recordsRemoved: (count: number) => string;
|
|
531
|
-
resetSucceeded: (label: string, detail: string) => string;
|
|
532
|
-
resetFailed: (label: string, error?: string) => string;
|
|
533
|
-
stopped: string;
|
|
534
|
-
};
|
|
535
|
-
};
|
|
536
472
|
entitiesIndexes: {
|
|
537
473
|
cmd: {
|
|
538
474
|
desc: string;
|
|
@@ -585,6 +521,7 @@ export declare const Text: {
|
|
|
585
521
|
};
|
|
586
522
|
};
|
|
587
523
|
version: {
|
|
524
|
+
services: string;
|
|
588
525
|
cmd: {
|
|
589
526
|
cmdName: string;
|
|
590
527
|
desc: string;
|
|
@@ -647,6 +584,7 @@ export declare const Text: {
|
|
|
647
584
|
analytics: string;
|
|
648
585
|
policies: string;
|
|
649
586
|
functions: string;
|
|
587
|
+
services: string;
|
|
650
588
|
modules: string;
|
|
651
589
|
remotes: string;
|
|
652
590
|
connectKeys: string;
|
|
@@ -870,9 +808,14 @@ export declare const Text: {
|
|
|
870
808
|
serverStepFailed: string;
|
|
871
809
|
};
|
|
872
810
|
error: {
|
|
873
|
-
|
|
811
|
+
artifactTooLarge: {
|
|
812
|
+
package: (limit?: string, actual?: string) => string;
|
|
813
|
+
entry: (limit?: string, actual?: string, skillPath?: string) => string;
|
|
814
|
+
totalUncompressed: (limit?: string, actual?: string) => string;
|
|
815
|
+
};
|
|
874
816
|
manifestFilePathNotFound: (filePath: string) => string;
|
|
875
817
|
manifestDirectoryPathNotFound: (directoryPath: string) => string;
|
|
818
|
+
notFound: string;
|
|
876
819
|
};
|
|
877
820
|
appBillingDetailsMissing: {
|
|
878
821
|
privateApp: string;
|
|
@@ -967,6 +910,67 @@ export declare const Text: {
|
|
|
967
910
|
link: (link: string) => string;
|
|
968
911
|
openBrowser: string;
|
|
969
912
|
};
|
|
913
|
+
global: {
|
|
914
|
+
promptOrganization: string;
|
|
915
|
+
selectUnitOverview: string;
|
|
916
|
+
promptUnit: string;
|
|
917
|
+
installConfirmation: (target: {
|
|
918
|
+
unit?: string;
|
|
919
|
+
org?: string;
|
|
920
|
+
}) => string;
|
|
921
|
+
promptContinueInstall: string;
|
|
922
|
+
cmd: {
|
|
923
|
+
start: string;
|
|
924
|
+
end: string;
|
|
925
|
+
};
|
|
926
|
+
upgrade: {
|
|
927
|
+
start: string;
|
|
928
|
+
end: string;
|
|
929
|
+
};
|
|
930
|
+
promptUnitUpgrade: string;
|
|
931
|
+
unitUpgradeOverview: string;
|
|
932
|
+
installSuccess: (environment: string, target: {
|
|
933
|
+
unit?: string;
|
|
934
|
+
org?: string;
|
|
935
|
+
}) => string;
|
|
936
|
+
alreadyInstalled: (target: {
|
|
937
|
+
unit?: string;
|
|
938
|
+
org?: string;
|
|
939
|
+
}) => string;
|
|
940
|
+
upgradeSuccess: (environment: string, target: {
|
|
941
|
+
unit?: string;
|
|
942
|
+
org?: string;
|
|
943
|
+
}) => string;
|
|
944
|
+
promptConnect: string;
|
|
945
|
+
promptConnectAnother: string;
|
|
946
|
+
promptConnection: string;
|
|
947
|
+
linkedSuffix: string;
|
|
948
|
+
alreadyLinked: (product: string) => string;
|
|
949
|
+
enterSiteOverview: string;
|
|
950
|
+
promptSiteUrl: string;
|
|
951
|
+
enterWorkspaceOverview: string;
|
|
952
|
+
promptWorkspace: string;
|
|
953
|
+
connectConfirmationSite: (product: string) => string;
|
|
954
|
+
connectConfirmationWorkspace: (product: string) => string;
|
|
955
|
+
connect: {
|
|
956
|
+
start: string;
|
|
957
|
+
end: string;
|
|
958
|
+
};
|
|
959
|
+
connectionSuccess: (environment: string, product: string, site: string) => string;
|
|
960
|
+
optionUnit: string;
|
|
961
|
+
error: {
|
|
962
|
+
identityRequestFailed: (status: number) => string;
|
|
963
|
+
noOrgs: string;
|
|
964
|
+
noUnits: (org: string) => string;
|
|
965
|
+
noUnitInstallations: string;
|
|
966
|
+
noInstallationId: string;
|
|
967
|
+
nonInteractiveOrgRequired: string;
|
|
968
|
+
nonInteractiveUnitRequired: string;
|
|
969
|
+
connectFlagsRequired: string;
|
|
970
|
+
unsupportedConnection: (product: string) => string;
|
|
971
|
+
notInstalledInUnit: (unitId: string) => string;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
970
974
|
};
|
|
971
975
|
harmonization: {
|
|
972
976
|
installation: {
|
|
@@ -1038,7 +1042,6 @@ export declare const Text: {
|
|
|
1038
1042
|
tunnel: {
|
|
1039
1043
|
cmd: string;
|
|
1040
1044
|
optionDebugger: string;
|
|
1041
|
-
localStorage: string;
|
|
1042
1045
|
debuggerPort: string;
|
|
1043
1046
|
debuggerHost: string;
|
|
1044
1047
|
functionHandlers: string;
|
|
@@ -1328,6 +1331,9 @@ export declare const Text: {
|
|
|
1328
1331
|
cmd: {
|
|
1329
1332
|
desc: string;
|
|
1330
1333
|
};
|
|
1334
|
+
specifyPlacement: (placement: string) => string;
|
|
1335
|
+
fetchingServices: string;
|
|
1336
|
+
fetchingContainers: string;
|
|
1331
1337
|
services: {
|
|
1332
1338
|
cmd: {
|
|
1333
1339
|
desc: string;
|
package/out/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui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2CAE/B,MAAM;2CAEN,MAAM;;;0DAIS,MAAM,EAAE,cAAc,MAAM;+DAIvB,MAAM,GAAG,YAAY;iDAEnC,MAAM,EAAE;+CAEV,MAAM;;;2CAMV,MAAM;mDACE,MAAM,GAAG,SAAS,aAAa,MAAM;iDAEvC,MAAM;uDACA,MAAM;qDACR,MAAM;2CAEhB,MAAM,EAAE;kDAED,MAAM,WAAW,MAAM;+CAE1B,MAAM;8CACP,MAAM;qDAEC,MAAM,WAAW,MAAM;gDAE5B,MAAM;uCACf,MAAM,YAAY,MAAM,EAAE;+CAElB,MAAM,eAAe,MAAM,GAAG,SAAS;4CAE1C,MAAM,WAAW,MAAM;;;+CAIpB,MAAM;;+DAGU,MAAM;+DAG1C,MAAM,EAAE,YACX;gBAAE,IAAI,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAC;gBAAC,OAAO,CAAC,EAAE,MAAM,CAAA;aAAE,EAAE;2DAKjB;gBAAE,IAAI,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAA;aAAE,EAAE;2DAElC,MAAM,EAAE;;iDAIlB,MAAM,EAAE;sDAIH,MAAM,aAAa,MAAM,YAAY,MAAM,YAAY,MAAM;qDAE9D,MAAM,YAAY,MAAM,YAAY,MAAM;kDAE7C,MAAM;;;;;;;oDAQJ,MAAM;;;;;;;;;;;;;;qDAeL,MAAM;;;;;;8CAMb,MAAM,cAAc,MAAM;yDAEf,MAAM,cAAc,MAAM;+CAEpC,MAAM,UAAU,MAAM,cAAc,MAAM;wCAEjD,MAAM;0CAEJ,MAAM;0CAEN,MAAM;kCAEd,MAAM;;;;;;;CAOjC,CAAC"}
|
package/out/ui/text.js
CHANGED
|
@@ -59,6 +59,11 @@ const platformKeytarRecommendations = () => {
|
|
|
59
59
|
return '';
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
+
const globalTargetLocation = ({ unit, org }) => unit && org
|
|
63
|
+
? `in unit ${chalk_1.default.bold(unit)} in organization ${chalk_1.default.bold(org)}`
|
|
64
|
+
: unit
|
|
65
|
+
? `in unit ${chalk_1.default.bold(unit)}`
|
|
66
|
+
: `in organization ${chalk_1.default.bold(org ?? '')}`;
|
|
62
67
|
exports.Text = {
|
|
63
68
|
buildTerminalLink,
|
|
64
69
|
go,
|
|
@@ -81,7 +86,6 @@ exports.Text = {
|
|
|
81
86
|
? `one of the following valid Atlassian apps: ${validContexts.join(', ')}`
|
|
82
87
|
: 'a valid Atlassian app'}.`,
|
|
83
88
|
missingSiteUrlValue: 'Site parameter requires a site URL. Rerun the command with a valid site URL.',
|
|
84
|
-
missingShardContext: 'Shard parameter requires a string value.',
|
|
85
89
|
invalidSite: 'The site you entered is not an Atlassian site. Rerun the command with the URL to an Atlassian site to install the app.',
|
|
86
90
|
invalidWorkspace: 'The workspace you entered is not a valid workspace. Rerun the command with the URL to a valid workspace to install the app.',
|
|
87
91
|
invalidInstallationContext: 'Could not find an installation for the provided Atlassian app',
|
|
@@ -153,10 +157,6 @@ exports.Text = {
|
|
|
153
157
|
},
|
|
154
158
|
optionSite: 'site URL (example.atlassian.net)',
|
|
155
159
|
optionProduct: (supportedProducts) => `Atlassian app (${supportedProducts.join(', ')})`,
|
|
156
|
-
optionShard: {
|
|
157
|
-
desc: 'identifier for a shard',
|
|
158
|
-
incorrectFormat: 'shard identifier should be formatted "<id>:<region>"'
|
|
159
|
-
},
|
|
160
160
|
optionPlacement: {
|
|
161
161
|
desc: 'placement where the app is deployed'
|
|
162
162
|
},
|
|
@@ -556,64 +556,6 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
556
556
|
desc: 'manage storage for your app'
|
|
557
557
|
}
|
|
558
558
|
},
|
|
559
|
-
localStorage: {
|
|
560
|
-
cmd: {
|
|
561
|
-
desc: 'manage Docker-backed local storage for this app',
|
|
562
|
-
start: 'start manifest-configured local-storage services',
|
|
563
|
-
status: 'show local-storage configuration and runtime health',
|
|
564
|
-
seed: 'seed one or more configured local-storage capabilities',
|
|
565
|
-
reset: 'reset one capability, or every configured capability when no flag is supplied',
|
|
566
|
-
stop: 'stop local-storage containers while preserving data'
|
|
567
|
-
},
|
|
568
|
-
option: {
|
|
569
|
-
seedKvs: 'seed KVS, Custom Entity, and Secret data from JSON',
|
|
570
|
-
seedSql: 'seed SQL from an ordered multi-statement file',
|
|
571
|
-
resetKvs: 'reset KVS, Custom Entity, and Secret data',
|
|
572
|
-
resetSql: 'reset the SQL database'
|
|
573
|
-
},
|
|
574
|
-
error: {
|
|
575
|
-
seedFailed: 'Local storage was only partially seeded; see the per-offering results above.',
|
|
576
|
-
resetFailed: 'Local storage was only partially reset; see the per-offering results above.'
|
|
577
|
-
},
|
|
578
|
-
view: {
|
|
579
|
-
title: 'Local storage',
|
|
580
|
-
labels: { kvs: 'KVS', sql: 'SQL' },
|
|
581
|
-
app: (name) => `App: ${name}`,
|
|
582
|
-
statusApp: (name) => `App: ${name}`,
|
|
583
|
-
noServices: 'No services were started. Add the storage:app permission scope for KVS or a modules.sql entry for SQL.',
|
|
584
|
-
running: (services) => `Running: ${services.join(', ')}`,
|
|
585
|
-
dataPersistence: 'Data is stored in a Forge-managed Docker volume and survives stop/restart.',
|
|
586
|
-
declarations: { kvs: 'storage:app', sql: 'modules.sql' },
|
|
587
|
-
configured: (declaration) => (declaration ? ` Configured: Yes (${declaration})` : ' Configured: No'),
|
|
588
|
-
states: {
|
|
589
|
-
running: ' Status: Running',
|
|
590
|
-
unhealthy: ' Status: Unhealthy',
|
|
591
|
-
stopped: ' Status: Not started'
|
|
592
|
-
},
|
|
593
|
-
health: (healthy) => ` Health: ${healthy ? 'Ready' : 'Not ready'}`,
|
|
594
|
-
endpoint: (endpoint) => ` Endpoint: ${endpoint}`,
|
|
595
|
-
dataPreserved: ' Data: Preserved',
|
|
596
|
-
notConfigured: {
|
|
597
|
-
kvs: ' Reason: No storage:app permission scope in manifest.yml',
|
|
598
|
-
sql: ' Reason: No modules.sql entry in manifest.yml'
|
|
599
|
-
},
|
|
600
|
-
seedHelp: [
|
|
601
|
-
'Seed local storage with one or both flags:',
|
|
602
|
-
' forge storage local seed --kvs <path-to-json>',
|
|
603
|
-
' forge storage local seed --sql <path-to-sql>',
|
|
604
|
-
'KVS JSON fields: kvs[], customEntities[], secrets[]. SQL files may contain ordered statements separated by semicolons.'
|
|
605
|
-
],
|
|
606
|
-
seedWarning: 'Local Secret Store seed values are plaintext development data. Do not commit seed files containing secrets.',
|
|
607
|
-
recordCount: (count) => `${count} record(s)`,
|
|
608
|
-
statementCount: (count) => `${count} statement(s)`,
|
|
609
|
-
seedSucceeded: (label, count) => `${label} seed: succeeded (${count})`,
|
|
610
|
-
seedFailed: (label, error) => `${label} seed: failed — ${error}`,
|
|
611
|
-
recordsRemoved: (count) => ` (${count} record(s) removed)`,
|
|
612
|
-
resetSucceeded: (label, detail) => `${label} reset: succeeded${detail}`,
|
|
613
|
-
resetFailed: (label, error) => `${label} reset: failed — ${error}`,
|
|
614
|
-
stopped: 'Local-storage containers stopped. Data remains in the Forge-managed Docker volume.'
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
559
|
entitiesIndexes: {
|
|
618
560
|
cmd: {
|
|
619
561
|
desc: 'manage indexes for custom entities present in your app'
|
|
@@ -683,6 +625,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
683
625
|
}
|
|
684
626
|
},
|
|
685
627
|
version: {
|
|
628
|
+
services: 'Services',
|
|
686
629
|
cmd: {
|
|
687
630
|
cmdName: 'version',
|
|
688
631
|
desc: 'app version information'
|
|
@@ -707,6 +650,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
707
650
|
'scopes',
|
|
708
651
|
'connect keys',
|
|
709
652
|
'functions',
|
|
653
|
+
'services',
|
|
710
654
|
'remotes',
|
|
711
655
|
'modules',
|
|
712
656
|
'license'
|
|
@@ -743,6 +687,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
743
687
|
'scopes',
|
|
744
688
|
'connect keys',
|
|
745
689
|
'functions',
|
|
690
|
+
'services',
|
|
746
691
|
'remotes',
|
|
747
692
|
'modules',
|
|
748
693
|
'license'
|
|
@@ -772,6 +717,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
772
717
|
analytics: 'Analytics',
|
|
773
718
|
policies: 'Content security policies (Custom UI)',
|
|
774
719
|
functions: 'Function modules used by the app',
|
|
720
|
+
services: 'Container services used by the app',
|
|
775
721
|
modules: 'Modules used by the app (other than functions & remotes)',
|
|
776
722
|
remotes: 'Remote modules used by the app (Remote backend, Connect or External Auth)',
|
|
777
723
|
connectKeys: 'Connect on Forge',
|
|
@@ -797,6 +743,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
797
743
|
'scopes',
|
|
798
744
|
'connect keys',
|
|
799
745
|
'functions',
|
|
746
|
+
'services',
|
|
800
747
|
'remotes',
|
|
801
748
|
'modules',
|
|
802
749
|
'license'
|
|
@@ -1083,9 +1030,27 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
1083
1030
|
serverStepFailed: 'Deployment failed'
|
|
1084
1031
|
},
|
|
1085
1032
|
error: {
|
|
1086
|
-
|
|
1033
|
+
artifactTooLarge: {
|
|
1034
|
+
package: (limit, actual) => {
|
|
1035
|
+
const sizeLimit = limit ? `the ${limit} limit` : 'the allowed size limit';
|
|
1036
|
+
const includeActual = actual ? ` (${actual})` : '';
|
|
1037
|
+
return `The total app package${includeActual} exceeds ${sizeLimit}. Remove unnecessary files, reduce bundle sizes, and deploy again.`;
|
|
1038
|
+
},
|
|
1039
|
+
entry: (limit, actual, skillPath) => {
|
|
1040
|
+
const sizeLimit = limit ? `the ${limit} limit` : 'the allowed size limit';
|
|
1041
|
+
const includeActual = actual ? ` (${actual})` : '';
|
|
1042
|
+
const target = skillPath ? `Skill directory '${skillPath}'` : 'A packaged file or directory';
|
|
1043
|
+
return `${target}${includeActual} exceeds ${sizeLimit}. Remove or compress large reference files, and deploy again.`;
|
|
1044
|
+
},
|
|
1045
|
+
totalUncompressed: (limit, actual) => {
|
|
1046
|
+
const sizeLimit = limit ? `the ${limit} limit` : 'the allowed size limit';
|
|
1047
|
+
const includeActual = actual ? ` (${actual})` : '';
|
|
1048
|
+
return `The total size of all skill directories${includeActual} exceeds ${sizeLimit}. Reduce file sizes across your skills, and deploy again.`;
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1087
1051
|
manifestFilePathNotFound: (filePath) => `Manifest file path does not exist: ${filePath}`,
|
|
1088
|
-
manifestDirectoryPathNotFound: (directoryPath) => `Manifest directory path does not exist: ${directoryPath}
|
|
1052
|
+
manifestDirectoryPathNotFound: (directoryPath) => `Manifest directory path does not exist: ${directoryPath}`,
|
|
1053
|
+
notFound: "Couldn't find app deployment"
|
|
1089
1054
|
},
|
|
1090
1055
|
appBillingDetailsMissing: {
|
|
1091
1056
|
privateApp: `Deployment blocked - This app has no associated Developer Space.\n\n` +
|
|
@@ -1223,6 +1188,55 @@ When corporate security has approved the app, you can proceed with the installat
|
|
|
1223
1188
|
link: (link) => `Follow the prompts at this URL to authorize your app:
|
|
1224
1189
|
${buildTerminalLink(link)}\n`,
|
|
1225
1190
|
openBrowser: `Press any key to open the URL in your default browser.`
|
|
1191
|
+
},
|
|
1192
|
+
global: {
|
|
1193
|
+
promptOrganization: 'Select an Organization:',
|
|
1194
|
+
selectUnitOverview: 'Next, select a unit you want to install your app in.',
|
|
1195
|
+
promptUnit: 'Select a Unit:',
|
|
1196
|
+
installConfirmation: (target) => `Installing your app ${globalTargetLocation(target)}\n${ctrlC}\n`,
|
|
1197
|
+
promptContinueInstall: 'Do you want to continue installing the app?',
|
|
1198
|
+
cmd: {
|
|
1199
|
+
start: 'Installing',
|
|
1200
|
+
end: 'Install complete!'
|
|
1201
|
+
},
|
|
1202
|
+
upgrade: {
|
|
1203
|
+
start: 'Upgrading',
|
|
1204
|
+
end: 'Upgrade complete!'
|
|
1205
|
+
},
|
|
1206
|
+
promptUnitUpgrade: 'Select the unit to upgrade:',
|
|
1207
|
+
unitUpgradeOverview: 'To upgrade your app to the latest code and scopes, select a unit installation from the list.',
|
|
1208
|
+
installSuccess: (environment, target) => `Your app in the ${(0, environment_1.environmentToOption)(environment)} environment is installed ${globalTargetLocation(target)}.`,
|
|
1209
|
+
alreadyInstalled: (target) => `Your app is already installed ${globalTargetLocation(target)}.`,
|
|
1210
|
+
upgradeSuccess: (environment, target) => `Your app in the ${(0, environment_1.environmentToOption)(environment)} environment is upgraded ${globalTargetLocation(target)}.`,
|
|
1211
|
+
promptConnect: 'Do you want to connect the app to other Atlassian apps or platform tools?',
|
|
1212
|
+
promptConnectAnother: 'Do you want to connect the app to another Atlassian app or platform tool?',
|
|
1213
|
+
promptConnection: 'Select an Atlassian app or platform tool:',
|
|
1214
|
+
linkedSuffix: ' (linked)',
|
|
1215
|
+
alreadyLinked: (product) => `${product} is already connected. Choose a different app or platform tool.`,
|
|
1216
|
+
enterSiteOverview: 'Enter the site you want to connect your app to, e.g., your-domain.atlassian.net.',
|
|
1217
|
+
promptSiteUrl: 'Enter the site URL:',
|
|
1218
|
+
enterWorkspaceOverview: 'Enter the Bitbucket workspace you want to connect your app to.',
|
|
1219
|
+
promptWorkspace: 'Enter the workspace:',
|
|
1220
|
+
connectConfirmationSite: (product) => `Connecting your app to ${chalk_1.default.bold(product)} in an Atlassian site.\n${ctrlC}\n`,
|
|
1221
|
+
connectConfirmationWorkspace: (product) => `Connecting your app to ${chalk_1.default.bold(product)} in a Bitbucket workspace.\n${ctrlC}\n`,
|
|
1222
|
+
connect: {
|
|
1223
|
+
start: 'Connecting',
|
|
1224
|
+
end: 'Connection complete!'
|
|
1225
|
+
},
|
|
1226
|
+
connectionSuccess: (environment, product, site) => `Your app in the ${(0, environment_1.environmentToOption)(environment)} environment is connected to ${chalk_1.default.bold(product)} in ${chalk_1.default.bold(site)}. You can install the app in other Atlassian apps by running the ${forge('install')} command again.`,
|
|
1227
|
+
optionUnit: 'the unit id to install the global app into',
|
|
1228
|
+
error: {
|
|
1229
|
+
identityRequestFailed: (status) => `Failed to fetch your organizations and units from the Identity API (status ${status}).`,
|
|
1230
|
+
noOrgs: 'We could not find any organizations for your account.',
|
|
1231
|
+
noUnits: (org) => `We could not find any units in ${org} for your account.`,
|
|
1232
|
+
noUnitInstallations: 'This app is not installed in any unit in this environment, so there is nothing to upgrade.',
|
|
1233
|
+
noInstallationId: 'The installation completed but no installation id was returned, so optional connections cannot be linked.',
|
|
1234
|
+
nonInteractiveOrgRequired: 'You have access to multiple organizations. Pass --unitId <id> to install directly.',
|
|
1235
|
+
nonInteractiveUnitRequired: 'The organization has multiple units. Pass --unitId <id> to install directly.',
|
|
1236
|
+
connectFlagsRequired: 'Pass both --product and --site to link a connection non-interactively.',
|
|
1237
|
+
unsupportedConnection: (product) => `"${product}" is not a linkable Atlassian app. Choose one of: Jira, Confluence, Bitbucket.`,
|
|
1238
|
+
notInstalledInUnit: (unitId) => `The app is not installed in unit ${unitId}. Install it into the unit first (${forge('install', '--unitId', unitId)}), then link a connection.`
|
|
1239
|
+
}
|
|
1226
1240
|
}
|
|
1227
1241
|
},
|
|
1228
1242
|
harmonization: {
|
|
@@ -1299,7 +1313,6 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1299
1313
|
tunnel: {
|
|
1300
1314
|
cmd: 'start a tunnel to connect your local code with the app running in the development environment',
|
|
1301
1315
|
optionDebugger: 'enable debugger mode',
|
|
1302
|
-
localStorage: 'route Forge KVS and SQL SDK calls to Docker-backed local storage',
|
|
1303
1316
|
debuggerPort: 'starting port to use for debugging, multiple handlers will get subsequent ports. It is only used for Node runtime debugger',
|
|
1304
1317
|
debuggerHost: 'host to bind the Node runtime debuggers to, default is 127.0.0.1',
|
|
1305
1318
|
functionHandlers: 'list of function handlers declared on manifest to debug, separated by space. This option must be specified if debug mode is enabled. It is only used for Node runtime debugger',
|
|
@@ -1616,6 +1629,9 @@ ${buildTerminalLink(link)}\n`,
|
|
|
1616
1629
|
cmd: {
|
|
1617
1630
|
desc: "display information about the deployed app's containers and services"
|
|
1618
1631
|
},
|
|
1632
|
+
specifyPlacement: (placement) => `Placement: ${chalk_1.default.bold(placement)}`,
|
|
1633
|
+
fetchingServices: 'Fetching deployed services',
|
|
1634
|
+
fetchingContainers: 'Fetching deployed service containers',
|
|
1619
1635
|
services: {
|
|
1620
1636
|
cmd: {
|
|
1621
1637
|
desc: 'display information about deployed app services',
|
package/out/ui/ui.d.ts
CHANGED
|
@@ -27,12 +27,16 @@ export type TableOptions<Key extends string> = {
|
|
|
27
27
|
[K in Key]?: boolean;
|
|
28
28
|
};
|
|
29
29
|
groupKey?: Key;
|
|
30
|
+
sectionKey?: Key;
|
|
31
|
+
sectionLabel?: (value: TableCell) => string;
|
|
30
32
|
};
|
|
31
33
|
export type HintCategory = 'create' | 'deploy' | 'all';
|
|
32
34
|
export interface UI extends Logger, Prompt {
|
|
33
35
|
emptyLine(): void;
|
|
34
36
|
displayProgress<Result>(progress: () => Promise<Result>, startText: string, successText: string | ((result: Result) => string | ProgressResult), hintCategory?: HintCategory): Promise<Result>;
|
|
35
|
-
displayTemporaryMessage<Result>(progress: () => Promise<Result>, waitText: string
|
|
37
|
+
displayTemporaryMessage<Result>(progress: () => Promise<Result>, waitText: string, options?: {
|
|
38
|
+
animateEllipsis?: boolean;
|
|
39
|
+
}): Promise<Result>;
|
|
36
40
|
clearSpinner(): void;
|
|
37
41
|
table<Key extends string>(head: [Key, string][], data: Record<Key, TableCell>[] | undefined | null, options?: TableOptions<Key>): void;
|
|
38
42
|
formatKeyValueList(items: {
|
package/out/ui/ui.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/ui/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,MAAM;IACrB,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,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|
-
"version": "9.7.0-next.
|
|
3
|
+
"version": "9.7.0-next.10",
|
|
4
4
|
"description": "Common functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@forge/manifest": "13.5.1-next.0
|
|
15
|
+
"@forge/manifest": "13.5.1-next.0",
|
|
16
16
|
"@forge/util": "3.0.0",
|
|
17
17
|
"@forge/i18n": "1.0.0",
|
|
18
18
|
"@sentry/node": "7.106.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@graphql-codegen/cli": "^5.0.2",
|
|
56
56
|
"@graphql-codegen/typescript": "^4.1.6",
|
|
57
57
|
"@graphql-codegen/typescript-operations": "^4.6.0",
|
|
58
|
-
"@graphql-tools/schema": "^10.
|
|
58
|
+
"@graphql-tools/schema": "^10.1.1",
|
|
59
59
|
"@types/adm-zip": "^0.5.5",
|
|
60
60
|
"@types/array.prototype.flatmap": "^1.2.6",
|
|
61
61
|
"@types/cross-spawn": "^6.0.6",
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Logger } from '../ui/logger';
|
|
2
|
-
export interface ComposeCommandResult {
|
|
3
|
-
out?: string;
|
|
4
|
-
err?: string;
|
|
5
|
-
exitCode?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface ComposeOptions {
|
|
8
|
-
cwd: string;
|
|
9
|
-
log: boolean;
|
|
10
|
-
config: string;
|
|
11
|
-
composeOptions: string[];
|
|
12
|
-
callback?: (chunk: Buffer) => void;
|
|
13
|
-
}
|
|
14
|
-
export interface ComposeAdapter {
|
|
15
|
-
pullOne(service: string, options: ComposeOptions): Promise<unknown>;
|
|
16
|
-
exec(command: string, args: string[], options: ComposeOptions): Promise<ComposeCommandResult>;
|
|
17
|
-
down(options: ComposeOptions): Promise<unknown>;
|
|
18
|
-
}
|
|
19
|
-
export interface ComposeServiceState {
|
|
20
|
-
name: string;
|
|
21
|
-
service: string;
|
|
22
|
-
state: string;
|
|
23
|
-
health?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare class ComposeProjectLifecycle {
|
|
26
|
-
private readonly configPath;
|
|
27
|
-
private readonly projectName;
|
|
28
|
-
private readonly logger;
|
|
29
|
-
private readonly adapter;
|
|
30
|
-
constructor(configPath: string, projectName: string, logger: Logger, adapter?: ComposeAdapter);
|
|
31
|
-
private options;
|
|
32
|
-
pull(services: string[]): Promise<void>;
|
|
33
|
-
up(services: string[]): Promise<void>;
|
|
34
|
-
down(): Promise<void>;
|
|
35
|
-
states(): Promise<ComposeServiceState[]>;
|
|
36
|
-
logs(service: string, lines?: number): Promise<string>;
|
|
37
|
-
}
|
|
38
|
-
export declare const parseComposePs: (output: string) => ComposeServiceState[];
|
|
39
|
-
//# sourceMappingURL=compose-project-lifecycle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compose-project-lifecycle.d.ts","sourceRoot":"","sources":["../../src/tunnel/compose-project-lifecycle.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAGtC,MAAM,WAAW,oBAAoB;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE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