1
0
mirror of https://github.com/vrtmrz/obsidian-livesync.git synced 2025-02-01 19:14:29 +02:00
obsidian-livesync/package.json

81 lines
3.1 KiB
JSON
Raw Normal View History

2021-10-12 23:50:13 +09:00
{
2021-10-15 01:34:03 +09:00
"name": "obsidian-livesync",
2024-11-11 01:22:40 +00:00
"version": "0.24.1",
"description": "Reflect your vault changes to some other devices immediately. Please make sure to disable other synchronize solutions to avoid content corruption or duplication.",
2021-10-12 23:50:13 +09:00
"main": "main.js",
"type": "module",
2021-10-12 23:50:13 +09:00
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "node esbuild.config.mjs production",
"buildDev": "node esbuild.config.mjs dev",
2024-10-16 12:44:07 +01:00
"lint": "eslint src",
"svelte-check": "svelte-check --tsconfig ./tsconfig.json",
"tsc-check": "tsc --noEmit",
chore(format): adds prettier and commands to run it ... including ci/cd check-only commands. The code is quite complex and missing a lot of dev-ops types checks and standards. One of the key problems with codebases like this is on-boarding new developers to the codebase (like myself). When there is a consistent and enforced coding-style (irrespective of what the coding style is) it makes it _significantly_ easier for collaborators and maintainers to get on with the job in hand. It also, from a day-2-day developer perspective, significantly reduces cognitive overhead re reading code. Finally this is a "trial balloon" PR, if this patch is accepted I will likely do more work on testing and docs for the project. - The new prettier config is a non-standard setup, but a close-match to how the code _currently_ looks. - 120 col-width print width (instead of the better and more information-dense 88), this is so the diff after applying prettier to the code is less disruptive, whilst still showing the benefits of using a prettier. - We use `tabWidth` setting of 4 as the code uses that more common setting instead of the more compact 2 spaces - note that 2 often leads to more readable and compact code. - We enforce trailing commas, as that seems to be the norm in this code-base. We choose the `es5` standard here. - We enforce tailing semi-colons (`semi`) as the majority of code used that flavour of `js`/`ts`. - For now we only run on code and not json files. This is designed such that `npm run pretty` re-formats the code for development, and when integrated with ci/cd, `prettyCheck` will return non-zero exit codes when formatting doesn't match the coding standards.
2024-11-11 06:45:24 +00:00
"pretty": "npm run prettyNoWrite -- --write --log-level error",
"prettyCheck": "npm run prettyNoWrite -- --check",
"prettyNoWrite": "prettier --config ./.prettierrc \"**/*.js\" \"**/*.ts\" \"**/*.json\" ",
2024-10-16 12:44:07 +01:00
"check": "npm run lint && npm run svelte-check && npm run tsc-check"
2021-10-12 23:50:13 +09:00
},
"keywords": [],
2021-10-15 01:34:03 +09:00
"author": "vorotamoroz",
2021-10-12 23:50:13 +09:00
"license": "MIT",
"devDependencies": {
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"@chialab/esbuild-plugin-worker": "^0.18.1",
"@tsconfig/svelte": "^5.0.4",
2024-03-15 10:35:41 +01:00
"@types/diff-match-patch": "^1.0.36",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"@types/node": "^22.5.4",
2024-03-15 10:35:41 +01:00
"@types/pouchdb": "^6.4.2",
"@types/pouchdb-adapter-http": "^6.1.6",
"@types/pouchdb-adapter-idb": "^6.1.7",
"@types/pouchdb-browser": "^6.1.5",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"@types/pouchdb-core": "^7.0.15",
2024-03-15 10:35:41 +01:00
"@types/pouchdb-mapreduce": "^6.1.10",
"@types/pouchdb-replication": "^6.4.7",
"@types/transform-pouch": "^1.0.6",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"builtin-modules": "^4.0.0",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"esbuild": "0.23.1",
"esbuild-svelte": "^0.8.1",
2024-03-15 10:35:41 +01:00
"eslint": "^8.57.0",
2022-11-23 10:27:12 +09:00
"eslint-config-airbnb-base": "^15.0.0",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"eslint-plugin-import": "^2.30.0",
"events": "^3.3.0",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"obsidian": "^1.6.6",
"postcss": "^8.4.45",
"postcss-load-config": "^6.0.1",
"pouchdb-adapter-http": "^9.0.0",
"pouchdb-adapter-idb": "^9.0.0",
"pouchdb-adapter-indexeddb": "^9.0.0",
"pouchdb-core": "^9.0.0",
"pouchdb-errors": "^9.0.0",
"pouchdb-find": "^9.0.0",
"pouchdb-mapreduce": "^9.0.0",
"pouchdb-merge": "^9.0.0",
"pouchdb-replication": "^9.0.0",
"pouchdb-utils": "^9.0.0",
chore(format): adds prettier and commands to run it ... including ci/cd check-only commands. The code is quite complex and missing a lot of dev-ops types checks and standards. One of the key problems with codebases like this is on-boarding new developers to the codebase (like myself). When there is a consistent and enforced coding-style (irrespective of what the coding style is) it makes it _significantly_ easier for collaborators and maintainers to get on with the job in hand. It also, from a day-2-day developer perspective, significantly reduces cognitive overhead re reading code. Finally this is a "trial balloon" PR, if this patch is accepted I will likely do more work on testing and docs for the project. - The new prettier config is a non-standard setup, but a close-match to how the code _currently_ looks. - 120 col-width print width (instead of the better and more information-dense 88), this is so the diff after applying prettier to the code is less disruptive, whilst still showing the benefits of using a prettier. - We use `tabWidth` setting of 4 as the code uses that more common setting instead of the more compact 2 spaces - note that 2 often leads to more readable and compact code. - We enforce trailing commas, as that seems to be the norm in this code-base. We choose the `es5` standard here. - We enforce tailing semi-colons (`semi`) as the majority of code used that flavour of `js`/`ts`. - For now we only run on code and not json files. This is designed such that `npm run pretty` re-formats the code for development, and when integrated with ci/cd, `prettyCheck` will return non-zero exit codes when formatting doesn't match the coding standards.
2024-11-11 06:45:24 +00:00
"prettier": "^3.3.3",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"svelte": "^4.2.19",
"svelte-preprocess": "^6.0.2",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"terser": "^5.31.6",
"transform-pouch": "^2.0.0",
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"tslib": "^2.7.0",
"typescript": "^5.5.4"
2021-10-14 19:27:08 +09:00
},
"dependencies": {
- 0.23.21: - New Features: - Case-insensitive file handling - Files can now be handled case-insensitively. - This behaviour can be modified in the settings under `Handle files as Case-Sensitive` (Default: Prompt, Enabled for previous behaviour). - Improved chunk revision fixing - Revisions for chunks can now be fixed for faster chunk creation. - This can be adjusted in the settings under `Compute revisions for chunks` (Default: Prompt, Enabled for previous behaviour). - Bulk chunk transfer - Chunks can now be transferred in bulk during uploads. - This feature is enabled by default through `Send chunks in bulk`. - Creation of missing chunks without - Missing chunks can be created without storing notes, enhancing efficiency for first synchronisation or after prolonged periods without synchronisation. - Improvements: - File status scanning on the startup - Quite significant performance improvements. - No more missing scans of some files. - Status in editor enhancements - Significant performance improvements in the status display within the editor. - Notifications for files that will not be synchronised will now be properly communicated. - Encryption and Decryption - These processes are now performed in background threads to ensure fast and stable transfers. - Verify and repair all files - Got faster through parallel checking. - Migration on update - Migration messages and wizards have become more helpful. - Behavioural changes: - Chunk size adjustments - Large chunks will no longer be created for older, stable files, addressing storage consumption issues. - Flag file automation - Confirmation will be shown and we can cancel it. - Fixed: - Database File Scanning - All files in the database will now be enumerated correctly. - Miscellaneous - Dependency updated. - Now, tree shaking is left to terser, from esbuild.
2024-09-07 01:43:21 +09:00
"@aws-sdk/client-s3": "^3.645.0",
"@smithy/fetch-http-handler": "^3.2.4",
"@smithy/protocol-http": "^4.1.0",
"@smithy/querystring-builder": "^3.0.3",
2021-10-15 17:58:42 +09:00
"diff-match-patch": "^1.0.5",
"esbuild-plugin-inline-worker": "^0.1.1",
"fflate": "^0.8.2",
2024-03-15 10:35:41 +01:00
"idb": "^8.0.0",
"minimatch": "^10.0.1",
"octagonal-wheels": "^0.1.15",
2024-10-16 12:44:07 +01:00
"svelte-check": "^4.0.4",
"xxhash-wasm": "0.4.2",
"xxhash-wasm-102": "npm:xxhash-wasm@^1.0.2"
2021-10-12 23:50:13 +09:00
}
2024-10-17 09:57:42 +01:00
}