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

feat: upgrade project to Next.js 15 #519

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AvhiMaz
Copy link

@AvhiMaz AvhiMaz commented Mar 9, 2025

feat: upgrade project to Next.js 15

  • Upgraded dependencies to support Next.js 15
  • Resolved breaking changes and updated configurations
  • Tested and verified application functionality

Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
@AvhiMaz
Copy link
Author

AvhiMaz commented Mar 9, 2025

@maany @bari12 Please review this at your convenience. Thank you

Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
@AvhiMaz
Copy link
Author

AvhiMaz commented Mar 13, 2025

@maany made a build fix. Can you approve the workflow? Hopefully, it won't fail this time.

Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
@AvhiMaz
Copy link
Author

AvhiMaz commented Mar 13, 2025

Sorry @maany for bothering you repeatedly.

Testcases:
image

Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
@AvhiMaz
Copy link
Author

AvhiMaz commented Mar 14, 2025

@maany

Update jest.sdk.setup.ts

From

import '@testing-library/jest-dom/extend-expect';
import 'reflect-metadata';
import fetchMock from 'jest-fetch-mock';
import '@inrupt/jest-jsdom-polyfills';
fetchMock.enableMocks();

To

import '@testing-library/jest-dom/extend-expect';
import 'reflect-metadata';
import fetchMock from 'jest-fetch-mock';
import '@inrupt/jest-jsdom-polyfills';

fetchMock.enableMocks();

if (typeof global.Request === 'undefined') {
    const { Request, Response, Headers } = require('node-fetch');
    global.Request = Request;
    global.Response = Response;
    global.Headers = Headers;
}

hope it fixes the issue / testcase now

@AvhiMaz
Copy link
Author

AvhiMaz commented Mar 14, 2025

@maany All checks have passed. Can you merge it? Thank you!

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.

1 participant