mirror of
https://github.com/standardnotes/mobile.git
synced 2026-02-02 12:01:33 -05:00
* feat: offline editors (#392) * feat: add react-native-zip-archive dependency * feat: download and extract offline editors * feat: use offline editor path as webview source * fix: change function name * fix: move deactivate editor to compose unmount * fix: add origin whitelist * fix: add read access url * fix: increase load end timeout to remove theme load flicker * fix: set online url on getOfflineEditor error * fix: set editor width and scale * fix: add timeout to remove download message flicker * fix: deactivate component when switching editors * fix: use online url if process is terminated * fix: check if component mounted before state update * fix: decrease loading editor message timeout * feat: remove editor loading message on ThemesActivated action (#415) * chore(version-snjs): 2.0.76 * feat: remove loading editor message on ActivateThemes action * fix: offline editors issues (#416) * fix: read main from package.json * fix: reload editor when switching after editor load failure * fix: check offlineOnly before setting online url * fix: prevent editor download if another download is in progress * fix: live item deinit called more than once (#423) * feat: check for and download editor updates * fix: access denied webview errors on Android 10 * feat: serve offline editors from local static server (#472) * feat: serve offline editors from local static server * fix: use document directory for both OS * fix: download error handling * refactor: use forked repo for react-native-static-server * chore: add logs and temporarily enable them for dev * feat(wip): integrity verification * refactor: component manager handling downloads * feat(wip): functional component viewer * feat: handle local themes * chore: disable logging * improve: use existing function * fix: root url first load * fix: types * chore: cleanup
37 lines
847 B
JSON
37 lines
847 B
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"target": "esnext",
|
|
"module": "ESNext",
|
|
"lib": ["ESNext"],
|
|
"allowJs": true,
|
|
"jsx": "react-native",
|
|
"noEmit": true,
|
|
"isolatedModules": false,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
// "noImplicitAny": false,
|
|
"moduleResolution": "node",
|
|
"baseUrl": "src",
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"paths": {
|
|
"@Components/*": ["./components/*"],
|
|
"@Lib/*": ["./lib/*"],
|
|
"@Screens/*": ["./screens/*"],
|
|
"@Style/*": ["./style/*"],
|
|
"@Root/*": ["./*"]
|
|
},
|
|
"types": ["jest"],
|
|
"typeRoots": ["./src/types/*", "node_modules/@types"],
|
|
"resolveJsonModule": true
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"babel.config.js",
|
|
"metro.config.js",
|
|
"jest.config.js",
|
|
"types"
|
|
]
|
|
}
|