|
28 | 28 | "clean-printable": "rimraf src/content/**/printable.mdx", |
29 | 29 | "preclean": "run-s clean-dist clean-printable", |
30 | 30 | "clean": "rimraf src/content/**/_*.mdx src/**/_*.json repositories/*.json", |
31 | | - "start": "npm run clean-dist && webpack serve --config webpack.dev.mjs --env dev --progress --node-env development", |
| 31 | + "start": "npm run clean-dist && webpack serve --config webpack.dev.mjs --env dev --progress --define-process-env-node-env development", |
32 | 32 | "content": "node src/scripts/build-content-tree.mjs ./src/content ./src/_content.json", |
33 | | - "bundle-analyze": "run-s clean fetch content && webpack --config webpack.prod.mjs --node-env production && run-s printable content && webpack --config webpack.ssg.mjs --node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json", |
| 33 | + "bundle-analyze": "run-s clean fetch content && webpack --config webpack.prod.mjs --define-process-env-node-env production && run-s printable content && webpack --config webpack.ssg.mjs --define-process-env-node-env production --env ssg --profile --json > stats.json && webpack-bundle-analyzer stats.json", |
34 | 34 | "fetch-repos": "node src/utilities/fetch-package-repos.mjs", |
35 | 35 | "fetch": "run-p fetch:*", |
36 | 36 | "fetch:readmes": "node src/utilities/fetch-package-readmes.mjs", |
37 | 37 | "fetch:supporters": "node src/utilities/fetch-supporters.mjs", |
38 | 38 | "prebuild": "npm run clean", |
39 | | - "build": "run-s content && webpack --config webpack.prod.mjs --node-env production && run-s printable content && webpack --config webpack.ssg.mjs --node-env production --env ssg", |
| 39 | + "build": "run-s fetch-repos fetch content && webpack --config webpack.prod.mjs --define-process-env-node-env production && run-s printable content && webpack --config webpack.ssg.mjs --define-process-env-node-env production --env ssg", |
40 | 40 | "postbuild": "npm run sitemap", |
41 | 41 | "build-test": "npm run build && http-server --port 4200 dist/", |
42 | 42 | "serve-dist": "http-server --port 4200 dist/", |
|
48 | 48 | "lint-markdown": "markdownlint --config ./.markdownlint.json", |
49 | 49 | "lint:prose": "vale --config='.vale.ini' src/content", |
50 | 50 | "lint:links": "hyperlink -c 8 --root dist -r dist/index.html --canonicalroot https://webpack.js.org/ --internal --skip /plugins/extract-text-webpack-plugin/ --skip /printable --skip https:// --skip http:// --skip sw.js > internal-links.tap; cat internal-links.tap | tap-spot", |
51 | | - "lint:heading": "textlint --fix src/content/*", |
52 | | - "lint:heading-blog": "textlint --fix src/content/blog/*", |
53 | | - "lint:headingMDX": "textlint --fix src/content/**/*.mdx", |
54 | 51 | "sitemap": "cd dist && sitemap-static --ignore-file=../sitemap-ignore.json --pretty --prefix=https://webpack.js.org/ > sitemap.xml", |
55 | 52 | "serve": "npm run build && sirv start ./dist --port 4000", |
56 | 53 | "preprintable": "npm run clean-printable", |
|
73 | 70 | ] |
74 | 71 | }, |
75 | 72 | "devDependencies": { |
76 | | - "@babel/core": "^7.19.6", |
77 | | - "@babel/eslint-parser": "^7.19.1", |
| 73 | + "@babel/core": "^7.22.19", |
| 74 | + "@babel/eslint-parser": "^7.22.15", |
78 | 75 | "@babel/plugin-proposal-class-properties": "^7.17.12", |
79 | | - "@babel/preset-env": "^7.19.4", |
80 | | - "@babel/preset-react": "^7.18.6", |
| 76 | + "@babel/preset-env": "^7.22.15", |
| 77 | + "@babel/preset-react": "^7.22.15", |
81 | 78 | "@mdx-js/loader": "^2.0.0-next.9", |
82 | | - "@octokit/auth-action": "^2.0.2", |
83 | | - "@octokit/rest": "^19.0.5", |
| 79 | + "@octokit/auth-action": "^4.0.0", |
| 80 | + "@octokit/rest": "^20.0.1", |
84 | 81 | "@pmmmwh/react-refresh-webpack-plugin": "next", |
85 | | - "@svgr/webpack": "^6.5.1", |
86 | | - "autoprefixer": "^10.4.13", |
87 | | - "babel-loader": "^9.0.0", |
| 82 | + "@svgr/webpack": "^8.1.0", |
| 83 | + "autoprefixer": "^10.4.15", |
| 84 | + "babel-loader": "^9.1.3", |
88 | 85 | "copy-webpack-plugin": "^11.0.0", |
89 | | - "css-loader": "^6.7.1", |
90 | | - "css-minimizer-webpack-plugin": "^4.2.2", |
91 | | - "cypress": "^10.11.0", |
92 | | - "directory-tree": "^3.3.1", |
| 86 | + "css-loader": "^6.8.1", |
| 87 | + "css-minimizer-webpack-plugin": "^5.0.1", |
| 88 | + "cypress": "^13.2.0", |
| 89 | + "directory-tree": "^3.5.1", |
93 | 90 | "directory-tree-webpack-plugin": "^1.0.3", |
94 | 91 | "duplexer": "^0.1.1", |
95 | | - "eslint": "^8.26.0", |
96 | | - "eslint-config-prettier": "^8.5.0", |
97 | | - "eslint-plugin-cypress": "^2.12.1", |
98 | | - "eslint-plugin-mdx": "^2.0.5", |
99 | | - "eslint-plugin-react": "^7.31.10", |
| 92 | + "eslint": "^8.49.0", |
| 93 | + "eslint-config-prettier": "^9.0.0", |
| 94 | + "eslint-plugin-cypress": "^2.14.0", |
| 95 | + "eslint-plugin-mdx": "^2.2.0", |
| 96 | + "eslint-plugin-react": "^7.33.2", |
100 | 97 | "eslint-plugin-react-hooks": "^4.6.0", |
101 | 98 | "front-matter": "^4.0.2", |
102 | 99 | "github-slugger": "^2.0.0", |
103 | | - "html-loader": "^2.1.2", |
104 | | - "html-webpack-plugin": "^5.5.0", |
| 100 | + "html-webpack-plugin": "^5.5.3", |
105 | 101 | "http-server": "^14.1.1", |
106 | | - "husky": "^8.0.1", |
| 102 | + "husky": "^8.0.3", |
107 | 103 | "hyperlink": "^5.0.4", |
108 | 104 | "jest": "^29.7.0", |
109 | | - "lightningcss": "^1.16.0", |
110 | | - "lint-staged": "^13.0.3", |
| 105 | + "lightningcss": "^1.21.8", |
| 106 | + "lint-staged": "^14.0.1", |
111 | 107 | "lodash": "^4.17.21", |
112 | | - "markdownlint": "^0.26.2", |
113 | | - "markdownlint-cli": "^0.32.2", |
114 | | - "mdast-util-to-string": "^3.1.0", |
115 | | - "mini-css-extract-plugin": "^2.6.1", |
116 | | - "mkdirp": "^1.0.4", |
| 108 | + "markdownlint-cli": "^0.36.0", |
| 109 | + "mdast-util-to-string": "^4.0.0", |
| 110 | + "mini-css-extract-plugin": "^2.7.6", |
| 111 | + "mkdirp": "^3.0.1", |
117 | 112 | "modularscale-sass": "^3.0.3", |
118 | | - "node-fetch": "^3.2.10", |
119 | 113 | "npm-run-all": "^4.1.1", |
120 | | - "postcss": "^8.4.18", |
121 | | - "postcss-loader": "^7.0.1", |
122 | | - "prettier": "^2.7.1", |
| 114 | + "postcss": "^8.4.29", |
| 115 | + "postcss-loader": "^7.3.3", |
| 116 | + "prettier": "^3.0.3", |
123 | 117 | "react-refresh": "^0.14.0", |
124 | 118 | "redirect-webpack-plugin": "^1.0.0", |
125 | | - "remark": "^14.0.2", |
| 119 | + "remark": "^14.0.3", |
126 | 120 | "remark-autolink-headings": "7.0.1", |
127 | | - "remark-emoji": "^3.0.2", |
| 121 | + "remark-emoji": "^4.0.0", |
128 | 122 | "remark-extract-anchors": "1.1.1", |
129 | 123 | "remark-frontmatter": "^4.0.1", |
130 | 124 | "remark-gfm": "^1.0.0", |
131 | | - "remark-html": "^15.0.1", |
| 125 | + "remark-html": "^15.0.2", |
132 | 126 | "remark-refractor": "montogeek/remark-refractor", |
133 | | - "rimraf": "^3.0.2", |
134 | | - "sass": "^1.55.0", |
135 | | - "sass-loader": "^13.1.0", |
| 127 | + "rimraf": "^5.0.1", |
| 128 | + "sass": "^1.67.0", |
| 129 | + "sass-loader": "^13.3.2", |
136 | 130 | "sirv-cli": "^2.0.2", |
137 | 131 | "sitemap-static": "^0.4.2", |
138 | 132 | "static-site-generator-webpack-plugin": "^3.4.1", |
139 | | - "style-loader": "^3.3.1", |
140 | | - "tailwindcss": "^3.2.1", |
| 133 | + "style-loader": "^3.3.3", |
| 134 | + "tailwindcss": "^3.3.3", |
141 | 135 | "tap-spot": "^1.1.2", |
142 | | - "textlint": "^11.8.2", |
143 | | - "textlint-rule-heading": "^1.0.10", |
144 | | - "unist-util-visit": "^4.1.1", |
145 | | - "webpack": "^5.74.0", |
146 | | - "webpack-bundle-analyzer": "^4.7.0", |
147 | | - "webpack-cli": "^4.10.0", |
148 | | - "webpack-dev-server": "^4.11.1", |
149 | | - "webpack-merge": "^5.8.0", |
150 | | - "workbox-webpack-plugin": "^6.5.4", |
151 | | - "yarn-deduplicate": "^6.0.0" |
| 136 | + "unist-util-visit": "^5.0.0", |
| 137 | + "webpack": "^5.88.2", |
| 138 | + "webpack-bundle-analyzer": "^4.9.1", |
| 139 | + "webpack-cli": "^5.1.4", |
| 140 | + "webpack-dev-server": "^4.15.1", |
| 141 | + "webpack-merge": "^5.9.0", |
| 142 | + "workbox-webpack-plugin": "^7.0.0", |
| 143 | + "yarn-deduplicate": "^6.0.2" |
152 | 144 | }, |
153 | 145 | "dependencies": { |
154 | 146 | "@docsearch/react": "^3.0.0-alpha.50", |
| 147 | + "@react-spring/web": "^9.7.3", |
155 | 148 | "path-browserify": "^1.0.1", |
156 | 149 | "prop-types": "^15.8.1", |
157 | 150 | "react": "^17.0.2", |
158 | 151 | "react-dom": "^17.0.2", |
159 | 152 | "react-helmet-async": "^1.3.0", |
160 | | - "react-router-dom": "^6.4.2", |
161 | | - "react-spring": "^9.5.5", |
| 153 | + "react-router-dom": "^6.16.0", |
162 | 154 | "react-tiny-popover": "5", |
163 | 155 | "react-use": "^17.4.0", |
164 | 156 | "react-visibility-sensor": "^5.0.2", |
165 | 157 | "webpack-pwa-manifest": "^4.3.0", |
166 | | - "webpack.vote": "https://github.com/webpack/voting-app.git", |
167 | | - "workbox-window": "^6.5.4" |
| 158 | + "workbox-window": "^7.0.0" |
168 | 159 | }, |
169 | 160 | "resolutions": { |
170 | 161 | "sitemap-static/minimist": "1.2.5", |
171 | 162 | "ini": "1.3.7", |
172 | | - "eval": "^0.1.5" |
| 163 | + "eval": "^0.1.5", |
| 164 | + "markdownlint-cli/markdownlint": "^0.27.0" |
173 | 165 | } |
174 | 166 | } |
0 commit comments