@gapi/gcli 1.8.227 → 1.8.229

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 (2) hide show
  1. package/package.json +1 -1
  2. package/release/index.js +22 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gapi/gcli",
3
- "version": "1.8.227",
3
+ "version": "1.8.229",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Stradivario/gapi.git"
package/release/index.js CHANGED
@@ -36183,6 +36183,7 @@ buildBashScript
36183
36183
  customUploadFileId
36184
36184
  federation
36185
36185
  subgraphs
36186
+ envSecrets
36186
36187
  scaleOptions {
36187
36188
  minCpu
36188
36189
  maxCpu
@@ -284777,11 +284778,10 @@ var init_helpers2 = __esm({
284777
284778
  packageJson: cmd.packageJson || await (0, import_rxjs13.lastValueFrom)(ReadFile2(cmd.package || payload.package)) || "{}",
284778
284779
  params: cmd.params || payload.params || [],
284779
284780
  secrets: cmd.secrets || payload.secrets || [],
284781
+ envSecrets: cmd.envSecrets || payload.envSecrets || [],
284780
284782
  network: cmd.network || payload.network || ["public", "private"],
284781
- ...payload.federation || payload.subgraphs?.length ? {
284782
- federation: !!payload.federation,
284783
- subgraphs: payload.subgraphs ?? []
284784
- } : {},
284783
+ federation: cmd.federation ?? !!payload.federation,
284784
+ subgraphs: cmd.subgraphs || payload.subgraphs || [],
284785
284785
  customUploadFileId: cmd.customUploadFileId || payload.customUploadFileId || "",
284786
284786
  scaleOptions: {
284787
284787
  executorType: cmd.executorType || payload.scaleOptions?.executorType || "poolmgr",
@@ -316569,6 +316569,12 @@ function registerLambdaCommands(program2) {
316569
316569
  ],
316570
316570
  ["--script <script>", "Package build script path"],
316571
316571
  ["--params <params>", "Array from strings which defines route params"],
316572
+ ["--configs <configs...>", "List of kubernetes config names"],
316573
+ ["--secrets <secrets...>", "List of kubernetes secret names"],
316574
+ [
316575
+ "--envSecrets <envSecrets...>",
316576
+ "List of kubernetes secret names projected into process.env (graphql environment only)"
316577
+ ],
316572
316578
  [
316573
316579
  "--network <network>",
316574
316580
  "Can be private or public meaning exposed to the router or just for private available can be both also --network private --network public"
@@ -316576,6 +316582,18 @@ function registerLambdaCommands(program2) {
316576
316582
  ["--route <route>", "Lambda route in which will be accessible"],
316577
316583
  ["--code <code>", "URL or local path for single file source code"],
316578
316584
  ["--file <file>", "Main lambda file"],
316585
+ [
316586
+ "--customUploadFileId <customUploadFileId>",
316587
+ "Id of a pre-uploaded archive to use as the lambda source"
316588
+ ],
316589
+ [
316590
+ "--federation",
316591
+ "Provision this lambda as a GraphQL Federation gateway instead of a regular function"
316592
+ ],
316593
+ [
316594
+ "--subgraphs <subgraphs...>",
316595
+ "Lambda names (within the project) to expose as subgraphs of the federation gateway"
316596
+ ],
316579
316597
  [
316580
316598
  "--executorType <executorType>",
316581
316599
  "Executor type for execution; one of 'poolmgr', 'newdeploy'"