@@ -30,51 +30,51 @@ git clone https://github.com/<your_github_username>/chakra-ui-docs.git
30
30
cd chakra-ui-docs
31
31
```
32
32
33
- 3 . Setup all the dependencies and packages by running ` yarn ` .
33
+ 3 . Setup all the dependencies and packages by running ` pnpm i ` .
34
34
35
- 4 . Execute ` yarn dev` to spin up a local development server. If you're running
35
+ 4 . Execute ` pnpm dev` to spin up a local development server. If you're running
36
36
Windows, contentlayer might not work as expected, so you'd need to do
37
- ` npx contentlayer build ` before running ` yarn dev` in order to generate the
37
+ ` npx contentlayer build ` before running ` pnpm dev` in order to generate the
38
38
docsite content.
39
39
40
40
> If you run into any issues, kindly reach out to the Chakra UI React team here:
41
41
> https://discord.gg/chakra-ui
42
42
43
43
### Commands
44
44
45
- ** ` yarn ` ** : installs the dependency packages.
45
+ ** ` pnpm ` ** : installs the dependency packages.
46
46
47
- ** ` yarn dev` ** : starts the local development server.
47
+ ** ` pnpm dev` ** : starts the local development server.
48
48
49
- ** ` yarn build` ** : builds the docsite for production.
49
+ ** ` pnpm build` ** : builds the docsite for production.
50
50
51
- ** ` yarn lint` ** : runs the nextjs linter which checks for code issues.
51
+ ** ` pnpm lint` ** : runs the nextjs linter which checks for code issues.
52
52
53
- ** ` yarn avatars:gen` ** : regenerates the avatars
53
+ ** ` pnpm avatars:gen` ** : regenerates the avatars
54
54
55
- ** ` yarn members:gen` ** : regenerates the members
55
+ ** ` pnpm members:gen` ** : regenerates the members
56
56
57
- ** ` yarn former-members:gen` ** : regenerates the former members
57
+ ** ` pnpm former-members:gen` ** : regenerates the former members
58
58
59
- ** ` yarn search-meta:gen` ** : regenerates the search meta
59
+ ** ` pnpm search-meta:gen` ** : regenerates the search meta
60
60
61
- ** ` yarn showcase-data:gen` ** : regenerates the showcase data
61
+ ** ` pnpm showcase-data:gen` ** : regenerates the showcase data
62
62
63
- ** ` yarn changelog:gen` ** : regenerates the Changelog
63
+ ** ` pnpm changelog:gen` ** : regenerates the Changelog
64
64
65
- ** ` yarn cache:clean` ** : deletes the ` .contentlayer ` folder
65
+ ** ` pnpm cache:clean` ** : deletes the ` .contentlayer ` folder
66
66
67
- ** ` yarn clean` ** : deletes the ` yarn .lock` file and ` node_modules `
67
+ ** ` pnpm clean` ** : deletes the ` pnpm .lock` file and ` node_modules `
68
68
69
- ** ` yarn reinstall` ** : reinstalls the dependency packages
69
+ ** ` pnpm reinstall` ** : reinstalls the dependency packages
70
70
71
71
## Updating the docs for new release
72
72
73
73
When a new version of ` @chakra-ui/react ` has been released, here's what you need
74
74
to do to get it reflected in the docs:
75
75
76
76
- Bump the version of ` @chakra-ui/react `
77
- - Run ` yarn changelog:gen` to fetch the most recent changelog from the
77
+ - Run ` pnpm changelog:gen` to fetch the most recent changelog from the
78
78
[ main repository] ( https://github.com/chakra-ui/chakra-ui )
79
79
- Open a Pull Request titled ` docs: updates for new release `
80
80
@@ -115,8 +115,8 @@ https://www.conventionalcommits.org/ or check out the
115
115
116
116
3 . Make and commit your changes following the
117
117
[ commit convention] ( https://github.com/chakra-ui/chakra-ui-docs/blob/main/CONTRIBUTING.md#commit-convention ) .
118
- As you develop, you can run ` yarn lint` to make sure everything works as
119
- expected. Please note that you might have to run ` yarn ` first in order to
118
+ As you develop, you can run ` pnpm lint` to make sure everything works as
119
+ expected. Please note that you might have to run ` pnpm ` first in order to
120
120
install all dependencies.
121
121
122
122
## Want to write a blog post or tutorial
@@ -149,4 +149,4 @@ echo "GITHUB_TOKEN=<PASTE YOUR TOKEN HERE>" >> .env
149
149
## License
150
150
151
151
By contributing your code to the chakra-ui-docs GitHub repository, you agree to
152
- license your contribution under the MIT license.
152
+ license your contribution under the MIT license.****
0 commit comments