1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-03 08:35:29 +02:00
joplin/packages/lib
renovate[bot] 7b2cf0e483
Update dependency @types/js-yaml to v4.0.8 (#9227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 11:43:28 +00:00
..
commands Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +01:00
components Mobile: Add support for drawing pictures (#7588) 2023-10-02 15:15:51 +01:00
countable Desktop: Resolves #8083: Improved word count when em-dash is used 2023-06-05 18:35:34 +01:00
debug
hooks Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
images
lib
locales Update translations 2023-10-12 15:26:55 +03:00
migrations Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
models Desktop: Allow attaching a file from the Markdown editor for HTML notes 2023-10-31 16:53:47 +00:00
renderers
rnInjectedJs
services Doc: Fixes #9216: Fixed several broken links 2023-11-05 17:59:36 +00:00
testing Desktop: Fixes #8661: Fix note editor blank after syncing an encrypted note with remote changes (#8666) 2023-08-18 09:31:45 +01:00
themes
utils Desktop: Resolves #8742: Prompt to restart in safe mode on renderer process hang/crash (#9153) 2023-10-31 15:05:28 +00:00
vendor
.gitignore
array.ts
ArrayUtils.test.js Tools: Apply rule github/array-foreach 2023-06-30 09:39:21 +01:00
ArrayUtils.ts
AsyncActionQueue.ts Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +01:00
BaseApplication.ts Desktop: Resolves #8742: Prompt to restart in safe mode on renderer process hang/crash (#9153) 2023-10-31 15:05:28 +00:00
BaseModel.ts Chore: Desktop: Update for share permissions (#8528) 2023-07-23 15:57:55 +01:00
BaseSyncTarget.ts Desktop: Resolves #8625: Show missing sync password warning and link to FAQ (#8644) 2023-08-14 18:12:49 +01:00
Cache.js
callbackUrlUtils.test.ts Desktop: Security: Prevent calling arbitrary commands via x-callback-url 2023-06-14 15:51:35 +01:00
callbackUrlUtils.ts Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
ClipperServer.ts Update buildTools (#8596) 2023-08-01 15:38:59 +01:00
clipperUtils.ts Chore: Export extractNoteFromHTML from notes services library (#9086) 2023-10-17 21:10:18 +01:00
CssUtils.ts
database-driver-better-sqlite.ts Tools: Add class member accessibility modifiers and converted rule @typescript-eslint/explicit-member-accessibility to an error 2023-03-06 14:22:37 +00:00
database-driver-node.js
database.test.js
database.ts Chore: All: Improve how migrations are handled 2023-10-21 15:53:17 +01:00
dom.ts Desktop: Refactor note list in preparation for plugin support (#8624) 2023-08-21 16:01:20 +01:00
DropboxApi.js Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
envFromArgs.js
errors.ts All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +01:00
errorUtils.ts
EventDispatcher.test.ts Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
EventDispatcher.ts Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
eventManager.test.js
eventManager.ts Desktop, mobile: Add support for Joplin Cloud email to note functionality (#8460) 2023-07-18 20:15:45 +01:00
file-api-driver-amazon-s3.js
file-api-driver-dropbox.js Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
file-api-driver-joplinServer.ts All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +01:00
file-api-driver-local.js
file-api-driver-memory.ts Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +01:00
file-api-driver-onedrive.js All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +01:00
file-api-driver-webdav.js
file-api-driver.test.ts
file-api.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
folders-screen-utils.js Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +01:00
fs-driver-base.ts Mobile: Fixes #9069: Fix writing UTF-8 data to a file replaces non-ASCII characters with ?s (#9076) 2023-10-22 11:51:31 +01:00
fs-driver-dummy.js
fs-driver-node.ts All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +01:00
fsDriver.test.ts
geolocation-node.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
HtmlToMd.ts Desktop: Fixes #8430: Make HTML <br/> tags convert to markdown compatible with the softbreaks setting (#8469) 2023-07-18 14:48:26 +01:00
htmlUtils2.test.ts
htmlUtils.test.ts Desktop: Fixes #8476: Text that is pasted in Rich Text editor had extra new lines 2023-07-27 14:48:41 +01:00
htmlUtils.ts Desktop: Fixes #8476: Text that is pasted in Rich Text editor had extra new lines 2023-07-27 14:48:41 +01:00
import-enex-html-gen.js Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +01:00
import-enex-html-gen.test.js Tools: Apply eslint rule multiline-comment-style with checkJSDoc option 2023-06-30 09:55:56 +01:00
import-enex-md-gen.test.ts Desktop, Cli: Fixes #8823: Ensure that ENEX resources with invalid filenames are imported correctly 2023-09-25 14:40:56 +01:00
import-enex-md-gen.ts All: Fixes #8699: Prevent application from being stuck when importing an invalid ENEX file 2023-09-14 22:06:25 +01:00
import-enex.ts Fixed tests 2023-09-25 16:26:50 +01:00
initLib.ts Chore: Trying to fix logger (#8610) 2023-08-04 10:57:54 +01:00
InMemoryCache.test.ts
InMemoryCache.ts Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +01:00
jest.config.js
jest.setup.js
JoplinDatabase.ts All: Allow modifying a resource metadata only when synchronising (#9114) 2023-10-24 10:46:33 +01:00
JoplinError.ts Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreProperties=false 2023-06-30 09:07:03 +01:00
JoplinServerApi.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
locale.test.ts All: Support for plural translations (#9033) 2023-10-11 10:17:46 +01:00
locale.ts All: Support for plural translations (#9033) 2023-10-11 10:17:46 +01:00
makeDiscourseDebugUrl.ts Desktop: Automatically create a bug report when import faild, and allow uploading it to the forum 2023-10-24 12:20:54 +01:00
markdownUtils2.test.ts
markdownUtils.test.ts
markdownUtils.ts Doc: Refactored documentation, split it into smaller articles, and added search (#9132) 2023-10-30 11:32:14 +00:00
markJsUtils.js Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
markupLanguageUtils.ts Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +01:00
mime-utils-types.js Desktop: Resolves #8175: Add support for AVIF image format 2023-06-05 18:23:41 +01:00
mime-utils.js
mimeUtils.test.js
net-utils.ts
ntp.ts Tools: Apply rule @typescript-eslint/ban-types 2023-06-30 10:30:29 +01:00
ObjectUtils.ts
onedrive-api-node-utils.js
onedrive-api.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
package.json Update dependency @types/js-yaml to v4.0.8 (#9227) 2023-11-07 11:43:28 +00:00
parameters.js
parseUri.js
path-utils.ts Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +01:00
pathUtils.test.js
pluginCategories.json
PoorManIntervals.ts Tools: Apply rule @typescript-eslint/ban-types 2023-06-30 10:30:29 +01:00
promise-utils.js
randomClipperPort.js
react-logger.js Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
README.md
reducer.test.js
reducer.ts Desktop, Mobile: Resolves #8021: Remember whether "All notes", a notebook or a tag was opened when re-opening the app 2023-09-24 20:21:58 +01:00
registry.test.ts
registry.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
reserved-ids.js
resourceUtils.js
RotatingLogs.test.ts All: Allow modifying a resource metadata only when synchronising (#9114) 2023-10-24 10:46:33 +01:00
RotatingLogs.ts Chore: Desktop: Fixes #8598 - Recent logs appear to be deleted (#8605) 2023-08-08 11:18:59 +01:00
shim-init-node.js Chore: Fixed attachFile method 2023-11-01 14:58:21 +00:00
shim.ts Chore: Improve isNode to be more inclusive (#9054) 2023-10-12 15:27:48 +03:00
string-utils-common.js
string-utils.js Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +01:00
StringUtils.test.js Tools: Apply rule github/array-foreach 2023-06-30 09:39:21 +01:00
Synchronizer.ts All: Allow modifying a resource metadata only when synchronising (#9114) 2023-10-24 10:46:33 +01:00
SyncTargetAmazonS3.js All: Enable ignoreTlsErrors and custom certificates for S3 sync (#8980) 2023-10-05 10:56:25 +01:00
SyncTargetDropbox.js
SyncTargetFilesystem.js
SyncTargetJoplinCloud.ts Desktop: Resolves #8625: Show missing sync password warning and link to FAQ (#8644) 2023-08-14 18:12:49 +01:00
SyncTargetJoplinServer.ts Desktop: Resolves #8625: Show missing sync password warning and link to FAQ (#8644) 2023-08-14 18:12:49 +01:00
SyncTargetMemory.js
SyncTargetNextcloud.js Desktop: Resolves #8625: Show missing sync password warning and link to FAQ (#8644) 2023-08-14 18:12:49 +01:00
SyncTargetNone.ts
SyncTargetOneDrive.ts Tools: Apply prefer-regex-literals eslint rule 2023-07-03 17:15:19 +01:00
SyncTargetRegistry.ts
SyncTargetWebDAV.js Desktop: Resolves #8625: Show missing sync password warning and link to FAQ (#8644) 2023-08-14 18:12:49 +01:00
TaskQueue.test.js
TaskQueue.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
theme.ts Desktop: Refactor note list in preparation for plugin support (#8624) 2023-08-21 16:01:20 +01:00
time.ts Update buildTools (#8596) 2023-08-01 15:38:59 +01:00
timeUtils.test.js
tsconfig.json
urlUtils.js Desktop: Fixes #8706: Pasting a resource in Rich Text editor breaks the resource link 2023-08-23 18:16:06 +01:00
urlUtils.test.js Desktop: Fixes #8706: Pasting a resource in Rich Text editor breaks the resource link 2023-08-23 18:16:06 +01:00
uuid.ts Chore: cleanup 2023-07-16 17:48:13 +01:00
versionInfo.test.ts Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
versionInfo.ts Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
WebDavApi.js iOS: Fixes #2153: Fix sync issue with Stackstorage 2023-09-14 12:47:25 +01:00
welcomeAssets.js Doc: Auto-update documentation 2023-10-31 11:47:05 +00:00
WelcomeUtils.ts Tools: Apply rule @typescript-eslint/ban-types 2023-06-30 10:30:29 +01: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.