@salesforce/plugin-release-management 3.9.2 → 3.10.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.
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
import { Interfaces } from '@oclif/core';
|
|
3
|
+
import { CLI } from '../../../types';
|
|
2
4
|
export default class SmokeTest extends SfCommand<void> {
|
|
3
5
|
static readonly summary: string;
|
|
4
6
|
static readonly description: string;
|
|
5
7
|
static readonly examples: string[];
|
|
6
8
|
static readonly flags: {
|
|
7
|
-
cli:
|
|
8
|
-
verbose:
|
|
9
|
+
cli: Interfaces.OptionFlag<CLI, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
|
10
|
+
verbose: Interfaces.BooleanFlag<boolean>;
|
|
9
11
|
};
|
|
10
|
-
private
|
|
12
|
+
private flags;
|
|
11
13
|
run(): Promise<void>;
|
|
12
14
|
private smokeTest;
|
|
15
|
+
private testJITInstall;
|
|
16
|
+
private testInstall;
|
|
17
|
+
private verifyInstall;
|
|
13
18
|
private initializeAllCommands;
|
|
14
19
|
private getAllCommands;
|
|
15
20
|
private nonVerboseCommandExecution;
|
|
@@ -6,25 +6,25 @@
|
|
|
6
6
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
const fs = require("fs");
|
|
10
|
+
const os = require("os");
|
|
9
11
|
const path = require("path");
|
|
10
12
|
const child_process_1 = require("child_process");
|
|
11
13
|
const node_util_1 = require("node:util");
|
|
12
14
|
const chalk = require("chalk");
|
|
13
15
|
const sf_plugins_core_1 = require("@salesforce/sf-plugins-core");
|
|
14
16
|
const core_1 = require("@salesforce/core");
|
|
15
|
-
const
|
|
17
|
+
const kit_1 = require("@salesforce/kit");
|
|
16
18
|
const types_1 = require("../../../types");
|
|
17
19
|
const exec = (0, node_util_1.promisify)(child_process_1.exec);
|
|
18
20
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
19
21
|
const messages = core_1.Messages.loadMessages('@salesforce/plugin-release-management', 'cli.tarballs.smoke');
|
|
20
22
|
class SmokeTest extends sf_plugins_core_1.SfCommand {
|
|
21
23
|
async run() {
|
|
22
|
-
|
|
23
|
-
this.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (cli === types_1.CLI.SFDX) {
|
|
27
|
-
executables.push(path.join('tmp', cli, 'bin', types_1.CLI.SF));
|
|
24
|
+
this.flags = (await this.parse(SmokeTest)).flags;
|
|
25
|
+
const executables = [path.join('tmp', this.flags.cli, 'bin', this.flags.cli)];
|
|
26
|
+
if (this.flags.cli === types_1.CLI.SFDX) {
|
|
27
|
+
executables.push(path.join('tmp', this.flags.cli, 'bin', types_1.CLI.SF));
|
|
28
28
|
}
|
|
29
29
|
await Promise.all(executables.map((executable) => this.smokeTest(executable)));
|
|
30
30
|
}
|
|
@@ -33,12 +33,99 @@ class SmokeTest extends sf_plugins_core_1.SfCommand {
|
|
|
33
33
|
this.execute(executable, '--version'),
|
|
34
34
|
this.execute(executable, '--help'),
|
|
35
35
|
this.execute(executable, 'plugins --core'),
|
|
36
|
-
this.
|
|
36
|
+
this.testInstall(executable, '@salesforce/plugin-alias', 'latest'),
|
|
37
37
|
]);
|
|
38
|
+
await this.testJITInstall(executable);
|
|
38
39
|
await this.initializeAllCommands(executable);
|
|
39
40
|
}
|
|
41
|
+
async testJITInstall(executable) {
|
|
42
|
+
this.styledHeader('Testing JIT installation');
|
|
43
|
+
const fileData = await fs.promises.readFile('package.json', 'utf8');
|
|
44
|
+
const packageJson = (0, kit_1.parseJson)(fileData);
|
|
45
|
+
const jitPlugins = Object.keys(packageJson.oclif?.jitPlugins ?? {});
|
|
46
|
+
if (jitPlugins.length === 0)
|
|
47
|
+
return;
|
|
48
|
+
const manifestData = await fs.promises.readFile(path.join('tmp', this.flags.cli, 'oclif.manifest.json'), 'utf8');
|
|
49
|
+
const manifest = (0, kit_1.parseJson)(manifestData);
|
|
50
|
+
const commands = Object.values(manifest.commands);
|
|
51
|
+
const logs = jitPlugins.reduce((acc, plugin) => ({ ...acc, [plugin]: [] }), {});
|
|
52
|
+
let failed = false;
|
|
53
|
+
const help = async (command) => {
|
|
54
|
+
try {
|
|
55
|
+
await exec(`${executable} ${command} --help`);
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
catch (e) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
const promises = jitPlugins.map(async (plugin) => {
|
|
63
|
+
try {
|
|
64
|
+
logs[plugin].push(`Testing JIT install for ${plugin}`);
|
|
65
|
+
const firstCommand = commands.find((c) => c.pluginName === plugin);
|
|
66
|
+
// Test that --help works on JIT commands
|
|
67
|
+
const helpResult = await help(firstCommand.id);
|
|
68
|
+
logs[plugin].push(`${executable} ${firstCommand.id} --help ${helpResult ? chalk.green('PASSED') : chalk.red('FAILED')}`);
|
|
69
|
+
logs[plugin].push(`${executable} ${firstCommand.id}`);
|
|
70
|
+
// Test that executing the command will trigger JIT install
|
|
71
|
+
// This will likely always fail because we're not providing all the required flags or it depends on some other setup.
|
|
72
|
+
// However, this is okay because all we need to verify is that running the command will trigger the JIT install
|
|
73
|
+
const { stdout, stderr } = await exec(`${executable} ${firstCommand.id}`, { maxBuffer: 1024 * 1024 * 100 });
|
|
74
|
+
logs[plugin].push(stdout);
|
|
75
|
+
logs[plugin].push(stderr);
|
|
76
|
+
}
|
|
77
|
+
catch (e) {
|
|
78
|
+
const err = e;
|
|
79
|
+
// @ts-expect-error ExecException type doesn't have a stdout or stderr property
|
|
80
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
81
|
+
logs[plugin].push(err.stdout);
|
|
82
|
+
// @ts-expect-error ExecException type doesn't have a stdout or stderr property
|
|
83
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
84
|
+
logs[plugin].push(err.stderr);
|
|
85
|
+
}
|
|
86
|
+
finally {
|
|
87
|
+
const result = await this.verifyInstall(plugin, true);
|
|
88
|
+
if (result) {
|
|
89
|
+
logs[plugin].push(`✅ ${chalk.green(`Verified installation of ${plugin}\n`)}`);
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
failed = true;
|
|
93
|
+
logs[plugin].push(`❌ ${chalk.green(`Failed installation of ${plugin}\n`)}`);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
await Promise.all(promises);
|
|
98
|
+
for (const log of Object.values(logs)) {
|
|
99
|
+
this.log(log.join('\n'));
|
|
100
|
+
}
|
|
101
|
+
if (failed) {
|
|
102
|
+
throw new core_1.SfError('Failed JIT installation');
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
async testInstall(executable, plugin, tag) {
|
|
106
|
+
await this.execute(executable, `plugins:install ${plugin}${tag ? `@${tag}` : ''}`);
|
|
107
|
+
await this.verifyInstall(plugin);
|
|
108
|
+
}
|
|
109
|
+
async verifyInstall(plugin, silent = false) {
|
|
110
|
+
const fileData = await fs.promises.readFile(path.join(os.homedir(), '.local', 'share', this.flags.cli, 'package.json'), 'utf-8');
|
|
111
|
+
const packageJson = (0, kit_1.parseJson)(fileData);
|
|
112
|
+
if (!packageJson.dependencies?.[plugin]) {
|
|
113
|
+
if (silent) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
throw new core_1.SfError(`Failed to install ${plugin}\n`);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
else if (!silent) {
|
|
121
|
+
this.log('✅ ', chalk.green(`Verified installation of ${plugin}\n`));
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
40
126
|
async initializeAllCommands(executable) {
|
|
41
|
-
|
|
127
|
+
this.styledHeader(`Initializing help for all ${this.flags.cli} commands`);
|
|
128
|
+
await Promise.all(this.flags.verbose
|
|
42
129
|
? (await this.getAllCommands(executable)).map((command) => this.execute(executable, `${command} --help`))
|
|
43
130
|
: (await this.getAllCommands(executable)).map((command) => this.nonVerboseCommandExecution(executable, command)));
|
|
44
131
|
}
|
|
@@ -77,9 +164,10 @@ SmokeTest.summary = messages.getMessage('description');
|
|
|
77
164
|
SmokeTest.description = messages.getMessage('description');
|
|
78
165
|
SmokeTest.examples = messages.getMessages('examples');
|
|
79
166
|
SmokeTest.flags = {
|
|
80
|
-
cli: sf_plugins_core_1.Flags.
|
|
81
|
-
summary: messages.getMessage('cliFlag'),
|
|
167
|
+
cli: sf_plugins_core_1.Flags.custom({
|
|
82
168
|
options: Object.values(types_1.CLI),
|
|
169
|
+
})({
|
|
170
|
+
summary: messages.getMessage('cliFlag'),
|
|
83
171
|
char: 'c',
|
|
84
172
|
required: true,
|
|
85
173
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smoke.js","sourceRoot":"","sources":["../../../../src/commands/cli/tarballs/smoke.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,6BAA6B;AAC7B,
|
|
1
|
+
{"version":3,"file":"smoke.js","sourceRoot":"","sources":["../../../../src/commands/cli/tarballs/smoke.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;AAEH,yBAAyB;AACzB,yBAAyB;AACzB,6BAA6B;AAC7B,iDAAgE;AAChE,yCAAsC;AACtC,+BAA+B;AAC/B,iEAA+D;AAC/D,2CAAqD;AACrD,yCAA4C;AAE5C,0CAAqC;AAGrC,MAAM,IAAI,GAAG,IAAA,qBAAS,EAAC,oBAAQ,CAAC,CAAC;AAEjC,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAC5C,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,uCAAuC,EAAE,oBAAoB,CAAC,CAAC;AAEtG,MAAqB,SAAU,SAAQ,2BAAe;IAoB7C,KAAK,CAAC,GAAG;Q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AO,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAC7C,qBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAEjD,kBAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,eAAK,GAAG;IAC7B,GAAG,EAAE,uBAAK,CAAC,MAAM,CAAM;QACrB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,WAAG,CAAC;KAC5B,CAAC,CAAC;QACD,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;QACvC,IAAI,EAAE,GAAG;QACT,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,OAAO,EAAE,uBAAK,CAAC,OAAO,CAAC;QACrB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC;KAC5C,CAAC;CACH,CAAC"}
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-release-management",
|
|
3
3
|
"description": "A plugin for preparing and publishing npm packages",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.10.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"bin": {
|
|
8
8
|
"sf-release": "bin/run"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@oclif/core": "^2.0.
|
|
11
|
+
"@oclif/core": "^2.0.9",
|
|
12
12
|
"@octokit/core": "^4.1.0",
|
|
13
13
|
"@salesforce/core": "^3.32.12",
|
|
14
14
|
"@salesforce/kit": "^1.8.2",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"yarn-deduplicate": "^3.1.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@oclif/plugin-command-snapshot": "^3.2
|
|
36
|
+
"@oclif/plugin-command-snapshot": "^3.3.2",
|
|
37
37
|
"@salesforce/dev-config": "^3.0.0",
|
|
38
38
|
"@salesforce/dev-scripts": "^4.0.0-beta.9",
|
|
39
39
|
"@salesforce/prettier-config": "^0.0.2",
|
|
40
40
|
"@salesforce/ts-sinon": "1.4.4",
|
|
41
|
-
"@swc/core": "^1.3.
|
|
41
|
+
"@swc/core": "^1.3.32",
|
|
42
42
|
"@types/conventional-changelog-preset-loader": "^2.3.2",
|
|
43
43
|
"@types/conventional-commits-parser": "^3.0.3",
|
|
44
44
|
"@types/semver": "^7.3.9",
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
}
|
|
276
276
|
},
|
|
277
277
|
"sfdx": {
|
|
278
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.
|
|
279
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.
|
|
278
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.10.1.crt",
|
|
279
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-release-management/3.10.1.sig"
|
|
280
280
|
}
|
|
281
281
|
}
|