瀏覽代碼

refactor: Get sortable js from node_modules instead of vendoring it

- No point in having a copy since there are no customization done.
version-14
Suraj Shetty 2 年之前
父節點
當前提交
728ff49cec
共有 4 個檔案被更改,包括 7 行新增4 行删除
  1. +0
    -3
      frappe/public/js/lib/Sortable.min.js
  2. +1
    -1
      frappe/public/js/libs.bundle.js
  3. +1
    -0
      package.json
  4. +5
    -0
      yarn.lock

+ 0
- 3
frappe/public/js/lib/Sortable.min.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
frappe/public/js/libs.bundle.js 查看文件

@@ -1,7 +1,7 @@
import "./jquery-bootstrap";
import Vue from "vue/dist/vue.esm.js";
import "./lib/moment";
import Sortable from "./lib/Sortable.min.js";
import Sortable from "sortablejs";

window.Vue = Vue;
window.Sortable = Sortable;

+ 1
- 0
package.json 查看文件

@@ -55,6 +55,7 @@
"snyk": "^1.685.0",
"socket.io": "^4.5.1",
"socket.io-client": "^4.5.1",
"sortablejs": "1.9.0",
"superagent": "^3.8.2",
"touch": "^3.1.0",
"vue": "2.6.14",


+ 5
- 0
yarn.lock 查看文件

@@ -3102,6 +3102,11 @@ sortablejs@1.10.2:
resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.10.2.tgz#6e40364d913f98b85a14f6678f92b5c1221f5290"
integrity sha512-YkPGufevysvfwn5rfdlGyrGjt7/CRHwvRPogD/lC+TnvcN29jDpCifKP+rBqf+LRldfXSTh+0CGLcSg0VIxq3A==

sortablejs@1.9.0:
version "1.9.0"
resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.9.0.tgz#2d1e74ae6bac2cb4ad0622908f340848969eb88d"
integrity sha512-Ot6bYJ6PoqPmpsqQYXjn1+RKrY2NWQvQt/o4jfd/UYwVWndyO5EPO8YHbnm5HIykf8ENsm4JUrdAvolPT86yYA==

sortablejs@^1.7.0:
version "1.8.3"
resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.8.3.tgz#5ae908ef96300966e95440a143340f5dd565a0df"


Loading…
取消
儲存