fix: ⚰️ remove all js related stuff
This commit is contained in:
parent
77511ece72
commit
5917989e36
@ -1,9 +0,0 @@
|
||||
module.exports = {
|
||||
extends: ['@nextcloud/eslint-config/vue3', 'plugin:prettier/recommended'],
|
||||
rules: {
|
||||
'jsdoc/require-jsdoc': 'off',
|
||||
'vue/first-attribute-linebreak': 'off',
|
||||
'sort-imports': 'error',
|
||||
'vue/attributes-order': ['error', { alphabetical: true }],
|
||||
},
|
||||
}
|
14
.l10nignore
14
.l10nignore
@ -1,14 +0,0 @@
|
||||
.idea/
|
||||
*.iml
|
||||
|
||||
vendor/
|
||||
vendor-bin/*/vendor/
|
||||
|
||||
.php-cs-fixer.cache
|
||||
tests/.phpunit.cache
|
||||
|
||||
node_modules/
|
||||
js/
|
||||
css/
|
||||
|
||||
build/
|
1
.nvmrc
1
.nvmrc
@ -1 +0,0 @@
|
||||
20
|
46
CHANGELOG.md
46
CHANGELOG.md
@ -1,12 +1,46 @@
|
||||
# Changelog
|
||||
## 0.8.8 - 2018-01-31
|
||||
### Changed
|
||||
- some minor changes to the preference sections
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
## 0.8.5 - 0.8.7
|
||||
### Changed
|
||||
- debugging NC and OC package signing collision
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
## 0.8.4 - 2018-01-19
|
||||
### Changed
|
||||
- signed package for publication in Owncloud marketplace
|
||||
|
||||
## [Unreleased]
|
||||
## 0.8.3 - 2018-01-18
|
||||
### Changed
|
||||
- increased maximum version for OC and NC
|
||||
|
||||
## 0.8.2 - 2017-01-19
|
||||
### Fixed
|
||||
- Support login tokens ('app passwords', NC/OC) and 2FA (NC)
|
||||
|
||||
## 0.8.1 - 2017-01-14
|
||||
### Changed
|
||||
- more robust preview generator, fallback to mimetype icon when showPreview throws exception
|
||||
|
||||
## 0.8.0 - 2017-01-14
|
||||
### New
|
||||
- FictionBook 2 (.fb2) metadata parser
|
||||
- FB2 preview provider
|
||||
|
||||
## 0.7.3 - 2017-01-09
|
||||
### Fixed
|
||||
- XML error after deleting an epub file from Library
|
||||
- [#23](https://github.com/Yetangitu/owncloud-apps/issues/23)
|
||||
|
||||
## 0.7.2 - 2017-01-09
|
||||
### Changed
|
||||
- Modified info.xml, now with working screenshot url...
|
||||
|
||||
## 0.7.1 - 2017-01-09
|
||||
### Added
|
||||
- Modified info.xml, added screenshot
|
||||
|
||||
- First release
|
||||
## 0.7.0 - 2017-01-09
|
||||
### Changed
|
||||
- New logo
|
||||
- First release to be compatible with Nextcloud
|
||||
|
14
Makefile
14
Makefile
@ -19,9 +19,6 @@ build:
|
||||
ifneq (,$(wildcard $(CURDIR)/composer.json))
|
||||
make composer
|
||||
endif
|
||||
ifneq (,$(wildcard $(CURDIR)/package.json))
|
||||
make npm
|
||||
endif
|
||||
|
||||
# Installs and updates the composer dependencies. If composer is not installed
|
||||
# a copy is fetched from the web
|
||||
@ -37,12 +34,6 @@ else
|
||||
composer install --prefer-dist
|
||||
endif
|
||||
|
||||
# Installs npm dependencies
|
||||
.PHONY: npm
|
||||
npm:
|
||||
npm ci
|
||||
npm run build
|
||||
|
||||
# Removes the appstore build
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@ -83,14 +74,13 @@ source:
|
||||
appstore:
|
||||
rm -rf $(appstore_build_directory)
|
||||
mkdir -p $(appstore_build_directory)
|
||||
composer install --prefer-dist --no-dev
|
||||
tar -C .. -cvzf $(appstore_package_name).tar.gz \
|
||||
$(app_name)/appinfo \
|
||||
$(app_name)/css \
|
||||
$(app_name)/img \
|
||||
$(app_name)/js \
|
||||
$(app_name)/l10n \
|
||||
$(app_name)/lib \
|
||||
$(app_name)/templates \
|
||||
$(app_name)/vendor \
|
||||
$(app_name)/CHANGELOG.md
|
||||
|
||||
# Start a nextcloud server on Docker to kickstart developement
|
||||
|
@ -99,8 +99,7 @@ class PageController extends Controller
|
||||
name: $this->user->getDisplayName()."'s Library",
|
||||
author: $this->user->getDisplayName(),
|
||||
iconUrl: $this->urlGenerator->getAbsoluteURL('/avatar/'.$this->user->getUID().'/512'),
|
||||
startUrl: $this->urlGenerator->linkToRouteAbsolute('opds_catalog.page.index'),
|
||||
searchUrl: $this->urlGenerator->linkToRouteAbsolute('opds_catalog.page.search')
|
||||
startUrl: $this->urlGenerator->linkToRouteAbsolute('opds_catalog.page.index')
|
||||
);
|
||||
|
||||
$opds = Opds::make($config)->feeds($feeds)->get();
|
||||
|
40
package.json
40
package.json
@ -1,40 +0,0 @@
|
||||
{
|
||||
"name": "opds_catalog",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"engines": {
|
||||
"node": "^20.0.0",
|
||||
"npm": "^10.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"dev": "vite --mode development build",
|
||||
"watch": "vite --mode development build --watch",
|
||||
"lint": "vue-tsc && eslint src",
|
||||
"lint:fix": "vue-tsc && eslint src --fix",
|
||||
"stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css",
|
||||
"stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix"
|
||||
},
|
||||
"type": "module",
|
||||
"browserslist": [
|
||||
"extends @nextcloud/browserslist-config"
|
||||
],
|
||||
"dependencies": {
|
||||
"@formatjs/intl-segmenter": "^11.7.9",
|
||||
"@nextcloud/vite-config": "^2.3.1",
|
||||
"@nextcloud/vue": "9.0.0-alpha.6",
|
||||
"vite": "^6.1.1",
|
||||
"vue": "^3.5.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextcloud/browserslist-config": "^3.0.1",
|
||||
"@nextcloud/eslint-config": "^8.4.2",
|
||||
"@nextcloud/prettier-config": "^1.1.0",
|
||||
"@nextcloud/stylelint-config": "^3.0.1",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-plugin-prettier": "^5.2.3",
|
||||
"typescript": "~5.5.4",
|
||||
"vue-tsc": "^2.2.2"
|
||||
},
|
||||
"prettier": "@nextcloud/prettier-config"
|
||||
}
|
26
src/App.vue
26
src/App.vue
@ -1,26 +0,0 @@
|
||||
<template>
|
||||
<NcAppContent>
|
||||
<div id="app_template">
|
||||
<h1>Hello world!</h1>
|
||||
</div>
|
||||
</NcAppContent>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { NcAppContent } from '@nextcloud/vue'
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
NcAppContent,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
#app_template {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 16px;
|
||||
}
|
||||
</style>
|
@ -1,6 +0,0 @@
|
||||
import '@formatjs/intl-segmenter/polyfill'
|
||||
import App from './App.vue'
|
||||
import { createApp } from 'vue'
|
||||
|
||||
const View = createApp(App)
|
||||
View.mount('#app_template')
|
@ -1,3 +0,0 @@
|
||||
module.exports = {
|
||||
extends: 'stylelint-config-recommended-vue',
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
{
|
||||
"extends": "@vue/tsconfig",
|
||||
"include": ["./src/**/*.ts", "./src/**/*.vue", "**/*.ts"],
|
||||
"compilerOptions": {
|
||||
"allowImportingTsExtensions": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"target": "ESNext",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"noImplicitAny": false,
|
||||
"rootDir": ".",
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
import { join, resolve } from 'path'
|
||||
import { createAppConfig } from '@nextcloud/vite-config'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
const config = defineConfig({
|
||||
build: {
|
||||
sourcemap: false,
|
||||
},
|
||||
})
|
||||
|
||||
export default createAppConfig(
|
||||
{
|
||||
main: resolve(join('src', 'main.ts')),
|
||||
},
|
||||
{
|
||||
config,
|
||||
createEmptyCSSEntryPoints: true,
|
||||
thirdPartyLicense: false,
|
||||
},
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user