-
Notifications
You must be signed in to change notification settings - Fork 0
@W-21557588 2pp review #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,4 @@ | ||
| module.exports = { | ||
| extends: ['eslint-config-salesforce-typescript', 'plugin:sf-plugin/recommended'], | ||
| extends: ['eslint-config-salesforce-typescript', 'eslint-config-salesforce-license', 'plugin:sf-plugin/recommended'], | ||
| root: true, | ||
| rules: { | ||
| header: 'off', | ||
| }, | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,3 @@ | ||
| { | ||
| "check-coverage": true, | ||
| "lines": 75, | ||
| "statements": 75, | ||
| "functions": 75, | ||
| "branches": 75 | ||
| } | ||
| "extends": "@salesforce/dev-config/nyc" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is default config. Unless there is a good reason to change it, I would leave it
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sounds good |
||
| } | ||
joroscoSF marked this conversation as resolved.
Show resolved
Hide resolved
|
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,21 +4,22 @@ | |
| "version": "1.0.0", | ||
| "dependencies": { | ||
| "@oclif/core": "^4", | ||
| "@salesforce/core": "^8", | ||
| "@salesforce/core": "^8.2.7", | ||
| "@salesforce/sf-plugins-core": "^12" | ||
| }, | ||
| "devDependencies": { | ||
| "@oclif/plugin-command-snapshot": "^5.1.9", | ||
| "@salesforce/cli-plugins-testkit": "^5.3.10", | ||
| "@salesforce/dev-scripts": "^10", | ||
| "eslint-plugin-sf-plugin": "^1.18.6", | ||
| "@oclif/plugin-command-snapshot": "^5.2.3", | ||
| "@salesforce/cli-plugins-testkit": "^5.3.20", | ||
| "@salesforce/dev-scripts": "^11.0.4", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I bumped dev-scripts to 11.0.4 and ran
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I noticed dependabot complaining and I'd imagine this will squelch most of that. Was wondering and now I know. |
||
| "eslint-plugin-sf-plugin": "^1.18.8", | ||
| "oclif": "^4.14.0", | ||
| "ts-node": "^10.9.2", | ||
| "typescript": "^5.4.5" | ||
| "typescript": "^5.5.4" | ||
| }, | ||
| "engines": { | ||
| "node": ">=18.0.0" | ||
| }, | ||
| "repository": "salesforcecli/plugin-data-code-extension", | ||
| "files": [ | ||
| "/lib", | ||
| "/messages", | ||
|
|
@@ -34,7 +35,7 @@ | |
| "sfdx", | ||
| "sfdx-plugin" | ||
| ], | ||
| "license": "BSD-3-Clause", | ||
| "license": "Apache-2.0", | ||
| "oclif": { | ||
| "commands": "./lib/commands", | ||
| "bin": "sf", | ||
|
|
@@ -63,14 +64,15 @@ | |
| "clean-all": "sf-clean all", | ||
| "compile": "wireit", | ||
| "docs": "sf-docs", | ||
| "fix-license": "eslint src test --fix --rule \"header/header: [2]\"", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added by dev-scripts. Running this fixes/adds the license headers
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The more you know |
||
| "format": "wireit", | ||
| "link-check": "wireit", | ||
| "lint": "wireit", | ||
| "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);\"", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure where this came from? I deleted it in favor of |
||
| "postpack": "sf-clean --ignore-signing-artifacts", | ||
| "prepack": "sf-prepack", | ||
| "prepare": "sf-install", | ||
| "test": "wireit", | ||
| "test:nuts": "node scripts/run-nuts.cjs", | ||
| "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Deleted this "do NUT tests exists script" and just commented out the lines in the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I feel strongly about learning the proper/accepted way of doing things on my Typescript voyage. |
||
| "test:only": "wireit", | ||
| "version": "oclif readme" | ||
| }, | ||
|
|
@@ -179,7 +181,7 @@ | |
| "output": [] | ||
| }, | ||
| "link-check": { | ||
| "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", | ||
| "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", | ||
| "files": [ | ||
| "./*.md", | ||
| "./!(CHANGELOG).md", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.