Skip to content

Commit d0c8eb1

Browse files
committed
Fixes jamstack#469, also upgrades all of the other deps too.
1 parent 23c51a4 commit d0c8eb1

File tree

3 files changed

+12
-24
lines changed

3 files changed

+12
-24
lines changed

package.json

+10-7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"type": "git",
99
"url": "https://github.com/jamstack/jamstack.org"
1010
},
11+
"engines": {
12+
"node": ">=12"
13+
},
1114
"scripts": {
1215
"build": "npm-run-all build:html build:css",
1316
"build:html": "eleventy",
@@ -21,22 +24,22 @@
2124
"dependencies": {
2225
"@11ty/eleventy": "^0.11.1",
2326
"@11ty/eleventy-cache-assets": "^2.0.3",
24-
"@fullhuman/postcss-purgecss": "^1.3.0",
25-
"autoprefixer": "^9.7.6",
27+
"autoprefixer": "^10.0.4",
2628
"cssnano": "^4.1.10",
2729
"dotenv": "^8.2.0",
2830
"fast-glob": "^3.2.4",
2931
"gray-matter": "^4.0.2",
3032
"js-yaml": "^3.14.0",
3133
"lodash": "^4.17.20",
3234
"luxon": "^1.25.0",
33-
"markdown-it": "^11.0.1",
34-
"netlify-plugin-minify-html": "^0.2.2",
35+
"markdown-it": "^12.0.2",
36+
"netlify-plugin-minify-html": "^0.3.0",
3537
"node-fetch": "^2.6.1",
3638
"npm-run-all": "^4.1.5",
37-
"postcss-cli": "^6.1.3",
38-
"postcss-import": "^12.0.1",
39-
"tailwindcss": "^1.8.10"
39+
"postcss": "^8.1.10",
40+
"postcss-cli": "^8.3.0",
41+
"postcss-import": "^13.0.0",
42+
"tailwindcss": "^2.0.1"
4043
},
4144
"devDependencies": {
4245
"live-server": "^1.2.1"

postcss.config.js

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-
// const purgecss = require('@fullhuman/postcss-purgecss')({
2-
3-
// // Specify the paths to all of the template files in the project
4-
// content: [
5-
// './src/site/**/*.njk',
6-
// './src/site/**/*.md'
7-
// ],
8-
9-
// // Include any special characters
10-
// defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || []
11-
// })
12-
13-
14-
151
module.exports = {
162
plugins: [
3+
require("postcss-import"),
174
require('tailwindcss'),
185
require('autoprefixer'),
19-
require("postcss-import"),
20-
// ...process.env.NODE_ENV === 'production' ? [purgecss, require('cssnano')] : []
216
]
227
};

src/css/tailwind.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ a.cta:focus {
8888
footer p a {
8989
@apply border-b;
9090
@apply border-blue-100;
91-
@apply whitespace-no-wrap;
91+
@apply whitespace-nowrap;
9292
}
9393
footer p a:hover,
9494
footer p a:focus {

0 commit comments

Comments
 (0)