nextjs-shopify-app-no-custom-server
nextjs-shopify-app-no-custom-server copied to clipboard
Updated numerous project dependencies and parts
Hi,
first of all: great baseline work! I forked this to have a base for my embedded apps.
I noticed a few missing parts to make this usable as a general base.
- Dependencies
- The project had a lot of duplicate and outdated dependencies. I cleaned things up and bumped all dependencies to the latest version, excluding React.
- All Shopify packages are now up to date, including Polaris
- Apollo packages have been removed in favor of the new @apollo packages.
I replaced all mentions of other apollo packages with the new Apollo package, and fixed all loose ends regarding the ApolloClient
I added husky for precommit linting of the project.
Speaking of linting, using the next recommended base I fixed all open errors and warnings.
I also added a dockerfile and a docker compose file. This enables hot-reload development inside the container. No need to use vercel or a redis service provider, as this container setup includes redis.
TLDR: Now the project is usable out of the box.
Open issue: Session tokens do not get refreshed (like in the open issues)