0e5c4b8243
* remove AsyncStorage, disable hermes * init * update logic * update libs for plugins * move interface to types * refactor, add language type * small refactor of languages * getPlugin * update alias * collect plugin on launch * update interface Plugin * move lang to PluginItem * implement install plugins * fix plugins reference * fix fetching logic * fix empty list * refactor Browscreen * implement searchNovels * refactor plugin reducer * try to remove old sources * try to refactor * tabview with theme, remove rn-fetch-blob * update lib for plugin, temp fix for browse * try to replace source by plugin in db * many updates * update db * fix queries error * update db * update db * update History table * update db types * format table name * rename service * rename field * refactor interfaces * update constrait * update novel queries * update constrait * update novel and category queries * more flexible category * update library queris * create category trigger, add constraints * sync variables name with js rule :( * setup database 90% * updates queries * queries to add novel to lib * remove delete updates => delete download * minor * app work 20% * query default one time * createdb first * remove 90% sources * fix library queries * temporary fix * remove all source * remove old languages constant * update trigger * update types * refactor types, update trigger, refactor queries * at least can go to novel screen * update novel redux * can go to novel screen * remove generator * change sourceId to pluginId * can read chapter :( * minor fix * can use history screen * unique key in historyscreen * remove never use hook * at least can use reader * minor * fix download queries * fix history and chapterDrawer doenst need setNovel * fix last read * update click heart to follow novel * insertNovel * long press novels in library, * change default category by move up * update edit category, fix foreign constrait * loading before get novel done * fix categories were added. Dont know why trigger didnt work. So I decide to use normal queries * fix errors when edit infos * shorter init plugin * fix stats screen * minor fix for seekbar * set re-request, fix download chapter * hard fix:), maybe refactor it later * must use sum to count :D * update query * fix migrate screen * minor fix * fix migrate screen and global search display * minor * quick fix for update screen * update plugin props * lol :D * Backup work now. But need to install plugins * restore error backup * If get novel without chapters. Fetch it again * if all error novels are restored, remove error file * minor fix * remove never used packages. * Complete plugin feature. Bump to RN 0.69. I will write a changelog soon * fetchFile for app side * Fix: transparent bottem sheet, undefined index. hideNavigationBar causes transparent bottem sheet (still opening but invisible. Hope to find an actual fix later * newUpdateDialog without markdown * fix: Browse plugins behaviors * fix: reader screen crashs when plugin is not installed * Minor fix: undefined variables when updating * minor fix: fetchFile return base64 * only update newversion * fix: buildReleas succesfully but app crashes when opening. from: https://github.com/facebook/react-native/issues/34114 * fix: webview send correct body height * Refactor: remove HistoryTable. remove PluginStatus * Refactor: Migrate Update and History into Chapter. - remove nerver used hook: useChapter * fix: edit categories modal in novel screen * minor: LL date format * minor: remove html2text lib * minor: migrate inlibrary novel * Migrate novel and clean up * small fix for migrate function * Database Diagram * optimise: O(1) to determine if lastread is read * fix: position could be undefined * refactor: change prop name. postion.position -> postion.offsetY * fix filter * fix: missing param in parseChapterNumber * not a good fix, but it works xD * fix: Text trunct almost title, should find a better fix later. * enable feature: migrate from browse screen * add data-plugin-id tag * no `ghost` novel (which has no category) * minor fix: detele all novel categories when removing novel form lib * minor: deleteDownloadsSnackbar * edit warning * add chapter tag on preview * add id for plugin, novel, chapter. smaller padding * Use BottomSheetModal * implement cookies bypass * default language filter * change default user agent * shorter langue native name * missing NOVEL_ERROR * add filterInputs * correct spelling :) * add dayjs * minor: remove console.log * update site for pluginItem * update icon, * minor: remove unnecessary things
100 lines
3.3 KiB
JSON
100 lines
3.3 KiB
JSON
{
|
|
"name": "lnreader",
|
|
"version": "1.1.14",
|
|
"private": true,
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"ios": "react-native run-ios",
|
|
"start": "react-native start",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"prettier": "prettier --write \"./src/**/*.{js,jsx,ts,tsx}\"",
|
|
"buildRelease": "cd android && ./gradlew clean && ./gradlew assembleRelease",
|
|
"open": "open ./android/app/build/outputs/apk/release/",
|
|
"strings": "node scripts/stringTypes.cjs",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@gorhom/bottom-sheet": "^4.4.5",
|
|
"@react-native-community/clipboard": "^1.5.1",
|
|
"@react-native-community/slider": "4.2.3",
|
|
"@react-native-cookies/cookies": "^6.2.1",
|
|
"@react-native-picker/picker": "2.4.9",
|
|
"@react-navigation/drawer": "^6.0.1",
|
|
"@react-navigation/material-bottom-tabs": "^6.0.9",
|
|
"@react-navigation/native": "^6.0.6",
|
|
"@react-navigation/stack": "^6.0.11",
|
|
"@reduxjs/toolkit": "^1.7.2",
|
|
"@shopify/flash-list": "1.1.0",
|
|
"cheerio": "^1.0.0-rc.10",
|
|
"color": "^4.2.3",
|
|
"dayjs": "^1.11.4",
|
|
"expo": "^46.0.0",
|
|
"expo-document-picker": "~10.3.0",
|
|
"expo-file-system": "~14.1.0",
|
|
"expo-haptics": "~11.3.0",
|
|
"expo-keep-awake": "~10.2.0",
|
|
"expo-linear-gradient": "~11.4.0",
|
|
"expo-linking": "~3.2.4",
|
|
"expo-localization": "~13.1.0",
|
|
"expo-notifications": "~0.16.1",
|
|
"expo-sqlite": "~10.3.0",
|
|
"expo-web-browser": "~11.0.0",
|
|
"i18n-js": "^3.8.0",
|
|
"lodash-es": "^4.17.21",
|
|
"qs": "^6.10.3",
|
|
"react": "18.0.0",
|
|
"react-native": "^0.69.6",
|
|
"react-native-background-actions": "^2.6.5",
|
|
"react-native-device-info": "^8.4.7",
|
|
"react-native-easing-gradient": "^1.0.0",
|
|
"react-native-error-boundary": "^1.1.16",
|
|
"react-native-fast-image": "^8.5.11",
|
|
"react-native-fs": "^2.20.0",
|
|
"react-native-gesture-handler": "~2.5.0",
|
|
"react-native-lottie-splash-screen": "^1.0.1",
|
|
"react-native-mmkv": "2.5.1",
|
|
"react-native-pager-view": "^6.2.0",
|
|
"react-native-paper": "^5.2.0",
|
|
"react-native-reanimated": "~2.9.1",
|
|
"react-native-safe-area-context": "4.3.1",
|
|
"react-native-screens": "~3.15.0",
|
|
"react-native-shimmer-placeholder": "^2.0.9",
|
|
"react-native-tab-view": "^3.1.1",
|
|
"react-native-tts": "^4.1.0",
|
|
"react-native-vector-icons": "^9.0.0",
|
|
"react-native-webview": "11.23.0",
|
|
"react-redux": "^7.2.6",
|
|
"redux-persist": "^6.0.0",
|
|
"sanitize-html": "^2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.9",
|
|
"@react-native-community/eslint-config": "^3.0.1",
|
|
"@types/color": "^3.0.3",
|
|
"@types/i18n-js": "^3.8.2",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@types/react-native": "~0.69.1",
|
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
"@types/react-test-renderer": "^17.0.1",
|
|
"@types/sanitize-html": "^2.6.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-react-native": "^3.11.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^12.3.7",
|
|
"typescript": "^4.6.3"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^17"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --check"
|
|
]
|
|
}
|
|
}
|