1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-21 09:38:01 +02:00
joplin/packages/lib
renovate[bot] 72a8724a5b
Update dependency follow-redirects to v1.15.4 (#9770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 13:04:22 +00:00
..
commands Chore: Make buildScriptIndexes generates code that passes linter 2024-01-05 09:46:53 +00:00
components Chore: Refactor sidebar utilities to TypeScript 2024-01-09 16:25:13 +00:00
countable
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-12-30 21:12:31 +01:00
migrations Chore: Moved search files from "searchengine" namespace to just "search" 2024-01-05 14:15:47 +00:00
models Desktop: Moved crash report auto-upload option under pre-release option 2024-01-20 11:47:02 +00:00
renderers
rnInjectedJs
services Plugins: Add support for promo_tile manifest key 2024-01-22 17:16:27 +00:00
testing Fix tests 2024-01-05 18:16:09 +00:00
themes
utils Doc: Improve Plans page documentation 2024-01-10 12:11:28 +00:00
vendor
.gitignore Desktop: Add support for OCR (#8975) 2023-12-13 19:24:58 +00:00
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: Convert CLI app class to TS 2024-01-22 17:16:26 +00:00
BaseModel.ts Chore: Refactor folder related functions to TypeScript 2024-01-06 17:21:51 +00:00
BaseSyncTarget.ts Chore: Refactor sync target code to allow labels and descriptions to be translated 2023-12-23 14:19:06 +00: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: Webclipper: Migrate build system to Webpack 5 (#9670) 2024-01-06 12:15:10 +00:00
CssUtils.ts
database-driver-better-sqlite.ts
database-driver-node.js
database.test.js
database.ts Desktop: Add support for OCR (#8975) 2023-12-13 19:24:58 +00: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 Desktop: Add support for OCR (#8975) 2023-12-13 19:24:58 +00: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: Add support for OCR (#8975) 2023-12-13 19:24:58 +00:00
file-api-driver-amazon-s3.js Desktop,Mobile,Cli: Fixes #8891: Fix AWS S3 sync error (#9696) 2024-01-11 21:22:42 +00:00
file-api-driver-dropbox.js All: Handle Dropbox payload_too_large error 2023-11-26 10:45:43 +01:00
file-api-driver-joplinServer.ts Chore: Fix sync issue with Joplin Server when DELTA_INCLUDES_ITEMS is disabled 2023-12-31 16:06:02 +00:00
file-api-driver-local.js
file-api-driver-memory.ts
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.test.ts Desktop, Cli, Mobile, Server: Optimise synchronisation by making delta call return whole items 2023-12-23 13:13:50 +00:00
file-api.ts Desktop, Cli, Mobile, Server: Optimise synchronisation by making delta call return whole items 2023-12-23 13:13:50 +00:00
folders-screen-utils.ts Chore: Refactor folder related functions to TypeScript 2024-01-06 17:21:51 +00:00
fs-driver-base.ts Chore: Change the return type of shim.fsDriver() from any to FsDriverBase (#9460) 2023-12-06 19:24:00 +00: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: Resolves #9468: Add support for changing text colors in rich text editor (#9578) 2024-01-04 13:51:26 +00: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
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: Fix ENEX import issue 2024-01-08 10:51:46 +00:00
import-enex-md-gen.ts Desktop, Cli: Fix ENEX import issue 2024-01-08 10:51:46 +00:00
import-enex.ts Desktop, Cli: Fix ENEX import issue 2024-01-08 10:51:46 +00: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 Chore: Disable Jest console wrapper in tests 2023-12-15 18:34:21 +00:00
JoplinDatabase.ts Chore: Automatically build migration index 2024-01-04 17:18:57 +00: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 Desktop: Add support for OCR (#8975) 2023-12-13 19:24:58 +00:00
makeDiscourseDebugUrl.test.ts Desktop: Include more information when auto-generating import error report 2023-12-16 13:12:00 +00:00
makeDiscourseDebugUrl.ts Desktop: Include more information when auto-generating import error report 2023-12-16 13:12:00 +00:00
markdownUtils2.test.ts
markdownUtils.test.ts Desktop, Cli: Resolves #9596: Restore note links after importing an ENEX file 2023-12-26 11:59:26 +00:00
markdownUtils.ts Desktop, Cli: Resolves #9596: Restore note links after importing an ENEX file 2023-12-26 11:59:26 +00:00
markJsUtils.js Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
markupLanguageUtils.ts
mime-utils-types.js
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.test.ts Desktop,Mobile,Cli: Resolves #9706: Don't log OneDrive Authorization tokens (#9707) 2024-01-18 11:20:33 +00:00
onedrive-api.ts Desktop,Mobile,Cli: Resolves #9706: Don't log OneDrive Authorization tokens (#9707) 2024-01-18 11:20:33 +00:00
package.json Update dependency follow-redirects to v1.15.4 (#9770) 2024-01-23 13:04:22 +00:00
parameters.js
parseUri.js
path-utils.ts Chore: Refactor renderer package: Limit dependency on @joplin/lib and improve type safety (#9701) 2024-01-18 11:20:10 +00:00
pathUtils.test.js Chore: Refactor renderer package: Limit dependency on @joplin/lib and improve type safety (#9701) 2024-01-18 11:20:10 +00:00
pluginCategories.json
PoorManIntervals.ts Tools: Apply rule @typescript-eslint/ban-types 2023-06-30 10:30:29 +01:00
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 Chore: Moved search files from "searchengine" namespace to just "search" 2024-01-05 14:15:47 +00:00
registry.test.ts
registry.ts Mobile: Settings screen: Create separate pages for each screen (#8567) 2023-11-09 19:19:08 +00: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.ts Desktop, Cli: Fixes #9486: When importing a Markdown file that contains a link to an invalid image, import fails 2023-12-15 13:28:09 +00:00
shim.ts Desktop: Fixes #9045: Ubuntu: Fix window sometimes doesn't appear on startup (#9561) 2023-12-20 19:09:28 +00:00
string-utils-common.js
string-utils.js
StringUtils.test.js Tools: Apply rule github/array-foreach 2023-06-30 09:39:21 +01:00
Synchronizer.ts Chore: Fix sync issue with Joplin Server when DELTA_INCLUDES_ITEMS is disabled 2023-12-31 16:06:02 +00: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 Chore: Refactor sync target code to allow labels and descriptions to be translated 2023-12-23 14:19:06 +00:00
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 Desktop: Add support for OCR (#8975) 2023-12-13 19:24:58 +00: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
types.ts Chore: Add enums for ApplicationPlatform and ApplicationType (#9410) 2023-11-29 16:31:49 +01:00
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: Add function exports to lib/uuid module (#9560) 2023-12-20 19:05:59 +00:00
versionInfo.test.ts Tools: Enable eslint rule comma-dangle: always-multiline for functions 2023-08-23 18:28:00 +01:00
versionInfo.ts Desktop: Fixed import error report 2023-11-11 17:41:08 +00: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.