Skip to content

Commit

Permalink
fix: remove postinstall scripts (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa authored Sep 19, 2024
1 parent e4d4e40 commit 0b760f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions examples/nuxt-vite/nuxt-host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"private": true,
"type": "module",
"scripts": {
"prebuild": "nuxt prepare",
"build": "nuxt build",
"predev": "nuxt prepare",
"dev": "NODE_OPTIONS=--experimental-vm-modules nuxt dev --experimental-vm-modules --port=3001",
"generate": "nuxt generate",
"preview": "NITRO_PORT=3001 nuxt preview",
"postinstall": "nuxt prepare"
"preview": "NITRO_PORT=3001 nuxt preview"
},
"dependencies": {
"nuxt": "^3.13.0",
Expand Down
5 changes: 3 additions & 2 deletions examples/nuxt-vite/nuxt-remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"private": true,
"type": "module",
"scripts": {
"prebuild": "nuxt prepare",
"build": "nuxt build",
"predev": "nuxt prepare",
"dev": "NODE_OPTIONS=--experimental-vm-modules nuxt dev --experimental-vm-modules",
"generate": "nuxt generate",
"preview": "nuxt preview --port=3001",
"postinstall": "nuxt prepare"
"preview": "nuxt preview --port=3001"
},
"dependencies": {
"@module-federation/vite": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"lib/**/*"
],
"scripts": {
"postinstall": "npm run build",
"prepare": "husky install",
"format": "pretty-quick",
"dev": "microbundle watch --no-sourcemap --compress=false",
Expand Down

0 comments on commit 0b760f6

Please sign in to comment.