This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a new bookmark and use the following as the url for a confetti efect: | |
javascript:(function()%7Bvar a %3D document.createElement('script')%3B%0Aa.src %3D 'https%3A%2F%2Fcdn.jsdelivr.net%2Fnpm%2Fcanvas-confetti%401.5.1%2Fdist%2Fconfetti.browser.min.js'%3B%0Aa.onload %3D () %3D> confetti(%7BparticleCount%3A100%2Cspread%3A70%2C origin%3A %7B y%3A 0.6 %7D%7D)%0Adocument.body.append(a)%7D)()%3B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
const fs = require('fs'); | |
const os = require('os'); | |
// Workaround for the following issues: | |
// Beachball issue: https://github.com/microsoft/beachball/issues/525 | |
// NPM issue 1: https://github.com/npm/cli/issues/3756 | |
// NPM issue 2: https://github.com/npm/cli/issues/3757 | |
/** |