1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00
joplin/packages/lib
2021-03-11 14:29:35 +00:00
..
commands
components/shared
images
lib
locales Update translations 2021-03-05 12:44:11 -05:00
migrations
models
renderers
rnInjectedJs
services Chore: Clean up unused fuzzy search code (#4593) 2021-03-10 22:27:45 +00:00
themes
vendor
.gitignore
ArrayUtils.js
AsyncActionQueue.ts
BaseApplication.ts Chore: Clean up unused fuzzy search code (#4593) 2021-03-10 22:27:45 +00:00
BaseModel.ts
BaseSyncTarget.js
BaseSyncTarget.ts
Cache.js
ClipperServer.js
CssUtils.js
database-driver-node.js
database.js
database.ts
DropboxApi.js
dummy.test.ts
envFromArgs.js
errorUtils.ts
EventDispatcher.js
eventManager.ts
file-api-driver-amazon-s3.js
file-api-driver-dropbox.js
file-api-driver-joplinServer.ts
file-api-driver-local.js
file-api-driver-memory.js
file-api-driver-onedrive.js
file-api-driver-webdav.js
file-api.js
file-api.ts
folders-screen-utils.js
fs-driver-base.ts
fs-driver-dummy.js
fs-driver-node.ts
geolocation-node.js
HtmlToMd.js
htmlUtils.ts
import-enex-html-gen.js
import-enex-md-gen.ts
import-enex.js
InMemoryCache.ts
jest.config.js
JoplinDatabase.ts Chore: Clean up unused fuzzy search code (#4593) 2021-03-10 22:27:45 +00:00
JoplinError.js
JoplinServerApi.ts
locale.ts
Logger.ts
markdownUtils.ts
markJsUtils.js
markupLanguageUtils.ts
mime-utils-types.js
mime-utils.js
net-utils.js
ntpDate.ts
ObjectUtils.js
onedrive-api-node-utils.js
onedrive-api.ts
package-lock.json
package.json
parameters.js
parseUri.js
path-utils.ts
PoorManIntervals.ts
promise-utils.js
randomClipperPort.js
react-logger.js
README.md
reducer.ts
registry.ts
reserved-ids.js
resourceUtils.js
shim-init-node.js Desktop: Set keep-alive on http(s) requests (#4625) 2021-03-11 14:29:35 +00:00
shim.ts
string-utils-common.js
string-utils.js
Synchronizer.ts
SyncTargetAmazonS3.js
SyncTargetDropbox.js
SyncTargetFilesystem.js
SyncTargetJoplinServer.ts
SyncTargetMemory.js
SyncTargetNextcloud.js
SyncTargetOneDrive.ts
SyncTargetRegistry.js
SyncTargetWebDAV.js
TaskQueue.js
TemplateUtils.js
theme.ts
time.ts
tsconfig.json
urlUtils.js
uuid.ts
versionInfo.ts
WebDavApi.js
welcomeAssets.js
WelcomeUtils.js

@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.