Skip to content

Commit

Permalink
feat(deps): upgrade to docusaurus v3 (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsojramos authored Apr 8, 2024
1 parent cd50b51 commit fbba2bb
Show file tree
Hide file tree
Showing 6 changed files with 3,081 additions and 2,044 deletions.
4 changes: 2 additions & 2 deletions docs/development/api-wrapper/types/keyboard/validkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ For the list of valid keys, refer to the [type definition](/docs/development/api
|_|-|
|+|=|
|:|;|
|<|,|
|>|.|
|\<|,|
|\>|.|
|?|/|
|||\\|

Expand Down
5 changes: 2 additions & 3 deletions docs/development/spicetify-creator/create-custom-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ It comes with an example of a simple counter using React's logic, and usages for
The `extensions/` folder takes all the files inside it and transforms them into extensions that will run on Spotify's startup.
The `extensions/extension.tsx` file is an example that says "Welcome!" whenever Spotify starts.

<details><summary>extension.tsx's content</summary>
<p>
<details>
<summary>extension.tsx's content</summary>

```ts
(async () => {
Expand All @@ -69,5 +69,4 @@ The `extensions/extension.tsx` file is an example that says "Welcome!" whenever
})();
```

</p>
</details>
68 changes: 44 additions & 24 deletions docs/development/spicetify-creator/the-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,19 @@ Open the terminal in your desired directory and enter the following command

<Tabs groupId="package-managers">
<TabItem value="npm" label="npm" default>

npx create-spicetify-app

```shell
npx create-spicetify-app
```
</TabItem>
<TabItem value="yarn" label="Yarn">

yarn create spicetify-app

```shell
yarn create spicetify-app
```
</TabItem>
<TabItem value="pnpm" label="pnpm">
```shell
pnpm create spicetify-app
```
</TabItem>
</Tabs>

Expand Down Expand Up @@ -69,14 +74,19 @@ You can use node packages in your app by installing them with your package manag

<Tabs groupId="package-managers">
<TabItem value="npm" label="npm" default>

npm install <package-name>

```shell
npm install <package-name>
```
</TabItem>
<TabItem value="yarn" label="Yarn">

yarn add <package-name>

```shell
yarn add <package-name>
```shell
</TabItem>
<TabItem value="pnpm" label="pnpm">
```shell
pnpm add <package-name>
```
</TabItem>
</Tabs>

Expand All @@ -96,14 +106,19 @@ For a list of plugins: https://github.com/FlafyDev/spicetify-creator-plugins
To install and import a plugin:
<Tabs groupId="package-managers">
<TabItem value="npm" label="npm" default>

npm install spcr-<name>

```shell
npm install spcr-<name>
```
</TabItem>
<TabItem value="yarn" label="Yarn">

yarn add spcr-<name>

```shell
yarn add spcr-<name>
```
</TabItem>
<TabItem value="pnpm" label="pnpm">
```shell
pnpm add spcr-<name>
```
</TabItem>
</Tabs>

Expand All @@ -120,13 +135,18 @@ import plugin from 'spcr-<name>';

<Tabs groupId="package-managers">
<TabItem value="npm" label="npm" default>

npm update spicetify-creator

```shell
npm update spicetify-creator
```
</TabItem>
<TabItem value="yarn" label="Yarn">

yarn upgrade spicetify-creator

```shell
yarn upgrade spicetify-creator
```
</TabItem>
<TabItem value="pnpm" label="pnpm">
```shell
pnpm update spicetify-creator
```
</TabItem>
</Tabs>
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"prepare": "husky install"
},
"dependencies": {
"@algolia/client-search": "^4.20.0",
"@docusaurus/core": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@docusaurus/theme-common": "^2.4.3",
"@docusaurus/types": "^2.4.3",
"@mdx-js/react": "^1.6.22",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"swiper": "^10.3.1"
"@algolia/client-search": "^4.23.2",
"@docusaurus/core": "^3.2.1",
"@docusaurus/preset-classic": "^3.2.1",
"@docusaurus/theme-common": "^3.2.1",
"@docusaurus/types": "^3.2.1",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.1.0",
"prism-react-renderer": "^2.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swiper": "^11.1.0"
},
"browserslist": {
"production": [
Expand All @@ -41,21 +41,21 @@
]
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.4.3",
"@docusaurus/theme-classic": "^2.4.3",
"@tsconfig/docusaurus": "^2.0.2",
"@types/node": "^20.8.7",
"@types/react": "^17.0.69",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",
"@docusaurus/module-type-aliases": "^3.2.1",
"@docusaurus/theme-classic": "^3.2.1",
"@docusaurus/tsconfig": "^3.2.1",
"@types/node": "^20.12.5",
"@types/react": "^18.2.74",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "^5.4.4"
},
"lint-staged": {
"*.js": "eslint --cache --fix **/*.tsx"
Expand Down
Loading

0 comments on commit fbba2bb

Please sign in to comment.