Compare commits

...

2 Commits

Author SHA1 Message Date
Vivian Phung
9f32e16494
npm 2024-04-11 23:27:54 -05:00
Vivian Phung
8ae390a604
init 2024-04-11 23:10:39 -05:00
4 changed files with 32 additions and 9 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Snowball Tools Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,15 +1,15 @@
# nextjs-package-manager-example-app # nextjs-package-manager-example-app
branch: `main` branch: `nextjs-package-manager/npm`
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 [npm](https://www.npmjs.com/) as the package manager.
## Getting Started ## Getting Started
First, install the dependencies: First, install the dependencies:
```zsh ```zsh
npm install
``` ```
## Development ## Development
@ -17,7 +17,7 @@ First, install the dependencies:
First, run the development server: First, run the development server:
```zsh ```zsh
npm run 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
npm run build
``` ```

5
package-lock.json generated
View File

@ -1,12 +1,13 @@
{ {
"name": "nextjs-package-manager-example-app", "name": "nextjs-package-manager-example-app",
"version": "0.1.0", "version": "0.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "nextjs-package-manager-example-app", "name": "nextjs-package-manager-example-app",
"version": "0.1.0", "version": "0.0.1",
"license": "MIT",
"dependencies": { "dependencies": {
"next": "14.2.0", "next": "14.2.0",
"react": "^18", "react": "^18",

View File

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