upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
3 changed files with 14 additions and 24 deletions
Showing only changes of commit ba417aadf0 - Show all commits

26
package-lock.json generated
View File

@ -1609,23 +1609,6 @@
"mini-svg-data-uri": "^1.2.3" "mini-svg-data-uri": "^1.2.3"
} }
}, },
"@tailwindcss/jit": {
"version": "0.1.18",
"resolved": "https://registry.npmjs.org/@tailwindcss/jit/-/jit-0.1.18.tgz",
"integrity": "sha512-WNSEiwbggtO9n6+ok2fFdYmhqY20oqLmB82H23nY8P5WzijZbIshojoY3s/OvPD7cmvzkweZ6LLKGWuDS1/vLA==",
"dev": true,
"requires": {
"chokidar": "^3.5.1",
"dlv": "^1.1.3",
"fast-glob": "^3.2.5",
"lodash.topath": "^4.5.2",
"normalize-path": "^3.0.0",
"object-hash": "^2.1.1",
"parse-glob": "^3.0.4",
"postcss-selector-parser": "^6.0.4",
"quick-lru": "^5.1.1"
}
},
"@tailwindcss/typography": { "@tailwindcss/typography": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.4.0.tgz", "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.4.0.tgz",
@ -2644,6 +2627,15 @@
"sha.js": "^2.4.8" "sha.js": "^2.4.8"
} }
}, },
"cross-env": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
"dev": true,
"requires": {
"cross-spawn": "^7.0.1"
}
},
"cross-spawn": { "cross-spawn": {
"version": "7.0.3", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",

View File

@ -3,11 +3,11 @@
"version": "0.3.2", "version": "0.3.2",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "next-remote-watch ./data", "start": "next-remote-watch data/blog --root . -p",
"dev": "next dev", "dev": "cross-env TAILWIND_MODE=watch next dev",
"build": "next build && node ./scripts/generate-sitemap", "build": "next build && node ./scripts/generate-sitemap",
"serve": "next start", "serve": "next start",
"analyze": "env ANALYZE=true next build", "analyze": "cross-env ANALYZE=true next build",
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "dependencies": {
@ -40,7 +40,7 @@
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "10.2.0", "@next/bundle-analyzer": "10.2.0",
"@svgr/webpack": "^5.5.0", "@svgr/webpack": "^5.5.0",
"@tailwindcss/jit": "^0.1.18", "cross-env": "^7.0.3",
"eslint": "^7.17.0", "eslint": "^7.17.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-jsx-a11y": "^6.4.1",

View File

@ -3,9 +3,7 @@ const colors = require('tailwindcss/colors')
module.exports = { module.exports = {
mode: 'jit', mode: 'jit',
purge: { purge: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js', './lib/**/*.js'],
content: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js', './lib/**/*.js'],
},
darkMode: 'class', darkMode: 'class',
theme: { theme: {
extend: { extend: {