Skip to content

Commit

Permalink
Release v1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jul 2, 2024
1 parent 3f4929c commit ac8ca4e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/run-scripts.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! run-scripts-util v1.2.5 ~~ https://github.com/center-key/run-scripts-util ~~ MIT License
//! run-scripts-util v1.2.6 ~~ https://github.com/center-key/run-scripts-util ~~ MIT License

export type Settings = {
only: number | null;
Expand Down
4 changes: 2 additions & 2 deletions dist/run-scripts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! run-scripts-util v1.2.5 ~~ https://github.com/center-key/run-scripts-util ~~ MIT License
//! run-scripts-util v1.2.6 ~~ https://github.com/center-key/run-scripts-util ~~ MIT License

import { spawn, spawnSync } from 'node:child_process';
import chalk from 'chalk';
Expand Down Expand Up @@ -35,7 +35,7 @@ const runScripts = {
};
const skip = (step, command) => {
const active = settings.only === null || step === settings.only;
const commentedOut = command.startsWith('//') || command.startsWith('-');
const commentedOut = command.startsWith('//');
if (commentedOut)
logger(chalk.yellow('skipping:'), command);
return !active || commentedOut;
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "run-scripts-util",
"version": "1.2.5",
"version": "1.2.6",
"description": "Organize npm package.json scripts into named groups of easy to manage commands (CLI tool designed for use in npm package.json scripts)",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -110,19 +110,19 @@
"fancy-log": "~2.0"
},
"devDependencies": {
"@eslint/js": "~9.3",
"@eslint/js": "~9.6",
"@types/fancy-log": "~2.0",
"@types/node": "~20.12",
"@types/node": "~20.14",
"add-dist-header": "~1.4",
"assert-deep-strict-equal": "~1.2",
"copy-file-util": "~1.2",
"copy-folder-util": "~1.1",
"eslint": "8.57.0",
"jshint": "~2.13",
"mocha": "~10.4",
"mocha": "~10.5",
"npm-run-all2": "~6.2",
"rimraf": "~5.0",
"typescript": "~5.4",
"typescript-eslint": "~7.11"
"typescript": "~5.5",
"typescript-eslint": "~7.15"
}
}
2 changes: 1 addition & 1 deletion run-scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const runScripts = {
};
const skip = (step: number, command: string) => {
const active = settings.only === null || step === settings.only;
const commentedOut = command.startsWith('//') || command.startsWith('-'); //DEPRECATED: single dash comments
const commentedOut = command.startsWith('//');
if (commentedOut)
logger(chalk.yellow('skipping:'), command);
return !active || commentedOut;
Expand Down

0 comments on commit ac8ca4e

Please sign in to comment.