Skip to content

Commit

Permalink
chore: yarn -> pnpm, update gh star count
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Sep 3, 2022
1 parent cdd960e commit 7b51a63
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 28 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ The website is built with [Solid](https://github.com/solidjs/solid). In order to

### Prerequisites

- [yarn](https://yarnpkg.com/getting-started/install)
- [pnpm](https://pnpm.io/installation)

### Install

1. Clone the project locally: `git clone https://github.com/solidjs/solid-site`
2. Change directory into your local copy: `cd solid-site`
3. Install the dependencies: `yarn install`
3. Install the dependencies: `pnpm i`

### Available commands

- `yarn install`: Install the dependencies
- `yarn dev`: Start the dev server
- `yarn build`: Build the project
- `yarn build:sitemap`: Generate the `sitemap.xml` file
- `yarn format`: Format the whole project with prettier
- `yarn deploy:dev`: Helper method to deploy to dev
- `yarn deploy:prod`: Helper method to deploy to prod
- `pnpm i`: Install the dependencies
- `pnpm dev`: Start the dev server
- `pnpm build`: Build the project
- `pnpm build:sitemap`: Generate the `sitemap.xml` file
- `pnpm format`: Format the whole project with prettier
- `pnpm deploy:dev`: Helper method to deploy to dev
- `pnpm deploy:prod`: Helper method to deploy to prod

### PWA Testing

Solid Site supports PWA and worker auto updating powered by Vite PWA Plugin. When testing `run yarn https-preview`. Running it the first time will ask to install the certificate if not yet done. Then open your Chrome and press F12 > Network Tab > browse to https://localhost. Wait until the network requests with gears at the begining stops downloading the SW precache, then on the same Network Tab just change `No throttling` option to `Offline`. All pages should work by pressing F5 (do not do a hard refresh Crtl + F5 as it will force the browser to go to the server and the Chrome Dinosaur will appear).
Solid Site supports PWA and worker auto updating powered by Vite PWA Plugin. When testing `run pnpm https-preview`. Running it the first time will ask to install the certificate if not yet done. Then open your Chrome and press <kbd>F12</kbd> > Network Tab > browse to https://localhost. Wait until the network requests with gears at the begining stops downloading the SW precache, then on the same Network Tab just change `No throttling` option to `Offline`. All pages should work by pressing <kbd>F5</kbd> (do not do a hard refresh <kbd>Ctrl</kbd> + <kbd>F5</kbd> as it will force the browser to go to the server and the Chrome Dinosaur will appear).

## Additional information

Expand All @@ -46,7 +46,7 @@ They're imported from the [Solid Docs](https://github.com/solidjs/solid-docs) pa
- [TailwindCSS](https://tailwindcss.com/) - For all the styles
- [Cloudflare Wrangler](https://github.com/cloudflare/wrangler) - Cloudflare Wrangler to deploy to Workers
- [Vite](http://vitejs.dev/) - For the bundler / dev server
- [Yarn](https://yarnpkg.com/) - The package manager
- [pnpm](https://pnpm.io) - The package manager
- [Shiki](https://github.com/shikijs/shiki) - For the code highlight
- [Vite PWA](https://vite-plugin-pwa.netlify.app/) - For PWA functionality

Expand Down
2 changes: 1 addition & 1 deletion lang/de/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Github-Sterne",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down
4 changes: 2 additions & 2 deletions lang/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Github stars",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down Expand Up @@ -110,4 +110,4 @@
"description": "This benchmark tests raw Server Rendering speeds. Higher is better."
}
}
}
}
2 changes: 1 addition & 1 deletion lang/es/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Estrellas GitHub",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down
2 changes: 1 addition & 1 deletion lang/fa/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "ستاره های گیت هاب",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down
4 changes: 2 additions & 2 deletions lang/fr/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Stars sur GitHub",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down Expand Up @@ -111,4 +111,4 @@
"description": "Ce benchmark teste les vitesses brutes de rendu du serveur. Plus c'est mieux."
}
}
}
}
4 changes: 2 additions & 2 deletions lang/id/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Github stars",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down Expand Up @@ -111,4 +111,4 @@
"description": "Benchmark ini mengetes kecepatan asli Server Rendering. Lebih tinggi lebih baik."
}
}
}
}
2 changes: 1 addition & 1 deletion lang/ja/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Github stars",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down
4 changes: 2 additions & 2 deletions lang/ko-kr/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "깃헙 스타",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down Expand Up @@ -110,4 +110,4 @@
"description": "이 벤치마크는 서버 렌더링 속도를 테스트합니다. 높을수록 좋습니다."
}
}
}
}
2 changes: 1 addition & 1 deletion lang/pt/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Estrelas no Github",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down
2 changes: 1 addition & 1 deletion lang/tl/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Github stars",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down
4 changes: 2 additions & 2 deletions lang/tr/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Github Yıldızı",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down Expand Up @@ -107,4 +107,4 @@
"description": "Bu kıyaslama, ham Sunucu İşleme hızlarını test eder. Yüksek olanlar daha iyi."
}
}
}
}
2 changes: 1 addition & 1 deletion lang/uk/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"link": "https://bundlephobia.com/package/[email protected]"
},
{
"label": "19k+",
"label": "21k+",
"detail": "Зірок на GitHub",
"link": "https://star-history.t9t.io/#solidjs/solid"
},
Expand Down

0 comments on commit 7b51a63

Please sign in to comment.