Skip to content

Commit 062abc9

Browse files
authored
Merge pull request #850 from salesforcecli/devScripts2023-10-29
refactor: devScripts update
2 parents a02735e + 5ae228d commit 062abc9

25 files changed

+413
-254
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@oclif/plugin-command-snapshot": "^4.0.14",
1919
"@salesforce/cli-plugins-testkit": "^4.4.7",
2020
"@salesforce/dev-config": "^4.0.1",
21-
"@salesforce/dev-scripts": "^5.11.0",
21+
"@salesforce/dev-scripts": "^5.12.2",
2222
"@salesforce/plugin-command-reference": "^3.0.44",
2323
"@salesforce/plugin-source": "^2.10.38",
2424
"@salesforce/prettier-config": "^0.0.3",
@@ -28,14 +28,14 @@
2828
"@typescript-eslint/eslint-plugin": "^5.61.0",
2929
"@typescript-eslint/parser": "^5.61.0",
3030
"chai": "^4.3.10",
31-
"eslint": "^8.51.0",
31+
"eslint": "^8.52.0",
3232
"eslint-config-prettier": "^8.10.0",
3333
"eslint-config-salesforce": "^2.0.2",
3434
"eslint-config-salesforce-license": "^0.2.0",
35-
"eslint-config-salesforce-typescript": "^1.1.2",
35+
"eslint-config-salesforce-typescript": "^2.0.0",
3636
"eslint-plugin-header": "^3.1.1",
3737
"eslint-plugin-import": "2.28.1",
38-
"eslint-plugin-jsdoc": "^43.0.5",
38+
"eslint-plugin-jsdoc": "^46.8.2",
3939
"eslint-plugin-sf-plugin": "^1.16.11",
4040
"husky": "^7.0.4",
4141
"mocha": "^10.2.0",
@@ -48,8 +48,8 @@
4848
"shx": "0.3.4",
4949
"sinon": "10.0.0",
5050
"ts-node": "^10.9.1",
51-
"typescript": "^4.9.5",
52-
"wireit": "^0.14.0"
51+
"typescript": "^5.2.2",
52+
"wireit": "^0.14.1"
5353
},
5454
"engines": {
5555
"node": ">=16.0.0"

src/commands/org/list/metadata-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed under the BSD 3-Clause license.
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
7-
import * as fs from 'fs';
7+
import * as fs from 'node:fs';
88
import { Messages } from '@salesforce/core';
99
import { DescribeMetadataResult } from 'jsforce/api/metadata';
1010
import { RegistryAccess } from '@salesforce/source-deploy-retrieve';

src/commands/org/list/metadata.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 fs from 'fs';
8+
import * as fs from 'node:fs';
99
import { Messages } from '@salesforce/core';
1010
import { FileProperties, ListMetadataQuery } from 'jsforce/api/metadata';
1111
import { Flags, loglevel, requiredOrgFlagWithDeprecations, SfCommand } from '@salesforce/sf-plugins-core';

src/commands/org/open.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 path from 'path';
8+
import * as path from 'node:path';
99
import {
1010
Flags,
1111
loglevel,

src/shared/orgListUtil.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
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 { basename, join } from 'path';
9-
import * as fs from 'fs/promises';
8+
import { basename, join } from 'node:path';
9+
import * as fs from 'node:fs/promises';
1010

1111
import {
1212
Org,

src/shared/sandboxCommandBase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed under the BSD 3-Clause license.
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
7-
import * as os from 'os';
7+
import * as os from 'node:os';
88
import { SfCommand } from '@salesforce/sf-plugins-core';
99
import { Config } from '@oclif/core';
1010
import {

src/shared/sandboxProgress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed under the BSD 3-Clause license.
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
7-
import * as os from 'os';
7+
import * as os from 'node:os';
88
import { StatusEvent, ResultEvent, SandboxProcessObject } from '@salesforce/core';
99
import { Ux } from '@salesforce/sf-plugins-core/lib/ux';
1010
import { ux } from '@oclif/core';

src/shared/sandboxRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed under the BSD 3-Clause license.
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
7-
import * as fs from 'fs';
7+
import * as fs from 'node:fs';
88
import { Logger, SandboxRequest, Messages, SfError, Lifecycle } from '@salesforce/core';
99
import { lowerToUpper } from './utils';
1010
import { SandboxLicenseType } from './orgTypes';

src/shared/scratchOrgRequest.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 fs from 'fs';
8+
import * as fs from 'node:fs';
99
import { Interfaces } from '@oclif/core';
1010
import { ScratchOrgCreateOptions } from '@salesforce/core';
1111
import { Duration } from '@salesforce/kit';

src/shared/stagedProgress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Licensed under the BSD 3-Clause license.
55
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
66
*/
7-
import * as os from 'os';
7+
import * as os from 'node:os';
88
import * as chalk from 'chalk';
99
import { StandardColors } from '@salesforce/sf-plugins-core';
1010
import { SfError } from '@salesforce/core';

0 commit comments

Comments
 (0)