feat: change package manager

This commit is contained in:
leonmargaritis 2023-11-17 09:38:04 +01:00
parent 1b4425bb4d
commit 6c6107669d
5 changed files with 3225 additions and 3452 deletions

View File

@ -1,3 +1,3 @@
.vercel .vercel
.next .next
pnpm-lock.yaml yarn.lock

View File

@ -55,8 +55,8 @@ You will need to use the environment variables [defined in `.env.example`](.env.
3. Download your environment variables: `vercel env pull` 3. Download your environment variables: `vercel env pull`
```bash ```bash
pnpm install yarn install
pnpm dev yarn dev
``` ```
Your app should now be running on [localhost:3000](http://localhost:3000/). Your app should now be running on [localhost:3000](http://localhost:3000/).
@ -68,7 +68,7 @@ Your app should now be running on [localhost:3000](http://localhost:3000/).
1. Select the `Vercel Solutions` scope. 1. Select the `Vercel Solutions` scope.
1. Connect to the existing `commerce-shopify` project. 1. Connect to the existing `commerce-shopify` project.
1. Run `vc env pull` to get environment variables. 1. Run `vc env pull` to get environment variables.
1. Run `pnpm dev` to ensure everything is working correctly. 1. Run `yarn dev` to ensure everything is working correctly.
</details> </details>
## Vercel, Next.js Commerce, and Shopify Integration Guide ## Vercel, Next.js Commerce, and Shopify Integration Guide

View File

@ -1,9 +1,7 @@
{ {
"private": true, "private": true,
"packageManager": "pnpm@8.2.0",
"engines": { "engines": {
"node": ">=18", "node": ">=18"
"pnpm": ">=7"
}, },
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
@ -13,7 +11,7 @@
"lint-staged": "lint-staged", "lint-staged": "lint-staged",
"prettier": "prettier --write --ignore-unknown .", "prettier": "prettier --write --ignore-unknown .",
"prettier:check": "prettier --check --ignore-unknown .", "prettier:check": "prettier --check --ignore-unknown .",
"test": "pnpm lint && pnpm prettier:check" "test": "next lint && pnpm prettier --check --ignore-unknown ."
}, },
"git": { "git": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"

3444
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

3219
yarn.lock Normal file

File diff suppressed because it is too large Load Diff