Verified Commit 27c5185c authored by les's avatar les
Browse files

update deps

parent 6a3d138a
......@@ -55,8 +55,8 @@ module.exports = {
*/
modules: [
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
'@nuxtjs/auth',
'./@nuxtjs/axios',
'./@nuxtjs/auth',
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }]
],
......@@ -99,10 +99,11 @@ module.exports = {
],
vuetify: {
defaultAssets: false,
optionsPath: './vuetify.options.js'
// treeShake: true
optionsPath: './vuetify.options.js',
treeShake: true
/* module options */
},
/*
** Build configuration
*/
......
{
"name": "gancio",
"version": "1.0.13-dev",
"version": "1.0.17-dev",
"description": "A shared agenda for local communities",
"author": "lesion",
"scripts": {
......@@ -26,11 +26,12 @@
"store/",
"config/default.json",
"config/production.js",
".nuxt/"
".nuxt/",
"yarn.lock"
],
"dependencies": {
"@nuxtjs/auth": "^4.9.1",
"@nuxtjs/axios": "^5.13.1",
"@nuxtjs/axios": "^5.13.5",
"@popperjs/core": "2.9.2",
"accept-language": "^3.0.18",
"axios": "^0.21.1",
......@@ -40,13 +41,13 @@
"config": "^3.3.6",
"consola": "^2.15.3",
"cookie-parser": "^1.4.5",
"core-js": "3.12.1",
"core-js": "3.13.1",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"date-fns": "^2.21.3",
"dayjs": "^1.10.4",
"dompurify": "^2.2.8",
"email-templates": "^8.0.3",
"dayjs": "^1.10.5",
"dompurify": "^2.2.9",
"email-templates": "^8.0.7",
"express": "^4.17.1",
"express-oauth-server": "^2.0.0",
"express-prom-bundle": "^6.3.4",
......@@ -55,8 +56,8 @@
"http-signature": "^1.3.5",
"ical.js": "^1.4.0",
"ics": "^2.27.0",
"inquirer": "^8.0.0",
"jsdom": "^16.5.1",
"inquirer": "^8.1.0",
"jsdom": "^16.6.0",
"jsonwebtoken": "^8.5.1",
"less": "^4.1.1",
"linkifyjs": "3.0.0-beta.3",
......@@ -78,52 +79,57 @@
"url": "^0.11.0",
"utf-8-validate": "^5.0.5",
"v-calendar": "2.3.0",
"vue": "^2.6.12",
"vue": "^2.6.13",
"vue-clipboard2": "^0.3.1",
"vue-i18n": "^8.24.4",
"vue-template-compiler": "^2.6.10",
"vue-server-renderer": "^2.6.13",
"vue-template-compiler": "^2.6.13",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.2",
"yargs": "^17.0.1"
"winston-daily-rotate-file": "^4.5.5",
"yargs": "^17.0.1",
"tiptap": "^1.32.0",
"tiptap-extensions": "^1.35.0"
},
"devDependencies": {
"@mdi/font": "^5.9.55",
"@nuxtjs/eslint-config": "^6.0.0",
"@nuxtjs/eslint-config": "^6.0.1",
"@nuxtjs/vuetify": "^1.11.3",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.25.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.2",
"eslint-config-standard": "^16.0.3",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": ">=11.1.0",
"eslint-plugin-nuxt": "^2.0.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.8.0",
"eslint-plugin-vue": "^7.10.0",
"fibers": "^5.0.0",
"less-loader": "7",
"prettier": "^2.2.1",
"prettier": "^2.3.0",
"pug": "^3.0.2",
"pug-plain-loader": "^1.1.0",
"sass": "^1.32.7",
"sass": "^1.34.0",
"sass-loader": "10",
"tiptap": "^1.32.0",
"tiptap-extensions": "^1.35.0",
"typescript": "^4.2.3",
"typescript": "^4.3.2",
"vue-cli-plugin-vuetify": "~2.4.0",
"vuetify": "^2.4.11",
"vuetify": "^2.5.2",
"vuetify-loader": "^1.7.1",
"webpack": "4",
"webpack-cli": "^4.5.0"
"webpack-cli": "^4.7.0"
},
"resolutions": {
"prosemirror-model": "1.14.1",
"source-map-resolve": "0.6.0",
"lodash": "4.17.21",
"source-map-resolve": "0.6.0"
"minimist": "1.2.5",
"jimp": "0.16.1",
"resize-img": "2.0.0",
"underscore": "1.13.1"
},
"bin": {
"gancio": "server/cli.js"
......
......@@ -28,7 +28,6 @@ module.exports = {
config.admin_email = admin.email
config.db.logging = false
config.log_level = 'debug'
config.log_path = '/opt/gancio/logs'
consola.info(`Save configuration to ${config_path}`)
try {
fs.writeFileSync(config_path, JSON.stringify(config, null, 2))
......@@ -39,7 +38,7 @@ module.exports = {
// sync db
const db = require('./api/models/index')
const User = require('./api/models/user')
const Notification = require('./api/models/notification')
// const Notification = require('./api/models/notification')
const users = await User.findAll()
if (users.length) {
consola.warn(' ⚠ Non empty db! Please move your current db elsewhere than retry.')
......@@ -67,11 +66,11 @@ module.exports = {
// try {
// // send confirmed events to mastodon
await Notification.create({ action: 'Create', type: 'ap', filters: '{ "is_visible": true }' })
await Notification.create({ action: 'Update', type: 'ap', filters: '{ "is_visible": true }' })
await Notification.create({ action: 'Delete', type: 'ap', filters: '{ "is_visible": true }' })
// // send anon events to admin
await Notification.create({ action: 'Create', type: 'admin_email', filters: '{ "is_visible": false }' })
// await Notification.create({ action: 'Create', type: 'ap', filters: '{ "is_visible": true }' })
// await Notification.create({ action: 'Update', type: 'ap', filters: '{ "is_visible": true }' })
// await Notification.create({ action: 'Delete', type: 'ap', filters: '{ "is_visible": true }' })
// // // send anon events to admin
// await Notification.create({ action: 'Create', type: 'admin_email', filters: '{ "is_visible": false }' })
// }
// TODO email's notifications
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment