Skip to content

Commit abe2c73

Browse files
authored
Merge pull request #7 from salesforcecli/ew/review
@W-21557588 2pp review
2 parents 7717385 + 3c7842d commit abe2c73

40 files changed

+2268
-2121
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
module.exports = {
2-
extends: ['eslint-config-salesforce-typescript', 'plugin:sf-plugin/recommended'],
2+
extends: ['eslint-config-salesforce-typescript', 'eslint-config-salesforce-license', 'plugin:sf-plugin/recommended'],
33
root: true,
4-
rules: {
5-
header: 'off',
6-
},
74
};

.github/workflows/onRelease.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ jobs:
2727
with:
2828
tag: ${{ needs.getDistTag.outputs.tag || 'latest' }}
2929
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
30+
ctc: true
31+
sign: true
3032

3133
secrets: inherit

.github/workflows/test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
77
jobs:
88
unit-tests:
99
uses: salesforcecli/github-workflows/.github/workflows/unitTest.yml@main
10-
nuts:
11-
needs: unit-tests
12-
uses: salesforcecli/github-workflows/.github/workflows/nut.yml@main
13-
secrets: inherit
14-
strategy:
15-
matrix:
16-
os: [ubuntu-latest, windows-latest]
17-
fail-fast: false
18-
with:
19-
os: ${{ matrix.os }}
10+
# nuts:
11+
# needs: unit-tests
12+
# uses: salesforcecli/github-workflows/.github/workflows/nut.yml@main
13+
# secrets: inherit
14+
# strategy:
15+
# matrix:
16+
# os: [ubuntu-latest, windows-latest]
17+
# fail-fast: false
18+
# with:
19+
# os: ${{ matrix.os }}

.nycrc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
{
2-
"check-coverage": true,
3-
"lines": 75,
4-
"statements": 75,
5-
"functions": 75,
6-
"branches": 75
7-
}
2+
"extends": "@salesforce/dev-config/nyc"
3+
}

LICENSE.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Apache License Version 2.0
22

3-
Copyright (c) 2024 Salesforce, Inc.
3+
Copyright (c) 2026 Salesforce, Inc.
44
All rights reserved.
55

66
Apache License
@@ -204,4 +204,3 @@ All rights reserved.
204204
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205205
See the License for the specific language governing permissions and
206206
limitations under the License.
207-

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# plugin-data-code-extension
22

3-
[![NPM](https://img.shields.io/npm/v/@salesforce/plugin-data-code-extension.svg?label=@salesforce/plugin-data-code-extension)](https://www.npmjs.com/package/@salesforce/plugin-data-code-extension) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-data-code-extension.svg)](https://npmjs.org/package/@salesforce/plugin-data-code-extension) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/@salesforce/plugin-data-code-extension/main/LICENSE.txt)
3+
[![NPM](https://img.shields.io/npm/v/@salesforce/plugin-data-code-extension.svg?label=@salesforce/plugin-data-code-extension)](https://www.npmjs.com/package/@salesforce/plugin-data-code-extension) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/plugin-data-code-extension.svg)](https://npmjs.org/package/@salesforce/plugin-data-code-extension) [![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/license/apache-2-0)
44

55
# Description
66

how_to_license.md

Lines changed: 0 additions & 253 deletions
This file was deleted.

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@
44
"version": "1.0.0",
55
"dependencies": {
66
"@oclif/core": "^4",
7-
"@salesforce/core": "^8",
7+
"@salesforce/core": "^8.2.7",
88
"@salesforce/sf-plugins-core": "^12"
99
},
1010
"devDependencies": {
11-
"@oclif/plugin-command-snapshot": "^5.1.9",
12-
"@salesforce/cli-plugins-testkit": "^5.3.10",
13-
"@salesforce/dev-scripts": "^10",
14-
"eslint-plugin-sf-plugin": "^1.18.6",
11+
"@oclif/plugin-command-snapshot": "^5.2.3",
12+
"@salesforce/cli-plugins-testkit": "^5.3.20",
13+
"@salesforce/dev-scripts": "^11.0.4",
14+
"eslint-plugin-sf-plugin": "^1.18.8",
1515
"oclif": "^4.14.0",
1616
"ts-node": "^10.9.2",
17-
"typescript": "^5.4.5"
17+
"typescript": "^5.5.4"
1818
},
1919
"engines": {
2020
"node": ">=18.0.0"
2121
},
22+
"repository": "salesforcecli/plugin-data-code-extension",
2223
"files": [
2324
"/lib",
2425
"/messages",
@@ -34,7 +35,7 @@
3435
"sfdx",
3536
"sfdx-plugin"
3637
],
37-
"license": "BSD-3-Clause",
38+
"license": "Apache-2.0",
3839
"oclif": {
3940
"commands": "./lib/commands",
4041
"bin": "sf",
@@ -63,14 +64,15 @@
6364
"clean-all": "sf-clean all",
6465
"compile": "wireit",
6566
"docs": "sf-docs",
67+
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
6668
"format": "wireit",
6769
"link-check": "wireit",
6870
"lint": "wireit",
69-
"postinstall": "node -e \"const r=require('child_process').spawnSync('./node_modules/.bin/husky',['install'],{stdio:'inherit'});if(r.error&&r.error.code!=='ENOENT')process.exit(1);\"",
7071
"postpack": "sf-clean --ignore-signing-artifacts",
7172
"prepack": "sf-prepack",
73+
"prepare": "sf-install",
7274
"test": "wireit",
73-
"test:nuts": "node scripts/run-nuts.cjs",
75+
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
7476
"test:only": "wireit",
7577
"version": "oclif readme"
7678
},
@@ -179,7 +181,7 @@
179181
"output": []
180182
},
181183
"link-check": {
182-
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
184+
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|localhost|%s\" --markdown --retry --directory-listing --verbosity error",
183185
"files": [
184186
"./*.md",
185187
"./!(CHANGELOG).md",

0 commit comments

Comments
 (0)