4 Commits
1.0.1 ... 1.0.3

Author SHA1 Message Date
0b80dbf999 Merge remote-tracking branch 'origin/master'
Some checks failed
Publish Library / Publish CDN & Docs (push) Has been cancelled
Publish Library / Build NPM Project (push) Successful in 26s
Publish Library / Tag Version (push) Has been cancelled
2025-08-10 12:43:10 -04:00
ce2208f1b2 Better '$' error handling 2025-08-10 12:43:03 -04:00
44dd2a659a Update .github/workflows/build.yaml
All checks were successful
Publish Library / Build NPM Project (push) Successful in 27s
Publish Library / Tag Version (push) Successful in 9s
Publish Library / Publish CDN & Docs (push) Successful in 25s
2025-06-24 19:30:16 -04:00
c2b3d7dc3c Fixed node import
All checks were successful
Publish Library / Build NPM Project (push) Successful in 16s
Publish Library / Tag Version (push) Successful in 6s
Publish Library / Publish CDN & Docs (push) Successful in 20s
2025-06-11 11:05:35 -04:00
4 changed files with 56 additions and 56 deletions

View File

@ -48,6 +48,6 @@ jobs:
needs: build needs: build
uses: ztimson/actions/.github/workflows/docker.yaml@develop uses: ztimson/actions/.github/workflows/docker.yaml@develop
with: with:
name: ztimson/css-utils name: ztimson/node-utils
repository: ${{github.server_url}}/${{github.repository}}.git repository: ${{github.server_url}}/${{github.repository}}.git
pass: ${{secrets.DEPLOY_TOKEN}} pass: ${{secrets.DEPLOY_TOKEN}}

View File

@ -1,6 +1,6 @@
{ {
"name": "@ztimson/node-utils", "name": "@ztimson/node-utils",
"version": "1.0.1", "version": "1.0.3",
"description": "CSS Utility Classes", "description": "CSS Utility Classes",
"author": "ztimson", "author": "ztimson",
"license": "MIT", "license": "MIT",

View File

@ -3,7 +3,7 @@ import {exec, execSync} from 'child_process';
export function $(str: TemplateStringsArray, ...args: string[]): Promise<string> { export function $(str: TemplateStringsArray, ...args: string[]): Promise<string> {
let cmd = str.reduce((acc, part, i) => acc + part + (args[i] || ''), ''); let cmd = str.reduce((acc, part, i) => acc + part + (args[i] || ''), '');
return new Promise((res, rej) => exec(cmd, (err, stdout, stderr) => { return new Promise((res, rej) => exec(cmd, (err, stdout, stderr) => {
if(err || stderr) return rej(err || stderr); if(err) return rej(stderr || err);
return res(stdout); return res(stdout);
})) }))
} }

View File

@ -1,4 +1,4 @@
import readline from 'node:readline'; import readline from 'readline';
/** /**
* Retrieve input from the CLI * Retrieve input from the CLI