mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 05:36:16 +00:00
Merge pull request 'Update dependency mermaid to v11 (forgejo)' (#5100) from renovate/forgejo-mermaid-11.x into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5100 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
commit
a611ad3536
868
package-lock.json
generated
868
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -29,7 +29,7 @@
|
||||||
"idiomorph": "0.3.0",
|
"idiomorph": "0.3.0",
|
||||||
"jquery": "3.7.1",
|
"jquery": "3.7.1",
|
||||||
"katex": "0.16.11",
|
"katex": "0.16.11",
|
||||||
"mermaid": "10.9.1",
|
"mermaid": "11.0.2",
|
||||||
"mini-css-extract-plugin": "2.9.1",
|
"mini-css-extract-plugin": "2.9.1",
|
||||||
"minimatch": "10.0.1",
|
"minimatch": "10.0.1",
|
||||||
"monaco-editor": "0.50.0",
|
"monaco-editor": "0.50.0",
|
||||||
|
|
|
@ -38,9 +38,8 @@ if (isProduction) {
|
||||||
production: true,
|
production: true,
|
||||||
onlyAllow: 'Apache-2.0; 0BSD; BSD-2-Clause; BSD-3-Clause; BlueOak-1.0.0; MIT; ISC; Unlicense; CC-BY-4.0',
|
onlyAllow: 'Apache-2.0; 0BSD; BSD-2-Clause; BSD-3-Clause; BlueOak-1.0.0; MIT; ISC; Unlicense; CC-BY-4.0',
|
||||||
// argparse@2.0.1 - Python-2.0. It's used in the CLI file of markdown-it and js-yaml and not in the library code.
|
// argparse@2.0.1 - Python-2.0. It's used in the CLI file of markdown-it and js-yaml and not in the library code.
|
||||||
// elkjs@0.9.3 - EPL-2.0. See https://github.com/mermaid-js/mermaid/pull/5654
|
|
||||||
// idiomorph@0.3.0. See https://github.com/bigskysoftware/idiomorph/pull/37
|
// idiomorph@0.3.0. See https://github.com/bigskysoftware/idiomorph/pull/37
|
||||||
excludePackages: 'argparse@2.0.1;elkjs@0.9.3;idiomorph@0.3.0',
|
excludePackages: 'argparse@2.0.1;idiomorph@0.3.0',
|
||||||
}, (err, dependencies) => {
|
}, (err, dependencies) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
throw err;
|
throw err;
|
||||||
|
@ -108,14 +107,6 @@ const filterCssImport = (url, ...args) => {
|
||||||
|
|
||||||
/** @type {import("webpack").Configuration} */
|
/** @type {import("webpack").Configuration} */
|
||||||
export default {
|
export default {
|
||||||
externals: [
|
|
||||||
function ({request}, callback) {
|
|
||||||
if (/elkjs/.test(request)) {
|
|
||||||
return callback(null, `commonjs ${request}`);
|
|
||||||
}
|
|
||||||
callback();
|
|
||||||
},
|
|
||||||
],
|
|
||||||
mode: isProduction ? 'production' : 'development',
|
mode: isProduction ? 'production' : 'development',
|
||||||
entry: {
|
entry: {
|
||||||
index: [
|
index: [
|
||||||
|
|
Loading…
Reference in a new issue