Home
last modified time | relevance | path

Searched refs:parcels (Results 1 – 25 of 26) sorted by relevance

12

/expo/tools/src/promote-packages/
H A Dhelpers.ts39 export function printPackagesToPromote(parcels: Parcel[]): void {
40 const toPromote = parcels.filter(({ state }) => !state.isDemoting);
41 const toDemote = parcels.filter(({ state }) => state.isDemoting);
53 function printPackagesToPromoteInternal(parcels: Parcel[], headerText: string): void {
54 if (parcels.length > 0) {
57 for (const { pkg, state } of parcels) {
/expo/tools/src/promote-packages/tasks/
H A DselectPackagesToPromote.ts23 async (parcels: Parcel[], options: CommandOptions): Promise<void | TaskArgs> => {
25 return [parcels, options];
30 const packageNames = await promptForPackagesToPromoteAsync(parcels);
31 const newParcels = parcels.filter(({ pkg }) => packageNames.includes(pkg.packageName));
40 async function promptForPackagesToPromoteAsync(parcels: Parcel[]): Promise<string[]> {
41 const maxLength = parcels.reduce((acc, { pkg }) => Math.max(acc, pkg.packageName.length), 0);
42 const choices = parcels.map(({ pkg, state }) => {
H A DlistPackagesToPromote.ts20 async (parcels: Parcel[], options: CommandOptions): Promise<void | symbol> => {
21 if (parcels.length === 0) {
27 printPackagesToPromote(parcels);
H A DpromotePackages.ts22 async (parcels: Parcel[], options: CommandOptions): Promise<void> => {
26 parcels.map(async ({ pkg, state }) => {
59 logger.success(`\n✅ Successfully promoted ${cyan(parcels.length + '')} packages.`);
H A DprepareParcels.ts15 async (parcels: Parcel[], options: CommandOptions) => {
28 parcels.push(...(await Promise.all(filteredPackages.map(createParcelAsync))));
H A DfindPackagesToPromote.ts14 async (parcels: Parcel[], options: CommandOptions): Promise<symbol | TaskArgs> => {
20 parcels.map(async (parcel) => {
/expo/tools/src/publish-packages/tasks/
H A DloadRequestedParcels.ts23 async (parcels: Parcel[], options: CommandOptions) => {
106 const parcels = await Promise.all(nodes.map((node) => getCachedParcel(node))); constant
107 return new Set<Parcel>(parcels);
110 export async function createParcelsForDependenciesOf(parcels: Set<Parcel>): Promise<Set<Parcel>> {
114 for (const parcel of parcels) {
125 return new Set<Parcel>([...allDependencies, ...parcels]);
H A DlistUnpublished.ts15 async (parcels: Parcel[]) => {
18 parcels.filter((parcel) => isParcelUnpublished(parcel)).forEach(printPackageParcel);
H A DupdatePackageVersions.ts21 async (parcels: Parcel[]) => {
25 parcels.map(async ({ pkg, state }) => {
H A DupdateAndroidProjects.ts23 async (parcels: Parcel[]) => {
26 for (const { pkg, state } of parcels) {
H A DcutOffChangelogs.ts20 async (parcels: Parcel[]) => {
24 parcels.map(async ({ pkg, changelog, state }) => {
H A DcommitStagedChanges.ts19 async (parcels: Parcel[], options: CommandOptions) => {
31 const commitDescription = parcels
H A DcommentOnIssuesTask.ts32 async (parcels: Parcel[], options: CommandOptions) => {
35 const payload = await generatePayloadForCommentatorAsync(parcels, options.tag);
79 parcels: Parcel[],
88 for (const { pkg, state, changelogChanges } of parcels) {
H A DpublishPackagesPipeline.ts54 async (parcels: Parcel[], options: CommandOptions) => {
55 const count = parcels.length;
H A DupdateBundledNativeModulesFile.ts23 async (parcels: Parcel[]) => {
31 for (const { pkg, state } of parcels) {
H A DpublishPackages.ts22 async (parcels: Parcel[], options: CommandOptions) => {
31 for (const { pkg, state } of parcels) {
H A DupdateIosProjects.ts23 async (parcels: Parcel[]) => {
30 const localPods = await filterAsync(parcels, (parcel) => {
H A DgrantTeamAccessToPackages.ts20 async (parcels: Parcel[], options: CommandOptions) => {
25 const packagesToGrantAccess = parcels
H A DupdateModuleTemplate.ts25 async (parcels: Parcel[]) => {
28 const dependencies = parcels.filter((parcel) =>
H A DcheckPackagesIntegrity.ts24 async (parcels: Parcel[], options: CommandOptions): Promise<void | symbol> => {
57 const results = await Promise.all(parcels.map(resolver));
H A DupdateWorkspaceProjects.ts22 async (parcels: Parcel[]) => {
33 const parcelsObject = parcels.reduce((acc, parcel) => {
H A DselectPackagesToPublish.ts32 async (parcels: Parcel[], options: CommandOptions) => {
34 const parcelsToSelect = new Set<Parcel>(parcels);
44 parcels
H A DaddPublishedLabelToPullRequests.ts26 async (parcels: Parcel[]) => {
39 for (const { changelogChanges } of parcels) {
H A DpushCommittedChanges.ts15 async (parcels: Parcel[], options: CommandOptions) => {
/expo/tools/src/commands/
H A DPublishPackages.ts145 async createBackupData(task, parcels, options): Promise<PublishBackupData> {
152 for (const { pkg, state } of parcels) {
163 parcels: Parcel[]
178 parcels.push(parcel);

12