Skip to content

Commit

Permalink
refactor: remove dev plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Nov 6, 2023
1 parent 4abe1d1 commit c1accfe
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 69 deletions.
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@
"@salesforce/cli-plugins-testkit": "^4.4.12",
"@salesforce/dev-scripts": "^6.0.3",
"@salesforce/plugin-command-reference": "^3.0.40",
"@salesforce/plugin-settings": "^1.4.37",
"@salesforce/plugin-source": "^2.10.30",
"@salesforce/plugin-templates": "^55.5.17",
"@salesforce/plugin-user": "^2.3.32",
"@salesforce/source-testkit": "^2.1.60",
"@salesforce/ts-sinon": "1.4.15",
"@salesforce/ts-types": "^2.0.8",
Expand Down Expand Up @@ -67,10 +64,7 @@
"@oclif/plugin-command-snapshot",
"@oclif/plugin-help",
"@salesforce/plugin-command-reference",
"@salesforce/plugin-settings",
"@salesforce/plugin-source",
"@salesforce/plugin-user",
"@salesforce/plugin-templates"
"@salesforce/plugin-source"
],
"topics": {
"project": {
Expand Down
1 change: 1 addition & 0 deletions test/nuts/delete/source.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ describe('project delete source NUTs', () => {
const pathToClass = path.join(testkit.projectDir, output, `${apexName}.cls`);
execCmd(`force:apex:class:create --classname ${apexName} --outputdir ${output} --api-version 58.0`, {
ensureExitCode: 0,
cli: 'sf',
});
execCmd(`force:source:deploy -m ApexClass:${apexName}`, { ensureExitCode: 0 });
return { apexName, output, pathToClass };
Expand Down
1 change: 1 addition & 0 deletions test/nuts/destructive/destructiveChanges.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ describe('project deploy start --destructive NUTs', () => {
const pathToClass = path.join(testkit.projectDir, output, `${apexName}.cls`);
execCmd(`force:apex:class:create --classname ${apexName} --outputdir ${output} --api-version 58.0`, {
ensureExitCode: 0,
cli: 'sf',
});
execCmd(`project:deploy:start -m ApexClass:${apexName}`, { ensureExitCode: 0 });
return { apexName, output, pathToClass };
Expand Down
4 changes: 2 additions & 2 deletions test/nuts/tracking/forceIgnore.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('forceignore changes', () => {
});

execCmd(`force:apex:class:create -n IgnoreTest --outputdir ${classdir} --api-version 58.0`, {
cli: 'sfdx',
cli: 'sf',
ensureExitCode: 0,
});
originalForceIgnore = await fs.promises.readFile(path.join(session.project.dir, '.forceignore'), 'utf8');
Expand Down Expand Up @@ -106,7 +106,7 @@ describe('forceignore changes', () => {
await fs.promises.writeFile(path.join(session.project.dir, '.forceignore'), newForceIgnore);

// add a file in the local source
execCmd(`sfdx force:apex:class:create -n UnIgnoreTest --outputdir ${classdir} --api-version 58.0`, {
execCmd(`force:apex:class:create -n UnIgnoreTest --outputdir ${classdir} --api-version 58.0`, {
cwd: session.project.dir,
silent: true,
cli: 'sf',
Expand Down
69 changes: 9 additions & 60 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@
strip-ansi "6.0.1"
ts-retry-promise "^0.7.1"

"@salesforce/core@^5.2.0", "@salesforce/core@^5.2.6", "@salesforce/core@^5.3.1", "@salesforce/core@^5.3.10", "@salesforce/core@^5.3.14", "@salesforce/core@^5.3.16":
"@salesforce/core@^5.2.0", "@salesforce/core@^5.3.1", "@salesforce/core@^5.3.10", "@salesforce/core@^5.3.14", "@salesforce/core@^5.3.16":
version "5.3.17"
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-5.3.17.tgz#fe7e5b89bdfffc9c1634e0371fab6115b23fe312"
integrity sha512-3BYdpRwQrtaTNHINk+NSrXwlr0xZjKSkJWhMeryjGyTGf9YPRu1JNawl6PPbEpGCQp2y+NLUdp6vMy64jwIDBg==
Expand Down Expand Up @@ -1038,17 +1038,6 @@
handlebars "^4.7.8"
tslib "^2"

"@salesforce/plugin-settings@^1.4.37":
version "1.4.37"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-settings/-/plugin-settings-1.4.37.tgz#7097f3a94a479c25c661d71654f8f2fd005648a4"
integrity sha512-tj2M2Xrb9eK8UylcJHROKxXyVN8it5EDHsgcI4dqk74fNgA1l63jKQ190kilm3/TvjyoyqR5FWDbPmokVpAaBQ==
dependencies:
"@oclif/core" "^2.15.0"
"@salesforce/core" "^5.3.14"
"@salesforce/sf-plugins-core" "^3.1.25"
fast-levenshtein "^3.0.0"
tslib "^2"

"@salesforce/plugin-source@^2.10.30":
version "2.10.30"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-source/-/plugin-source-2.10.30.tgz#c2ecbd108e595d9c3e80be6c1bd7a811d23bfabe"
Expand All @@ -1066,31 +1055,6 @@
proxy-agent "^6.3.0"
tslib "^2"

"@salesforce/plugin-templates@^55.5.17":
version "55.5.17"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-templates/-/plugin-templates-55.5.17.tgz#c290fb39611f2798433005f21a71b8144dcc2374"
integrity sha512-Jv44uswo3G9vm6gL5UvhLMnSXC/vPjVOWLQ3MWBxrh96T/7vrHny/4CXGT/BmPkVtbbvWyw1OVIuavyOzpbIHg==
dependencies:
"@oclif/core" "^2.15.0"
"@salesforce/core" "^5.3.10"
"@salesforce/sf-plugins-core" "^3.1.23"
"@salesforce/templates" "^59.0.1"
tslib "^2"
yeoman-environment "^3.19.3"
yeoman-generator "^5.10.0"

"@salesforce/plugin-user@^2.3.32":
version "2.3.32"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-user/-/plugin-user-2.3.32.tgz#5087126b232cf7e07944cb8b53ebcf492683e58b"
integrity sha512-Msljq9lATskNYzVZsHrxBDzSLOiju9Khtbw7irlfdDrpCRV0K9aViyLDZC6HcV5rfWkeW4T8dSnvnqLNp6EMRg==
dependencies:
"@oclif/core" "^2.15.0"
"@salesforce/core" "^5.2.6"
"@salesforce/kit" "^3.0.9"
"@salesforce/sf-plugins-core" "^3.1.20"
"@salesforce/ts-types" "^2.0.7"
tslib "^2"

"@salesforce/prettier-config@^0.0.3":
version "0.0.3"
resolved "https://registry.yarnpkg.com/@salesforce/prettier-config/-/prettier-config-0.0.3.tgz#ba648d4886bb38adabe073dbea0b3a91b3753bb0"
Expand All @@ -1101,7 +1065,7 @@
resolved "https://registry.yarnpkg.com/@salesforce/schemas/-/schemas-1.6.1.tgz#7d1c071e1e509ca9d2d8a6e48ac7447dd67a534d"
integrity sha512-eVy947ZMxCJReKJdgfddUIsBIbPTa/i8RwQGwxq4/ss38H5sLOAeSTaun9V7HpJ1hkpDznWKfgzYvjsst9K6ig==

"@salesforce/sf-plugins-core@^3.1.14", "@salesforce/sf-plugins-core@^3.1.20", "@salesforce/sf-plugins-core@^3.1.22", "@salesforce/sf-plugins-core@^3.1.23", "@salesforce/sf-plugins-core@^3.1.25", "@salesforce/sf-plugins-core@^3.1.28":
"@salesforce/sf-plugins-core@^3.1.14", "@salesforce/sf-plugins-core@^3.1.22", "@salesforce/sf-plugins-core@^3.1.28":
version "3.1.28"
resolved "https://registry.yarnpkg.com/@salesforce/sf-plugins-core/-/sf-plugins-core-3.1.28.tgz#7714c5b1ce26052bb5cbc524c5990bc52eb601cd"
integrity sha512-Z1fVS/pqLCX/3ESrjvtzyuvDFwXu8qxjqs5Gana0J7RKkhDL0f7w+pz3DR1/YfQPeHK8rk9pFDOKB3tOnXf9Lw==
Expand Down Expand Up @@ -1161,21 +1125,6 @@
isomorphic-git "1.23.0"
ts-retry-promise "^0.7.0"

"@salesforce/templates@^59.0.1":
version "59.0.1"
resolved "https://registry.yarnpkg.com/@salesforce/templates/-/templates-59.0.1.tgz#19e15bb1297f7785beafeb7bf9ffe899973bcd60"
integrity sha512-atu1rMpQ0RJdY/EhAvGlk65gweSgTpaq+YoJA5aLc2VX7lBqcUJVWQPLK6cNYheuzl3b9voqTrpopHkM2vBOEw==
dependencies:
"@salesforce/core" "^5.2.0"
"@salesforce/kit" "^3.0.9"
got "^11.8.2"
mime-types "^2.1.27"
proxy-agent "^6.2.1"
tar "^6.1.13"
tslib "^1"
yeoman-environment "^3.9.1"
yeoman-generator "^5.6.1"

"@salesforce/[email protected]":
version "1.4.15"
resolved "https://registry.yarnpkg.com/@salesforce/ts-sinon/-/ts-sinon-1.4.15.tgz#6214b73fc53fe0ee2583bbd87d4b4217e557279d"
Expand Down Expand Up @@ -4112,7 +4061,7 @@ gopd@^1.0.1:
dependencies:
get-intrinsic "^1.1.3"

got@^11, got@^11.8.2, got@^11.8.6:
got@^11, got@^11.8.6:
version "11.8.6"
resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a"
integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==
Expand Down Expand Up @@ -5525,7 +5474,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==

mime-types@^2.1.12, mime-types@^2.1.27:
mime-types@^2.1.12:
version "2.1.35"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
Expand Down Expand Up @@ -6772,7 +6721,7 @@ proper-lockfile@^4.1.2:
retry "^0.12.0"
signal-exit "^3.0.2"

proxy-agent@^6.2.1, proxy-agent@^6.3.0, proxy-agent@^6.3.1:
proxy-agent@^6.3.0, proxy-agent@^6.3.1:
version "6.3.1"
resolved "https://registry.yarnpkg.com/proxy-agent/-/proxy-agent-6.3.1.tgz#40e7b230552cf44fd23ffaf7c59024b692612687"
integrity sha512-Rb5RVBy1iyqOtNl15Cw/llpeLH8bsb37gM1FUfKQ+Wck6xHlbAhWGUFiTRHtkjqGTA5pSHz6+0hrPW/oECihPQ==
Expand Down Expand Up @@ -7770,7 +7719,7 @@ tar-stream@^2.2.0:
inherits "^2.0.3"
readable-stream "^3.1.1"

tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.13, tar@^6.1.2:
tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2:
version "6.1.15"
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.15.tgz#c9738b0b98845a3b344d334b8fa3041aaba53a69"
integrity sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==
Expand Down Expand Up @@ -7926,7 +7875,7 @@ tsconfig-paths@^3.14.2:
minimist "^1.2.6"
strip-bom "^3.0.0"

tslib@^1, tslib@^1.8.1, tslib@^1.9.0:
tslib@^1.8.1, tslib@^1.9.0:
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
Expand Down Expand Up @@ -8584,7 +8533,7 @@ yargs@^17.0.0, yargs@^17.3.1:
y18n "^5.0.5"
yargs-parser "^21.1.1"

yeoman-environment@^3.15.1, yeoman-environment@^3.19.3, yeoman-environment@^3.9.1:
yeoman-environment@^3.15.1:
version "3.19.3"
resolved "https://registry.yarnpkg.com/yeoman-environment/-/yeoman-environment-3.19.3.tgz#49c2339805fdf695fac42c88334a1daa94ee8b6c"
integrity sha512-/+ODrTUHtlDPRH9qIC0JREH8+7nsRcjDl3Bxn2Xo/rvAaVvixH5275jHwg0C85g4QsF4P6M2ojfScPPAl+pLAg==
Expand Down Expand Up @@ -8627,7 +8576,7 @@ yeoman-environment@^3.15.1, yeoman-environment@^3.19.3, yeoman-environment@^3.9.
textextensions "^5.12.0"
untildify "^4.0.0"

yeoman-generator@^5.10.0, yeoman-generator@^5.6.1, yeoman-generator@^5.8.0:
yeoman-generator@^5.8.0:
version "5.10.0"
resolved "https://registry.yarnpkg.com/yeoman-generator/-/yeoman-generator-5.10.0.tgz#0dde5be9d815b01f77a7e77ee6f9047edcbeca04"
integrity sha512-iDUKykV7L4nDNzeYSedRmSeJ5eMYFucnKDi6KN1WNASXErgPepKqsQw55TgXPHnmpcyOh2Dd/LAZkyc+f0qaAw==
Expand Down

0 comments on commit c1accfe

Please sign in to comment.