prepare-release-from-ci.js — react Source File
Architecture documentation for prepare-release-from-ci.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
#!/usr/bin/env node
'use strict';
const {join} = require('path');
const {addDefaultParamValue, handleError} = require('./utils');
const {
downloadBuildArtifacts,
} = require('./shared-commands/download-build-artifacts');
const parseParams = require('./shared-commands/parse-params');
const printPrereleaseSummary = require('./shared-commands/print-prerelease-summary');
const testPackagingFixture = require('./shared-commands/test-packaging-fixture');
const run = async () => {
try {
addDefaultParamValue(null, '--commit', 'main');
const params = await parseParams();
params.cwd = join(__dirname, '..', '..');
await downloadBuildArtifacts({
commit: params.commit,
releaseChannel: params.releaseChannel ?? process.env.RELEASE_CHANNEL,
});
if (!params.skipTests) {
await testPackagingFixture(params);
}
const isLatestRelease = params.releaseChannel === 'latest';
await printPrereleaseSummary(params, isLatestRelease);
} catch (error) {
handleError(error);
}
};
run();
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does prepare-release-from-ci.js do?
prepare-release-from-ci.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Entrypoint subdomain.
What functions are defined in prepare-release-from-ci.js?
prepare-release-from-ci.js defines 1 function(s): run.
Where is prepare-release-from-ci.js in the architecture?
prepare-release-from-ci.js is located at scripts/release/prepare-release-from-ci.js (domain: BabelCompiler, subdomain: Entrypoint, directory: scripts/release).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free