Skip to content

Commit

Permalink
chore(website): switch website to pnpm (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFoxPro authored Nov 19, 2022
1 parent e222434 commit 6b8bff4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7,332 deletions.
5 changes: 5 additions & 0 deletions .changeset/honest-dodos-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'linaria-website': patch
---

Switch website to pnpm
8 changes: 4 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"main": "./src/index.jsx",
"private": true,
"scripts": {
"build": "yarn build:client && yarn build:server",
"build": "pnpm build:client && pnpm build:server",
"build:client": "cross-env NODE_ENV=production webpack",
"build:server": "cross-env NODE_ENV=production BABEL_ENV=server babel src --out-dir build",
"clean": "yarn clean:client && yarn clean:server",
"clean": "pnpm clean:client && pnpm clean:server",
"clean:client": "del dist",
"clean:server": "del build",
"lint:css": "stylelint src/**/*.jsx",
"prebuild": "yarn clean",
"prestart": "yarn --cwd .. prepare",
"prebuild": "pnpm clean",
"prestart": "pnpm -w prepare",
"server": "node build/server",
"start": "webpack serve"
}
Expand Down
Loading

0 comments on commit 6b8bff4

Please sign in to comment.