浏览代码

[npm] Switch to using our own sql formatter

Romain Rigaux 4 年之前
父节点
当前提交
e2c039e36f
共有 3 个文件被更改,包括 3 次插入25556 次删除
  1. 1 1
      desktop/core/src/desktop/js/apps/editor/components/ko.snippetEditorActions.js
  2. 1 25554
      package-lock.json
  3. 1 1
      package.json

+ 1 - 1
desktop/core/src/desktop/js/apps/editor/components/ko.snippetEditorActions.js

@@ -17,7 +17,7 @@
 import * as ko from 'knockout';
 
 import 'ko/bindings/ko.publish';
-import { format } from 'sql-formatter';
+import { format } from '@gethue/sql-formatter';
 
 import apiHelper from 'api/apiHelper';
 import componentUtils from 'ko/components/componentUtils';

文件差异内容过多而无法显示
+ 1 - 25554
package-lock.json


+ 1 - 1
package.json

@@ -79,7 +79,7 @@
     "selectize": "0.12.6",
     "selectize-plugin-clear": "0.0.3",
     "sprintf-js": "1.1.2",
-    "sql-formatter": "^4.0.2",
+    "@gethue/sql-formatter": "4.0.3",
     "vue": "^3.0.5",
     "vue-custom-element": "3.2.14",
     "vue3-datepicker": "^0.2.4"

部分文件因为文件数量过多而无法显示