mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +00:00
feat: change package manager
This commit is contained in:
parent
1b4425bb4d
commit
6c6107669d
@ -1,3 +1,3 @@
|
|||||||
.vercel
|
.vercel
|
||||||
.next
|
.next
|
||||||
pnpm-lock.yaml
|
yarn.lock
|
@ -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
|
||||||
|
@ -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
3444
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user