Skip to content

Feat/nextjs app router integration#124

Open
meet-bhimani wants to merge 2 commits into
LiveDuo:mainfrom
meet-bhimani:feat/nextjs-app-router-integration
Open

Feat/nextjs app router integration#124
meet-bhimani wants to merge 2 commits into
LiveDuo:mainfrom
meet-bhimani:feat/nextjs-app-router-integration

Conversation

@meet-bhimani

@meet-bhimani meet-bhimani commented Oct 30, 2024

Copy link
Copy Markdown
  • This pull request integrates support for the Next.js app router (Next.js 14) into the project, significantly improving compatibility and functionality.

  • For a comprehensive overview of the changes, including detailed integration steps and code snippets, please refer to the NEXTJS_APP_ROUTER_INTEGRATION.md file or check here

feel free to contact me for any discussions

@LiveDuo

LiveDuo commented Oct 30, 2024

Copy link
Copy Markdown
Owner

@meet-bhimani Thanks for the PR!

I'd have to preface by saying it's going to be quite a lot of changes to get this PR merge.

Before reviewing, the dev/nextjs-app-router folder has to be deleted and changes have to be applied to dev/next-app-project. The functions in the api folder should be merge into the lib/server folder that the rest of the API code lives. This is necessary to move the PR forward.

More comments for now:

  • type any should be replaced with the appropriate types
  • try / catch blocks should be removed as they create silent errors. this repo follows the Let it crash philosophy from erlang for the various reasons described in the blog post
  • almost all comments are better removed, hard to better explain than this CodeAesthetic video

@meet-bhimani

meet-bhimani commented Oct 31, 2024 via email

Copy link
Copy Markdown
Author

@LiveDuo

LiveDuo commented Oct 31, 2024

Copy link
Copy Markdown
Owner

@meet-bhimani That's fine, there's no rush.

There's the npm publish command that publishes to npm (it builds the project automatically using the prepublishOnly script). That been said, since the structure of the API folder is changed things might not work as expected.

@meet-bhimani

meet-bhimani commented Oct 31, 2024 via email

Copy link
Copy Markdown
Author

@LiveDuo

LiveDuo commented Oct 31, 2024

Copy link
Copy Markdown
Owner

I don't think it's a good idea to publish the package for you for multiple reasons. The publish command is not that hard either to publish it yourself.

@meet-bhimani

meet-bhimani commented Nov 1, 2024 via email

Copy link
Copy Markdown
Author

@LiveDuo

LiveDuo commented Nov 1, 2024

Copy link
Copy Markdown
Owner

You can the all folders that needs to be published in npm https://www.npmjs.com/package/destack?activeTab=code.

@meet-bhimani

meet-bhimani commented Nov 4, 2024 via email

Copy link
Copy Markdown
Author

@w0rldart

w0rldart commented Mar 5, 2025

Copy link
Copy Markdown

What are the chances of getting this merged?

@LiveDuo

LiveDuo commented Mar 5, 2025

Copy link
Copy Markdown
Owner

What are the chances of getting this merged?

As is, it's not ready to be merged. At the current state it's not ready to be code reviewed either as the work is not done in the right place (see #124 (comment) for more info). If the PR it's updated to reflect the structure of the project I'd review it and leave proper feedback.

It's been a while though and I wouldn't have high hopes OP is still interested in moving this forward

@meet-bhimani

Copy link
Copy Markdown
Author

What are the chances of getting this merged?

As is, it's not ready to be merged. At the current state it's not ready to be code reviewed either as the work is not done in the right place (see #124 (comment) for more info). If the PR it's updated to reflect the structure of the project I'd review it and leave proper feedback.

It's been a while though and I wouldn't have high hopes OP is still interested in moving this forward

I am not able to revisit the code again and do workaround due to some other stuff. if you have any urgent need then you can checkout this upgraded version of this here
https://www.npmjs.com/package/pdfgpt-destack-alpha
Thanks! Happy Coding!

@manelpb

manelpb commented Mar 23, 2025

Copy link
Copy Markdown

What are the chances of getting this merged?

As is, it's not ready to be merged. At the current state it's not ready to be code reviewed either as the work is not done in the right place (see #124 (comment) for more info). If the PR it's updated to reflect the structure of the project I'd review it and leave proper feedback.
It's been a while though and I wouldn't have high hopes OP is still interested in moving this forward

I am not able to revisit the code again and do workaround due to some other stuff. if you have any urgent need then you can checkout this upgraded version of this here https://www.npmjs.com/package/pdfgpt-destack-alpha Thanks! Happy Coding!

@meet-bhimani thanks for creating this package, but I'm unable to see the source code. Looks like the repository doesn't exist or it's not public.

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.

4 participants