Skip to content

Instantly share code, notes, and snippets.

View gjtiquia's full-sized avatar
🔥
Having fun!

GJ Tiquia gjtiquia

🔥
Having fun!
View GitHub Profile
@gjtiquia
gjtiquia / index.html
Created March 9, 2024 13:43
Open link in new tab in functions workaround for Safari
<!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>
@gjtiquia
gjtiquia / bundler.ts
Last active January 6, 2024 15:27 — forked from robin-hartmann/bundler.js
npm workspaces support for electron-forge
// 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 {