Compare commits

..

2 Commits

Author SHA1 Message Date
Vivian Phung
055b63d4a2
pnpm 2024-04-11 23:24:36 -05:00
Vivian Phung
df40bf82bb
pnpm as package manager 2024-04-11 23:03:50 -05:00
3 changed files with 2846 additions and 6 deletions

View File

@ -1,15 +1,15 @@
# nextjs-package-manager-example-app # nextjs-package-manager-example-app
branch: `main` branch: `nextjs-package-manager/pnpm`
This repo is for testing building `Next.js` app with different package managers. Each branch can be used to test different package managers. This repo is for testing building `Next.js` app with different package managers. This branch uses [pnpm](https://pnpm.io) as the package manager.
## Getting Started ## Getting Started
First, install the dependencies: First, install the dependencies:
```zsh ```zsh
pnpm install
``` ```
## Development ## Development
@ -17,7 +17,7 @@ First, install the dependencies:
First, run the development server: First, run the development server:
```zsh ```zsh
pnpm dev
``` ```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
@ -27,5 +27,5 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the
To build the app for production, run: To build the app for production, run:
```zsh ```zsh
pnpm build
``` ```

View File

@ -1,7 +1,7 @@
{ {
"name": "nextjs-package-manager-example-app", "name": "nextjs-package-manager-example-app",
"version": "0.0.1", "version": "0.0.1",
"private": false, "private": true,
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",

2840
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff