Compare commits
8 Commits
main
...
renovate/p
Author | SHA1 | Date | |
---|---|---|---|
|
a32d1ec219 | ||
d0327f6d9d | |||
77c3e5d2b7 | |||
3246e051f9 | |||
|
ac3a8747c7 | ||
f3c9f3bbb7 | |||
|
6139ced36a | ||
c7f95c755f |
@ -1,14 +1,9 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: [
|
extends: [
|
||||||
'@nextcloud',
|
'@nextcloud',
|
||||||
'@vue/eslint-config-typescript/recommended',
|
|
||||||
'plugin:prettier/recommended',
|
|
||||||
],
|
],
|
||||||
parser: 'vue-eslint-parser',
|
|
||||||
rules: {
|
rules: {
|
||||||
'jsdoc/require-jsdoc': 'off',
|
'jsdoc/require-jsdoc': 'off',
|
||||||
'vue/first-attribute-linebreak': 'off',
|
'vue/first-attribute-linebreak': 'off',
|
||||||
'sort-imports': 'error',
|
|
||||||
'vue/attributes-order': ['error', { alphabetical: true }],
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -30,15 +30,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: skjnldsv/read-package-engines-version-actions@v3
|
|
||||||
id: versions
|
|
||||||
with:
|
|
||||||
fallbackNode: '^20'
|
|
||||||
fallbackNpm: '^10'
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
node-version: "^20"
|
||||||
- run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
- run: npm run stylelint
|
- run: npm run stylelint
|
||||||
@ -54,15 +48,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
|
- run: curl -sSLo /usr/local/bin/composer https://getcomposer.org/download/latest-stable/composer.phar
|
||||||
- run: chmod +x /usr/local/bin/composer
|
- run: chmod +x /usr/local/bin/composer
|
||||||
- uses: skjnldsv/read-package-engines-version-actions@v3
|
|
||||||
id: versions
|
|
||||||
with:
|
|
||||||
fallbackNode: '^20'
|
|
||||||
fallbackNpm: '^10'
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ steps.versions.outputs.nodeVersion }}
|
node-version: "^20"
|
||||||
- run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
|
|
||||||
- run: make dist
|
- run: make dist
|
||||||
- uses: akkuman/gitea-release-action@v1
|
- uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
|
2
Makefile
2
Makefile
@ -128,7 +128,7 @@ dev: build
|
|||||||
docker rm $(app_name) || true
|
docker rm $(app_name) || true
|
||||||
docker build -t $(app_name) .
|
docker build -t $(app_name) .
|
||||||
docker run -itd --rm --name $(app_name) -v $(CURDIR):/var/www/html/apps/$(app_name) -p 80:80 $(app_name)
|
docker run -itd --rm --name $(app_name) -v $(CURDIR):/var/www/html/apps/$(app_name) -p 80:80 $(app_name)
|
||||||
npm run watch || docker stop $(app_name)
|
npm run watch
|
||||||
|
|
||||||
# Generate translations
|
# Generate translations
|
||||||
.PHONY: l10n
|
.PHONY: l10n
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"rector": "rector && composer cs:fix"
|
"rector": "rector && composer cs:fix"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1"
|
"php": "^8.4.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"nextcloud/ocp": "^30.0.2",
|
"nextcloud/ocp": "^30.0.2",
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "app_template",
|
"name": "app_template",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"engines": {
|
|
||||||
"node": "^20.0.0",
|
|
||||||
"npm": "^10.0.0"
|
|
||||||
},
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"dev": "vite --mode development build",
|
"dev": "vite --mode development build",
|
||||||
|
Loading…
Reference in New Issue
Block a user