Move to npm 7 & update global configs

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2021-07-27 08:58:45 +02:00
Родитель a52589f415
Коммит a94dcc27d8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 60C25B8C072916CF
5 изменённых файлов: 38508 добавлений и 576 удалений

Просмотреть файл

@ -9,4 +9,7 @@ module.exports = {
extends: [
'@nextcloud',
],
plugins: [
'cypress',
],
}

Просмотреть файл

@ -1,32 +0,0 @@
module.exports = {
extends: 'stylelint-config-recommended-scss',
rules: {
indentation: 'tab',
'selector-type-no-unknown': null,
'number-leading-zero': null,
'rule-empty-line-before': [
'always',
{
ignore: ['after-comment', 'inside-block']
}
],
'declaration-empty-line-before': [
'never',
{
ignore: ['after-declaration']
}
],
'comment-empty-line-before': null,
'selector-type-case': null,
'selector-list-comma-newline-after': null,
'no-descending-specificity': null,
'string-quotes': 'single',
'selector-pseudo-element-no-unknown': [
true,
{
ignorePseudoElements: ['v-deep']
}
]
},
plugins: ['stylelint-scss']
};

39021
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -46,14 +46,12 @@
"@nextcloud/logger": "^2.0.0",
"@nextcloud/router": "^2.0.0",
"calendar-js": "git+https://github.com/nextcloud/calendar-js.git",
"core-js": "^3.6.5",
"debounce": "1.2.1",
"emoji-mart-vue-fast": "^7.0.7",
"escape-html": "^1.0.3",
"hammerjs": "^2.0.8",
"linkifyjs": "~2.1.9",
"md5": "^2.2.1",
"regenerator-runtime": "^0.13.5",
"splitpanes": "^2.3.6",
"string-length": "^5.0.0",
"striptags": "^3.1.1",
@ -69,18 +67,14 @@
"vue2-datepicker": "^3.6.3"
},
"engines": {
"node": ">=14.0.0"
"node": ">=14.0.0",
"npm": ">=7.0.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/eslint-parser": "^7.13.10",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/plugin-transform-shorthand-properties": "^7.12.13",
"@babel/preset-env": "^7.9.5",
"@nextcloud/babel-config": "^1.0.0-beta.1",
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^2.1.0",
"@nextcloud/eslint-config": "^4.0.0",
"@nextcloud/eslint-plugin": "^2.0.0",
"@nextcloud/stylelint-config": "^1.0.0-beta.0",
"@vue/test-utils": "^1.0.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^27.0.1",
@ -91,15 +85,8 @@
"cypress-visual-regression": "^1.5.0",
"cypress-vue-unit-test": "^3.5.1",
"eslint": "^7.21.0",
"eslint-config-standard": "^16.0.2",
"eslint-loader": "^4.0.2",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^7.8.0",
"eslint-webpack-plugin": "^2.5.3",
"file-loader": "^6.0.0",
"fontsource-roboto": "^4.0.0",
"gettext-extractor": "^3.5.2",
@ -111,13 +98,9 @@
"jest-transform-stub": "^2.0.0",
"node-sass": "^6.0.1",
"raw-loader": "^4.0.1",
"regenerator-runtime": "^0.13.7",
"resolve-url-loader": "^3.1.2",
"sanitize-filename": "^1.6.3",
"sass-loader": "^10.2.0",
"stylelint": "^13.6.1",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.18.0",
"stylelint-webpack-plugin": "^2.1.0",
"url-loader": "^4.1.0",
"vue-eslint-parser": "^7.1.0",

3
stylelint.config.js Normal file
Просмотреть файл

@ -0,0 +1,3 @@
const stylelintConfig = require('@nextcloud/stylelint-config')
module.exports = stylelintConfig