1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-12 08:54:00 +02:00
joplin/packages/lib
renovate[bot] 29931c05ad
Update dependency sharp to v0.32.3 (#8606)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 13:06:41 +00:00
..
commands Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +01:00
components Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
countable Desktop: Resolves #8083: Improved word count when em-dash is used 2023-06-05 18:35:34 +01:00
debug
hooks Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
images
lib
locales Update translations 2023-07-03 12:26:33 +01:00
migrations Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
models Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
renderers
rnInjectedJs
services Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
testing Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
themes
utils Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01: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 Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
BaseModel.ts Chore: Desktop: Update for share permissions (#8528) 2023-07-23 15:57:55 +01:00
BaseSyncTarget.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +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
CssUtils.ts
database-driver-better-sqlite.ts
database-driver-node.js
database.test.js
database.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
dom.ts
DropboxApi.js Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
dummy.test.ts
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: Add eslint rule @typescript-eslint/array-type 2023-06-30 09:16:08 +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
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 All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +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: Allow importing Evernote task lists (#8440) 2023-07-11 13:39:49 +01:00
import-enex-md-gen.ts Desktop, CLI: Allow importing Evernote task lists (#8440) 2023-07-11 13:39:49 +01:00
import-enex.ts Desktop, CLI: Allow importing Evernote task lists (#8440) 2023-07-11 13:39:49 +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 Desktop: Resolves #8080: Add support for plugin user data (#8312) 2023-06-13 18:06:16 +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 Desktop: Auto-detect locale on startup 2023-05-10 12:20:03 +01:00
locale.ts Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +01:00
markdownUtils2.test.ts
markdownUtils.test.ts
markdownUtils.ts Tools: Apply rule @typescript-eslint/ban-types 2023-06-30 10:30:29 +01:00
markJsUtils.js Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +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 sharp to v0.32.3 (#8606) 2023-08-03 13:06:41 +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 Tools: Apply eslint rule @typescript-eslint/no-inferrable-types with ignoreArguments=false 2023-06-30 09:11:26 +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.js Doc: Auto-update documentation 2023-07-14 18:17:39 +00:00
RotatingLogs.test.js Doc: Auto-update documentation 2023-07-14 18:17:39 +00:00
RotatingLogs.test.ts All: Resolves #5521: Rotating log files (#8376) 2023-07-14 14:24:25 +01:00
RotatingLogs.ts All: Resolves #5521: Rotating log files (#8376) 2023-07-14 14:24:25 +01:00
shim-init-node.js Tools: Implement "prefer-object-spread" eslint rule 2023-06-01 12:02:36 +01:00
shim.ts Desktop: Fixes #8256: Don't start window minimized in GNOME (#8441) 2023-07-10 11:59:09 +01: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 Update buildTools (#8596) 2023-08-01 15:38:59 +01:00
SyncTargetAmazonS3.js
SyncTargetDropbox.js
SyncTargetFilesystem.js
SyncTargetJoplinCloud.ts
SyncTargetJoplinServer.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
SyncTargetMemory.js
SyncTargetNextcloud.js
SyncTargetNone.ts
SyncTargetOneDrive.ts Tools: Apply prefer-regex-literals eslint rule 2023-07-03 17:15:19 +01:00
SyncTargetRegistry.ts
SyncTargetWebDAV.js
TaskQueue.test.js
TaskQueue.ts Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
theme.ts All: Add support for share permissions (#8491) 2023-07-16 17:42:42 +01:00
time.ts Update buildTools (#8596) 2023-08-01 15:38:59 +01:00
timeUtils.test.js
tsconfig.json
urlUtils.js
urlUtils.test.js
uuid.ts Chore: cleanup 2023-07-16 17:48:13 +01:00
versionInfo.test.ts Desktop: Fixed display of installed plugins in About box 2023-04-03 18:01:06 +02:00
versionInfo.ts Chore: Resolves #8360: Use @typescript-eslint/indent for TypeScript files (#8367) 2023-07-06 19:17:41 +01:00
WebDavApi.js Chore: Move Logger from lib to utils package 2023-07-27 16:08:11 +01:00
welcomeAssets.js Doc: Auto-update documentation 2023-07-26 18:16:56 +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.