Skip to content

Commit 4dd3661

Browse files
authored
Merge pull request #999 from salesforcecli/devScripts2025-08-31
refactor: devScripts update
2 parents e064769 + 072103a commit 4dd3661

6 files changed

Lines changed: 73 additions & 121 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"devDependencies": {
1414
"@oclif/plugin-command-snapshot": "^5.3.5",
1515
"@salesforce/cli-plugins-testkit": "^5.3.39",
16-
"@salesforce/dev-scripts": "^11.0.3",
16+
"@salesforce/dev-scripts": "^11.0.4",
1717
"@salesforce/plugin-command-reference": "^3.1.67",
1818
"eslint-plugin-sf-plugin": "^1.20.31",
1919
"oclif": "^4.22.14",

src/commands/hello/world.ts

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

817

src/index.ts

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

817
export default {};

test/commands/hello/world.nut.ts

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

817
import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit';

test/commands/hello/world.test.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
/*
2-
* Copyright (c) 2023, salesforce.com, inc.
3-
* All rights reserved.
4-
* Licensed under the BSD 3-Clause license.
5-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2+
* Copyright 2025, Salesforce, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
615
*/
716
import { TestContext } from '@salesforce/core/testSetup';
817
import { expect } from 'chai';

yarn.lock

Lines changed: 20 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,10 +1788,10 @@
17881788
resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.3.1.tgz#4dac8245df79d675258b50e1d24e8c636eaa5e10"
17891789
integrity sha512-rO6axodoRF2SA1kknGttIWuL7HhIwSmweGlBzM8y2m5TH8DeIv4xsqYc8Cu+SrR3JT1FN4nh6XgrogI83AJfKg==
17901790

1791-
"@salesforce/dev-scripts@^11.0.3":
1792-
version "11.0.3"
1793-
resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-11.0.3.tgz#414d4d45c12c2a1eada418951acc18afc49d0fad"
1794-
integrity sha512-7nbrIJvFyUSdt4A2D0mjb4nKhuvmQvZtb+xt5iCeD0wOgMMuggEr7gTIhv5IHl7Jkhn4aBiXR3KQOp96gZm3nQ==
1791+
"@salesforce/dev-scripts@^11.0.4":
1792+
version "11.0.4"
1793+
resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-11.0.4.tgz#9e9fa6d425308b638508e701956dfd4c97eb403c"
1794+
integrity sha512-8RebBJpcgoO0AVmrb3pFwSUD8vCqdWbUmv3JwoDy2lWofAT0vYM3NywCCdKj26XnSASkRgKvsY6AQpkxLs+vVg==
17951795
dependencies:
17961796
"@commitlint/cli" "^17.1.2"
17971797
"@commitlint/config-conventional" "^17.8.1"
@@ -1804,7 +1804,7 @@
18041804
chai "^4.3.10"
18051805
chalk "^4.0.0"
18061806
cosmiconfig "^8.3.6"
1807-
eslint-config-salesforce-typescript "^3.4.0"
1807+
eslint-config-salesforce-typescript "4.0.1"
18081808
husky "^7.0.4"
18091809
linkinator "^6.1.1"
18101810
mocha "^10.7.0"
@@ -2004,24 +2004,7 @@
20042004
"@smithy/util-middleware" "^4.0.5"
20052005
tslib "^2.6.2"
20062006

2007-
"@smithy/core@^3.8.0":
2008-
version "3.8.0"
2009-
resolved "https://registry.yarnpkg.com/@smithy/core/-/core-3.8.0.tgz#321d03564b753025b92e4476579efcd5c505ab1f"
2010-
integrity sha512-EYqsIYJmkR1VhVE9pccnk353xhs+lB6btdutJEtsp7R055haMJp2yE16eSxw8fv+G0WUY6vqxyYOP8kOqawxYQ==
2011-
dependencies:
2012-
"@smithy/middleware-serde" "^4.0.9"
2013-
"@smithy/protocol-http" "^5.1.3"
2014-
"@smithy/types" "^4.3.2"
2015-
"@smithy/util-base64" "^4.0.0"
2016-
"@smithy/util-body-length-browser" "^4.0.0"
2017-
"@smithy/util-middleware" "^4.0.5"
2018-
"@smithy/util-stream" "^4.2.4"
2019-
"@smithy/util-utf8" "^4.0.0"
2020-
"@types/uuid" "^9.0.1"
2021-
tslib "^2.6.2"
2022-
uuid "^9.0.1"
2023-
2024-
"@smithy/core@^3.9.0":
2007+
"@smithy/core@^3.8.0", "@smithy/core@^3.9.0":
20252008
version "3.9.0"
20262009
resolved "https://registry.yarnpkg.com/@smithy/core/-/core-3.9.0.tgz#0d0c05136143d5207afc7bbed2367b6baf8de388"
20272010
integrity sha512-B/GknvCfS3llXd/b++hcrwIuqnEozQDnRL4sBmOac5/z/dr0/yG1PURNPOyU4Lsiy1IyTj8scPxVqRs5dYWf6A==
@@ -2174,21 +2157,7 @@
21742157
"@smithy/types" "^4.3.2"
21752158
tslib "^2.6.2"
21762159

2177-
"@smithy/middleware-endpoint@^4.1.18":
2178-
version "4.1.18"
2179-
resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.18.tgz#81b2f85e3c72b0f1a2d8776e01b0a2968af62c0a"
2180-
integrity sha512-ZhvqcVRPZxnZlokcPaTwb+r+h4yOIOCJmx0v2d1bpVlmP465g3qpVSf7wxcq5zZdu4jb0H4yIMxuPwDJSQc3MQ==
2181-
dependencies:
2182-
"@smithy/core" "^3.8.0"
2183-
"@smithy/middleware-serde" "^4.0.9"
2184-
"@smithy/node-config-provider" "^4.1.4"
2185-
"@smithy/shared-ini-file-loader" "^4.0.5"
2186-
"@smithy/types" "^4.3.2"
2187-
"@smithy/url-parser" "^4.0.5"
2188-
"@smithy/util-middleware" "^4.0.5"
2189-
tslib "^2.6.2"
2190-
2191-
"@smithy/middleware-endpoint@^4.1.19":
2160+
"@smithy/middleware-endpoint@^4.1.18", "@smithy/middleware-endpoint@^4.1.19":
21922161
version "4.1.19"
21932162
resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.19.tgz#613b843a274b7511862a73867b44cafe8a0a0d3c"
21942163
integrity sha512-EAlEPncqo03siNZJ9Tm6adKCQ+sw5fNU8ncxWwaH0zTCwMPsgmERTi6CEKaermZdgJb+4Yvh0NFm36HeO4PGgQ==
@@ -2202,23 +2171,7 @@
22022171
"@smithy/util-middleware" "^4.0.5"
22032172
tslib "^2.6.2"
22042173

2205-
"@smithy/middleware-retry@^4.1.19":
2206-
version "4.1.19"
2207-
resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-4.1.19.tgz#19c013c1a548e1185cc1bfabfab3f498667c9e89"
2208-
integrity sha512-X58zx/NVECjeuUB6A8HBu4bhx72EoUz+T5jTMIyeNKx2lf+Gs9TmWPNNkH+5QF0COjpInP/xSpJGJ7xEnAklQQ==
2209-
dependencies:
2210-
"@smithy/node-config-provider" "^4.1.4"
2211-
"@smithy/protocol-http" "^5.1.3"
2212-
"@smithy/service-error-classification" "^4.0.7"
2213-
"@smithy/smithy-client" "^4.4.10"
2214-
"@smithy/types" "^4.3.2"
2215-
"@smithy/util-middleware" "^4.0.5"
2216-
"@smithy/util-retry" "^4.0.7"
2217-
"@types/uuid" "^9.0.1"
2218-
tslib "^2.6.2"
2219-
uuid "^9.0.1"
2220-
2221-
"@smithy/middleware-retry@^4.1.20":
2174+
"@smithy/middleware-retry@^4.1.19", "@smithy/middleware-retry@^4.1.20":
22222175
version "4.1.20"
22232176
resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-4.1.20.tgz#7fa8617b424f813ab71025712094e61e0f31b0a3"
22242177
integrity sha512-T3maNEm3Masae99eFdx1Q7PIqBBEVOvRd5hralqKZNeIivnoGNx5OFtI3DiZ5gCjUkl0mNondlzSXeVxkinh7Q==
@@ -2334,20 +2287,7 @@
23342287
"@smithy/util-utf8" "^4.0.0"
23352288
tslib "^2.6.2"
23362289

2337-
"@smithy/smithy-client@^4.4.10":
2338-
version "4.4.10"
2339-
resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-4.4.10.tgz#c4b49c1d1ff9eb813f88f1e425a5dfac25a03180"
2340-
integrity sha512-iW6HjXqN0oPtRS0NK/zzZ4zZeGESIFcxj2FkWed3mcK8jdSdHzvnCKXSjvewESKAgGKAbJRA+OsaqKhkdYRbQQ==
2341-
dependencies:
2342-
"@smithy/core" "^3.8.0"
2343-
"@smithy/middleware-endpoint" "^4.1.18"
2344-
"@smithy/middleware-stack" "^4.0.5"
2345-
"@smithy/protocol-http" "^5.1.3"
2346-
"@smithy/types" "^4.3.2"
2347-
"@smithy/util-stream" "^4.2.4"
2348-
tslib "^2.6.2"
2349-
2350-
"@smithy/smithy-client@^4.5.0":
2290+
"@smithy/smithy-client@^4.4.10", "@smithy/smithy-client@^4.5.0":
23512291
version "4.5.0"
23522292
resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-4.5.0.tgz#d8663d757d590a5049818f138ff024784eba9577"
23532293
integrity sha512-ZSdE3vl0MuVbEwJBxSftm0J5nL/gw76xp5WF13zW9cN18MFuFXD5/LV0QD8P+sCU5bSWGyy6CTgUupE1HhOo1A==
@@ -2422,18 +2362,7 @@
24222362
dependencies:
24232363
tslib "^2.6.2"
24242364

2425-
"@smithy/util-defaults-mode-browser@^4.0.26":
2426-
version "4.0.26"
2427-
resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.26.tgz#fc04cd466bbb0d80e41930af8d6a8c33c48490f2"
2428-
integrity sha512-xgl75aHIS/3rrGp7iTxQAOELYeyiwBu+eEgAk4xfKwJJ0L8VUjhO2shsDpeil54BOFsqmk5xfdesiewbUY5tKQ==
2429-
dependencies:
2430-
"@smithy/property-provider" "^4.0.5"
2431-
"@smithy/smithy-client" "^4.4.10"
2432-
"@smithy/types" "^4.3.2"
2433-
bowser "^2.11.0"
2434-
tslib "^2.6.2"
2435-
2436-
"@smithy/util-defaults-mode-browser@^4.0.27":
2365+
"@smithy/util-defaults-mode-browser@^4.0.26", "@smithy/util-defaults-mode-browser@^4.0.27":
24372366
version "4.0.27"
24382367
resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.27.tgz#2ad80730a6e90ff82872d20ea7ea05b9d3b0f175"
24392368
integrity sha512-i/Fu6AFT5014VJNgWxKomBJP/GB5uuOsM4iHdcmplLm8B1eAqnRItw4lT2qpdO+mf+6TFmf6dGcggGLAVMZJsQ==
@@ -2444,20 +2373,7 @@
24442373
bowser "^2.11.0"
24452374
tslib "^2.6.2"
24462375

2447-
"@smithy/util-defaults-mode-node@^4.0.26":
2448-
version "4.0.26"
2449-
resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.26.tgz#adfee8c54301ec4cbabed58cd604995a81b4a8dc"
2450-
integrity sha512-z81yyIkGiLLYVDetKTUeCZQ8x20EEzvQjrqJtb/mXnevLq2+w3XCEWTJ2pMp401b6BkEkHVfXb/cROBpVauLMQ==
2451-
dependencies:
2452-
"@smithy/config-resolver" "^4.1.5"
2453-
"@smithy/credential-provider-imds" "^4.0.7"
2454-
"@smithy/node-config-provider" "^4.1.4"
2455-
"@smithy/property-provider" "^4.0.5"
2456-
"@smithy/smithy-client" "^4.4.10"
2457-
"@smithy/types" "^4.3.2"
2458-
tslib "^2.6.2"
2459-
2460-
"@smithy/util-defaults-mode-node@^4.0.27":
2376+
"@smithy/util-defaults-mode-node@^4.0.26", "@smithy/util-defaults-mode-node@^4.0.27":
24612377
version "4.0.27"
24622378
resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.27.tgz#119793c1ba38e1b6dcc9b7ccc17f2ab4cd56f653"
24632379
integrity sha512-3W0qClMyxl/ELqTA39aNw1N+pN0IjpXT7lPFvZ8zTxqVFP7XCpACB9QufmN4FQtd39xbgS7/Lekn7LmDa63I5w==
@@ -4063,22 +3979,22 @@ eslint-config-prettier@^9.1.0:
40633979
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f"
40643980
integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==
40653981

4066-
eslint-config-salesforce-license@^0.2.0:
4067-
version "0.2.0"
4068-
resolved "https://registry.yarnpkg.com/eslint-config-salesforce-license/-/eslint-config-salesforce-license-0.2.0.tgz#323193f1aa15dd33fbf108d25fc1210afc11065e"
4069-
integrity sha512-DJdBvgj82Erum82YMe+YvG/o6ukna3UA++lRl0HSTldj0VlBl3Q8hzCp97nRXZHra6JH1I912yievZzklXDw6w==
3982+
eslint-config-salesforce-license@^1.0.2:
3983+
version "1.0.2"
3984+
resolved "https://registry.yarnpkg.com/eslint-config-salesforce-license/-/eslint-config-salesforce-license-1.0.2.tgz#0bc7f482677f44105a6a28644f5ccbd4c9abfa01"
3985+
integrity sha512-l/1uz9RJHQHnVEEexHpHsQt3+aP/Ys2HGfZcLuUg/FZ6NGhL15ey33OJfYCYtSUKMLGiEKdUhdWVp34WD4rIdQ==
40703986

4071-
eslint-config-salesforce-typescript@^3.4.0:
4072-
version "3.4.0"
4073-
resolved "https://registry.yarnpkg.com/eslint-config-salesforce-typescript/-/eslint-config-salesforce-typescript-3.4.0.tgz#3542e96aa6054b3df3b7c636b3b7f5bf4238bfb3"
4074-
integrity sha512-pT+kJsmLrXIsVw1f24gWB+a2Iefan9qp02iSdx5mk4Jb/Jv68LhS+V/dfJxN5vvKhzvc86UwUPEIQBX9OCSbpQ==
3987+
eslint-config-salesforce-typescript@4.0.1:
3988+
version "4.0.1"
3989+
resolved "https://registry.yarnpkg.com/eslint-config-salesforce-typescript/-/eslint-config-salesforce-typescript-4.0.1.tgz#d310a40ab117bb77c19d9f5d2377f278d2da97a4"
3990+
integrity sha512-aYRFIjVXA8b0fJt7JImcqRBb++lhFjLSeZhboMZZWMNGQyWeQ8pGX7ZW2/71TQiM0b4P8Nrpapi1w4VuM0kc/A==
40753991
dependencies:
40763992
"@typescript-eslint/eslint-plugin" "^6.21.0"
40773993
"@typescript-eslint/parser" "^6.21.0"
40783994
eslint "^8.56.0"
40793995
eslint-config-prettier "^9.1.0"
40803996
eslint-config-salesforce "^2.2.0"
4081-
eslint-config-salesforce-license "^0.2.0"
3997+
eslint-config-salesforce-license "^1.0.2"
40823998
eslint-plugin-header "^3.1.1"
40833999
eslint-plugin-import "^2.29.1"
40844000
eslint-plugin-jsdoc "^46.10.1"

0 commit comments

Comments
 (0)