Skip to content

Commit

Permalink
Release v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Sep 25, 2023
1 parent 728a404 commit f2369fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/recursive-exec.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! recursive-exec v0.1.0 ~~ https://github.com/center-key/recursive-exec ~~ MIT License
//! recursive-exec v0.1.1 ~~ https://github.com/center-key/recursive-exec ~~ MIT License

export type Settings = {
echo: boolean;
Expand Down
4 changes: 2 additions & 2 deletions dist/recursive-exec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! recursive-exec v0.1.0 ~~ https://github.com/center-key/recursive-exec ~~ MIT License
//! recursive-exec v0.1.1 ~~ https://github.com/center-key/recursive-exec ~~ MIT License

import { globSync } from 'glob';
import { spawnSync } from 'node:child_process';
Expand Down Expand Up @@ -32,7 +32,7 @@ const recursiveExec = {
const keep = (file) => !excludes.find(exclude => file.includes(exclude));
const toCamel = (token) => token.replace(/-./g, char => char[1].toUpperCase());
if (!settings.quiet)
log(logName, chalk.magenta(source));
log(logName, chalk.magenta(source), settings.echo ? chalk.yellow('(dry run)') : '');
const calcResult = (file) => {
const parts = path.parse(file);
const filename = file.substring(source.length + 1);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recursive-exec",
"version": "0.1.0",
"version": "0.1.1",
"description": "Run a command on each file in a folder and its subfolders (CLI tool designed for use in npm scripts)",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit f2369fe

Please sign in to comment.