From e39d515b9e4e181dccfbc8f580b63910ff3b7ba1 Mon Sep 17 00:00:00 2001 From: sthag Date: Sun, 2 Nov 2025 14:12:52 +0100 Subject: [PATCH 1/3] chore: Typo in package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3dc6f91..b2ccd28 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "homepage": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie", "bugs": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie/issues", "license": "MIT", - "author": "Stephan Hagedorn (https://karte@interaktionsweise.de/)", + "author": "Stephan Hagedorn (https://karte.interaktionsweise.de)", "main": "", "repository": { "type": "git", From a3eb2250ab864ddd794d07935d3852eb43380359 Mon Sep 17 00:00:00 2001 From: sthag Date: Sun, 2 Nov 2025 17:18:12 +0100 Subject: [PATCH 2/3] feat: Add hippie-script as dependency Foundation to move all global JavaScript to the new repo. --- .eleventy.js | 2 +- package-lock.json | 6 ++++++ package.json | 1 + source/screens/demo/examples/ui/windows.liquid | 4 +++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index b5468e2..5b24790 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -44,7 +44,7 @@ module.exports = function (eleventyConfig) { 'node_modules/jquery/dist/jquery.min.js': 'vendor/jquery.min.js', 'node_modules/jquery/dist/jquery.min.map': 'vendor/jquery.min.map' }); - // eleventyConfig.addPassthroughCopy({"node_modules/normalize.css/normalize.css": "vendor/normalize.css"}); + eleventyConfig.addPassthroughCopy({'node_modules/hippie-script/index.js': 'vendor/hippie-script.js'}); eleventyConfig.addWatchTarget('./source/style/'); diff --git a/package-lock.json b/package-lock.json index 1fc8cd0..fbe1e14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@11ty/eleventy": "^2.0.1", "bootstrap-icons": "^1.13.1", + "hippie-script": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git", "jquery": "^3.7.1", "sass": "^1.93.0" }, @@ -1386,6 +1387,11 @@ "node": ">= 0.4" } }, + "node_modules/hippie-script": { + "version": "1.0.0", + "resolved": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git#090514fc1b3806e4ffaf1523b246724258e41114", + "license": "MIT" + }, "node_modules/htmlparser2": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz", diff --git a/package.json b/package.json index b2ccd28..3da5d70 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "dependencies": { "@11ty/eleventy": "^2.0.1", "bootstrap-icons": "^1.13.1", + "hippie-script": "git+ssh://sthag@quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git", "jquery": "^3.7.1", "sass": "^1.93.0" } diff --git a/source/screens/demo/examples/ui/windows.liquid b/source/screens/demo/examples/ui/windows.liquid index af1dbeb..3eb823c 100644 --- a/source/screens/demo/examples/ui/windows.liquid +++ b/source/screens/demo/examples/ui/windows.liquid @@ -50,10 +50,12 @@ tags: {% endblock %} {%- block script %} - +{% comment %}{% endcomment %} + + diff --git a/source/templates/hippie/_main.njk b/source/templates/hippie/_main.njk index 7574dc9..3934cc1 100644 --- a/source/templates/hippie/_main.njk +++ b/source/templates/hippie/_main.njk @@ -43,6 +43,7 @@ {{ log.log('BODY :: Loading script assets...') }} {# #} + +