Set up Felt React development branch and prerelease workflow

Ouverte
#12,666 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
45/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
github-actions, react, typescript

Piste de recherche

Start by reviewing the React package.json files, .github/workflows/release.yml, release.sh, lerna.json, and the docs-framework package.json. Trace the existing main-branch release flow before configuring the felt-v1 branch, prerelease publishing, allowed branches, public prerelease access, and the preview workspace. Done means the branch workflow and dry-run or publish path are configured consistently and the workspace setup is included.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

  • Create/configure the React felt-v1 branch.

  • Establish React package prerelease publishing.

“How to” docs modified from

To set up a development branch in react

  • Create the new major release development branch

  • Open a PR against the release development branch

  • In each react package’s package.json

  • Change the version to 0.0.1-prerelease.0

  • update the publishConfig ‘tag’ to ‘prerelease’ and add ‘access: “public”’

  • Update all @patternfly dependencies to use the new versions

  • In .github/workflows/release.yml

  • Update on: push: branches: felt-v1

  • In release.sh

  • Update the lerna publish command in release.sh to add

  • yarn run lerna publish prerelease --preid=prerelease --dist-tag=prerelease --yes 2>&1 | tee lerna-output.txt

  • # use lerna command below for dry run

  • # yarn run lerna version prerelease --preid=prerelease --dist-tag=prerelease --yes --no-git-tag-version --no-push | tee lerna-output.txt

  • update lerna.json to include ‘allowbranch: [‘main’, ‘felt-v1’]’

  • It should always include all branches that are releasing different major versions

  • Note: this PR will fail to build because it’ll try to build with the old github actions. You need to merge it for PRs on this branch to build.

  • Also need to: 

  • set up workspace (standing surge site for previewing what’s on the development branch)


Jira Issue: PF-4694

Langage dominant
TypeScript
Étoiles
859
Forks
395
Merge moyen
3 j 13 h
PR mergées (30 j)
15

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de patternfly/patternfly-react

Toutes les issues de patternfly/patternfly-react

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.