File tree 6 files changed +8545
-7741
lines changed
6 files changed +8545
-7741
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,7 @@ npm-debug.log*
19
19
yarn-debug.log *
20
20
yarn-error.log *
21
21
.idea
22
+
23
+ # Ignore other package managers' lockfiles
24
+ yarn.lock
25
+ package-lock.json
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Website
2
2
3
- This website is built using [ Docusaurus 2] ( https://docusaurus.io/ ) , a modern static website generator .
3
+ Answer.dev is built using [ Docusaurus 2] ( https://docusaurus.io/ ) , and we use [ pnpm ] ( https://pnpm.io/ ) to manage dependencies .
4
4
5
5
### Installation
6
6
7
7
```
8
- yarn
8
+ pnpm i
9
9
```
10
10
11
11
### Local Development
12
12
13
13
```
14
- yarn start
14
+ pnpm start
15
15
```
16
16
17
17
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
18
18
19
19
### Build
20
20
21
21
```
22
- yarn build
22
+ pnpm build
23
23
```
24
24
25
25
This command generates static content into the ` build ` directory and can be served using any static contents hosting service.
@@ -29,13 +29,13 @@ This command generates static content into the `build` directory and can be serv
29
29
Using SSH:
30
30
31
31
```
32
- USE_SSH=true yarn deploy
32
+ USE_SSH=true pnpm deploy
33
33
```
34
34
35
35
Not using SSH:
36
36
37
37
```
38
- GIT_USER=<Your GitHub username> yarn deploy
38
+ GIT_USER=<Your GitHub username> pnpm deploy
39
39
```
40
40
41
41
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.
Original file line number Diff line number Diff line change 15
15
"typecheck" : " tsc"
16
16
},
17
17
"dependencies" : {
18
- "@docusaurus/core" : " 2.1 .0" ,
19
- "@docusaurus/preset-classic" : " 2.1 .0" ,
18
+ "@docusaurus/core" : " 2.2 .0" ,
19
+ "@docusaurus/preset-classic" : " 2.2 .0" ,
20
20
"@mdx-js/react" : " ^1.6.22" ,
21
21
"clsx" : " ^1.2.1" ,
22
22
"prism-react-renderer" : " ^1.3.5" ,
23
23
"react" : " ^17.0.2" ,
24
24
"react-dom" : " ^17.0.2"
25
25
},
26
26
"devDependencies" : {
27
- "@docusaurus/eslint-plugin" : " ^2.1 .0" ,
28
- "@docusaurus/module-type-aliases" : " 2.1 .0" ,
27
+ "@docusaurus/eslint-plugin" : " ^2.2 .0" ,
28
+ "@docusaurus/module-type-aliases" : " 2.2 .0" ,
29
29
"@tsconfig/docusaurus" : " ^1.0.5" ,
30
30
"typescript" : " ^4.7.4"
31
31
},
42
42
]
43
43
},
44
44
"engines" : {
45
- "node" : " >=16.14"
45
+ "node" : " >=16.14" ,
46
+ "pnpm" : " >=6"
46
47
}
47
48
}
You can’t perform that action at this time.
0 commit comments