mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-05 10:00:02 +02:00
Update dependency htmx.org to v2 (forgejo) (#8342)
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8342 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org> Co-committed-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
This commit is contained in:
parent
447c5789bd
commit
878ce241a4
4 changed files with 7 additions and 7 deletions
8
package-lock.json
generated
8
package-lock.json
generated
|
@ -28,7 +28,7 @@
|
||||||
"esbuild-loader": "4.3.0",
|
"esbuild-loader": "4.3.0",
|
||||||
"escape-goat": "4.0.0",
|
"escape-goat": "4.0.0",
|
||||||
"fast-glob": "3.3.3",
|
"fast-glob": "3.3.3",
|
||||||
"htmx.org": "1.9.12",
|
"htmx.org": "2.0.6",
|
||||||
"idiomorph": "0.3.0",
|
"idiomorph": "0.3.0",
|
||||||
"jquery": "3.7.1",
|
"jquery": "3.7.1",
|
||||||
"katex": "0.16.22",
|
"katex": "0.16.22",
|
||||||
|
@ -8745,9 +8745,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/htmx.org": {
|
"node_modules/htmx.org": {
|
||||||
"version": "1.9.12",
|
"version": "2.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-1.9.12.tgz",
|
"resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-2.0.6.tgz",
|
||||||
"integrity": "sha512-VZAohXyF7xPGS52IM8d1T1283y+X4D+Owf3qY1NZ9RuBypyu9l8cGsxUMAG5fEAb/DhT7rDoJ9Hpu5/HxFD3cw==",
|
"integrity": "sha512-7ythjYneGSk3yCHgtCnQeaoF+D+o7U2LF37WU3O0JYv3gTZSicdEFiI/Ai/NJyC5ZpYJWMpUb11OC5Lr6AfAqA==",
|
||||||
"license": "0BSD"
|
"license": "0BSD"
|
||||||
},
|
},
|
||||||
"node_modules/iconv-lite": {
|
"node_modules/iconv-lite": {
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"esbuild-loader": "4.3.0",
|
"esbuild-loader": "4.3.0",
|
||||||
"escape-goat": "4.0.0",
|
"escape-goat": "4.0.0",
|
||||||
"fast-glob": "3.3.3",
|
"fast-glob": "3.3.3",
|
||||||
"htmx.org": "1.9.12",
|
"htmx.org": "2.0.6",
|
||||||
"idiomorph": "0.3.0",
|
"idiomorph": "0.3.0",
|
||||||
"jquery": "3.7.1",
|
"jquery": "3.7.1",
|
||||||
"katex": "0.16.22",
|
"katex": "0.16.22",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import * as htmx from 'htmx.org';
|
import htmx from 'htmx.org';
|
||||||
import {showErrorToast} from './modules/toast.js';
|
import {showErrorToast} from './modules/toast.js';
|
||||||
|
|
||||||
// https://github.com/bigskysoftware/idiomorph#htmx
|
// https://github.com/bigskysoftware/idiomorph#htmx
|
||||||
|
|
|
@ -238,7 +238,7 @@ export default {
|
||||||
activeModules: true,
|
activeModules: true,
|
||||||
}),
|
}),
|
||||||
new webpack.ProvidePlugin({ // for htmx extensions
|
new webpack.ProvidePlugin({ // for htmx extensions
|
||||||
htmx: 'htmx.org',
|
htmx: ['htmx.org', 'default'],
|
||||||
}),
|
}),
|
||||||
new DefinePlugin({
|
new DefinePlugin({
|
||||||
__VUE_OPTIONS_API__: true, // at the moment, many Vue components still use the Vue Options API
|
__VUE_OPTIONS_API__: true, // at the moment, many Vue components still use the Vue Options API
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue