Set up Felt React development branch and prerelease workflow

Offen
#12,666 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, react, typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

  • 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

Vorherrschende Sprache
TypeScript
Sterne
859
Forks
395
Ø Merge
3 T. 13 Std.
Gemergte PRs (30 T.)
15

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus patternfly/patternfly-react

Alle Issues in patternfly/patternfly-react

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.