update site dependencies
This commit is contained in:
committed by
Umputun
parent
6269c19881
commit
6fcfaa12b7
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM node:16-alpine as build
|
||||
FROM node:20-alpine as build
|
||||
|
||||
WORKDIR /site
|
||||
COPY ./ /site
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM node:16-alpine as build
|
||||
FROM node:20-alpine as build
|
||||
|
||||
WORKDIR /site
|
||||
COPY ./ /site
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
|
||||
Requirements:
|
||||
|
||||
* [Node.js v14](https://nodejs.org/en/) or higher - install from package or with Homebrew
|
||||
* [Node.js v20](https://nodejs.org/en/) or higher - install from package or with Homebrew
|
||||
* Yarn 1.22 or higher - once you have Node.js, run `npm i -g yarn`
|
||||
|
||||
### Development
|
||||
|
||||
+10
-14
@@ -7,7 +7,7 @@
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=14.15",
|
||||
"node": ">=20.11.1",
|
||||
"yarn": ">=1.22"
|
||||
},
|
||||
"scripts": {
|
||||
@@ -21,22 +21,18 @@
|
||||
"clean": "rm -rf .tmp/* build/*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^1.0.0",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^3.1.3",
|
||||
"@tailwindcss/typography": "^0.5.0",
|
||||
"autoprefixer": "^10.4.2",
|
||||
"@11ty/eleventy": "^2.0.1",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
"cross-env": "^7.0.3",
|
||||
"date-fns": "^2.28.0",
|
||||
"eslint": "^8.7.0",
|
||||
"date-fns": "^3.3.1",
|
||||
"html-minifier": "^4.0.0",
|
||||
"markdown-it": "^12.3.2",
|
||||
"markdown-it": "^14.0.0",
|
||||
"markdown-it-anchor": "^8.4.1",
|
||||
"markdown-it-container": "^3.0.0",
|
||||
"node-fetch": "^3.1.1",
|
||||
"markdown-it-container": "^4.0.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-cli": "^9.1.0",
|
||||
"prettier": "^2.5.1",
|
||||
"tailwindcss": "^3.0.15"
|
||||
"prettier": "^2.8.8",
|
||||
"tailwindcss": "^3.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,5 +17,4 @@
|
||||
{% include "script.js" %}
|
||||
{% endset %}
|
||||
<script defer>{{ js | safe }}</script>
|
||||
<script async defer data-website-id="4270577d-68ea-4d9e-9dd2-f1c41a24b956" src="https://analytics.umputun.com/umami.js"></script>
|
||||
</head>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<header class="md:py-2 bg-white dark:bg-trueGray-900 bg-opacity-80 dark:bg-opacity-60 backdrop-filter backdrop-blur-sm z-20 fixed top-0 left-0 right-0 text-gray-600 dark:text-gray-300">
|
||||
<header class="md:py-2 bg-white dark:bg-neutral-900 bg-opacity-80 dark:bg-opacity-60 backdrop-filter backdrop-blur-sm z-20 fixed top-0 left-0 right-0 text-gray-600 dark:text-gray-300">
|
||||
<div class="container flex flex-wrap items-center">
|
||||
<a class="order-1 py-1 mt-1 mr-4 no-underline text-2xl font-extrabold transition-colors text-brand-500 hover:text-brand-600 dark:text-brand-400" href="/">
|
||||
{{ site.name }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html {% if section %} data-current="{{ section }}"{% endif %} class="h-full" lang="en">
|
||||
{% include "components/head.njk" %}
|
||||
<body class="flex flex-col min-h-full bg-white dark:bg-trueGray-900 dark:text-gray-100">
|
||||
<body class="flex flex-col min-h-full bg-white dark:bg-neutral-900 dark:text-gray-100">
|
||||
{% include "components/header.njk" %}
|
||||
<main id="main" class="relative pt-24 md:pt-20 container flex-grow min-h-full flex flex-wrap">
|
||||
{{ layoutContent | safe }}
|
||||
|
||||
@@ -2,13 +2,13 @@ const colors = require('tailwindcss/colors')
|
||||
const { spacing } = require('tailwindcss/defaultTheme')
|
||||
|
||||
module.exports = {
|
||||
purge: ['.eleventy.js', 'src/**/*.{njk,md,html,js}'],
|
||||
content: ['.eleventy.js', 'src/**/*.{njk,md,html,js}'],
|
||||
mode: 'jit',
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
trueGray: colors.trueGray,
|
||||
neutral: colors.neutral,
|
||||
brand: {
|
||||
50: '#edfdfb',
|
||||
100: '#e0fbf8',
|
||||
|
||||
+1231
-2217
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user