Skip to content

Commit

Permalink
fix(deps): core5
Browse files Browse the repository at this point in the history
* fix(deps): core5

* fix: core5 from devDeps
  • Loading branch information
mshanemc authored Aug 8, 2023
1 parent 45730f5 commit 00096e0
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 558 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"main": "lib/index.js",
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
"@oclif/core": "^2.11.7",
"@salesforce/apex-node": "^1.6.2",
"@oclif/core": "^2.11.8",
"@salesforce/apex-node": "^2.1.0",
"@salesforce/core": "^5.2.0",
"@salesforce/kit": "^3.0.9",
"@salesforce/sf-plugins-core": "^3.1.14",
Expand All @@ -25,13 +25,13 @@
"@salesforce/dev-config": "^4.0.1",
"@salesforce/dev-scripts": "^5.7.0",
"@salesforce/plugin-command-reference": "^3.0.25",
"@salesforce/plugin-deploy-retrieve": "^1.16.1",
"@salesforce/plugin-info": "^2.6.20",
"@salesforce/plugin-settings": "^1.4.10",
"@salesforce/plugin-templates": "^55.5.6",
"@salesforce/plugin-user": "^2.3.20",
"@salesforce/plugin-deploy-retrieve": "^1.17.2",
"@salesforce/plugin-info": "^2.6.38",
"@salesforce/plugin-settings": "^1.4.24",
"@salesforce/plugin-templates": "^55.5.9",
"@salesforce/plugin-user": "^2.3.28",
"@salesforce/prettier-config": "^0.0.3",
"@salesforce/source-testkit": "^2.1.20",
"@salesforce/source-testkit": "^2.1.26",
"@salesforce/ts-sinon": "1.4.8",
"@swc/core": "1.3.39",
"@types/archiver": "^5.3.2",
Expand All @@ -52,7 +52,7 @@
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^43.0.5",
"eslint-plugin-sf-plugin": "^1.15.6",
"eslint-plugin-sf-plugin": "^1.16.2",
"fast-glob": "^3.3.0",
"husky": "^7.0.4",
"mocha": "^9.1.3",
Expand Down
6 changes: 4 additions & 2 deletions test/nuts/deployDestructive.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ describe('source:deploy --destructive NUTs', () => {
// create and deploy an ApexClass that can be deleted without dependency issues
const output = path.join('force-app', 'main', 'default', 'classes');
const pathToClass = path.join(testkit.projectDir, output, `${apexName}.cls`);
execCmd(`force:apex:class:create --classname ${apexName} --outputdir ${output}`, { ensureExitCode: 0 });
execCmd(`force:apex:class:create --classname ${apexName} --outputdir ${output} --api-version 58.0`, {
ensureExitCode: 0,
});
execCmd(`force:source:deploy -m ApexClass:${apexName}`, { ensureExitCode: 0 });
return { apexName, output, pathToClass };
};

const createManifest = (metadata: string, manifesttype: string) => {
execCmd(`force:source:manifest:create --metadata ${metadata} --manifesttype ${manifesttype}`, {
execCmd(`force:source:manifest:create --metadata ${metadata} --manifesttype ${manifesttype} --api-version 58.0`, {
ensureExitCode: 0,
});
};
Expand Down
Loading

0 comments on commit 00096e0

Please sign in to comment.