From e24f192ae682b19fdc8c4a2a8ca4f31e61aba1c6 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 4 Jun 2024 11:02:37 -0600 Subject: [PATCH 1/3] feat: enforce core v4 --- package.json | 2 +- utils/write-dependencies.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cb378d1b..e69db051 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@salesforce/dev-scripts", - "version": "9.1.2", + "version": "10.0.0", "description": "Standardize package.json scripts and config files for Salesforce projects.", "repository": "forcedotcom/dev-scripts", "bin": { diff --git a/utils/write-dependencies.js b/utils/write-dependencies.js index 8fdba396..80863318 100644 --- a/utils/write-dependencies.js +++ b/utils/write-dependencies.js @@ -14,11 +14,11 @@ const { resolveConfig } = require('./sf-config'); * But, if the target repo has the dep, we want to make sure it meets the minimum version. */ const nonPjsonDependencyMinimums = new Map([ - ['@salesforce/sf-plugins-core', '^9.0.0'], + ['@salesforce/sf-plugins-core', '^9.2.0'], ['@salesforce/core', '^7.0.1'], ['@salesforce/kit', '^3.1.0'], ['@salesforce/ts-types', '^2.0.9'], - ['@oclif/core', '^3.26.2'], + ['@oclif/core', '^4'], ['@salesforce/cli-plugins-testkit', '^5.2.0'], ['@salesforce/source-deploy-retrieve', '^11.0.0'], ['@salesforce/source-tracking', '^6.0.0'], From 95167779b2e36a4f77f98ce993b9a63f50dcab75 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 4 Jun 2024 13:09:23 -0600 Subject: [PATCH 2/3] chore: bump sf-plugins-core --- utils/write-dependencies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/write-dependencies.js b/utils/write-dependencies.js index 80863318..5938bc72 100644 --- a/utils/write-dependencies.js +++ b/utils/write-dependencies.js @@ -14,7 +14,7 @@ const { resolveConfig } = require('./sf-config'); * But, if the target repo has the dep, we want to make sure it meets the minimum version. */ const nonPjsonDependencyMinimums = new Map([ - ['@salesforce/sf-plugins-core', '^9.2.0'], + ['@salesforce/sf-plugins-core', '^10.0.0'], ['@salesforce/core', '^7.0.1'], ['@salesforce/kit', '^3.1.0'], ['@salesforce/ts-types', '^2.0.9'], From d2014d7577d0195682df2042d342c4e1bde71c4a Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 4 Jun 2024 13:17:07 -0600 Subject: [PATCH 3/3] chore: bump oclif --- utils/write-dependencies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/write-dependencies.js b/utils/write-dependencies.js index 5938bc72..46a5477d 100644 --- a/utils/write-dependencies.js +++ b/utils/write-dependencies.js @@ -26,7 +26,7 @@ const nonPjsonDependencyMinimums = new Map([ ['@oclif/plugin-command-snapshot', '^4.0.2'], ['eslint-plugin-sf-plugin', '^1.18.0'], ['@salesforce/telemetry', '^6.0.0'], - ['oclif', '^3.16.0'], + ['oclif', '^4'], ]); const getVersionNum = (ver) => (ver.startsWith('^') || ver.startsWith('~') ? ver.slice(1) : ver);