Skip to content

Instantly share code, notes, and snippets.

View mcknasty's full-sized avatar
🎯
Focusing

Trevor McKeown mcknasty

🎯
Focusing
View GitHub Profile
❯ sh
$ git log -n 1 | grep commit
commit ffb1513726f609c2f1c007e38c30d546f03bdb9b
$ git status
On branch print-config-message
nothing to commit, working tree clean
$ npm ci
added 412 packages, and audited 413 packages in 5s
> git checkout 6ff250fa443807ed4ee179d1b2364643d8b46f63;
Note: switching to '6ff250fa443807ed4ee179d1b2364643d8b46f63'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
@mcknasty
mcknasty / commit-docs.MD
Created May 12, 2024 14:34
Pull Request Docs -- 2024-05-12 10:34:25 676611321

Following the Contributions Recommendations here.

  1. Make sure you have installed the latest version of Node.js
  2. Fork this project on GitHub and clone your fork locally
  3. Create local branches to work within. These should also be created directly from the main branch. Local Fork here.
  4. Make your changes.
  5. Run tests to make sure all is okay (everything should pass except the snapshot).
  6. A complete log of initial test results.
@mcknasty
mcknasty / post-test-test-log.txt
Created May 12, 2024 14:34
'Posttest Builds -- [ TimeStamp: 2024-05-12 10:34:21 928998301 ]'
> c8@9.1.0 posttest
> standard
@mcknasty
mcknasty / v14.21.3-test.txt
Created May 12, 2024 14:32
Matrix Builds -- [ TimeStamp: 2024-05-12 10:32:07 289451256 ]
Now using node v14.21.3 (npm v9.9.3)
Attempting to upgrade to the latest working version of npm...
* `npm` `v9.x` is the last version that works on `node` `< v18.17`, `v19`, or `v20.0` - `v20.4`
changed 18 packages in 4s
27 packages are looking for funding
run `npm fund` for details
* npm upgraded to: v9.9.3
@mcknasty
mcknasty / final-test.txt
Last active May 12, 2024 14:34
Cli Builds -- [ TimeStamp: 2024-05-12 10:34:10 813623664 ]
> c8@9.1.0 test:snap
> cross-env CHAI_JEST_SNAPSHOT_UPDATE_ALL=true npm test
> c8@9.1.0 test
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=100000000 ./test/*.js
@mcknasty
mcknasty / initial-test.txt
Created May 12, 2024 14:21
Cli Builds -- [ TimeStamp: 2024-05-12 10:21:14 420718648 ]
> c8@9.1.0 test
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=100000000 ./test/*.js
c8
✔ reports coverage for script that exits normally (726ms)
✔ supports externally set NODE_V8_COVERAGE (699ms)
✔ merges reports from subprocesses together (318ms)
@mcknasty
mcknasty / initial-test.txt
Last active May 12, 2024 14:08
Cli Builds -- [ TimeStamp: 2024-05-12 10:08:39 041897779 ]
> c8@9.1.0 test
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=100000000 ./test/*.js
c8
✔ reports coverage for script that exits normally (824ms)
✔ supports externally set NODE_V8_COVERAGE (729ms)
✔ merges reports from subprocesses together (360ms)
@mcknasty
mcknasty / initial-test.txt
Last active May 12, 2024 13:55
Cli Builds -- [ TimeStamp: 2024-05-12 09:55:50 331458330 ]
> c8@9.1.0 test
> cross-env TS_NODE_SKIP_PROJECT=true node ./bin/c8.js mocha --timeout=100000000 ./test/*.js
c8
✔ reports coverage for script that exits normally (980ms)
✔ supports externally set NODE_V8_COVERAGE (741ms)
✔ merges reports from subprocesses together (625ms)
@mcknasty
mcknasty / stats.md
Last active February 21, 2024 17:57
c8 function calls to spawnSync

Number of calls to spawnSync

spawnSync is called 58 times between 3 branches

Times Called Branch
44 main
13 print-config-message
1 load-config