Skip to content

Commit

Permalink
Fix packaging bug in next (dist folder was not erased before the new …
Browse files Browse the repository at this point in the history
…build)
  • Loading branch information
jcarlosn committed Oct 24, 2024
1 parent e5c1bc7 commit 42b9ca0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev-service": "FULL_DEV=1 NODE_ENV=development pm2 start pm2.config.js",
"prod": "NODE_ENV=production pm2 start pm2.config.js --no-daemon",
"dev": "FULL_DEV=1 NODE_ENV=development pm2 start pm2.config.js --no-daemon",
"package": "next build && node copy-assets.js && shx mv .next/standalone dist",
"package": "shx rm -rf dist && next build && node copy-assets.js && shx mv .next/standalone dist && shx cp entrypoint_prod.js dist/apps/next/entrypoint.js",
"lint": "next lint",
"test": "jest",
"test:deps": "npx playwright install && npx playwright install-deps",
Expand All @@ -29,11 +29,15 @@
"app": "0.0.0",
"compare-versions": "^3.4.0",
"dotenv": "^16.3.1",
"http-proxy": "^1.18.1",
"leva": "^0.9.35",
"mime-types": "^2.1.35",
"next": "^14.2.3",
"next-seo": "6.5.0",
"playwright": "1.41.0",
"protobase": "*",
"protolib": "0.0.1",
"protonode": "*",
"raf": "^3.4.1",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down

0 comments on commit 42b9ca0

Please sign in to comment.