Skip to content

Commit 8259e36

Browse files
Quick deployments from bundling stage (#292)
* chore(dev-deps): bump salesforce/dev-scripts from 5.12.3 to 6.0.4 * feat: add support for validate-only and quick deployments from the bundling stage
1 parent 8a6665a commit 8259e36

6 files changed

Lines changed: 890 additions & 1051 deletions

File tree

package.json

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,16 @@
1515
"@oclif/plugin-command-snapshot": "^4.0.14",
1616
"@oclif/test": "^2.4.2",
1717
"@salesforce/cli-plugins-testkit": "^4.4.12",
18-
"@salesforce/dev-config": "^4.1.0",
19-
"@salesforce/dev-scripts": "^5.12.3",
18+
"@salesforce/dev-scripts": "^6.0.4",
2019
"@salesforce/plugin-command-reference": "^3.0.42",
21-
"@salesforce/prettier-config": "^0.0.3",
2220
"@salesforce/ts-sinon": "^1.4.19",
2321
"@swc/cli": "^0.1.62",
2422
"@swc/core": "1.3.39",
25-
"@typescript-eslint/eslint-plugin": "^6.10.0",
26-
"@typescript-eslint/parser": "^6.12.0",
27-
"chai": "^4.3.10",
28-
"eslint": "^8.51.0",
29-
"eslint-config-prettier": "^8.10.0",
30-
"eslint-config-salesforce": "^2.0.1",
31-
"eslint-config-salesforce-license": "^0.2.0",
32-
"eslint-config-salesforce-typescript": "^1.1.2",
33-
"eslint-plugin-header": "^3.1.1",
34-
"eslint-plugin-import": "^2.28.1",
35-
"eslint-plugin-jsdoc": "^46.9.0",
3623
"eslint-plugin-sf-plugin": "^1.16.3",
37-
"husky": "^7.0.4",
38-
"mocha": "^9.2.2",
39-
"nyc": "^15.1.0",
4024
"oclif": "^3.17.2",
41-
"prettier": "^2.8.7",
42-
"pretty-quick": "^3.1.3",
4325
"shx": "0.3.4",
44-
"sinon": "10.0.0",
4526
"ts-node": "^10.9.1",
46-
"typescript": "^4.9.5",
47-
"wireit": "^0.14.1"
27+
"typescript": "^4.9.5"
4828
},
4929
"engines": {
5030
"node": ">=16.0.0"

src/common/base/abstractQuick.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ export default abstract class QuickPromotionCommand<T extends typeof SfCommand>
149149
*/
150150
private buildPromoteOptions(deployId: string): void {
151151
this.deployOptions = {
152-
testLevel: 'Default',
153152
deploymentId: deployId,
154153
// get more promote options from the concrete implementation if needed
155154
...this.getPromoteOptions(),

src/configMeta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
77

8-
import { spawnSync } from 'child_process';
8+
import { spawnSync } from 'node:child_process';
99
import { ConfigValue, Messages } from '@salesforce/core';
1010

1111
Messages.importMessagesDirectory(__dirname);

test/commands/project/deploy/pipeline/quick.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ describe('project deploy pipeline quick', () => {
271271
// we can get the call argument
272272
// and validate its values
273273
const requestArgument = requestMock.getCall(0).args[0] as HttpRequest;
274-
expect(requestArgument.body).to.contain('"testLevel":"Default"');
275274
expect(requestArgument.body).to.contain(`"deploymentId":"${mockDeploymentId}"`);
276275
expect(requestArgument.body).to.contain('"undeployedOnly":true');
277276
});

test/configMeta.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
77

8-
import * as spawnSync from 'child_process';
8+
import * as spawnSync from 'node:child_process';
99
import { expect } from '@oclif/test';
1010
import * as sinon from 'sinon';
1111
import configMeta from '../src/configMeta';

0 commit comments

Comments
 (0)