upstream #1

Merged
jblu merged 1007 commits from upstream into main 2024-11-04 22:35:57 -06:00
5 changed files with 1730 additions and 1334 deletions
Showing only changes of commit 7a07996e3a - Show all commits

View File

@ -4,8 +4,8 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
module.exports = withBundleAnalyzer({ module.exports = withBundleAnalyzer({
pageExtensions: ['js', 'jsx', 'md', 'mdx'], pageExtensions: ['js', 'jsx', 'md', 'mdx'],
experimental: { future: {
modern: true, webpack5: true,
}, },
webpack: (config, { dev, isServer }) => { webpack: (config, { dev, isServer }) => {
config.module.rules.push({ config.module.rules.push({

3014
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "tailwind-nextjs-starter-blog", "name": "tailwind-nextjs-starter-blog",
"version": "0.1.0", "version": "0.2.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "next-remote-watch ./data", "start": "next-remote-watch ./data",
@ -11,34 +11,35 @@
}, },
"dependencies": { "dependencies": {
"@mapbox/rehype-prism": "^0.5.0", "@mapbox/rehype-prism": "^0.5.0",
"@mdx-js/loader": "^1.6.20", "@mdx-js/loader": "^1.6.22",
"@mdx-js/react": "^1.6.22", "@mdx-js/react": "^1.6.22",
"@next/mdx": "10.0.8", "@next/mdx": "10.1.3",
"@tailwindcss/forms": "^0.2.1", "@tailwindcss/forms": "^0.3.2",
"@tailwindcss/typography": "^0.3.1", "@tailwindcss/typography": "^0.4.0",
"autoprefixer": "^10.1.0", "autoprefixer": "^10.2.5",
"gray-matter": "^4.0.2", "gray-matter": "^4.0.2",
"image-size": "0.9.3", "image-size": "0.9.7",
"next": "10.0.8", "next": "10.1.3",
"next-mdx-remote": "^2.0.0", "next-mdx-remote": "^2.1.3",
"next-seo": "4.17.0", "next-seo": "4.23.0",
"next-themes": "^0.0.10", "next-themes": "^0.0.14",
"postcss": "^8.2.1", "postcss": "^8.2.8",
"preact": "^10.5.7", "preact": "^10.5.13",
"react": "16.13.1", "react": "17.0.2",
"react-dom": "16.13.1", "react-dom": "17.0.2",
"reading-time": "1.2.1", "reading-time": "1.3.0",
"rehype-katex": "^4.0.0", "rehype-katex": "^4.0.0",
"remark-autolink-headings": "6.0.1", "remark-autolink-headings": "6.0.1",
"remark-code-titles": "0.1.1", "remark-code-titles": "0.1.1",
"remark-footnotes": "^2.0.0", "remark-footnotes": "^2.0.0",
"remark-math": "3.0.1", "remark-math": "3.0.1",
"remark-slug": "6.0.0", "remark-slug": "6.0.0",
"tailwindcss": "^2.0.2" "tailwindcss": "^2.0.4"
}, },
"devDependencies": { "devDependencies": {
"@next/bundle-analyzer": "^10.0.0", "@next/bundle-analyzer": "10.1.3",
"@svgr/webpack": "^5.5.0", "@svgr/webpack": "^5.5.0",
"@tailwindcss/jit": "^0.1.18",
"eslint": "^7.17.0", "eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0", "eslint-config-prettier": "^7.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-jsx-a11y": "^6.4.1",
@ -50,13 +51,13 @@
"husky": "^4.3.7", "husky": "^4.3.7",
"lint-staged": "^10.5.3", "lint-staged": "^10.5.3",
"next-compose-plugins": "^2.2.1", "next-compose-plugins": "^2.2.1",
"next-remote-watch": "^0.3.0", "next-remote-watch": "^1.0.0",
"prettier": "2.2.1", "prettier": "2.2.1",
"rehype": "11.0.0", "rehype": "11.0.0",
"remark-frontmatter": "3.0.0", "remark-frontmatter": "3.0.0",
"remark-parse": "9.0.0", "remark-parse": "9.0.0",
"remark-stringify": "9.0.0", "remark-stringify": "9.0.0",
"unified": "9.2.0", "unified": "9.2.1",
"unist-util-visit": "2.0.3" "unist-util-visit": "2.0.3"
}, },
"husky": { "husky": {

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
plugins: { plugins: {
tailwindcss: {}, '@tailwindcss/jit': {},
autoprefixer: {}, autoprefixer: {},
}, },
} }

View File

@ -4,9 +4,6 @@ const colors = require('tailwindcss/colors')
module.exports = { module.exports = {
purge: { purge: {
content: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js', './lib/**/*.js'], content: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js', './lib/**/*.js'],
options: {
safelist: ['type'], // [type='checkbox']
},
}, },
darkMode: 'class', darkMode: 'class',
theme: { theme: {