Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brs cra5 #143

Merged
merged 8 commits into from
Apr 26, 2022
Merged

Brs cra5 #143

merged 8 commits into from
Apr 26, 2022

Conversation

DannySu2021
Copy link

This PR will merge the not BRS features:

  1. Set packages private
  2. Add documents(Readme, ChangeLog, Migration)
  3. Update tasks(Shell scripts)
  4. Update GHA workflows

@@ -0,0 +1,50 @@
name: Build BRS

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove file build-brs.yml, Tao Fang is working on another PR to figure out how to build and test brs on CI

@@ -101,11 +101,11 @@ npx create-react-app --version
# ******************************************************************************

cd "$temp_app_path"
npx create-react-app test-app-dist-tag --scripts-version=@latest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert all changes in this file and keep it consistent with cra5
Tao Fang is working on how to build and test with CRA5

@@ -85,7 +85,7 @@ publishToLocalRegistry

# Install the app in a temporary location
cd $temp_app_path
npx create-react-app test-kitchensink --template=file:"$root_path"/packages/react-scripts/fixtures/kitchensink
npx create-react-app test-kitchensink --scripts-version=@skyscanner/backpack-react-scripts --template=file:"$root_path"/packages/react-scripts/fixtures/kitchensink

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert all changes in this file, and keep it consistent with CRA5,
Tao Fang is working on how to build and test CRA5

@@ -116,8 +116,8 @@ REACT_APP_SHELL_ENV_MESSAGE=fromtheshell \
npm run build

# Check for expected output
exists build/*.html
exists build/static/js/main.*.js
exists build/web/*.html

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert all changes in this file, and keep it consistent with CRA5,
Tao Fang is working on how to build and test CRA5

@@ -76,51 +76,68 @@ if [ "$EXPECTED" != "$ACTUAL" ]; then
exit 1
fi

if hash npm 2>/dev/null

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert all changes in this file, and keep it consistent with CRA5,
Tao Fang is working on how to build and test CRA5

Revert all changes in this file, and keep it consistent with CRA5,
Will create new workflow to build and test BRS
Copy link

@paultan2021 paultan2021 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paultan2021 paultan2021 merged commit eac60f5 into fork_cra5 Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants