File tree Expand file tree Collapse file tree 6 files changed +13
-12
lines changed
Expand file tree Collapse file tree 6 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 3838
3939 - name : Integration Test
4040 run : bun integration
41+
42+ - name : Build Docs
43+ run : bun docs:build
Original file line number Diff line number Diff line change 3131 - name : Install Dependencies
3232 run : bun install
3333
34- - name : Build Plugin
35- run : bun run build
36-
37- - name : Install Docs Dependencies
38- run : bun install
39- working-directory : docs
40-
4134 - name : Build Docs
4235 run : bun docs:build
43- working-directory : docs
4436
4537 - name : Setup Pages
4638 uses : actions/configure-pages@v5
Original file line number Diff line number Diff line change 22 "name" : " docs" ,
33 "private" : true ,
44 "scripts" : {
5- "docs:start " : " docusaurus start " ,
6- "docs:build " : " tsc && bun generate && docusaurus build " ,
7- "generate " : " jsdoc2md --files ../dist/plugin.cjs --partial partials/main.hbs --partial partials/scope.hbs -c jsdoc.conf > docs/configuration.md "
5+ "build " : " tsc && bun generate && docusaurus build " ,
6+ "generate " : " jsdoc2md --files ../dist/plugin.cjs --partial partials/main.hbs --partial partials/scope.hbs -c jsdoc.conf > docs/configuration.md " ,
7+ "start " : " docusaurus start "
88 },
99 "devDependencies" : {
1010 "@docusaurus/core" : " 3.3.2" ,
1313 "@docusaurus/tsconfig" : " 3.3.2" ,
1414 "@docusaurus/types" : " 3.3.2" ,
1515 "@mdx-js/react" : " 3.0.1" ,
16+ "ajv" : " 8.14.0" ,
1617 "clsx" : " 2.1.1" ,
1718 "jsdoc-to-markdown" : " 8.0.1" ,
1819 "prism-react-renderer" : " 2.3.1" ,
Original file line number Diff line number Diff line change 3838 },
3939 "scripts" : {
4040 "build" : " tsup src/plugin.ts --clean --dts --external graphql" ,
41+ "docs:build" : " bun run build && bun --filter docs build" ,
42+ "docs:start" : " bun --filter docs start" ,
4143 "format" : " prettier --write ." ,
4244 "format-check" : " prettier --check ." ,
4345 "integration" : " bun run build && graphql-codegen && ./gradlew graphqlGenerateSDL && bun test ./test/integration.test.ts" ,
4648 "prepare" : " husky" ,
4749 "unit" : " bun test ./test/plugin.test.ts"
4850 },
49- "type" : " module"
51+ "type" : " module" ,
52+ "workspaces" : [
53+ " docs"
54+ ]
5055}
You can’t perform that action at this time.
0 commit comments