heroku 9.3.2 → 10.0.0-alpha.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.
- package/README.md +1 -0
- package/lib/commands/access/index.js +1 -1
- package/lib/commands/apps/errors.js +1 -1
- package/lib/commands/apps/favorites/add.js +1 -1
- package/lib/commands/buildpacks/add.js +1 -1
- package/lib/commands/buildpacks/info.js +1 -1
- package/lib/commands/buildpacks/set.js +1 -1
- package/lib/commands/buildpacks/versions.js +1 -1
- package/lib/commands/logs.d.ts +5 -3
- package/lib/commands/logs.js +61 -22
- package/lib/commands/members/index.js +1 -1
- package/lib/commands/orgs/open.js +1 -1
- package/lib/commands/pg/copy.js +1 -1
- package/lib/commands/pipelines/promote.js +3 -3
- package/lib/commands/ps/type.js +2 -3
- package/lib/commands/spaces/create.d.ts +6 -6
- package/lib/commands/spaces/create.js +24 -12
- package/lib/commands/spaces/index.d.ts +2 -2
- package/lib/commands/spaces/index.js +6 -1
- package/lib/commands/spaces/info.js +5 -3
- package/lib/commands/spaces/wait.js +5 -3
- package/lib/commands/telemetry/add.d.ts +18 -0
- package/lib/commands/telemetry/add.js +70 -0
- package/lib/commands/telemetry/index.d.ts +13 -0
- package/lib/commands/telemetry/index.js +43 -0
- package/lib/commands/telemetry/info.d.ts +10 -0
- package/lib/commands/telemetry/info.js +24 -0
- package/lib/commands/telemetry/remove.d.ts +15 -0
- package/lib/commands/telemetry/remove.js +63 -0
- package/lib/commands/telemetry/update.d.ts +16 -0
- package/lib/commands/telemetry/update.js +60 -0
- package/lib/file.js +0 -2
- package/lib/lib/apps/generation.d.ts +4 -0
- package/lib/lib/apps/generation.js +24 -0
- package/lib/lib/run/colorize.js +1 -1
- package/lib/lib/run/log-displayer.d.ts +3 -2
- package/lib/lib/run/log-displayer.js +41 -33
- package/lib/lib/spaces/spaces.d.ts +4 -2
- package/lib/lib/spaces/spaces.js +2 -1
- package/lib/lib/telemetry/util.d.ts +3 -0
- package/lib/lib/telemetry/util.js +29 -0
- package/oclif.manifest.json +348 -53
- package/package.json +6 -6
- package/lib/lib/run/line-transform.d.ts +0 -4
- package/lib/lib/run/line-transform.js +0 -26
package/oclif.manifest.json
CHANGED
|
@@ -77,12 +77,13 @@
|
|
|
77
77
|
"logs": {
|
|
78
78
|
"aliases": [],
|
|
79
79
|
"args": {},
|
|
80
|
-
"description": "display recent log output\ndisable colors with --no-color, HEROKU_LOGS_COLOR=0, or HEROKU_COLOR=0",
|
|
80
|
+
"description": "display recent log output\ndisable colors with --no-color, HEROKU_LOGS_COLOR=0, or HEROKU_COLOR=0\n",
|
|
81
81
|
"examples": [
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
82
|
+
"heroku logs --app=my-app",
|
|
83
|
+
"heroku logs --num=50 --app=my-app",
|
|
84
|
+
"heroku logs --dyno=web-123-456 --app=my-app",
|
|
85
|
+
"heroku logs --type=web --app=my-app",
|
|
86
|
+
"heroku logs --app=my-app --tail"
|
|
86
87
|
],
|
|
87
88
|
"flags": {
|
|
88
89
|
"app": {
|
|
@@ -94,17 +95,37 @@
|
|
|
94
95
|
"multiple": false,
|
|
95
96
|
"type": "option"
|
|
96
97
|
},
|
|
97
|
-
"
|
|
98
|
-
"char": "
|
|
99
|
-
"description": "
|
|
100
|
-
"name": "
|
|
98
|
+
"dyno": {
|
|
99
|
+
"char": "d",
|
|
100
|
+
"description": "only show output from this dyno (such as \"web-123-456\" or \"worker.2\")",
|
|
101
|
+
"name": "dyno",
|
|
101
102
|
"hasDynamicHelp": false,
|
|
102
103
|
"multiple": false,
|
|
103
104
|
"type": "option"
|
|
104
105
|
},
|
|
106
|
+
"force-colors": {
|
|
107
|
+
"description": "force use of colors (even on non-tty output)",
|
|
108
|
+
"name": "force-colors",
|
|
109
|
+
"allowNo": false,
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"no-color": {
|
|
113
|
+
"hidden": true,
|
|
114
|
+
"name": "no-color",
|
|
115
|
+
"relationships": [
|
|
116
|
+
{
|
|
117
|
+
"type": "none",
|
|
118
|
+
"flags": [
|
|
119
|
+
"force-colors"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"allowNo": false,
|
|
124
|
+
"type": "boolean"
|
|
125
|
+
},
|
|
105
126
|
"num": {
|
|
106
127
|
"char": "n",
|
|
107
|
-
"description": "number of lines to display",
|
|
128
|
+
"description": "number of lines to display (ignored for Fir generation apps)",
|
|
108
129
|
"name": "num",
|
|
109
130
|
"hasDynamicHelp": false,
|
|
110
131
|
"multiple": false,
|
|
@@ -112,17 +133,25 @@
|
|
|
112
133
|
},
|
|
113
134
|
"ps": {
|
|
114
135
|
"char": "p",
|
|
115
|
-
"description": "hidden alias for
|
|
136
|
+
"description": "hidden alias for type",
|
|
116
137
|
"hidden": true,
|
|
117
138
|
"name": "ps",
|
|
139
|
+
"relationships": [
|
|
140
|
+
{
|
|
141
|
+
"type": "none",
|
|
142
|
+
"flags": [
|
|
143
|
+
"dyno"
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
],
|
|
118
147
|
"hasDynamicHelp": false,
|
|
119
148
|
"multiple": false,
|
|
120
149
|
"type": "option"
|
|
121
150
|
},
|
|
122
|
-
"
|
|
123
|
-
"char": "
|
|
124
|
-
"description": "
|
|
125
|
-
"name": "
|
|
151
|
+
"remote": {
|
|
152
|
+
"char": "r",
|
|
153
|
+
"description": "git remote of app to use",
|
|
154
|
+
"name": "remote",
|
|
126
155
|
"hasDynamicHelp": false,
|
|
127
156
|
"multiple": false,
|
|
128
157
|
"type": "option"
|
|
@@ -137,16 +166,26 @@
|
|
|
137
166
|
},
|
|
138
167
|
"tail": {
|
|
139
168
|
"char": "t",
|
|
140
|
-
"description": "continually stream logs",
|
|
169
|
+
"description": "continually stream logs (defaults to true for Fir generation apps)",
|
|
141
170
|
"name": "tail",
|
|
142
171
|
"allowNo": false,
|
|
143
172
|
"type": "boolean"
|
|
144
173
|
},
|
|
145
|
-
"
|
|
146
|
-
"description": "
|
|
147
|
-
"name": "
|
|
148
|
-
"
|
|
149
|
-
|
|
174
|
+
"type": {
|
|
175
|
+
"description": "only show output from this process type (such as \"web\" or \"worker\")",
|
|
176
|
+
"name": "type",
|
|
177
|
+
"relationships": [
|
|
178
|
+
{
|
|
179
|
+
"type": "none",
|
|
180
|
+
"flags": [
|
|
181
|
+
"dyno",
|
|
182
|
+
"ps"
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"hasDynamicHelp": false,
|
|
187
|
+
"multiple": false,
|
|
188
|
+
"type": "option"
|
|
150
189
|
}
|
|
151
190
|
},
|
|
152
191
|
"hasDynamicHelp": false,
|
|
@@ -9277,32 +9316,43 @@
|
|
|
9277
9316
|
"Example:\n\n$ heroku spaces:create --space my-space --team my-team --region oregon\nCreating space my-space in team my-team... done\n=== my-space\nID: e7b99e37-69b3-4475-ad47-a5cc5d75fd9f\nTeam: my-team\nRegion: oregon\nCIDR: 10.0.0.0/16\nData CIDR: 172.23.0.0/20\nState: allocating\nCreated at: 2016-01-06T03:23:13Z\n"
|
|
9278
9317
|
],
|
|
9279
9318
|
"flags": {
|
|
9280
|
-
"
|
|
9281
|
-
"
|
|
9282
|
-
"
|
|
9283
|
-
"name": "space",
|
|
9319
|
+
"channel": {
|
|
9320
|
+
"hidden": true,
|
|
9321
|
+
"name": "channel",
|
|
9284
9322
|
"hasDynamicHelp": false,
|
|
9285
9323
|
"multiple": false,
|
|
9286
9324
|
"type": "option"
|
|
9287
9325
|
},
|
|
9288
|
-
"
|
|
9289
|
-
"
|
|
9290
|
-
"name": "
|
|
9326
|
+
"cidr": {
|
|
9327
|
+
"description": "RFC-1918 CIDR the space will use",
|
|
9328
|
+
"name": "cidr",
|
|
9291
9329
|
"hasDynamicHelp": false,
|
|
9292
9330
|
"multiple": false,
|
|
9293
9331
|
"type": "option"
|
|
9294
9332
|
},
|
|
9295
|
-
"
|
|
9296
|
-
"description": "
|
|
9297
|
-
"name": "
|
|
9333
|
+
"data-cidr": {
|
|
9334
|
+
"description": "RFC-1918 CIDR used by Heroku Data resources for the space",
|
|
9335
|
+
"name": "data-cidr",
|
|
9298
9336
|
"hasDynamicHelp": false,
|
|
9299
9337
|
"multiple": false,
|
|
9300
9338
|
"type": "option"
|
|
9301
9339
|
},
|
|
9302
|
-
"
|
|
9303
|
-
"description": "
|
|
9340
|
+
"generation": {
|
|
9341
|
+
"description": "generation for space",
|
|
9342
|
+
"name": "generation",
|
|
9343
|
+
"default": "cedar",
|
|
9344
|
+
"hasDynamicHelp": false,
|
|
9345
|
+
"multiple": false,
|
|
9346
|
+
"options": [
|
|
9347
|
+
"cedar",
|
|
9348
|
+
"fir"
|
|
9349
|
+
],
|
|
9350
|
+
"type": "option"
|
|
9351
|
+
},
|
|
9352
|
+
"kpi-url": {
|
|
9353
|
+
"description": "self-managed KPI endpoint to use",
|
|
9304
9354
|
"hidden": true,
|
|
9305
|
-
"name": "
|
|
9355
|
+
"name": "kpi-url",
|
|
9306
9356
|
"hasDynamicHelp": false,
|
|
9307
9357
|
"multiple": false,
|
|
9308
9358
|
"type": "option"
|
|
@@ -9315,6 +9365,13 @@
|
|
|
9315
9365
|
"multiple": false,
|
|
9316
9366
|
"type": "option"
|
|
9317
9367
|
},
|
|
9368
|
+
"region": {
|
|
9369
|
+
"description": "region name",
|
|
9370
|
+
"name": "region",
|
|
9371
|
+
"hasDynamicHelp": false,
|
|
9372
|
+
"multiple": false,
|
|
9373
|
+
"type": "option"
|
|
9374
|
+
},
|
|
9318
9375
|
"shield": {
|
|
9319
9376
|
"description": "create a Shield space",
|
|
9320
9377
|
"hidden": true,
|
|
@@ -9322,24 +9379,10 @@
|
|
|
9322
9379
|
"allowNo": false,
|
|
9323
9380
|
"type": "boolean"
|
|
9324
9381
|
},
|
|
9325
|
-
"
|
|
9326
|
-
"
|
|
9327
|
-
"
|
|
9328
|
-
"
|
|
9329
|
-
"multiple": false,
|
|
9330
|
-
"type": "option"
|
|
9331
|
-
},
|
|
9332
|
-
"kpi-url": {
|
|
9333
|
-
"description": "self-managed KPI endpoint to use",
|
|
9334
|
-
"hidden": true,
|
|
9335
|
-
"name": "kpi-url",
|
|
9336
|
-
"hasDynamicHelp": false,
|
|
9337
|
-
"multiple": false,
|
|
9338
|
-
"type": "option"
|
|
9339
|
-
},
|
|
9340
|
-
"data-cidr": {
|
|
9341
|
-
"description": "RFC-1918 CIDR used by Heroku Data resources for the space",
|
|
9342
|
-
"name": "data-cidr",
|
|
9382
|
+
"space": {
|
|
9383
|
+
"char": "s",
|
|
9384
|
+
"description": "name of space to create",
|
|
9385
|
+
"name": "space",
|
|
9343
9386
|
"hasDynamicHelp": false,
|
|
9344
9387
|
"multiple": false,
|
|
9345
9388
|
"type": "option"
|
|
@@ -9788,6 +9831,258 @@
|
|
|
9788
9831
|
"index.js"
|
|
9789
9832
|
]
|
|
9790
9833
|
},
|
|
9834
|
+
"telemetry:add": {
|
|
9835
|
+
"aliases": [],
|
|
9836
|
+
"args": {
|
|
9837
|
+
"headers": {
|
|
9838
|
+
"description": "custom headers to configure the drain in json format",
|
|
9839
|
+
"name": "headers",
|
|
9840
|
+
"required": true
|
|
9841
|
+
}
|
|
9842
|
+
},
|
|
9843
|
+
"description": "Add and configure a new telemetry drain. Defaults to collecting all telemetry unless otherwise specified.",
|
|
9844
|
+
"examples": "Add a telemetry drain to an app to collect logs and traces:\n$ heroku telemetry:add --signals logs,traces --endpoint https://my-endpoint.com --transport http 'x-drain-example-team: API_KEY x-drain-example-dataset: METRICS_DATASET'\n",
|
|
9845
|
+
"flags": {
|
|
9846
|
+
"app": {
|
|
9847
|
+
"char": "a",
|
|
9848
|
+
"description": "app to add a drain to",
|
|
9849
|
+
"name": "app",
|
|
9850
|
+
"hasDynamicHelp": false,
|
|
9851
|
+
"multiple": false,
|
|
9852
|
+
"type": "option"
|
|
9853
|
+
},
|
|
9854
|
+
"remote": {
|
|
9855
|
+
"char": "r",
|
|
9856
|
+
"description": "git remote of app to add a drain to",
|
|
9857
|
+
"name": "remote",
|
|
9858
|
+
"hasDynamicHelp": false,
|
|
9859
|
+
"multiple": false,
|
|
9860
|
+
"type": "option"
|
|
9861
|
+
},
|
|
9862
|
+
"space": {
|
|
9863
|
+
"char": "s",
|
|
9864
|
+
"description": "space to add a drain to",
|
|
9865
|
+
"name": "space",
|
|
9866
|
+
"hasDynamicHelp": false,
|
|
9867
|
+
"multiple": false,
|
|
9868
|
+
"type": "option"
|
|
9869
|
+
},
|
|
9870
|
+
"signals": {
|
|
9871
|
+
"description": "comma-delimited list of signals to collect (traces, metrics, logs). Use \"all\" to collect all signals.",
|
|
9872
|
+
"name": "signals",
|
|
9873
|
+
"default": "all",
|
|
9874
|
+
"hasDynamicHelp": false,
|
|
9875
|
+
"multiple": false,
|
|
9876
|
+
"type": "option"
|
|
9877
|
+
},
|
|
9878
|
+
"endpoint": {
|
|
9879
|
+
"description": "drain url",
|
|
9880
|
+
"name": "endpoint",
|
|
9881
|
+
"required": true,
|
|
9882
|
+
"hasDynamicHelp": false,
|
|
9883
|
+
"multiple": false,
|
|
9884
|
+
"type": "option"
|
|
9885
|
+
},
|
|
9886
|
+
"transport": {
|
|
9887
|
+
"description": "transport protocol for the drain",
|
|
9888
|
+
"name": "transport",
|
|
9889
|
+
"required": true,
|
|
9890
|
+
"hasDynamicHelp": false,
|
|
9891
|
+
"multiple": false,
|
|
9892
|
+
"options": [
|
|
9893
|
+
"http",
|
|
9894
|
+
"grpc"
|
|
9895
|
+
],
|
|
9896
|
+
"type": "option"
|
|
9897
|
+
}
|
|
9898
|
+
},
|
|
9899
|
+
"hasDynamicHelp": false,
|
|
9900
|
+
"hiddenAliases": [],
|
|
9901
|
+
"id": "telemetry:add",
|
|
9902
|
+
"pluginAlias": "heroku",
|
|
9903
|
+
"pluginName": "heroku",
|
|
9904
|
+
"pluginType": "core",
|
|
9905
|
+
"strict": true,
|
|
9906
|
+
"example": "Add a telemetry drain to an app to collect logs and traces:\n$ heroku telemetry:add --signals logs,traces --endpoint https://my-endpoint.com --transport http 'x-drain-example-team: API_KEY x-drain-example-dataset: METRICS_DATASET'\n",
|
|
9907
|
+
"isESM": false,
|
|
9908
|
+
"relativePath": [
|
|
9909
|
+
"lib",
|
|
9910
|
+
"commands",
|
|
9911
|
+
"telemetry",
|
|
9912
|
+
"add.js"
|
|
9913
|
+
]
|
|
9914
|
+
},
|
|
9915
|
+
"telemetry": {
|
|
9916
|
+
"aliases": [],
|
|
9917
|
+
"args": {},
|
|
9918
|
+
"description": "list telemetry drains",
|
|
9919
|
+
"examples": "$ heroku telemetry",
|
|
9920
|
+
"flags": {
|
|
9921
|
+
"space": {
|
|
9922
|
+
"char": "s",
|
|
9923
|
+
"description": "filter by space name",
|
|
9924
|
+
"name": "space",
|
|
9925
|
+
"hasDynamicHelp": false,
|
|
9926
|
+
"multiple": false,
|
|
9927
|
+
"type": "option"
|
|
9928
|
+
},
|
|
9929
|
+
"app": {
|
|
9930
|
+
"char": "a",
|
|
9931
|
+
"description": "filter by app name",
|
|
9932
|
+
"name": "app",
|
|
9933
|
+
"hasDynamicHelp": false,
|
|
9934
|
+
"multiple": false,
|
|
9935
|
+
"type": "option"
|
|
9936
|
+
}
|
|
9937
|
+
},
|
|
9938
|
+
"hasDynamicHelp": false,
|
|
9939
|
+
"hiddenAliases": [],
|
|
9940
|
+
"id": "telemetry",
|
|
9941
|
+
"pluginAlias": "heroku",
|
|
9942
|
+
"pluginName": "heroku",
|
|
9943
|
+
"pluginType": "core",
|
|
9944
|
+
"strict": true,
|
|
9945
|
+
"topic": "telemetry",
|
|
9946
|
+
"example": "$ heroku telemetry",
|
|
9947
|
+
"isESM": false,
|
|
9948
|
+
"relativePath": [
|
|
9949
|
+
"lib",
|
|
9950
|
+
"commands",
|
|
9951
|
+
"telemetry",
|
|
9952
|
+
"index.js"
|
|
9953
|
+
]
|
|
9954
|
+
},
|
|
9955
|
+
"telemetry:info": {
|
|
9956
|
+
"aliases": [],
|
|
9957
|
+
"args": {
|
|
9958
|
+
"telemetry_drain_id": {
|
|
9959
|
+
"description": "ID of the drain to show info for",
|
|
9960
|
+
"name": "telemetry_drain_id",
|
|
9961
|
+
"required": true
|
|
9962
|
+
}
|
|
9963
|
+
},
|
|
9964
|
+
"description": "show a telemetry drain's info",
|
|
9965
|
+
"examples": "$ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e",
|
|
9966
|
+
"flags": {},
|
|
9967
|
+
"hasDynamicHelp": false,
|
|
9968
|
+
"hiddenAliases": [],
|
|
9969
|
+
"id": "telemetry:info",
|
|
9970
|
+
"pluginAlias": "heroku",
|
|
9971
|
+
"pluginName": "heroku",
|
|
9972
|
+
"pluginType": "core",
|
|
9973
|
+
"strict": true,
|
|
9974
|
+
"topic": "telemetry",
|
|
9975
|
+
"example": "$ heroku telemetry:info 022e2e2e-2e2e-2e2e-2e2e-2e2e2e2e2e2e",
|
|
9976
|
+
"isESM": false,
|
|
9977
|
+
"relativePath": [
|
|
9978
|
+
"lib",
|
|
9979
|
+
"commands",
|
|
9980
|
+
"telemetry",
|
|
9981
|
+
"info.js"
|
|
9982
|
+
]
|
|
9983
|
+
},
|
|
9984
|
+
"telemetry:remove": {
|
|
9985
|
+
"aliases": [],
|
|
9986
|
+
"args": {
|
|
9987
|
+
"telemetry_drain_id": {
|
|
9988
|
+
"description": "ID of the drain to remove",
|
|
9989
|
+
"name": "telemetry_drain_id"
|
|
9990
|
+
}
|
|
9991
|
+
},
|
|
9992
|
+
"description": "remove a telemetry drain",
|
|
9993
|
+
"flags": {
|
|
9994
|
+
"app": {
|
|
9995
|
+
"char": "a",
|
|
9996
|
+
"description": "name of the app to remove all drains from",
|
|
9997
|
+
"name": "app",
|
|
9998
|
+
"hasDynamicHelp": false,
|
|
9999
|
+
"multiple": false,
|
|
10000
|
+
"type": "option"
|
|
10001
|
+
},
|
|
10002
|
+
"space": {
|
|
10003
|
+
"char": "s",
|
|
10004
|
+
"description": "name of the space to remove all drains from",
|
|
10005
|
+
"name": "space",
|
|
10006
|
+
"hasDynamicHelp": false,
|
|
10007
|
+
"multiple": false,
|
|
10008
|
+
"type": "option"
|
|
10009
|
+
}
|
|
10010
|
+
},
|
|
10011
|
+
"hasDynamicHelp": false,
|
|
10012
|
+
"hiddenAliases": [],
|
|
10013
|
+
"id": "telemetry:remove",
|
|
10014
|
+
"pluginAlias": "heroku",
|
|
10015
|
+
"pluginName": "heroku",
|
|
10016
|
+
"pluginType": "core",
|
|
10017
|
+
"strict": true,
|
|
10018
|
+
"topic": "telemetry",
|
|
10019
|
+
"isESM": false,
|
|
10020
|
+
"relativePath": [
|
|
10021
|
+
"lib",
|
|
10022
|
+
"commands",
|
|
10023
|
+
"telemetry",
|
|
10024
|
+
"remove.js"
|
|
10025
|
+
]
|
|
10026
|
+
},
|
|
10027
|
+
"telemetry:update": {
|
|
10028
|
+
"aliases": [],
|
|
10029
|
+
"args": {
|
|
10030
|
+
"telemetry_drain_id": {
|
|
10031
|
+
"description": "ID of the drain to update",
|
|
10032
|
+
"name": "telemetry_drain_id",
|
|
10033
|
+
"required": true
|
|
10034
|
+
},
|
|
10035
|
+
"headers": {
|
|
10036
|
+
"description": "custom headers to configure the drain in json format",
|
|
10037
|
+
"name": "headers"
|
|
10038
|
+
}
|
|
10039
|
+
},
|
|
10040
|
+
"description": "updates a telemetry drain with provided attributes (attributes not provided remain unchanged)",
|
|
10041
|
+
"examples": "$ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com\n",
|
|
10042
|
+
"flags": {
|
|
10043
|
+
"signals": {
|
|
10044
|
+
"description": "comma-delimited list of signals to collect (traces, metrics, logs). Use \"all\" to collect all signals.",
|
|
10045
|
+
"name": "signals",
|
|
10046
|
+
"hasDynamicHelp": false,
|
|
10047
|
+
"multiple": false,
|
|
10048
|
+
"type": "option"
|
|
10049
|
+
},
|
|
10050
|
+
"endpoint": {
|
|
10051
|
+
"description": "drain url",
|
|
10052
|
+
"name": "endpoint",
|
|
10053
|
+
"hasDynamicHelp": false,
|
|
10054
|
+
"multiple": false,
|
|
10055
|
+
"type": "option"
|
|
10056
|
+
},
|
|
10057
|
+
"transport": {
|
|
10058
|
+
"description": "transport protocol for the drain",
|
|
10059
|
+
"name": "transport",
|
|
10060
|
+
"hasDynamicHelp": false,
|
|
10061
|
+
"multiple": false,
|
|
10062
|
+
"options": [
|
|
10063
|
+
"http",
|
|
10064
|
+
"grpc"
|
|
10065
|
+
],
|
|
10066
|
+
"type": "option"
|
|
10067
|
+
}
|
|
10068
|
+
},
|
|
10069
|
+
"hasDynamicHelp": false,
|
|
10070
|
+
"hiddenAliases": [],
|
|
10071
|
+
"id": "telemetry:update",
|
|
10072
|
+
"pluginAlias": "heroku",
|
|
10073
|
+
"pluginName": "heroku",
|
|
10074
|
+
"pluginType": "core",
|
|
10075
|
+
"strict": true,
|
|
10076
|
+
"topic": "telemetry",
|
|
10077
|
+
"example": "$ heroku telemetry:update acde070d-8c4c-4f0d-9d8a-162843c10333 --signals logs,metrics --endpoint https://my-new-endpoint.com\n",
|
|
10078
|
+
"isESM": false,
|
|
10079
|
+
"relativePath": [
|
|
10080
|
+
"lib",
|
|
10081
|
+
"commands",
|
|
10082
|
+
"telemetry",
|
|
10083
|
+
"update.js"
|
|
10084
|
+
]
|
|
10085
|
+
},
|
|
9791
10086
|
"webhooks:add": {
|
|
9792
10087
|
"aliases": [],
|
|
9793
10088
|
"args": {},
|
|
@@ -13930,5 +14225,5 @@
|
|
|
13930
14225
|
]
|
|
13931
14226
|
}
|
|
13932
14227
|
},
|
|
13933
|
-
"version": "
|
|
14228
|
+
"version": "10.0.0-alpha.0"
|
|
13934
14229
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
3
|
"description": "CLI to interact with Heroku",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "10.0.0-alpha.0",
|
|
5
5
|
"author": "Heroku",
|
|
6
6
|
"bin": "./bin/run",
|
|
7
7
|
"bugs": "https://github.com/heroku/cli/issues",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@types/inquirer": "^8.2.10",
|
|
95
95
|
"@types/lodash": "^4.14.123",
|
|
96
96
|
"@types/mocha": "^10.0.6",
|
|
97
|
-
"@types/node": "
|
|
97
|
+
"@types/node": "20.14.8",
|
|
98
98
|
"@types/node-fetch": "^2.1.6",
|
|
99
99
|
"@types/phoenix": "^1.4.0",
|
|
100
100
|
"@types/proxyquire": "^1.3.28",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"mocha": "^9.2.2",
|
|
122
122
|
"nock": "^13.5.1",
|
|
123
123
|
"nyc": "^15.1.0",
|
|
124
|
-
"oclif": "4.
|
|
124
|
+
"oclif": "4.14.36",
|
|
125
125
|
"proxyquire": "^2.1.0",
|
|
126
126
|
"qqjs": "0.3.11",
|
|
127
127
|
"read-pkg": "^4.0.1",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"typescript": "4.8.4"
|
|
135
135
|
},
|
|
136
136
|
"engines": {
|
|
137
|
-
"node": "~
|
|
137
|
+
"node": "~20.x"
|
|
138
138
|
},
|
|
139
139
|
"files": [
|
|
140
140
|
"/autocomplete-scripts",
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
},
|
|
338
338
|
"update": {
|
|
339
339
|
"node": {
|
|
340
|
-
"version": "
|
|
340
|
+
"version": "20.17.0"
|
|
341
341
|
},
|
|
342
342
|
"s3": {
|
|
343
343
|
"xz": true,
|
|
@@ -388,5 +388,5 @@
|
|
|
388
388
|
"version": "oclif readme --multi && git add README.md ../../docs"
|
|
389
389
|
},
|
|
390
390
|
"types": "lib/index.d.ts",
|
|
391
|
-
"gitHead": "
|
|
391
|
+
"gitHead": "0c489e559070678dff8057432917e8bffa0462eb"
|
|
392
392
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
4
|
-
const stream = require("stream");
|
|
5
|
-
// this splits a stream into lines
|
|
6
|
-
const transform = new stream.Transform({ decodeStrings: false });
|
|
7
|
-
transform._transform = function (chunk, _encoding, next) {
|
|
8
|
-
let data = chunk;
|
|
9
|
-
// @ts-ignore
|
|
10
|
-
if (this._lastLineData)
|
|
11
|
-
data = this._lastLineData + data;
|
|
12
|
-
const lines = data.split('\n');
|
|
13
|
-
// @ts-ignore
|
|
14
|
-
this._lastLineData = lines.splice(-1, 1)[0];
|
|
15
|
-
lines.forEach(this.push.bind(this));
|
|
16
|
-
next();
|
|
17
|
-
};
|
|
18
|
-
transform._flush = function (done) {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
if (this._lastLineData)
|
|
21
|
-
this.push(this._lastLineData);
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
this._lastLineData = null;
|
|
24
|
-
done();
|
|
25
|
-
};
|
|
26
|
-
exports.default = transform;
|