Skip to content

Commit

Permalink
feat(common): update prepack script
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-ivanovvv committed Jan 15, 2025
1 parent 22435d4 commit e3ddbc0
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
38 changes: 19 additions & 19 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions blog/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"main": "src/index.ts",
"scripts": {
"build": "yarn next build src --no-lint && rm ./src/.next/standalone/package.json ; cp -r ./src/.next/standalone ./dist && cp -r ./src/.next/static ./dist/src/.next/static && mv ./dist/src/server.js ./dist/src/index.cjs",
"build": "yarn next build src --no-lint && cp -r ./src/.next/standalone ./dist && cp -r ./src/.next/static ./dist/.next && mv ./dist/server.js ./dist/index.cjs",
"cleanup": "rm -rf dist",
"dev": "yarn next dev src",
"prepack": "run build",
"start": "node dist/src/index.cjs"
"start": "node dist/index.cjs"
},
"dependencies": {
"@apollo/client": "3.11.3",
Expand Down Expand Up @@ -43,7 +43,7 @@
"@types/react-helmet": "6.1.11",
"@types/styled-system": "^5",
"@vanilla-extract/css": "1.16.1",
"@vanilla-extract/next-plugin": "2.4.7",
"@vanilla-extract/next-plugin": "2.4.8",
"typescript": "5.4.2"
}
}
2 changes: 1 addition & 1 deletion site/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"main": "src/index.ts",
"scripts": {
"build": "yarn next build src --no-lint && rm ./src/.next/standalone/package.json ; cp -r ./src/.next/standalone ./dist && cp -r ./src/.next/static ./dist/src/.next/static && mv ./dist/src/server.js ./dist/src/index.cjs",
"build": "yarn next build src --no-lint && cp -r ./src/.next/standalone ./dist && cp -r ./src/.next/static ./dist/.next && mv ./dist/server.js ./dist/index.cjs",
"dev": "NODE_ENV=development yarn next dev src",
"prepack": "run build",
"start": "node dist/src/index.cjs"
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2732,7 +2732,7 @@ __metadata:
"@types/react-helmet": "npm:6.1.11"
"@types/styled-system": "npm:^5"
"@vanilla-extract/css": "npm:1.16.1"
"@vanilla-extract/next-plugin": "npm:2.4.7"
"@vanilla-extract/next-plugin": "npm:2.4.8"
graphql: "npm:16.9.0"
next: "npm:15.1.4"
rainbow-sprinkles: "npm:0.17.3"
Expand Down Expand Up @@ -10188,7 +10188,7 @@ __metadata:
languageName: node
linkType: hard

"@vanilla-extract/next-plugin@npm:*":
"@vanilla-extract/next-plugin@npm:*, @vanilla-extract/next-plugin@npm:2.4.8":
version: 2.4.8
resolution: "@vanilla-extract/next-plugin@npm:2.4.8"
dependencies:
Expand Down

0 comments on commit e3ddbc0

Please sign in to comment.