Conversation
|
Git2Gus App is installed but the |
| * 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. | ||
| */ |
There was a problem hiding this comment.
These license headers were added with the yarn fix-license script that was added via dev-scripts
| "functions": 75, | ||
| "branches": 75 | ||
| } No newline at end of file | ||
| "extends": "@salesforce/dev-config/nyc" |
There was a problem hiding this comment.
This is default config. Unless there is a good reason to change it, I would leave it
| "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", |
There was a problem hiding this comment.
I bumped dev-scripts to 11.0.4 and ran yarn. It bumped all of the other dependencies and devDependencies (as designed)
There was a problem hiding this comment.
I noticed dependabot complaining and I'd imagine this will squelch most of that. Was wondering and now I know.
| "clean-all": "sf-clean all", | ||
| "compile": "wireit", | ||
| "docs": "sf-docs", | ||
| "fix-license": "eslint src test --fix --rule \"header/header: [2]\"", |
There was a problem hiding this comment.
Added by dev-scripts. Running this fixes/adds the license headers
| "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);\"", |
There was a problem hiding this comment.
Not sure where this came from? I deleted it in favor of "prepare": "sf-install", <-- this is what hooks into dev-scripts to make a bunch of changes to keep everything in sync
| "prepare": "sf-install", | ||
| "test": "wireit", | ||
| "test:nuts": "node scripts/run-nuts.cjs", | ||
| "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel", |
There was a problem hiding this comment.
Deleted this "do NUT tests exists script" and just commented out the lines in the tests.yml Github Action above. If you feel strongly about this, you can add it back
There was a problem hiding this comment.
I feel strongly about learning the proper/accepted way of doing things on my Typescript voyage.
|
A few more not-super-urgent things:
|
| * 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. | ||
| */ |
| "functions": 75, | ||
| "branches": 75 | ||
| } No newline at end of file | ||
| "extends": "@salesforce/dev-config/nyc" |
| "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", |
There was a problem hiding this comment.
I noticed dependabot complaining and I'd imagine this will squelch most of that. Was wondering and now I know.
| "clean-all": "sf-clean all", | ||
| "compile": "wireit", | ||
| "docs": "sf-docs", | ||
| "fix-license": "eslint src test --fix --rule \"header/header: [2]\"", |
| "prepare": "sf-install", | ||
| "test": "wireit", | ||
| "test:nuts": "node scripts/run-nuts.cjs", | ||
| "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel", |
There was a problem hiding this comment.
I feel strongly about learning the proper/accepted way of doing things on my Typescript voyage.
This PR standardizes a lot of plugin structure. I'll add some inline comments
@W-21557588@