From c67cffc0d2969fcc2bf99ef9c14bfb995682bc95 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Fri, 5 Apr 2024 21:00:36 +0000 Subject: [PATCH] chore: updates from devScripts --- package.json | 2 +- src/commands/plugins/trust/verify.ts | 2 +- src/shared/installationVerification.ts | 4 ++-- yarn.lock | 18 +++++++++--------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index a69c052a..ad7eaf70 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@oclif/plugin-command-snapshot": "^5.1.4", "@salesforce/cli-plugins-testkit": "^5.1.13", - "@salesforce/dev-scripts": "^8.4.4", + "@salesforce/dev-scripts": "^8.5.0", "@salesforce/plugin-command-reference": "^3.0.71", "@salesforce/plugin-telemetry": "^2.3.8", "@salesforce/ts-sinon": "^1.4.18", diff --git a/src/commands/plugins/trust/verify.ts b/src/commands/plugins/trust/verify.ts index d723020d..bee6222c 100644 --- a/src/commands/plugins/trust/verify.ts +++ b/src/commands/plugins/trust/verify.ts @@ -18,7 +18,7 @@ import { setErrorName } from '../../../shared/errors.js'; Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-trust', 'verify'); -export interface VerifyResponse { +export type VerifyResponse = { message: string; verified: boolean; } diff --git a/src/shared/installationVerification.ts b/src/shared/installationVerification.ts index 8f143a62..70a1bd48 100644 --- a/src/shared/installationVerification.ts +++ b/src/shared/installationVerification.ts @@ -27,13 +27,13 @@ const ALLOW_LIST_FILENAME = 'unsignedPluginAllowList.json'; export const DEFAULT_REGISTRY = 'https://registry.npmjs.org/'; Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); -export interface ConfigContext { +export type ConfigContext = { configDir?: string; cacheDir?: string; dataDir?: string; cliRoot?: string; } -export interface Verifier { +export type Verifier = { verify(): Promise; isAllowListed(): Promise; } diff --git a/yarn.lock b/yarn.lock index 8a53bf08..308fbdbe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1765,10 +1765,10 @@ resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e" integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA== -"@salesforce/dev-scripts@^8.4.4": - version "8.4.4" - resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.4.4.tgz#13e25346a527865785566a32b059f5e813a9d954" - integrity sha512-XQ4B7cwINouoxqKNlcCTAnuMIe2jrB6VjcAL93Qns5MNQYYjjSV9kU7RkHck8Wvx2dCAL43iFp0oqpudz3bD5A== +"@salesforce/dev-scripts@^8.5.0": + version "8.5.0" + resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.5.0.tgz#b0b44ca595450328c6186968528d9c0ef06cd27e" + integrity sha512-vR+CB5VoQrNAqNTcu5GZ/l4I4Rxd5HkIj/qTxEzP1EYnIlgjrbcsQgaunSnTrttIEy/BD8epd6UWAT8yAItufg== dependencies: "@commitlint/cli" "^17.1.2" "@commitlint/config-conventional" "^17.8.1" @@ -1781,7 +1781,7 @@ chai "^4.3.10" chalk "^4.0.0" cosmiconfig "^8.3.6" - eslint-config-salesforce-typescript "^3.2.12" + eslint-config-salesforce-typescript "^3.3.0" husky "^7.0.4" linkinator "^6.0.4" mocha "^10.4.0" @@ -4315,10 +4315,10 @@ eslint-config-salesforce-license@^0.2.0: resolved "https://registry.yarnpkg.com/eslint-config-salesforce-license/-/eslint-config-salesforce-license-0.2.0.tgz#323193f1aa15dd33fbf108d25fc1210afc11065e" integrity sha512-DJdBvgj82Erum82YMe+YvG/o6ukna3UA++lRl0HSTldj0VlBl3Q8hzCp97nRXZHra6JH1I912yievZzklXDw6w== -eslint-config-salesforce-typescript@^3.2.12: - version "3.2.12" - resolved "https://registry.yarnpkg.com/eslint-config-salesforce-typescript/-/eslint-config-salesforce-typescript-3.2.12.tgz#be87ce5ab9a846ac577c1aa7441fc63c6a675d40" - integrity sha512-dCXU2V7DE8woGtfEZyxD9hSX3F+ZS/26nS6oG963I7/p9aeA1S6apPR1v3kV7o9VDR86ry1OIFbvK//1oDcz/w== +eslint-config-salesforce-typescript@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/eslint-config-salesforce-typescript/-/eslint-config-salesforce-typescript-3.3.0.tgz#308acead1909665a92e9d32895c592ec4c9ee87a" + integrity sha512-83+zp2Y2h9oz9D3UksjNGCw+xWD7ylIiAJZ58vUbBD10l8FRUMNyn+RDCKn0xCQz7xed5/LcmgUE4T7roe+HBw== dependencies: "@typescript-eslint/eslint-plugin" "^6.21.0" "@typescript-eslint/parser" "^6.21.0"