Skip to content

Commit c7d924f

Browse files
committed
build(deps): typedoc generation as a run script
previously it was a specific node command
1 parent f238eae commit c7d924f

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.github/workflows/linting.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
max_attempts: 3
128128
command: cd website && yarn
129129
- name: Generate TypeDoc
130-
run: node -e "require('./website/scripts/generate-typedoc').generateTypedoc()"
130+
run: cd website && yarn typedoc
131131
- uses: actions/cache/save@v4
132132
name: Yarn Cache Save
133133
if: "${{ github.ref == 'refs/heads/main' }}"

website/package.json

+16-15
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"@mdx-js/mdx": "^1.6.22",
1212
"@mdx-js/react": "^1.6.22",
1313
"@reach/router": "^1.3.4",
14-
"autoprefixer": "^9.7.1",
15-
"classnames": "^2.2.6",
16-
"gatsby": "^2.19.7",
14+
"autoprefixer": "^9.8.8",
15+
"classnames": "^2.5.1",
16+
"gatsby": "^2.32.13",
1717
"gatsby-image": "^2.11.0",
1818
"gatsby-plugin-emotion": "^4.5.0",
1919
"gatsby-plugin-google-tagmanager": "^2.11.0",
@@ -36,27 +36,27 @@
3636
"slug": "^2.1.1",
3737
"tailwindcss": "^1.9.6",
3838
"tailwindcss-dark-mode": "^1.1.7",
39-
"traverse": "^0.6.7",
39+
"traverse": "^0.6.11",
4040
"typedoc": "~0.19.2",
4141
"typescript": "^4.9.5",
4242
"use-dark-mode": "^2.3.1"
4343
},
4444
"devDependencies": {
45-
"@babel/core": "^7.23.2",
45+
"@babel/core": "^7.26.10",
4646
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
47-
"@babel/plugin-transform-react-jsx": "^7.22.15",
48-
"@types/classnames": "^2.3.1",
49-
"@types/reach__router": "^1.3.13",
50-
"@types/react": "^16.14.50",
51-
"@types/react-helmet": "^5.0.23",
52-
"@types/react-scrollspy": "^3.3.7",
47+
"@babel/plugin-transform-react-jsx": "^7.25.9",
48+
"@types/classnames": "^2.3.4",
49+
"@types/reach__router": "^1.3.15",
50+
"@types/react": "^16.14.63",
51+
"@types/react-helmet": "^5.0.27",
52+
"@types/react-scrollspy": "^3.3.9",
5353
"@types/validator": "^12.0.1",
54-
"@typescript-eslint/eslint-plugin": "^2.14.0",
55-
"@typescript-eslint/parser": "^2.14.0",
54+
"@typescript-eslint/eslint-plugin": "^2.34.0",
55+
"@typescript-eslint/parser": "^2.34.0",
5656
"eslint": "^6.8.0",
5757
"eslint-config-prettier": "^6.15.0",
5858
"eslint-plugin-prettier": "^3.4.1",
59-
"eslint-plugin-react": "^7.33.2",
59+
"eslint-plugin-react": "^7.37.5",
6060
"postcss-nested": "^4.2.3",
6161
"postcss-nesting": "^7.0.1",
6262
"prettier": "^2.8.8",
@@ -72,6 +72,7 @@
7272
"develop": "gatsby clean && gatsby develop",
7373
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
7474
"serve": "gatsby serve",
75-
"clean": "gatsby clean"
75+
"clean": "gatsby clean",
76+
"typedoc": "node -e \"require('./scripts/generate-typedoc').generateTypedoc()\""
7677
}
7778
}

0 commit comments

Comments
 (0)