|
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 --define-process-env-node-env development", |
| 31 | + "start": "npm run clean-dist && webpack serve --config webpack.dev.mjs --env dev --progress --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 --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", |
| 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", |
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 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", |
| 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", |
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", |
51 | 54 | "sitemap": "cd dist && sitemap-static --ignore-file=../sitemap-ignore.json --pretty --prefix=https://webpack.js.org/ > sitemap.xml",
|
52 | 55 | "serve": "npm run build && sirv start ./dist --port 4000",
|
53 | 56 | "preprintable": "npm run clean-printable",
|
|
70 | 73 | ]
|
71 | 74 | },
|
72 | 75 | "devDependencies": {
|
73 |
| - "@babel/core": "^7.22.19", |
74 |
| - "@babel/eslint-parser": "^7.22.15", |
| 76 | + "@babel/core": "^7.19.6", |
| 77 | + "@babel/eslint-parser": "^7.19.1", |
75 | 78 | "@babel/plugin-proposal-class-properties": "^7.17.12",
|
76 |
| - "@babel/preset-env": "^7.22.15", |
77 |
| - "@babel/preset-react": "^7.22.15", |
| 79 | + "@babel/preset-env": "^7.19.4", |
| 80 | + "@babel/preset-react": "^7.18.6", |
78 | 81 | "@mdx-js/loader": "^2.0.0-next.9",
|
79 |
| - "@octokit/auth-action": "^4.0.0", |
80 |
| - "@octokit/rest": "^20.0.1", |
| 82 | + "@octokit/auth-action": "^2.0.2", |
| 83 | + "@octokit/rest": "^19.0.5", |
81 | 84 | "@pmmmwh/react-refresh-webpack-plugin": "next",
|
82 |
| - "@svgr/webpack": "^8.1.0", |
83 |
| - "autoprefixer": "^10.4.15", |
84 |
| - "babel-loader": "^9.1.3", |
| 85 | + "@svgr/webpack": "^6.5.1", |
| 86 | + "autoprefixer": "^10.4.13", |
| 87 | + "babel-loader": "^9.0.0", |
85 | 88 | "copy-webpack-plugin": "^11.0.0",
|
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", |
| 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", |
90 | 93 | "directory-tree-webpack-plugin": "^1.0.3",
|
91 | 94 | "duplexer": "^0.1.1",
|
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", |
| 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", |
97 | 100 | "eslint-plugin-react-hooks": "^4.6.0",
|
98 | 101 | "front-matter": "^4.0.2",
|
99 | 102 | "github-slugger": "^2.0.0",
|
100 |
| - "html-webpack-plugin": "^5.5.3", |
| 103 | + "html-loader": "^2.1.2", |
| 104 | + "html-webpack-plugin": "^5.5.0", |
101 | 105 | "http-server": "^14.1.1",
|
102 |
| - "husky": "^8.0.3", |
| 106 | + "husky": "^8.0.1", |
103 | 107 | "hyperlink": "^5.0.4",
|
104 | 108 | "jest": "^29.7.0",
|
105 |
| - "lightningcss": "^1.21.8", |
106 |
| - "lint-staged": "^14.0.1", |
| 109 | + "lightningcss": "^1.16.0", |
| 110 | + "lint-staged": "^13.0.3", |
107 | 111 | "lodash": "^4.17.21",
|
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", |
| 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", |
112 | 117 | "modularscale-sass": "^3.0.3",
|
| 118 | + "node-fetch": "^3.2.10", |
113 | 119 | "npm-run-all": "^4.1.1",
|
114 |
| - "postcss": "^8.4.29", |
115 |
| - "postcss-loader": "^7.3.3", |
116 |
| - "prettier": "^3.0.3", |
| 120 | + "postcss": "^8.4.18", |
| 121 | + "postcss-loader": "^7.0.1", |
| 122 | + "prettier": "^2.7.1", |
117 | 123 | "react-refresh": "^0.14.0",
|
118 | 124 | "redirect-webpack-plugin": "^1.0.0",
|
119 |
| - "remark": "^14.0.3", |
| 125 | + "remark": "^14.0.2", |
120 | 126 | "remark-autolink-headings": "7.0.1",
|
121 |
| - "remark-emoji": "^4.0.0", |
| 127 | + "remark-emoji": "^3.0.2", |
122 | 128 | "remark-extract-anchors": "1.1.1",
|
123 | 129 | "remark-frontmatter": "^4.0.1",
|
124 | 130 | "remark-gfm": "^1.0.0",
|
125 |
| - "remark-html": "^15.0.2", |
| 131 | + "remark-html": "^15.0.1", |
126 | 132 | "remark-refractor": "montogeek/remark-refractor",
|
127 |
| - "rimraf": "^5.0.1", |
128 |
| - "sass": "^1.67.0", |
129 |
| - "sass-loader": "^13.3.2", |
| 133 | + "rimraf": "^3.0.2", |
| 134 | + "sass": "^1.55.0", |
| 135 | + "sass-loader": "^13.1.0", |
130 | 136 | "sirv-cli": "^2.0.2",
|
131 | 137 | "sitemap-static": "^0.4.2",
|
132 | 138 | "static-site-generator-webpack-plugin": "^3.4.1",
|
133 |
| - "style-loader": "^3.3.3", |
134 |
| - "tailwindcss": "^3.3.3", |
| 139 | + "style-loader": "^3.3.1", |
| 140 | + "tailwindcss": "^3.2.1", |
135 | 141 | "tap-spot": "^1.1.2",
|
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" |
| 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" |
144 | 152 | },
|
145 | 153 | "dependencies": {
|
146 | 154 | "@docsearch/react": "^3.0.0-alpha.50",
|
147 |
| - "@react-spring/web": "^9.7.3", |
148 | 155 | "path-browserify": "^1.0.1",
|
149 | 156 | "prop-types": "^15.8.1",
|
150 | 157 | "react": "^17.0.2",
|
151 | 158 | "react-dom": "^17.0.2",
|
152 | 159 | "react-helmet-async": "^1.3.0",
|
153 |
| - "react-router-dom": "^6.16.0", |
| 160 | + "react-router-dom": "^6.4.2", |
| 161 | + "react-spring": "^9.5.5", |
154 | 162 | "react-tiny-popover": "5",
|
155 | 163 | "react-use": "^17.4.0",
|
156 | 164 | "react-visibility-sensor": "^5.0.2",
|
157 | 165 | "webpack-pwa-manifest": "^4.3.0",
|
158 |
| - "workbox-window": "^7.0.0" |
| 166 | + "webpack.vote": "https://github.com/webpack/voting-app.git", |
| 167 | + "workbox-window": "^6.5.4" |
159 | 168 | },
|
160 | 169 | "resolutions": {
|
161 | 170 | "sitemap-static/minimist": "1.2.5",
|
162 | 171 | "ini": "1.3.7",
|
163 |
| - "eval": "^0.1.5", |
164 |
| - "markdownlint-cli/markdownlint": "^0.27.0" |
| 172 | + "eval": "^0.1.5" |
165 | 173 | }
|
166 | 174 | }
|
0 commit comments