This commit is contained in:
Morten Olsen
2025-11-03 13:05:37 +01:00
commit ede839a564
41 changed files with 6641 additions and 0 deletions

View File

@@ -0,0 +1 @@
console.log('Hello World');

View File

@@ -0,0 +1,10 @@
import { resolve } from 'node:path';
import { findWorkspacePackages } from '@pnpm/find-workspace-packages';
const getAliases = async () => {
const packages = await findWorkspacePackages(process.cwd());
return Object.fromEntries(packages.map((pkg) => [pkg.manifest.name, resolve(pkg.dir, 'src', 'exports.ts')]));
};
export { getAliases };