1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/lib
Laurent Cozic 34a99f738c linter
2020-12-28 17:26:15 +00:00
..
commands Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
components/shared Desktop: Add config screen to add, remove or enable, disable plugins 2020-11-19 12:34:49 +00:00
images All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
lib All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
locales Update translations 2020-12-05 16:36:47 -05:00
migrations All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
models Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
renderers All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
rnInjectedJs All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
services Desktop: Removed warning for Markdown editor spell checking 2020-12-23 23:19:35 +00:00
themes Desktop: Improved warning banner colors 2020-12-08 23:44:54 +00:00
vendor Tools: Replace Jasmine with Jest to run tests 2020-11-10 15:59:30 +00:00
.gitignore Desktop: Allow customising application layout 2020-11-13 17:09:28 +00:00
ArrayUtils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
AsyncActionQueue.ts Added no-floating-promises eslint rule 2020-11-25 14:40:25 +00:00
BaseApplication.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
BaseModel.ts All: Fix sorting by title in a case insensitive way 2020-11-27 15:16:50 +00:00
BaseSyncTarget.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
Cache.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
ClipperServer.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
CssUtils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
database-driver-node.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
database.js All: Added global logger 2020-11-19 15:25:02 +00:00
DropboxApi.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
dummy.test.ts Tools: Cleaned up tests and splitted sync tests into smaller parts 2020-12-01 18:05:24 +00:00
envFromArgs.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
errorUtils.ts Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
EventDispatcher.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
eventManager.ts Plugins: Improved note change event handling. Also added tests and improved debugging plugins. 2020-12-01 14:08:41 +00:00
file-api-driver-amazon-s3.js Mobile: Fixes #3601: Fix uploading resource files to S3 with RN (#4127) 2020-11-29 17:29:46 +00:00
file-api-driver-dropbox.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
file-api-driver-joplinServer.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
file-api-driver-local.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
file-api-driver-memory.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
file-api-driver-onedrive.js Tools: Fixed OneDrive test units 2020-12-16 11:19:35 +00:00
file-api-driver-webdav.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
file-api.js Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
folders-screen-utils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
fs-driver-base.ts Desktop: Fixed issue with attachment paths being invalid when user has spaces in home directory path. Also fixed race condition in test units that could make them randomly fail. 2020-12-09 12:53:47 +00:00
fs-driver-dummy.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
fs-driver-node.ts Desktop: Fixed issue with attachment paths being invalid when user has spaces in home directory path. Also fixed race condition in test units that could make them randomly fail. 2020-12-09 12:53:47 +00:00
geolocation-node.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
HtmlToMd.js Clipper: Fixes #4105: Handle certain types of code block 2020-12-02 15:43:44 +00:00
htmlUtils.js Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
import-enex-html-gen.js Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
import-enex-md-gen.js Desktop: Fix issue when importing ENEX file that contains invalid list elements 2020-12-28 14:29:02 +00:00
import-enex.js Desktop, Cli: Improved error handling when importing ENEX files 2020-12-23 17:25:26 +00:00
InMemoryCache.ts Tools: Apply rule @typescript-eslint/member-delimiter-style 2020-11-12 19:29:22 +00:00
jest.config.js Plugins: Improved note change event handling. Also added tests and improved debugging plugins. 2020-12-01 14:08:41 +00:00
joplin-database.js Android: Disable long press on images as it interferes with zoom in and out 2020-12-18 13:37:36 +00:00
JoplinError.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
JoplinServerApi2.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
JoplinServerApi.ts Tools: Apply rule @typescript-eslint/member-delimiter-style 2020-11-12 19:29:22 +00:00
locale.ts Desktop: Fixes #4146: Prevents crash when invalid spell checker language is selected, and provide fallback for invalid language codes 2020-11-27 12:21:34 +00:00
Logger.ts linter 2020-12-28 17:26:15 +00:00
markdownUtils.ts Tools: Apply rule @typescript-eslint/member-delimiter-style 2020-11-12 19:29:22 +00:00
markJsUtils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
markupLanguageUtils.ts Desktop: Use plugins whenever printing or exporting notes 2020-12-19 17:42:18 +00:00
mime-utils-types.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
mime-utils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
ModelCache.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
net-utils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
ntpDate.ts Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
ObjectUtils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
onedrive-api-node-utils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
onedrive-api.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
package-lock.json Releasing sub-packages 2020-12-26 00:45:11 +00:00
package.json Releasing sub-packages 2020-12-26 00:45:11 +00:00
parameters.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
parseUri.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
path-utils.ts Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
PoorManIntervals.ts Tools: Apply rule @typescript-eslint/member-delimiter-style 2020-11-12 19:29:22 +00:00
promise-utils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
randomClipperPort.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
react-logger.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
README.md Tools: Renamed package namespace from @joplinapp to @joplin 2020-11-07 15:59:37 +00:00
reducer.ts All: Refresh sidebar and notes when moving note outside of conflict folder 2020-11-19 16:21:24 +00:00
registry.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
reserved-ids.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
resourceUtils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
shim-init-node.js Chore: Fixed mobile build 2020-12-20 07:52:28 +00:00
shim.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
string-utils-common.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
string-utils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
Synchronizer.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
SyncTargetAmazonS3.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetDropbox.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetFilesystem.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetJoplinServer.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
SyncTargetMemory.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetNextcloud.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetOneDrive.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetOneDriveDev.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetRegistry.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
SyncTargetWebDAV.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
TaskQueue.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
TemplateUtils.js Desktop: add {{bowm}} and {{bows}} - Beginning Of Week (Monday/Sunday) (#4023) 2020-11-12 18:41:37 +00:00
theme.ts Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
time.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
tsconfig.json Plugins: Add support for editor context menu 2020-11-14 00:02:17 +00:00
urlUtils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
uuid.ts Server: Add Joplin Server package (#1872) 2020-12-28 11:48:47 +00:00
versionInfo.ts Tools: Apply rule @typescript-eslint/type-annotation-spacing 2020-11-12 19:13:28 +00:00
WebDavApi.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
welcomeAssets.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00
WelcomeUtils.js All: Use Lerna to manage monorepo 2020-11-05 16:58:23 +00:00

@joplin/lib

Library shared between all applications.

  • It should not have dependencies to any other @joplin package to avoid dependency cycles.
  • Binary packages should be passed via dependency injection from the parent packages, for example like it is done in shim-init-node. This is because each app might need to compile the binary package in a specific way, so doing it from /lib would cause issues.
  • It should not include the react or react-native packages because React in particular breaks when there's more than one instance of it in node_modules. React is passed via dependency injections so that some hooks can be shared.