1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-06 08:36:52 +02:00
joplin/packages/lib
2021-01-22 17:41:11 +00:00
..
commands
components/shared Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
images
lib
locales
migrations Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
models Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
renderers
rnInjectedJs
services Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
themes
vendor
.gitignore
ArrayUtils.js
AsyncActionQueue.ts
BaseApplication.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
BaseModel.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
BaseSyncTarget.js Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
Cache.js
ClipperServer.js
CssUtils.js
database-driver-node.js
database.js
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 Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
folders-screen-utils.js Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
fs-driver-base.ts
fs-driver-dummy.js
fs-driver-node.ts
geolocation-node.js
HtmlToMd.js
htmlUtils.js
import-enex-html-gen.js
import-enex-md-gen.ts
import-enex.js Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
InMemoryCache.ts
jest.config.js
joplin-database.js Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
JoplinError.js
JoplinServerApi2.ts
JoplinServerApi.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
locale.ts
Logger.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
markdownUtils.ts
markJsUtils.js
markupLanguageUtils.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
mime-utils-types.js
mime-utils.js
net-utils.js
ntpDate.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
ObjectUtils.js
onedrive-api-node-utils.js
onedrive-api.ts
package-lock.json
package.json
parameters.js
parseUri.js
path-utils.ts
PoorManIntervals.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
promise-utils.js
randomClipperPort.js
react-logger.js
README.md
reducer.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
registry.js
reserved-ids.js
resourceUtils.js
shim-init-node.js Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
shim.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
string-utils-common.js
string-utils.js
Synchronizer.ts Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
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 Converted models and services to TypeScript 2021-01-22 17:41:11 +00:00
WebDavApi.js
welcomeAssets.js
WelcomeUtils.js Converted models and services to TypeScript 2021-01-22 17:41:11 +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.