Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Apr 12, 2024
1 parent 8220806 commit d6ab2ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "symlink-workspace",
"version": "0.1.0",
"version": "0.2.1",
"description": "create symlinks in lerna/yarn workspaces for publish setups requiring both esm and cjs builds",
"author": "Dan Lynch <[email protected]>",
"homepage": "https://github.com/cosmology-tech/symlink-workspace#readme",
Expand Down
4 changes: 2 additions & 2 deletions src/create-symlinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export function processPackages(
}

const distPath = path.join(packageInfo.path, 'dist');
log(chalk.yellow(`Creating symlink in root for ${packageName}`));
log(chalk.yellow(`Creating symlink in root for ${packageName}`), 'info');
mkdirp(path.dirname(symlinkPath));
fs.symlinkSync(distPath, symlinkPath, 'junction');
});

log(chalk.blue('All packages processed successfully including root node_modules.'));
log(chalk.blue('All packages processed successfully including root node_modules.'), 'debug');
}

0 comments on commit d6ab2ac

Please sign in to comment.