1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/lib
renovate[bot] 487f01d2ec
Update dependency @types/node to v18.19.15 (#10421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-11 09:34:40 +01:00
..
commands
components Desktop: Resolves #4251: Refactor sidebar to better handle thousands of tags and notebooks (#10331) 2024-04-25 15:31:18 +01:00
countable
debug
hooks Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
images
lib
locales Update translations 2024-05-02 23:12:06 +01:00
migrations
models Doc: Fix plural of parenthesis (#10405) 2024-05-07 10:59:06 +01:00
renderers
rnInjectedJs
services Chore: Fix failing Dropbox sync test (#10408) 2024-05-07 17:29:23 +01:00
testing Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
themes Chore: Improve types for mobile and desktop themeStyle (#10297) 2024-04-11 08:35:20 +01:00
utils Doc: Fixed share notebook link 2024-04-27 21:20:59 +01:00
vendor
.gitignore
array.ts
ArrayUtils.test.js
ArrayUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
AsyncActionQueue.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
BaseApplication.ts All: Fixes #10189: After deleting the last note from the conflicts folder, the application state is invalid 2024-04-27 09:54:47 +01:00
BaseModel.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
BaseSyncTarget.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
Cache.js
callbackUrlUtils.test.ts
callbackUrlUtils.ts
ClipperServer.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
clipperUtils.ts
CssUtils.ts
database-driver-better-sqlite.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
database-driver-node.js
database.test.js
database.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
determineBaseAppDirs.ts
dom.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
downloadController.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
DropboxApi.js
envFromArgs.js
errors.ts Api: Add capability of limiting downloads (#9788) 2024-03-09 10:45:21 +00:00
errorUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
EventDispatcher.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
EventDispatcher.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
eventManager.test.js
eventManager.ts Mobile: Plugins: Fix event listener memory leak when disabling/uninstalling plugins (#10280) 2024-04-11 09:04:47 +01:00
file-api-driver-amazon-s3.js Chore: Add no-throw-literal and prefer-promise-reject-errors eslint rules (#10371) 2024-04-25 13:32:37 +01:00
file-api-driver-dropbox.js iOS 12.14.8 2024-05-08 14:57:03 +01:00
file-api-driver-joplinServer.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
file-api-driver-local.ts Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
file-api-driver-memory.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
file-api-driver-onedrive.js
file-api-driver-webdav.js
file-api-driver.test.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
file-api.test.ts
file-api.ts Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
folders-screen-utils.ts All: Fixes #10189: After deleting the last note from the conflicts folder, the application state is invalid 2024-04-27 09:54:47 +01:00
fs-driver-base.ts Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
fs-driver-dummy.js
fs-driver-node.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
fsDriver.test.ts Tools: Fix packages\lib\fsDriver.test.ts test file on Windows (#10053) 2024-03-05 18:08:47 +00:00
geolocation-node.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
HtmlToMd.ts Desktop: Fixes #5626: When web clipper clipping code blocks, keep code in multiline and delete code number lines (#10126) 2024-04-20 13:48:44 +01:00
htmlUtils2.test.ts
htmlUtils.test.ts Desktop: Fixes #9264: Preserve indentation from plain text when pasting on Rich Text Editor (#9828) 2024-03-02 15:43:38 +00:00
htmlUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
import-enex-html-gen.js Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
import-enex-html-gen.test.js
import-enex-md-gen.test.ts Deskop, Cli: Fixes #10125: ENEX does not import correctly when title of note matches the name of the attachment 2024-03-18 16:00:39 +00:00
import-enex-md-gen.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
import-enex.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
initLib.ts
InMemoryCache.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
InMemoryCache.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
jest.config.js
jest.setup.js Chore: Apply changes from mobile plugins to lib/ and app-desktop/ (#10079) 2024-03-09 11:03:57 +00:00
JoplinDatabase.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
JoplinError.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
JoplinServerApi.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
locale.test.ts Desktop: Fixes #10097: Fix OCR not working for certain languages 2024-03-18 12:16:17 +00:00
locale.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
makeDiscourseDebugUrl.test.ts
makeDiscourseDebugUrl.ts
markdownUtils2.test.ts
markdownUtils.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
markdownUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
markJsUtils.js
markupLanguageUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
mime-utils-types.js
mime-utils.js
mimeUtils.test.js
net-utils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
ntp.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
ObjectUtils.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
onedrive-api-node-utils.js
onedrive-api.test.ts
onedrive-api.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
package.json Update dependency @types/node to v18.19.15 (#10421) 2024-05-11 09:34:40 +01:00
parameters.js
parseUri.js
path-utils.ts
pathUtils.test.js
pluginCategories.json
PoorManIntervals.ts
randomClipperPort.js
react-logger.js
README.md
reducer.test.js
reducer.ts Chore: Desktop: Use stronger types in Sidebar.tsx (#10305) 2024-04-15 18:15:18 +01:00
registry.test.ts
registry.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
reserved-ids.js
resourceUtils.js
RotatingLogs.test.ts
RotatingLogs.ts
shim-init-node.ts Desktop: Fixes #10056: Fixed error when processing certain PDF files for OCR 2024-04-27 08:45:52 +01:00
shim.ts Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
string-utils-common.js
string-utils.test.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16:23 +00:00
string-utils.ts Desktop: Fixes #9264: Preserve indentation from plain text when pasting on Rich Text Editor (#9828) 2024-03-02 15:43:38 +00:00
Synchronizer.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
SyncTargetAmazonS3.js
SyncTargetDropbox.js
SyncTargetFilesystem.ts Chore: Migrate file system sync to TypeScript (#10361) 2024-04-25 13:31:48 +01:00
SyncTargetJoplinCloud.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
SyncTargetJoplinServer.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
SyncTargetMemory.js
SyncTargetNextcloud.js
SyncTargetNone.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
SyncTargetOneDrive.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
SyncTargetRegistry.ts Mobile: Support accepting Joplin Cloud shares (#10300) 2024-04-15 18:17:34 +01:00
SyncTargetWebDAV.js
TaskQueue.test.js
TaskQueue.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
theme.ts Chore: Improve types for mobile and desktop themeStyle (#10297) 2024-04-11 08:35:20 +01:00
time.ts Tools: Implement @typescript-eslint/no-explicit-any rule 2024-04-05 12:16:49 +01:00
timeUtils.test.js
tsconfig.json All: Resolves #483: Add trash folder (#9671) 2024-03-02 14:25:27 +00:00
types.ts Clipper: Fix process stopping because one resource can't be created (#10337) 2024-04-25 13:53:34 +01:00
urlUtils.js
urlUtils.test.js
uuid.ts
versionInfo.test.ts
versionInfo.ts Mobile: Support copying app information (#10336) 2024-04-25 13:53:46 +01:00
WebDavApi.js
welcomeAssets.js
WelcomeUtils.ts Chore: Implement cSpell to detect spelling mistakes in codebase (#10001) 2024-02-26 10:16: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.