Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Bumps frontend-build@^14, frontend-platform@^8 #16

Merged

Conversation

pomegranited
Copy link
Contributor

@pomegranited pomegranited commented May 28, 2024

Upgrades dependencies to support parallel upgrades to frontend-app-course-authoring.

Supporting information

openedx/frontend-app-authoring#1034

Private-ref: FAL-3750

Author Notes & Concerns

  1. This is my first attempt at updating npm dependencies, so any advice is welcome :)
  2. This package is a dependency of many other frontend packages, so I'm unsure how to test the effects of this change.

to support upgrading @edx/frontend-plaform

Command used:

    npm install --saveDev "@openedx/frontend-build"@">= 14.0.0"
Command used:

    npm install --saveDev "@edx/frontend-platform"@"<9.0"
@openedx-webhooks
Copy link

Thanks for the pull request, @pomegranited! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label May 28, 2024
@pomegranited
Copy link
Contributor Author

Hi @mphilbrick211 , I don't know if there are any CCs with merge rights on this repo? But it's blocking us merging openedx/frontend-app-authoring#1052, so it's getting urgent. Could someone from Axim help out?

@mphilbrick211
Copy link

Hi @pomegranited! I'll check for you.

@arbrandes
Copy link
Contributor

@pomegranited, I don't think anybody outside 2U is set up to properly review or test this. I'm actually surprised this repository is even a thing, let alone a dependency in a core repo. I'm going to argue for its deprecation/removal.

In the meantime, it seems @hajorg is a major contributor here. Could you take a look, please?

Copy link
Contributor

@BrandonHBodine BrandonHBodine left a comment

Choose a reason for hiding this comment

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

lgtm. Left a question.

@@ -8,6 +8,7 @@
},
"scripts": {
"build": "make build",
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the purpose of this prepare script? It's identical to the build one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @BrandonHBodine -- this change is optional, but it lets us reference unmerged branches when working on dependency upgrades like this.

Since npm v5.0.0 (ref):

git dependencies with prepare scripts will have their devDependencies installed, and npm install run in their directory before being packed.

@BrandonHBodine
Copy link
Contributor

Hey @arbrandes, I think this was our answer to getting something in before the introduction of the plugin framework. It currently is a pain on the 2u side as well. Do you know where the discussions for a adding a plugin slot to the course authoring MFE take place?

@arbrandes
Copy link
Contributor

@BrandonHBodine, thanks for reviewing!

Do you know where the discussions for a adding a plugin slot to the course authoring MFE take place?

There are a few places to start an conversation about that. The #wg-frontend channel in the Open edX Slack is a good one, but the FWG meeting every other Thursday also works. So would the forum, for that matter.

But the fastest way is usually to open a PR - in this case to frontend-app-course-authoring - where we can iterate on a solution quickly.

@pomegranited
Copy link
Contributor Author

Thank you for your review @BrandonHBodine ! Could this be merged and tagged so we can unblock openedx/frontend-app-authoring#1052? CC @arbrandes

@BrandonHBodine BrandonHBodine merged commit c75fd25 into openedx-unsupported:main Jun 20, 2024
3 checks passed
@openedx-webhooks
Copy link

@pomegranited 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

@bradenmacdonald
Copy link

Thanks @BrandonHBodine!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs reviewer assigned PR needs to be (re-)assigned a new reviewer open-source-contribution PR author is not from Axim or 2U
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants