Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Improve react build performance - #441

Merged
tylers-username merged 7 commits into
mainfrom
improvement/react-package-build-time
Oct 2, 2025
Merged

Improve react build performance#441
tylers-username merged 7 commits into
mainfrom
improvement/react-package-build-time

Conversation

@tylers-username

@tylers-username tylers-username commented Oct 2, 2025

Copy link
Copy Markdown
Contributor
  • Replace react-code-blocks with react-refractor. It uses the same underlying prism package for output, but with reduced out-of-the-box-provided languages.
  • Improve tests to check gutter line number matches .upsun/config.yaml service lines

New

image

Old

image

@github-actions

github-actions Bot commented Oct 2, 2025

Copy link
Copy Markdown

Hello, and thank you for contributing to the Upsun demo project!

Setting up tests

Until all tests pass, a pull request will not be merged.

Build tests for combinations of Python and Node.js will happen automatically, and must pass in order to merge.
Another test will actually runthrough all steps of the demo on a new project, but requires a repository admin to add the runthrough label to the pull request.

Failing tests

If your PR is failing, see the Running tests section of the README for troubleshooting details.

Reviewing these changes locally:

  1. Clone this repo

    git clone -b improvement/react-package-build-time git@github.com:platformsh/demo-project.git demo-test-improvement/react-package-build-time && cd demo-test-improvement/react-package-build-time
  2. Create a project on Upsun:

    upsun project:create --title "Demo Project test (pr-441/merge)" --default-branch improvement/react-package-build-time

    This command will set the local repository remote automatically, but you will need to specify the organization and region.

  3. Push to Upsun:

    upsun push

@tylers-username
tylers-username marked this pull request as ready for review October 2, 2025 13:44
@tylers-username
tylers-username merged commit 7a4adab into main Oct 2, 2025
2 checks passed
@tylers-username
tylers-username deleted the improvement/react-package-build-time branch October 2, 2025 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants