mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 14:46:26 +00:00
switch to pnpm and update packages
This commit is contained in:
parent
fdde87e476
commit
21d9a5ff16
@ -5,13 +5,13 @@ This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```
|
```
|
||||||
$ yarn
|
$ pnpm
|
||||||
```
|
```
|
||||||
|
|
||||||
### Local Development
|
### Local Development
|
||||||
|
|
||||||
```
|
```
|
||||||
$ yarn start
|
$ pnpm start
|
||||||
```
|
```
|
||||||
|
|
||||||
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
|
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
|
||||||
@ -19,7 +19,7 @@ This command starts a local development server and open up a browser window. Mos
|
|||||||
### Build
|
### Build
|
||||||
|
|
||||||
```
|
```
|
||||||
$ yarn build
|
$ pnpm build
|
||||||
```
|
```
|
||||||
|
|
||||||
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
||||||
@ -27,7 +27,7 @@ This command generates static content into the `build` directory and can be serv
|
|||||||
### Deployment
|
### Deployment
|
||||||
|
|
||||||
```
|
```
|
||||||
$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
|
$ GIT_USER=<Your GitHub username> USE_SSH=true pnpm deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|
||||||
|
@ -8,5 +8,5 @@ git config --global user.email "jonas@dellinger.dev"
|
|||||||
git config --global user.name "GH Actions Docs Builder"
|
git config --global user.name "GH Actions Docs Builder"
|
||||||
|
|
||||||
cd ./SpotifyAPI.Docs
|
cd ./SpotifyAPI.Docs
|
||||||
yarn
|
pnpm i --frozen-lockfile
|
||||||
USE_SSH=true GIT_USER=JohnnyCrazy yarn deploy
|
USE_SSH=true GIT_USER=JohnnyCrazy pnpm deploy
|
||||||
|
@ -14,11 +14,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/core": "^2.4.1",
|
"@docusaurus/core": "^3.0.0",
|
||||||
"@docusaurus/preset-classic": "^2.4.1",
|
"@docusaurus/preset-classic": "^3.0.0",
|
||||||
|
"@mdx-js/react": "^3.0.0",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"react": "^17.0.2",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^18.2.0",
|
||||||
"react-github-btn": "^1.2.0"
|
"react-github-btn": "^1.2.0"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
@ -35,7 +36,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"import-sort-style-module": "^6.0.0",
|
"import-sort-style-module": "^6.0.0",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^3.0.3",
|
||||||
"prettier-plugin-import-sort": "^0.0.7"
|
"prettier-plugin-import-sort": "^0.0.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
9635
SpotifyAPI.Docs/pnpm-lock.yaml
generated
Normal file
9635
SpotifyAPI.Docs/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"version-5.1.1/someSidebar": [
|
"someSidebar": [
|
||||||
{
|
{
|
||||||
"type": "category",
|
"type": "category",
|
||||||
"label": "SpotifyAPI-NET",
|
"label": "SpotifyAPI-NET",
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/home"
|
"id": "home"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -16,59 +16,59 @@
|
|||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/getting_started"
|
"id": "web/getting_started"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/albums"
|
"id": "web/albums"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/artists"
|
"id": "web/artists"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/browse"
|
"id": "web/browse"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/follow"
|
"id": "web/follow"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/library"
|
"id": "web/library"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/personalization"
|
"id": "web/personalization"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/player"
|
"id": "web/player"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/playlists"
|
"id": "web/playlists"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/profiles"
|
"id": "web/profiles"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/proxy"
|
"id": "web/proxy"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/search"
|
"id": "web/search"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/tracks"
|
"id": "web/tracks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/web/utilities"
|
"id": "web/utilities"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -78,23 +78,23 @@
|
|||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/auth/getting_started"
|
"id": "auth/getting_started"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/auth/implicit_grant"
|
"id": "auth/implicit_grant"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/auth/authorization_code"
|
"id": "auth/authorization_code"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/auth/client_credentials"
|
"id": "auth/client_credentials"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"id": "version-5.1.1/auth/token_swap"
|
"id": "auth/token_swap"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user