refactor: 🔨 update tsconfig and package with latest app_template
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-11-08 23:25:47 +01:00
parent 8fe01c2222
commit f0a2d199f9
2 changed files with 11 additions and 15 deletions

View File

@ -1,18 +1,17 @@
{ {
"name": "repod", "name": "repod",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"type": "module",
"scripts": { "scripts": {
"build": "vue-tsc && vite build", "build": "vue-tsc && vite build",
"dev": "vite --mode development build", "dev": "vite --mode development build",
"dev:watch": "vite --mode development build --watch", "watch": "vite --mode development build --watch",
"watch": "npm run dev:watch",
"lint": "vue-tsc && eslint src", "lint": "vue-tsc && eslint src",
"lint:fix": "vue-tsc && eslint src --fix", "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css"
"stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css",
"stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix"
}, },
"prettier": "@nextcloud/prettier-config", "type": "module",
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"dependencies": { "dependencies": {
"@formatjs/intl-segmenter": "^11.7.3", "@formatjs/intl-segmenter": "^11.7.3",
"@nextcloud/axios": "^2.5.1", "@nextcloud/axios": "^2.5.1",
@ -46,7 +45,5 @@
"vue-eslint-parser": "^9.4.3", "vue-eslint-parser": "^9.4.3",
"vue-tsc": "^2.1.10" "vue-tsc": "^2.1.10"
}, },
"browserslist": [ "prettier": "@nextcloud/prettier-config"
"extends @nextcloud/browserslist-config"
]
} }

View File

@ -2,15 +2,14 @@
"extends": "@vue/tsconfig", "extends": "@vue/tsconfig",
"include": ["./src/**/*.ts", "./src/**/*.vue", "**/*.ts"], "include": ["./src/**/*.ts", "./src/**/*.vue", "**/*.ts"],
"compilerOptions": { "compilerOptions": {
"allowImportingTsExtensions": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler", "moduleResolution": "Bundler",
"target": "es6",
"module": "es6",
"declaration": true,
"strict": true,
"noImplicitAny": false, "noImplicitAny": false,
"rootDir": ".", "rootDir": ".",
"strict": true,
"noEmit": true, "noEmit": true,
"allowImportingTsExtensions": true,
} }
} }