Skip to content

Commit

Permalink
🔧 update build and dev scripts to include port number for better deve…
Browse files Browse the repository at this point in the history
…lopment experience
  • Loading branch information
AntoineKM committed Apr 2, 2023
1 parent d0b7140 commit a45e01a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "docs",
"private": true,
"scripts": {
"dev": "next",
"dev": "next -p 3001",
"start": "next start",
"build": "next build"
"build": "next build -p 3001"
},
"dependencies": {
"@codesandbox/sandpack-react": "^1.20.9",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"start": "turbo start",
"build": "turbo run build",
"build:packages": "turbo run p:build",
"build:apps": "turbo run build --filter='./examples/*' --filter=docs",
"build:apps": "turbo run build --filter=workshop --filter=docs --filter='./examples/*'",
"build:docs": "turbo run build --filter=docs...",
"build:examples": "turbo run build --filter='./examples/*'",
"build:examples:expo": "turbo run build --filter=expo-typescript...",
"build:examples:next": "turbo run build --filter=next-typescript...",
"dev": "node start-dev.js",
"dev:packages": "turbo run p:watch",
"dev:apps": "turbo run dev --filter='./examples/*' --filter=docs",
"dev:apps": "turbo run dev --filter=workshop --filter=docs --filter='./examples/*'",
"dev:docs": "turbo run dev --filter=docs",
"dev:examples": "turbo run dev --filter='./examples/*'",
"dev:examples:expo": "turbo run dev --filter=expo-typescript",
Expand Down
6 changes: 3 additions & 3 deletions workshop/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "next-typescript",
"name": "workshop",
"private": true,
"scripts": {
"dev": "next -p 3001",
"dev": "next -p 3000",
"build": "next build",
"start": "next start -p 3001"
"start": "next start -p 3000"
},
"dependencies": {
"@preconstruct/next": "^4.0.0",
Expand Down

0 comments on commit a45e01a

Please sign in to comment.