heroku 11.1.0 → 11.1.1
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 +7 -0
- package/dist/commands/run/inside.d.ts +1 -1
- package/dist/commands/run/inside.js +8 -6
- package/npm-shrinkwrap.json +5 -5
- package/oclif.manifest.json +884 -884
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
## [11.1.1](https://github.com/heroku/cli/compare/v11.1.0...v11.1.1) (2026-04-01)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* run:inside argument parsing order ([#3633](https://github.com/heroku/cli/issues/3633)) ([d46b239](https://github.com/heroku/cli/commit/d46b239cac4b9d97b86e7189350baa9a2dca43be))
|
|
13
|
+
|
|
7
14
|
## [11.1.0](https://github.com/heroku/cli/compare/v11.0.2...v11.1.0) (2026-03-31)
|
|
8
15
|
|
|
9
16
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Command } from '@heroku-cli/command';
|
|
2
2
|
export default class RunInside extends Command {
|
|
3
3
|
static args: {
|
|
4
|
-
command: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
5
4
|
dyno_name: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
5
|
+
command: import("@oclif/core/interfaces").Arg<string, Record<string, unknown>>;
|
|
6
6
|
};
|
|
7
7
|
static description: string;
|
|
8
8
|
static examples: string[];
|
|
@@ -4,19 +4,19 @@ import { Args, ux } from '@oclif/core';
|
|
|
4
4
|
import debugFactory from 'debug';
|
|
5
5
|
import tsheredoc from 'tsheredoc';
|
|
6
6
|
import Dyno from '../../lib/run/dyno.js';
|
|
7
|
-
import { buildCommandWithLauncher } from '../../lib/run/helpers.js';
|
|
7
|
+
import { buildCommandWithLauncher, revertSortedArgs } from '../../lib/run/helpers.js';
|
|
8
8
|
const debug = debugFactory('heroku:run:inside');
|
|
9
9
|
const heredoc = tsheredoc.default;
|
|
10
10
|
export default class RunInside extends Command {
|
|
11
11
|
static args = {
|
|
12
|
-
command: Args.string({
|
|
13
|
-
description: 'command to run (Heroku automatically prepends \'launcher\' to the command)',
|
|
14
|
-
required: true,
|
|
15
|
-
}),
|
|
16
12
|
dyno_name: Args.string({
|
|
17
13
|
description: 'name of the dyno to run command inside',
|
|
18
14
|
required: true,
|
|
19
15
|
}),
|
|
16
|
+
command: Args.string({
|
|
17
|
+
description: 'command to run (Heroku automatically prepends \'launcher\' to the command)',
|
|
18
|
+
required: true,
|
|
19
|
+
}),
|
|
20
20
|
};
|
|
21
21
|
static description = 'run a command inside an existing dyno (for Fir-generation apps only)';
|
|
22
22
|
static examples = [
|
|
@@ -49,11 +49,13 @@ export default class RunInside extends Command {
|
|
|
49
49
|
static strict = false;
|
|
50
50
|
async run() {
|
|
51
51
|
const { args, argv, flags } = await this.parse(RunInside);
|
|
52
|
+
const orderedArgs = revertSortedArgs(process.argv, argv);
|
|
53
|
+
const commandArgs = orderedArgs.slice(1);
|
|
52
54
|
const { dyno_name: dynoName } = args;
|
|
53
55
|
const { app: appName, 'exit-code': exitCode, listen, 'no-launcher': noLauncher } = flags;
|
|
54
56
|
const opts = {
|
|
55
57
|
app: appName,
|
|
56
|
-
command: await buildCommandWithLauncher(this.heroku, appName,
|
|
58
|
+
command: await buildCommandWithLauncher(this.heroku, appName, commandArgs, noLauncher),
|
|
57
59
|
dyno: dynoName,
|
|
58
60
|
'exit-code': exitCode,
|
|
59
61
|
heroku: this.heroku,
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroku",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "heroku",
|
|
9
|
-
"version": "11.1.
|
|
9
|
+
"version": "11.1.1",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@heroku-cli/command": "^12.2.2",
|
|
@@ -8353,9 +8353,9 @@
|
|
|
8353
8353
|
]
|
|
8354
8354
|
},
|
|
8355
8355
|
"node_modules/@xmldom/xmldom": {
|
|
8356
|
-
"version": "0.8.
|
|
8357
|
-
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.
|
|
8358
|
-
"integrity": "sha512-
|
|
8356
|
+
"version": "0.8.12",
|
|
8357
|
+
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.12.tgz",
|
|
8358
|
+
"integrity": "sha512-9k/gHF6n/pAi/9tqr3m3aqkuiNosYTurLLUtc7xQ9sxB/wm7WPygCv8GYa6mS0fLJEHhqMC1ATYhz++U/lRHqg==",
|
|
8359
8359
|
"license": "MIT",
|
|
8360
8360
|
"engines": {
|
|
8361
8361
|
"node": ">=10.0.0"
|