mirror of
https://github.com/lone-cloud/prism
synced 2026-06-04 04:04:44 -07:00
htmx has to be vendored for proper referencing after a build
This commit is contained in:
parent
7e7ddd7d0e
commit
49d36e0150
5 changed files with 11 additions and 5 deletions
|
|
@ -40,6 +40,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
|
{
|
||||||
|
"includes": ["server/public/htmx.min.js"],
|
||||||
|
"linter": {
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
"formatter": {
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"includes": ["scripts/**/*"],
|
"includes": ["scripts/**/*"],
|
||||||
"linter": {
|
"linter": {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
"name": "sup-server",
|
"name": "sup-server",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.6.2",
|
"chalk": "^5.6.2",
|
||||||
"htmx.org": "^2.0.8",
|
|
||||||
"imap": "^0.8.19",
|
"imap": "^0.8.19",
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
@ -23,8 +22,6 @@
|
||||||
|
|
||||||
"core-util-is": ["core-util-is@1.0.3", "", {}, "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="],
|
"core-util-is": ["core-util-is@1.0.3", "", {}, "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="],
|
||||||
|
|
||||||
"htmx.org": ["htmx.org@2.0.8", "", {}, "sha512-fm297iru0iWsNJlBrjvtN7V9zjaxd+69Oqjh4F/Vq9Wwi2kFisLcrLCiv5oBX0KLfOX/zG8AUo9ROMU5XUB44Q=="],
|
|
||||||
|
|
||||||
"imap": ["imap@0.8.19", "", { "dependencies": { "readable-stream": "1.1.x", "utf7": ">=1.0.2" } }, "sha512-z5DxEA1uRnZG73UcPA4ES5NSCGnPuuouUx43OPX7KZx1yzq3N8/vx2mtXEShT5inxB3pRgnfG1hijfu7XN2YMw=="],
|
"imap": ["imap@0.8.19", "", { "dependencies": { "readable-stream": "1.1.x", "utf7": ">=1.0.2" } }, "sha512-z5DxEA1uRnZG73UcPA4ES5NSCGnPuuouUx43OPX7KZx1yzq3N8/vx2mtXEShT5inxB3pRgnfG1hijfu7XN2YMw=="],
|
||||||
|
|
||||||
"inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
|
"inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ const server = Bun.serve({
|
||||||
GET: () => new Response(Bun.file('public/favicon.png')),
|
GET: () => new Response(Bun.file('public/favicon.png')),
|
||||||
},
|
},
|
||||||
'/htmx.js': {
|
'/htmx.js': {
|
||||||
GET: () => new Response(Bun.file('node_modules/htmx.org/dist/htmx.min.js')),
|
GET: () => new Response(Bun.file('public/htmx.min.js')),
|
||||||
},
|
},
|
||||||
|
|
||||||
...adminRoutes,
|
...adminRoutes,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.6.2",
|
"chalk": "^5.6.2",
|
||||||
"htmx.org": "^2.0.8",
|
|
||||||
"imap": "^0.8.19"
|
"imap": "^0.8.19"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
1
server/public/htmx.min.js
vendored
Normal file
1
server/public/htmx.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue