Add .gitignore to exclude all node packages and lock files

This commit is contained in:
Adolfo Reyna
2026-02-23 21:56:04 -05:00
parent faae96c9ed
commit dcc5c6c044
9747 changed files with 1555105 additions and 2 deletions
@@ -0,0 +1,28 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeProgressBar = void 0;
const renderer_1 = require("@remotion/renderer");
const chalk_1 = require("./chalk");
const full = '━';
const half = '╸';
const half_right = '╺';
const totalBars = 18;
const makeProgressBar = (percentage, noColor) => {
const color = noColor ? false : renderer_1.RenderInternals.isColorSupported();
const barsToShow = Math.floor(percentage * totalBars);
const extraBar = (percentage * totalBars) % barsToShow;
const grayBars = totalBars - barsToShow;
const showHalf = extraBar > 0.5;
const base = full.repeat(barsToShow) + (showHalf ? half : '');
const gray = (renderer_1.RenderInternals.isColorSupported() ? full : ' ')
.repeat(grayBars - (showHalf ? 1 : 0))
.split('');
if (!showHalf && barsToShow > 0 && gray.length > 0 && color) {
gray[0] = half_right;
}
if (!color) {
return `${base}${gray.join('')}`;
}
return `${chalk_1.chalk.blue(base)}${chalk_1.chalk.dim(gray.join(''))}`;
};
exports.makeProgressBar = makeProgressBar;