Skip to content

Instantly share code, notes, and snippets.

View mcknasty's full-sized avatar
🎯
Focusing

Trevor McKeown mcknasty

🎯
Focusing
View GitHub Profile
@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
@mcknasty
mcknasty / gist:a47c0ef2fae9f39007efeff5b85a5930
Last active February 20, 2024 06:37
js-yaml module in c8 dependencies
$ git status
On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean
$ git log -n 1 | grep 'commit'
commit bf3073b00ece8384d1c41f5ed7dfb3e6974e39f4
$ grep -Rni 'js-yaml' package.json
$ ls -R node_modules/ | grep '/js-yaml:'
node_modules/@eslint/eslintrc/node_modules/js-yaml:
@mcknasty
mcknasty / matrix-test.txt
Last active January 31, 2024 15:49
mcknasty/c8 Pull Request 5 Unit Test Martix Report
Now using node v14.21.3 (npm v9.8.1)
Attempting to upgrade to the latest working version of npm...
* Installing latest `npm`; if this does not work on your node version, please report a bug!
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: npm@10.4.0
npm ERR! notsup Not compatible with your version of node/npm: npm@10.4.0
npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
npm ERR! notsup Actual: {"npm":"9.8.1","node":"v14.21.3"}