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

I404 backend update #415

Merged

Conversation

pushyamig
Copy link
Contributor

@pushyamig pushyamig commented Feb 29, 2024

Fixes #404
Do a NPM install and delete the node_modules for new package.json update

  1. I did a build using github actions and have it run from CCM Dev. (I will remove github action from this PR since I have it as separate issue Add a github action file for build in Github instead of Openshift #412
  2. I did not update Test libraries at this point, Update the test library package for Backend #414
  3. Typescript and webpack is updated. use ncu package for checking what package are updated.
  4. I pick and chose what Front end package need to update. I mostly updated all the package that help in Frontend building
  5. I kept the issue #Observe and plan for ecosystem move to ECMAScript Modules #330 separate as it complicated and conflict with react update in once case. Need some time on my end
  6. got and p-limit is not updated since they are ESM module and don't backport support for CJS
  7. Going to Deal with Replace Csurf package with its equivalent #410 separately

Test Plan: Look for plan over here
Dep_update_test_plan: https://docs.google.com/spreadsheets/d/1kFDRcji_RySw_DtF-ZunvKhSZ9rYNMaPoVGJxVbje4c/edit#gid=0
Testing support: https://drive.google.com/drive/folders/1Ny6KgyoG-N9sOwo12gEXTOEPkB22VlUB
CCM doc: https://drive.google.com/drive/folders/1jFM54JYJVnOhUTQbZNeGQl5yW7F_uVwl

  1. Test LTI/Oauth integration. Oauth delete the API token generated by going into CAnvas Profile --> Setting and look for the name CCM Api key for your instace
  2. Test Swagger UI support. not every thing needs to be checked just make sure nothing is broken
  3. Test Migration. we use umzug for migration. Look at Database migration commands in READme
  4. Test all features as Canvas admin, Canvas subaccount admin, Teacher. https://docs.google.com/spreadsheets/d/1pNOlke-QLW-IqArn-2e_iF0Vp0uEKxzUds8bZRUKRJQ/edit#gid=1272591061

@@ -1,5 +1,5 @@
# Build stage (build client and compile server to JS)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will be delete once we have the issue #412 merged

@@ -42,7 +42,7 @@ const getDelete = (body: string): RequestInit => {

// This currently assumes all put requests have a JSON payload and receive a JSON response.
const getPut = (body: string): RequestInit => {
const headers: string[][] = [['Content-Type', jsonMimeType], ['Accept', jsonMimeType]]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I found these issues with typescript update

@@ -19,95 +19,95 @@
"author": "",
"license": "ISC",
"dependencies": {
"@kth/canvas-api": "^4.2.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

got and p-limit is not updated since they are ESM module and don't backport support for CJS

@pushyamig pushyamig marked this pull request as draft February 29, 2024 18:27
@pushyamig pushyamig marked this pull request as ready for review February 29, 2024 19:07
@pushyamig pushyamig self-assigned this Feb 29, 2024
@pushyamig pushyamig force-pushed the i404_backend_update branch 2 times, most recently from 96c606b to 88d09ff Compare March 4, 2024 15:08
@pushyamig pushyamig changed the base branch from main to 2024-03-01-dep-update March 4, 2024 15:18
@pushyamig
Copy link
Contributor Author

@jaydonkrooss , I have pointed this branch to tl-its-umich-edu:2024-03-01-dep-update as we discussed.

Once this merged to that branch we can have your #411 branch get the latest from this. As this has the latest typescript

@pushyamig pushyamig merged commit efe3435 into tl-its-umich-edu:2024-03-01-dep-update Mar 5, 2024
1 check passed
pushyamig added a commit that referenced this pull request May 21, 2024
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.

Update backend dependencies
2 participants