clarify package.json, improve release action, bump max NC version, remove DB dependencies

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
Julien Veyssier 2021-11-12 12:32:18 +01:00
parent fe2d68a1be
commit 65456506e6
No known key found for this signature in database
GPG key ID: 4141FEE162030638
5 changed files with 22382 additions and 12230 deletions

View file

@ -7,5 +7,9 @@ module.exports = {
}, },
extends: [ extends: [
'@nextcloud' '@nextcloud'
] ],
rules: {
'jsdoc/require-jsdoc': 'off',
'jsdoc/tag-lines': 'off'
}
} }

View file

@ -12,10 +12,13 @@ jobs:
APP_ID: integration_moodle APP_ID: integration_moodle
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Use Node 12 - name: Use Node 14
uses: actions/setup-node@v1 uses: actions/setup-node@v2
with: with:
node-version: 12 node-version: 14
- name: Set up npm
run: npm i -g npm
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2

View file

@ -5,7 +5,7 @@
<summary>Integration of Moodle learning management system</summary> <summary>Integration of Moodle learning management system</summary>
<description><![CDATA[Moodle integration provides a dashboard widget displaying information about your recent courses and upcoming events. <description><![CDATA[Moodle integration provides a dashboard widget displaying information about your recent courses and upcoming events.
It also allows you to search for content in Moodle.]]></description> It also allows you to search for content in Moodle.]]></description>
<version>1.0.1</version> <version>1.0.2</version>
<licence>agpl</licence> <licence>agpl</licence>
<author>Julien Veyssier</author> <author>Julien Veyssier</author>
<namespace>Moodle</namespace> <namespace>Moodle</namespace>
@ -18,9 +18,6 @@
<bugs>https://github.com/nextcloud/integration_moodle/issues</bugs> <bugs>https://github.com/nextcloud/integration_moodle/issues</bugs>
<screenshot>https://github.com/nextcloud/integration_moodle/raw/master/img/screenshot1.jpg</screenshot> <screenshot>https://github.com/nextcloud/integration_moodle/raw/master/img/screenshot1.jpg</screenshot>
<dependencies> <dependencies>
<database min-version="9.4">pgsql</database>
<database>sqlite</database>
<database min-version="5.5">mysql</database>
<nextcloud min-version="22" max-version="24"/> <nextcloud min-version="22" max-version="24"/>
</dependencies> </dependencies>
<settings> <settings>

34452
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,87 +1,57 @@
{ {
"name": "integration_moodle", "name": "integration_moodle",
"version": "0.0.1", "version": "0.0.1",
"description": "Moodle integration", "description": "Moodle integration",
"main": "index.js", "main": "index.js",
"directories": { "directories": {
"test": "tests" "test": "tests"
}, },
"scripts": { "scripts": {
"build": "NODE_ENV=production webpack --progress --config webpack.js", "build": "NODE_ENV=production webpack --progress --config webpack.js",
"dev": "NODE_ENV=development webpack --progress --config webpack.js", "dev": "NODE_ENV=development webpack --progress --config webpack.js",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js", "watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
"lint": "eslint --ext .js,.vue src", "lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix", "lint:fix": "eslint --ext .js,.vue src --fix",
"stylelint": "stylelint src", "stylelint": "stylelint src",
"stylelint:fix": "stylelint src --fix" "stylelint:fix": "stylelint src --fix"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/nextcloud/integration_moodle" "url": "https://github.com/nextcloud/integration_moodle"
}, },
"keywords": [ "keywords": [
"moodle" "moodle"
], ],
"author": "Julien Veyssier", "author": "Julien Veyssier",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"bugs": { "bugs": {
"url": "https://github.com/nextcloud/integration_moodle/issues" "url": "https://github.com/nextcloud/integration_moodle/issues"
}, },
"homepage": "https://github.com/nextcloud/integration_moodle", "homepage": "https://github.com/nextcloud/integration_moodle",
"browserslist": [ "browserslist": [
"extends @nextcloud/browserslist-config" "extends @nextcloud/browserslist-config"
], ],
"engines": { "engines": {
"node": ">=14.0.0", "node": ">=14.0.0",
"npm": ">=7.0.0" "npm": ">=7.0.0"
}, },
"dependencies": { "dependencies": {
"@nextcloud/auth": "^1.3.0", "@nextcloud/auth": "^1.3.0",
"@nextcloud/axios": "^1.6.0", "@nextcloud/axios": "^1.6.0",
"@nextcloud/dialogs": "^3.1.2", "@nextcloud/dialogs": "^3.1.2",
"@nextcloud/initial-state": "^1.2.0", "@nextcloud/initial-state": "^1.2.0",
"@nextcloud/l10n": "^1.4.1", "@nextcloud/l10n": "^1.4.1",
"@nextcloud/moment": "^1.1.1", "@nextcloud/moment": "^1.1.1",
"@nextcloud/router": "^2.0.0", "@nextcloud/router": "^2.0.0",
"@nextcloud/vue": "^3.10.1", "@nextcloud/vue": "^4.2.0",
"@nextcloud/vue-dashboard": "^2.0.1", "@nextcloud/vue-dashboard": "^2.0.1",
"vue": "^2.6.14" "vue": "^2.6.14"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.14.6", "@nextcloud/babel-config": "^1.0.0",
"@babel/eslint-parser": "^7.14.7", "@nextcloud/browserslist-config": "^2.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7", "@nextcloud/eslint-config": "^6.1.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3", "@nextcloud/stylelint-config": "^1.0.0-beta.0",
"@babel/preset-env": "^7.14.7", "@nextcloud/webpack-vue-config": "^4.1.0"
"@nextcloud/browserslist-config": "^2.1.0", }
"@nextcloud/eslint-config": "^5.1.0",
"@nextcloud/eslint-plugin": "^2.0.0",
"@nextcloud/webpack-vue-config": "^4.0.3",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"css-loader": "^4.3.0",
"eslint": "^7.29.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-vue": "^7.12.1",
"eslint-webpack-plugin": "^2.5.4",
"file-loader": "^6.2.0",
"node-polyfill-webpack-plugin": "^1.1.3",
"node-sass": "^5.0.0",
"sass": "^1.35.1",
"sass-loader": "^10.2.0",
"style-loader": "^2.0.0",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.19.0",
"stylelint-webpack-plugin": "^2.2.2",
"url-loader": "^4.1.1",
"vue-loader": "^15.9.7",
"vue-template-compiler": "^2.6.14",
"webpack": "^5.40.0",
"webpack-cli": "^4.7.2",
"webpack-node-externals": "^3.0.0"
}
} }