Use packaged versions of prosemirror-markdown and timeago.js node modules
This commit is contained in:
parent
ce52c5454e
commit
61e9debdfc
2 changed files with 6 additions and 5 deletions
1
debian/control
vendored
1
debian/control
vendored
|
@ -391,6 +391,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||||
node-popper.js,
|
node-popper.js,
|
||||||
node-prismjs (>= 1.6~),
|
node-prismjs (>= 1.6~),
|
||||||
node-prosemirror-model,
|
node-prosemirror-model,
|
||||||
|
node-prosemirror-markdown,
|
||||||
node-raven-js,
|
node-raven-js,
|
||||||
# node-raw-loader (>= 1.0~),
|
# node-raw-loader (>= 1.0~),
|
||||||
node-three-orbit-controls (>= 82.1~),
|
node-three-orbit-controls (>= 82.1~),
|
||||||
|
|
10
debian/patches/0740-use-packaged-modules.patch
vendored
10
debian/patches/0740-use-packaged-modules.patch
vendored
|
@ -21,7 +21,7 @@ Use debian packaged node modules when available
|
||||||
- extensions: ['.js', '.gql', '.graphql'],
|
- extensions: ['.js', '.gql', '.graphql'],
|
||||||
- modules: ['/usr/share/gitlab/node_modules','/usr/share/gitlab/node_modules/mermaid/node_modules', '/usr/lib/nodejs'],
|
- modules: ['/usr/share/gitlab/node_modules','/usr/share/gitlab/node_modules/mermaid/node_modules', '/usr/lib/nodejs'],
|
||||||
+ extensions: ['.js', '.gql', '.graphql', '.json'],
|
+ extensions: ['.js', '.gql', '.graphql', '.json'],
|
||||||
+ modules: ['/usr/share/gitlab/node_modules','/usr/share/gitlab/vendor/node_modules','/usr/share/gitlab/node_modules/mermaid/node_modules', '/usr/share/gitlab/node_modules/markdown-it/node_modules/', '/usr/lib/nodejs', '/usr/share/nodejs'],
|
+ modules: ['/usr/share/gitlab/node_modules','/usr/share/gitlab/vendor/node_modules','/usr/share/gitlab/node_modules/mermaid/node_modules', '/usr/share/nodejs/markdown-it/node_modules/', '/usr/lib/nodejs', '/usr/share/nodejs'],
|
||||||
alias,
|
alias,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ Use debian packaged node modules when available
|
||||||
"marked": "^0.3.12",
|
"marked": "^0.3.12",
|
||||||
"mermaid": "^8.5.2",
|
"mermaid": "^8.5.2",
|
||||||
"mersenne-twister": "1.1.0",
|
"mersenne-twister": "1.1.0",
|
||||||
@@ -111,13 +79,9 @@
|
@@ -111,13 +79,8 @@
|
||||||
"monaco-editor": "^0.20.0",
|
"monaco-editor": "^0.20.0",
|
||||||
"monaco-editor-webpack-plugin": "^1.9.0",
|
"monaco-editor-webpack-plugin": "^1.9.0",
|
||||||
"monaco-yaml": "^2.4.0",
|
"monaco-yaml": "^2.4.0",
|
||||||
|
@ -154,18 +154,18 @@ Use debian packaged node modules when available
|
||||||
"pikaday": "^1.8.0",
|
"pikaday": "^1.8.0",
|
||||||
- "popper.js": "^1.16.1",
|
- "popper.js": "^1.16.1",
|
||||||
- "prismjs": "^1.6.0",
|
- "prismjs": "^1.6.0",
|
||||||
"prosemirror-markdown": "^1.3.0",
|
- "prosemirror-markdown": "^1.3.0",
|
||||||
- "prosemirror-model": "^1.6.4",
|
- "prosemirror-model": "^1.6.4",
|
||||||
"raphael": "^2.2.7",
|
"raphael": "^2.2.7",
|
||||||
"raw-loader": "^4.0.0",
|
"raw-loader": "^4.0.0",
|
||||||
"sanitize-html": "^1.22.0",
|
"sanitize-html": "^1.22.0",
|
||||||
@@ -130,30 +94,20 @@
|
@@ -130,30 +93,19 @@
|
||||||
"style-loader": "^1.1.3",
|
"style-loader": "^1.1.3",
|
||||||
"swagger-ui-dist": "^3.26.2",
|
"swagger-ui-dist": "^3.26.2",
|
||||||
"three": "^0.84.0",
|
"three": "^0.84.0",
|
||||||
- "three-orbit-controls": "^82.1.0",
|
- "three-orbit-controls": "^82.1.0",
|
||||||
- "three-stl-loader": "^1.0.4",
|
- "three-stl-loader": "^1.0.4",
|
||||||
"timeago.js": "^4.0.2",
|
- "timeago.js": "^4.0.2",
|
||||||
"tiptap": "^1.8.0",
|
"tiptap": "^1.8.0",
|
||||||
"tiptap-commands": "^1.4.0",
|
"tiptap-commands": "^1.4.0",
|
||||||
"tiptap-extensions": "^1.8.0",
|
"tiptap-extensions": "^1.8.0",
|
||||||
|
|
Loading…
Add table
Reference in a new issue