Compare commits

...
8 Commits
Author SHA1 Message Date
Benjamin Toby cab7b131bf Updates 2025-01-16 08:16:23 +01:00
Benjamin Toby 702a62a914 Updates 2025-01-16 08:11:29 +01:00
Benjamin Toby 2264830d9f Updates 2025-01-16 08:06:35 +01:00
Benjamin Toby ae2a328f36 Updates 2025-01-16 07:57:10 +01:00
Benjamin Toby 1aaa257041 Updates 2025-01-16 07:52:57 +01:00
Benjamin Toby 918afc5d2c Updates 2025-01-16 07:48:00 +01:00
Benjamin Toby 2118f04b63 Updates 2025-01-16 06:32:50 +01:00
Benjamin Toby c09409e182 Updates 2025-01-16 06:31:09 +01:00
9 changed files with 33 additions and 5 deletions
BIN
View File
Binary file not shown.
+1
View File
@@ -1 +1,2 @@
#!/usr/bin/env node
export {};
+1
View File
@@ -1,3 +1,4 @@
#!/usr/bin/env node
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -1,3 +1,5 @@
#!/usr/bin/env node
import fs from "fs";
import path from "path";
import colors from "./utils/console-colors";
+6 -3
View File
@@ -1,11 +1,10 @@
{
"name": "@moduletrace/nodecid",
"version": "1.0.7",
"version": "1.0.8",
"description": "Simple CI/CD process",
"main": "dist/index.js",
"bin": {
"nodecid": "./dist/index.js",
"node-ci-cd": "./dist/index.js"
"nodecid": "./dist/index.js"
},
"scripts": {
"compile": "bun build --compile --minify --sourcemap --bytecode index.ts --outfile bin/nodecid"
@@ -15,6 +14,10 @@
"Continuous Integration",
"Continous Deployment"
],
"repository": {
"type": "git",
"url": "https://git.tben.me/Moduletrace/nodecid.git"
},
"author": "Benjamin Toby",
"license": "MIT",
"dependencies": {
+1 -1
View File
@@ -11,4 +11,4 @@ fi
git add .
git commit -m "$msg"
git push
npm publish
bun publish
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
if [ -z "$1" ]; then
msg="Updates"
else
msg="$1"
fi
git add .
git commit -m "$msg"
git push
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if command -v bun >/dev/null 2>&1; then
exec bun dist/index.js "$@"
elif command -v node >/dev/null 2>&1; then
exec node dist/index.js "$@"
else
echo "Neither Bun nor Node.js is installed."
exit 1
fi