Skip to content

Commit

Permalink
update site dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal authored and umputun committed Feb 26, 2024
1 parent 6269c19 commit 6fcfaa1
Show file tree
Hide file tree
Showing 9 changed files with 1,240 additions and 2,231 deletions.
2 changes: 1 addition & 1 deletion site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine as build
FROM node:20-alpine as build

WORKDIR /site
COPY ./ /site
Expand Down
2 changes: 1 addition & 1 deletion site/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine as build
FROM node:20-alpine as build

WORKDIR /site
COPY ./ /site
Expand Down
2 changes: 1 addition & 1 deletion site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 10 additions & 14 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"private": true,
"engines": {
"node": ">=14.15",
"node": ">=20.11.1",
"yarn": ">=1.22"
},
"scripts": {
Expand All @@ -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"
}
}
1 change: 0 additions & 1 deletion site/src/includes/components/head.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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>
2 changes: 1 addition & 1 deletion site/src/includes/components/header.njk
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion site/src/layouts/base.njk
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions site/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Loading

0 comments on commit 6fcfaa1

Please sign in to comment.