Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 28 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"homepage": "https://github.com/forcedotcom/cli",
"bugs": "https://github.com/forcedotcom/cli/issues",
"engines": {
"node": ">=18.6.0"
"node": ">=22.0.0"
},
"packageManager": "yarn@1.22.19",
"files": [
Expand Down Expand Up @@ -157,27 +157,27 @@
"@oclif/plugin-version": "2.2.52",
"@oclif/plugin-warn-if-update-available": "3.1.70",
"@oclif/plugin-which": "3.2.59",
"@salesforce/core": "^8.31.4",
"@salesforce/kit": "^3.1.6",
"@salesforce/plugin-agent": "1.45.0",
"@salesforce/plugin-apex": "3.9.40",
"@salesforce/plugin-api": "1.3.54",
"@salesforce/plugin-auth": "4.4.9",
"@salesforce/plugin-data": "4.0.115",
"@salesforce/plugin-deploy-retrieve": "3.24.61",
"@salesforce/plugin-info": "3.4.155",
"@salesforce/plugin-limits": "3.3.106",
"@salesforce/plugin-marketplace": "1.3.44",
"@salesforce/plugin-org": "5.11.26",
"@salesforce/plugin-packaging": "2.30.6",
"@salesforce/plugin-schema": "3.3.131",
"@salesforce/plugin-settings": "2.4.101",
"@salesforce/plugin-sobject": "1.4.125",
"@salesforce/plugin-telemetry": "3.8.33",
"@salesforce/plugin-templates": "56.20.0",
"@salesforce/plugin-trust": "3.8.43",
"@salesforce/plugin-user": "3.10.9",
"@salesforce/sf-plugins-core": "12.2.28",
"@salesforce/core": "^9.0.0",
"@salesforce/kit": "^4.0.0",
"@salesforce/plugin-agent": "2.0.0",
"@salesforce/plugin-apex": "4.0.0",
"@salesforce/plugin-api": "2.0.0",
"@salesforce/plugin-auth": "5.0.1",
"@salesforce/plugin-data": "5.0.0",
"@salesforce/plugin-deploy-retrieve": "4.0.1",
"@salesforce/plugin-info": "4.0.0",
"@salesforce/plugin-limits": "4.0.0",
"@salesforce/plugin-marketplace": "2.0.0",
"@salesforce/plugin-org": "6.0.0",
"@salesforce/plugin-packaging": "3.0.0",
"@salesforce/plugin-schema": "4.0.0",
"@salesforce/plugin-settings": "3.0.0",
"@salesforce/plugin-sobject": "2.0.0",
"@salesforce/plugin-telemetry": "4.0.0",
"@salesforce/plugin-templates": "57.0.0",
"@salesforce/plugin-trust": "4.0.1",
"@salesforce/plugin-user": "4.0.0",
"@salesforce/sf-plugins-core": "13.0.0",
"ansis": "^3.12.0"
},
"pinnedDependencies": [
Expand Down Expand Up @@ -213,7 +213,10 @@
"@salesforce/plugin-user"
],
"resolutions": {
"@salesforce/schemas": "1.10.3"
"@salesforce/schemas": "1.10.3",
"@opentelemetry/core": "1.30.1",
"@opentelemetry/resources": "1.30.1",
"@opentelemetry/semantic-conventions": "1.29.0"
},
"repository": "salesforcecli/cli",
"scripts": {
Expand All @@ -233,7 +236,7 @@
"pack:tarballs": "oclif pack:tarballs --xz --parallel --prune-lockfiles",
"pack:tarballs:sequential": "oclif pack:tarballs --xz --prune-lockfiles",
"pack:verify": "sf-release cli:tarballs:verify --cli sf --windows-username-buffer 34",
"pack:win": "oclif pack:win --prune-lockfiles --defender-exclusion unchecked",
"pack:win": "oclif pack:win --targets win32-x64,win32-arm64 --prune-lockfiles --defender-exclusion unchecked",
"postpack": "rm -f oclif.manifest.json npm-shrinkwrap.json",
"preinstall": "node ./scripts/preinstall.js",
"prepack": "sf-prepack",
Expand Down Expand Up @@ -262,7 +265,7 @@
"@salesforce/dev-scripts": "^11.0.2",
"@salesforce/plugin-release-management": "^5.8.21",
"@salesforce/ts-sinon": "^1.4.36",
"@salesforce/ts-types": "^2.0.11",
"@salesforce/ts-types": "^3.0.0",
"aws-sdk": "^2.1693.0",
"oclif": "^4.23.29",
"ts-node": "^10.9.2",
Expand Down
17 changes: 13 additions & 4 deletions src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { platform, arch, release } from 'node:os';
Expand Down
17 changes: 13 additions & 4 deletions src/flags.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2020, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// -------------------------------------------------------------------------------
Expand Down
17 changes: 13 additions & 4 deletions src/help/sfCommandHelp.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { CommandHelp, HelpSection, HelpSectionRenderer } from '@oclif/core/help';
import { Command } from '@oclif/core/command';
Expand Down
17 changes: 13 additions & 4 deletions src/help/sfHelp.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { Command } from '@oclif/core/command';
Expand Down
17 changes: 13 additions & 4 deletions src/hooks/display-release-notes.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2021, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import type { Hook } from '@oclif/core/hooks';
import ux from '@oclif/core/ux';
Expand Down
17 changes: 13 additions & 4 deletions src/hooks/incomplete.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import os from 'node:os';
Expand Down
17 changes: 13 additions & 4 deletions src/hooks/pluginsPreinstall.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { type Hook } from '@oclif/core/hooks';
Expand Down
17 changes: 13 additions & 4 deletions src/hooks/preparse.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2024, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import type { Hook } from '@oclif/core/hooks';

Expand Down
17 changes: 13 additions & 4 deletions src/hooks/prerun.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import { type Hook } from '@oclif/core/hooks';
Expand Down
17 changes: 13 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export {};
17 changes: 13 additions & 4 deletions src/logger.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2023, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { format } from 'node:util';
import Interfaces from '@oclif/core/interfaces';
Expand Down
17 changes: 13 additions & 4 deletions src/util/env.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { EnvVars } from '@salesforce/core/envVars';

Expand Down
17 changes: 13 additions & 4 deletions test/cli.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// the below, there's lots of un-awaited promises for testing

Expand Down
17 changes: 13 additions & 4 deletions test/env.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
/*
* Copyright (c) 2022, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
* Copyright 2026, Salesforce, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// the below, there's lots of un-awaited promises for testing

Expand Down
Loading
Loading