Skip to content

[STAR-2442] Strip react dependency constraints

Fox Piacenti requested to merge fox/STAR-2442-strip-react-dependencies into master

This MR removes most of the dependency constraints for react from the repository. As our use of React's APIs is for functions which have been stable for many major versions and the versions our client users are using are varied, we're removing these constraints for now.

In a future MR, these constraints will be either widely tested across a few versions, and/or the React part of providence will be pulled into its own repository.

JIRA tickets: https://tasks.opencraft.com/browse/STAR-2442

Testing instructions:

  1. Clone this repository
  2. make install_prereqs
  3. cd ..
  4. git clone git@gitlab.com:opencraft/dev/providence-demo.git -b old-version-test
  5. cd providence-demo
  6. npm install
  7. cd ../providence
  8. ./force-recompile.sh

This should launch a copy of the providence demo with antiquated versions. It should behave the same as it does at https://providence-demo.opencraft.com/

Note that if it does not work immediately, you may need to change a single file in the providence src directory in order to force a recompile while ./force-recompile.sh is running.

Merge request reports