Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created March 10, 2020 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/1b9ce18d7f9949750a4830b375ec82db to your computer and use it in GitHub Desktop.
Save isaacs/1b9ce18d7f9949750a4830b375ec82db to your computer and use it in GitHub Desktop.
$ node -e 'const version = require("../libnpmversion"); process.on("log", console.error); version("major").then(console.log,console.error)'
> @npmcli/git@1.0.1 test /Users/isaacs/dev/npm/git
> tap
(node:39130) ExperimentalWarning: Conditional exports is an experimental feature. This feature could change at any time
(node:39131) ExperimentalWarning: Conditional exports is an experimental feature. This feature could change at any time
PASS test/env.js 3 OK 7.574ms
PASS test/find.js 3 OK 53.654ms
PASS test/opts.js 2 OK 72.281ms
PASS test/lines-to-revs.js 22 OK 76.417ms
PASS test/is.js 6 OK 88.334ms
PASS test/index.js 1 OK 23.071ms
PASS test/is-clean.js 6 OK 609.191ms
PASS test/should-retry.js 3 OK 4.188ms
PASS test/which.js 5 OK 541.212ms
PASS test/revs.js 20 OK 1s
PASS test/spawn.js 6 OK 2s
PASS test/clone.js 115 OK 12s
🌈 SUMMARY RESULTS 🌈
Suites: 12 passed, 12 of 12 completed
Asserts: 192 passed, of 192
Time: 15s
------------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
------------------|----------|----------|----------|----------|-------------------|
All files | 100 | 100 | 100 | 100 | |
clone.js | 100 | 100 | 100 | 100 | |
env.js | 100 | 100 | 100 | 100 | |
find.js | 100 | 100 | 100 | 100 | |
index.js | 100 | 100 | 100 | 100 | |
is-clean.js | 100 | 100 | 100 | 100 | |
is.js | 100 | 100 | 100 | 100 | |
lines-to-revs.js | 100 | 100 | 100 | 100 | |
opts.js | 100 | 100 | 100 | 100 | |
revs.js | 100 | 100 | 100 | 100 | |
should-retry.js | 100 | 100 | 100 | 100 | |
spawn.js | 100 | 100 | 100 | 100 | |
which.js | 100 | 100 | 100 | 100 | |
------------------|----------|----------|----------|----------|-------------------|
Krypton ▶ Requesting git tag signature from phone
Krypton ▶ Success. Request Allowed ✔
> @npmcli/git@2.0.0 prepublishOnly .
> git push origin --follow-tags
Krypton ▶ Requesting SSH authentication from phone
Krypton ▶ Success. Request Allowed ✔
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 367 bytes | 367.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0)
remote: Resolving deltas: 100% (3/3), completed with 3 local objects.
To github.com:npm/git
acaf9cb..645baba master -> master
npm notice
npm notice 📦 @npmcli/git@2.0.0
npm notice === Tarball Contents ===
npm notice 733B LICENSE
npm notice 4.6kB lib/clone.js
npm notice 789B lib/env.js
npm notice 251B lib/find.js
npm notice 208B lib/index.js
npm notice 238B lib/is-clean.js
npm notice 296B lib/is.js
npm notice 3.9kB lib/lines-to-revs.js
npm notice 134B lib/opts.js
npm notice 349B lib/proc-log.js
npm notice 608B lib/revs.js
npm notice 470B lib/should-retry.js
npm notice 1.0kB lib/spawn.js
npm notice 256B lib/which.js
npm notice 885B package.json
npm notice 5.2kB README.md
npm notice === Tarball Details ===
npm notice name: @npmcli/git
npm notice version: 2.0.0
npm notice package size: 8.2 kB
npm notice unpacked size: 20.0 kB
npm notice shasum: fa41c6807ff82ac475c730638e5d721a6c751036
npm notice integrity: sha512-Nx2H1I9ydVuCJ[...]33Jq8q/tYJGqQ==
npm notice total files: 16
npm notice
This operation requires a one-time password.
Enter OTP: 097796
+ @npmcli/git@2.0.0
undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment