diff --git a/CHANGELOG.md b/CHANGELOG.md index 23af8ab..f963e89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## not released +## v1.4.0 (2024-01-25) + +feat: more information on settings page for users + ## v1.3.2 (2024-01-24) chore: Bump dependencies (follow-redirects, node-fetch and @joplin/lib, plus npm update) diff --git a/package-lock.json b/package-lock.json index 2f5e6bf..8313bfc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "joplin-plugin-attache", - "version": "1.3.2", + "version": "1.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "joplin-plugin-attache", - "version": "1.3.2", + "version": "1.4.0", "license": "GNU GPL3", "devDependencies": { "@joplin/lib": "~2.13", @@ -27,7 +27,7 @@ "typescript": "^4.8.2", "webpack": "^5.74.0", "webpack-cli": "^4.10.0", - "yargs": "^16.2.0" + "yargs": "^17.7.2" } }, "node_modules/@ampproject/remapping": { @@ -4676,14 +4676,17 @@ } }, "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "dependencies": { "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", + "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" } }, "node_modules/clone-deep": { @@ -7535,6 +7538,44 @@ } } }, + "node_modules/jest-cli/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/jest-cli/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-cli/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/jest-config": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-27.5.1.tgz", @@ -13088,21 +13129,21 @@ "dev": true }, "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dev": true, "dependencies": { - "cliui": "^7.0.2", + "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", - "string-width": "^4.2.0", + "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" + "yargs-parser": "^21.1.1" }, "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/yargs-parser": { @@ -13124,12 +13165,12 @@ } }, "node_modules/yargs/node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "engines": { - "node": ">=10" + "node": ">=12" } } } diff --git a/package.json b/package.json index 72e1cd7..ff1c741 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "joplin-plugin-attache", - "version": "1.3.2", + "version": "1.4.0", "scripts": { "dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive", "prepare": "npm run dist", @@ -42,7 +42,7 @@ "typescript": "^4.8.2", "webpack": "^5.74.0", "webpack-cli": "^4.10.0", - "yargs": "^16.2.0" + "yargs": "^17.7.2" }, "browser": { "fs": false diff --git a/src/manifest.json b/src/manifest.json index 325fcad..0cbe261 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 1, "id": "io.github.manuerwin.attache", "app_min_version": "2.13.13", - "version": "1.3.2", + "version": "1.4.0", "name": "Attaché", "description": "Your attachment updater. Mass replacement of Joplin attachments (resources) such as resized image files, current music playlists, and any other attachments you need to one-off or regularly update within Joplin.", "author": "Manu Erwin", diff --git a/src/replaceResourcesSetup.ts b/src/replaceResourcesSetup.ts index d16e13c..67f9a89 100644 --- a/src/replaceResourcesSetup.ts +++ b/src/replaceResourcesSetup.ts @@ -10,7 +10,7 @@ export async function registerSettings(): Promise { await joplin.settings.registerSection("AttachéSection", { label: "Attaché", iconName: "fas fa-exchange-alt", - description: "RESTART JOPLIN AFTER CHANGING THESE SETTINGS!", + description: "See https://github.com/manuerwin/joplin-plugin-attache for documentation. RESTART JOPLIN AFTER CHANGING THESE SETTINGS!", }); await joplin.settings.registerSettings({ @@ -20,7 +20,7 @@ export async function registerSettings(): Promise { subType: SettingItemSubType.DirectoryPath, section: "AttachéSection", public: true, - label: "Choose the location of files that will replace your resources.", + label: "Choose the location of files that will replace your resources. (REQUIRED)", }, }); @@ -30,7 +30,7 @@ export async function registerSettings(): Promise { type: SettingItemType.Bool, section: "AttachéSection", public: true, - label: "Run on start and after sync", + label: "Run on start and after sync (OPTIONAL)", description: "If checked true, Attaché will run immediately after Joplin starts and after each synchronisation. The default value is unchecked (false).", },