Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ cd webring
yarn

# start a local build server and the gulp pipeline
yarn start
yarn dev
```
7 changes: 5 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[build]
command = "npm run build"
command = "yarn build"
publish = "dist"
Functions = "functions"
functions = ".netlify/functions"

[functions]
node_bundler = "esbuild"

[[headers]]
for = "/*"
Expand Down
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@
"url": "http://github.com/maxboeck/webring"
},
"scripts": {
"start": "ELEVENTY_ENV=development eleventy --serve",
"build": "ELEVENTY_ENV=production eleventy && npm run build:lambda",
"serve:lambda": "netlify-lambda serve _lambda",
"build:lambda": "netlify-lambda build _lambda"
"start": "eleventy --serve",
"build": "eleventy && netlify functions:build --functions .netlify/functions --src _lambda",
"dev": "netlify dev"
},
"dependencies": {
"@11ty/eleventy": "^0.11.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.1",
"clean-css": "^4.2.3",
"@11ty/eleventy": "^3.0.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"clean-css": "^5.3.3",
"cssesc": "^3.0.0",
"html-minifier": "^4.0.0",
"netlify-lambda": "^1.6.3",
"node-sass": "^4.14.1"
"sass": "^1.83.4"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
"devDependencies": {
"netlify-cli": "^18.0.1"
}
}
2 changes: 1 addition & 1 deletion src/assets/styles/styles.11ty.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs')
const path = require('path')
const sass = require('node-sass')
const sass = require('sass')
const CleanCSS = require('clean-css')
const cssesc = require('cssesc')

Expand Down
2 changes: 1 addition & 1 deletion src/data/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Nerds of the 90s",
"description": "This is just a demo of a webring. It could be about anything - Metal Bands, Knitting, Craft Beer, Accessibility... For this one, let's just say it's about the good old 90s.",
"image": "freakazoid.jpg",
"url": "https://webringdemo.netlify.com",
"url": "https://webringdemo.netlify.app",
"repo": "https://github.com/maxboeck/webring",
"admins": [
{
Expand Down