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
function sleep(ms: number) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Open Link in New Tab</title> | |
</head> | |
<body> |
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
// from: https://gist.github.com/robin-hartmann/ad6ffc19091c9e661542fbf178647047 | |
// issue: https://github.com/electron/forge/issues/2306 | |
// A bundler for locating local packages from workspaces, because Electron Forge does not support NPM workspaces out of the box | |
const fs = require('fs/promises'); | |
const path = require('path'); | |
const { findRoot } = require('@manypkg/find-root'); | |
const arborist = require('@npmcli/arborist'); | |
interface Edge { |