Yuki Takei 3 лет назад
Родитель
Сommit
1ab137b887

+ 1 - 0
packages/app/next.config.js

@@ -25,6 +25,7 @@ const setupTranspileModules = () => {
     // listing ESM packages until experimental.esmExternals works correctly to avoid ERR_REQUIRE_ESM
     'react-markdown',
     'unified',
+    'markdown-table',
     'character-entities-html4',
     'comma-separated-tokens',
     'decode-named-character-reference',

+ 1 - 1
packages/app/package.json

@@ -123,6 +123,7 @@
     "is-absolute-url": "^4.0.1",
     "is-iso-date": "^0.0.1",
     "lucene-query-parser": "^1.2.0",
+    "markdown-table": "^1.1.1",
     "md5": "^2.2.1",
     "method-override": "^3.0.0",
     "migrate-mongo": "^8.2.3",
@@ -237,7 +238,6 @@
     "jquery.cookie": "~1.4.1",
     "jshint": "^2.13.0",
     "load-css-file": "^1.0.0",
-    "markdown-table": "^1.1.1",
     "material-icons": "^1.11.3",
     "morgan": "^1.10.0",
     "next-transpile-modules": "^9.0.0",

+ 1 - 1
packages/remark-drawio-plugin/package.json

@@ -24,11 +24,11 @@
     "test": ""
   },
   "dependencies": {
+    "pako": "^2.1.0",
     "xmldoc": "^1.2.0"
   },
   "devDependencies": {
     "eslint-plugin-regex": "^1.8.0",
-    "pako": "^2.1.0",
     "react": "^18.2.0",
     "react-dom": "^18.2.0"
   }