From 9be49fddf2aab80ba61ec5c5499e307266abcf1f Mon Sep 17 00:00:00 2001 From: Alex Trofimov Date: Sun, 5 Jan 2025 16:56:58 +0300 Subject: [PATCH] #4852 Update outdated JS packages: htmx --- package-lock.json | 9 ++++++++- package.json | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a2d0890fd9..3afc4462fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,8 @@ "grapesjs-preset-newsletter": "^1.0.2", "grapesjs-preset-webpage": "^1.0.3", "grapesjs-style-bg": "^2.0.2", - "highlight.js": "github:highlightjs/highlight.js" + "highlight.js": "github:highlightjs/highlight.js", + "htmx.org": "^1.9.12" }, "devDependencies": { "bower": "^1.8.14", @@ -985,6 +986,12 @@ "integrity": "sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==", "license": "MIT" }, + "node_modules/htmx.org": { + "version": "1.9.12", + "resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-1.9.12.tgz", + "integrity": "sha512-VZAohXyF7xPGS52IM8d1T1283y+X4D+Owf3qY1NZ9RuBypyu9l8cGsxUMAG5fEAb/DhT7rDoJ9Hpu5/HxFD3cw==", + "license": "0BSD" + }, "node_modules/imagesloaded": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/imagesloaded/-/imagesloaded-5.0.0.tgz", diff --git a/package.json b/package.json index 5c2c7d1890..15fa360acb 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "grapesjs-preset-newsletter": "^1.0.2", "grapesjs-preset-webpage": "^1.0.3", "grapesjs-style-bg": "^2.0.2", - "highlight.js": "github:highlightjs/highlight.js" + "highlight.js": "github:highlightjs/highlight.js", + "htmx.org": "^1.9.12" }, "scripts": { "install-bower-components": "bower install", @@ -38,6 +39,7 @@ "build:fullcalendar": "mkdir -p plugins_public/fullcalendar/locales; cd node_modules/@fullcalendar/core; cp index.global.min.js ../../../plugins_public/fullcalendar; cp locales/*.min.js ../../../plugins_public/fullcalendar/locales", "build:grapesjs": "mkdir -p plugins_public/grapesjs; cd plugins_public/grapesjs; cp ../../node_modules/grapesjs/dist/grapes.min.js .; cp ../../node_modules/grapesjs/dist/css/grapes.min.css .; cp ../../node_modules/grapesjs-blocks-basic/dist/index.js grapesjs-blocks-basic.js; cp ../../node_modules/grapesjs-preset-newsletter/dist/index.js grapesjs-preset-newsletter.min.js; cp ../../node_modules/grapesjs-preset-webpage/dist/index.js grapesjs-preset-webpage.min.js; cp ../../node_modules/grapesjs-style-bg/dist/index.js grapesjs-style-bg.js", "build:highlight.js": "mkdir -p plugins_public/highlight; cd node_modules/highlight.js; npm i; npm run build-browser; cp build/highlight.min.js ../../plugins_public/highlight; npm run build-cdn; cp build/styles/default.min.css ../../plugins_public/highlight", + "build:htmx": "mkdir -p plugins_public/htmx; cd plugins_public/htmx; cp ../../node_modules/htmx.org/dist/htmx.min.js .; cp ../../node_modules/htmx.org/dist/ext/head-support.js .; cp ../../node_modules/htmx.org/dist/ext/preload.js .", "build": "npm run install-bower-components; npm-run-all --parallel build:*" }, "devDependencies": {