mirror of
https://github.com/frappe/books.git
synced 2025-01-10 18:24:40 +00:00
Remove frappejs dep
This commit is contained in:
parent
569eaaa491
commit
c04123a2d1
@ -28,7 +28,7 @@ module.exports = {
|
|||||||
await frappe.getSingle('SystemSettings');
|
await frappe.getSingle('SystemSettings');
|
||||||
|
|
||||||
frappe.desk = new Desk(columns);
|
frappe.desk = new Desk(columns);
|
||||||
await frappe.login();
|
await frappe.login('Administrator');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
"express": "^4.16.2",
|
"express": "^4.16.2",
|
||||||
"flatpickr": "^4.3.2",
|
"flatpickr": "^4.3.2",
|
||||||
"frappe-datatable": "frappe/datatable",
|
"frappe-datatable": "frappe/datatable",
|
||||||
"frappejs": "../frappejs",
|
|
||||||
"jquery": "^3.3.1",
|
"jquery": "^3.3.1",
|
||||||
"jwt-simple": "^0.5.1",
|
"jwt-simple": "^0.5.1",
|
||||||
"luxon": "^1.0.0",
|
"luxon": "^1.0.0",
|
||||||
@ -69,5 +68,8 @@
|
|||||||
"url": "https://github.com/frappe/frappejs/issues"
|
"url": "https://github.com/frappe/frappejs/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/frappe/frappejs#readme",
|
"homepage": "https://github.com/frappe/frappejs#readme",
|
||||||
"devDependencies": {}
|
"devDependencies": {},
|
||||||
|
"engines": {
|
||||||
|
"node": "8.11.1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ module.exports = {
|
|||||||
|
|
||||||
if (models) {
|
if (models) {
|
||||||
frappe.registerModels(models, 'server');
|
frappe.registerModels(models, 'server');
|
||||||
frappe.models.User.documentClass = require('frappejs/models/doctype/User/UserServer.js');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// database
|
// database
|
||||||
|
49
yarn.lock
49
yarn.lock
@ -1425,55 +1425,6 @@ frappe-datatable@frappe/datatable:
|
|||||||
lodash "^4.17.5"
|
lodash "^4.17.5"
|
||||||
sortablejs "^1.7.0"
|
sortablejs "^1.7.0"
|
||||||
|
|
||||||
frappejs@../frappejs:
|
|
||||||
version "0.0.5"
|
|
||||||
dependencies:
|
|
||||||
autoprefixer "^7.2.4"
|
|
||||||
awesomplete "^1.1.2"
|
|
||||||
body-parser "^1.18.2"
|
|
||||||
bootstrap "^4.0.0"
|
|
||||||
clusterize.js "^0.18.0"
|
|
||||||
codemirror "^5.35.0"
|
|
||||||
commander "^2.13.0"
|
|
||||||
cors "^2.8.4"
|
|
||||||
deepmerge "^2.1.0"
|
|
||||||
eslint "^4.19.1"
|
|
||||||
express "^4.16.2"
|
|
||||||
flatpickr "^4.3.2"
|
|
||||||
frappe-datatable frappe/datatable
|
|
||||||
frappejs "../frappejs"
|
|
||||||
jquery "^3.3.1"
|
|
||||||
jwt-simple "^0.5.1"
|
|
||||||
luxon "^1.0.0"
|
|
||||||
mkdirp "^0.5.1"
|
|
||||||
mocha "^4.1.0"
|
|
||||||
moment "^2.20.1"
|
|
||||||
morgan "^1.9.0"
|
|
||||||
mysql "^2.15.0"
|
|
||||||
node-fetch "^1.7.3"
|
|
||||||
node-sass "^4.7.2"
|
|
||||||
nodemon "^1.14.7"
|
|
||||||
nunjucks "^3.1.0"
|
|
||||||
octicons "^7.2.0"
|
|
||||||
passport "^0.4.0"
|
|
||||||
passport-jwt "^4.0.0"
|
|
||||||
popper.js "^1.12.9"
|
|
||||||
precss "^2.0.0"
|
|
||||||
puppeteer "^1.2.0"
|
|
||||||
rollup "^0.55.1"
|
|
||||||
rollup-plugin-commonjs "^8.3.0"
|
|
||||||
rollup-plugin-html "^0.2.1"
|
|
||||||
rollup-plugin-json "^2.3.0"
|
|
||||||
rollup-plugin-node-resolve "^3.0.2"
|
|
||||||
rollup-plugin-postcss "^1.2.7"
|
|
||||||
rollup-plugin-replace "^2.0.0"
|
|
||||||
rollup-plugin-sass "^0.5.3"
|
|
||||||
showdown "^1.8.6"
|
|
||||||
socket.io "^2.0.4"
|
|
||||||
sortablejs "^1.7.0"
|
|
||||||
sqlite3 "^3.1.13"
|
|
||||||
walk "^2.3.9"
|
|
||||||
|
|
||||||
fresh@0.5.2:
|
fresh@0.5.2:
|
||||||
version "0.5.2"
|
version "0.5.2"
|
||||||
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
|
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
|
||||||
|
Loading…
Reference in New Issue
Block a user