downgrade to support commonjs

This commit is contained in:
Arwid Thornström
2025-06-17 10:34:15 +02:00
parent 5c43d166ba
commit adf7c5e9a1
4 changed files with 232 additions and 164 deletions
@@ -3,7 +3,7 @@ import * as path from 'path';
import * as fs from 'fs';
import chalk = require('chalk');
const { AutoComplete } = require('enquirer');
import clipboardy from 'clipboardy';
const clipboardy = require('clipboardy');
module.exports = {
name: 'promptcontextlibrary',
+1 -1
View File
@@ -1,4 +1,4 @@
import { Octokit } from '@octokit/core';
const { Octokit } = require('@octokit/core');
export const getOrgRepos = async (toolbox, token, org) => {
const { print } = toolbox;