alex-c-line 2.2.2 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +12 -4
- package/dist/index.js +12 -4
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -379,7 +379,7 @@ function gitPostMergeCleanup(program) {
|
|
|
379
379
|
//#endregion
|
|
380
380
|
//#region src/cli/commands/internal/media/generate.ts
|
|
381
381
|
function internalMediaGenerate(program) {
|
|
382
|
-
program.command("generate").argument("[directory]", "The directory to generate from", process.cwd()).action(async (directory) => {
|
|
382
|
+
program.command("generate").argument("[directory]", "The directory to generate from", process.cwd()).option("--ignore <ignore>", "Extra directories to ignore as comma-separated list").action(async (directory, { ignore }) => {
|
|
383
383
|
async function readDirectory(directory) {
|
|
384
384
|
const directoryContents = await (0, node_fs_promises.readdir)(directory, { withFileTypes: true });
|
|
385
385
|
for (const entry of directoryContents) {
|
|
@@ -388,11 +388,19 @@ function internalMediaGenerate(program) {
|
|
|
388
388
|
".git",
|
|
389
389
|
"node_modules",
|
|
390
390
|
"__pycache__",
|
|
391
|
-
".venv"
|
|
391
|
+
".venv",
|
|
392
|
+
"helpers",
|
|
393
|
+
...[ignore?.split(",") ?? ""]
|
|
392
394
|
].includes(entry.name)) await readDirectory(fullPath);
|
|
393
395
|
if (entry.isFile() && entry.name.endsWith(".py")) {
|
|
394
396
|
console.info(`Rendering ${node_path.default.relative(process.cwd(), fullPath)}...`);
|
|
395
|
-
await (0, execa.execa)({
|
|
397
|
+
await (0, execa.execa)({
|
|
398
|
+
stdio: "inherit",
|
|
399
|
+
env: {
|
|
400
|
+
...process.env,
|
|
401
|
+
PYTHONPATH: node_path.default.resolve("src")
|
|
402
|
+
}
|
|
403
|
+
})`manim -qh ${fullPath}`;
|
|
396
404
|
}
|
|
397
405
|
}
|
|
398
406
|
}
|
|
@@ -1199,7 +1207,7 @@ function template(program) {
|
|
|
1199
1207
|
//#endregion
|
|
1200
1208
|
//#region package.json
|
|
1201
1209
|
var name = "alex-c-line";
|
|
1202
|
-
var version$1 = "2.2.
|
|
1210
|
+
var version$1 = "2.2.4";
|
|
1203
1211
|
var description = "Command-line tool with commands to streamline the developer workflow.";
|
|
1204
1212
|
//#endregion
|
|
1205
1213
|
//#region src/utility/updates/checkUpdate.ts
|
package/dist/index.js
CHANGED
|
@@ -348,7 +348,7 @@ function gitPostMergeCleanup(program) {
|
|
|
348
348
|
//#endregion
|
|
349
349
|
//#region src/cli/commands/internal/media/generate.ts
|
|
350
350
|
function internalMediaGenerate(program) {
|
|
351
|
-
program.command("generate").argument("[directory]", "The directory to generate from", process.cwd()).action(async (directory) => {
|
|
351
|
+
program.command("generate").argument("[directory]", "The directory to generate from", process.cwd()).option("--ignore <ignore>", "Extra directories to ignore as comma-separated list").action(async (directory, { ignore }) => {
|
|
352
352
|
async function readDirectory(directory) {
|
|
353
353
|
const directoryContents = await readdir(directory, { withFileTypes: true });
|
|
354
354
|
for (const entry of directoryContents) {
|
|
@@ -357,11 +357,19 @@ function internalMediaGenerate(program) {
|
|
|
357
357
|
".git",
|
|
358
358
|
"node_modules",
|
|
359
359
|
"__pycache__",
|
|
360
|
-
".venv"
|
|
360
|
+
".venv",
|
|
361
|
+
"helpers",
|
|
362
|
+
...[ignore?.split(",") ?? ""]
|
|
361
363
|
].includes(entry.name)) await readDirectory(fullPath);
|
|
362
364
|
if (entry.isFile() && entry.name.endsWith(".py")) {
|
|
363
365
|
console.info(`Rendering ${path.relative(process.cwd(), fullPath)}...`);
|
|
364
|
-
await execa({
|
|
366
|
+
await execa({
|
|
367
|
+
stdio: "inherit",
|
|
368
|
+
env: {
|
|
369
|
+
...process.env,
|
|
370
|
+
PYTHONPATH: path.resolve("src")
|
|
371
|
+
}
|
|
372
|
+
})`manim -qh ${fullPath}`;
|
|
365
373
|
}
|
|
366
374
|
}
|
|
367
375
|
}
|
|
@@ -1168,7 +1176,7 @@ function template(program) {
|
|
|
1168
1176
|
//#endregion
|
|
1169
1177
|
//#region package.json
|
|
1170
1178
|
var name = "alex-c-line";
|
|
1171
|
-
var version$1 = "2.2.
|
|
1179
|
+
var version$1 = "2.2.4";
|
|
1172
1180
|
var description = "Command-line tool with commands to streamline the developer workflow.";
|
|
1173
1181
|
//#endregion
|
|
1174
1182
|
//#region src/utility/updates/checkUpdate.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alex-c-line",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "Command-line tool with commands to streamline the developer workflow.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dotenv-stringify": "^3.0.1",
|
|
46
46
|
"env-paths": "^4.0.0",
|
|
47
47
|
"execa": "^9.6.1",
|
|
48
|
-
"figlet": "^1.
|
|
48
|
+
"figlet": "^1.11.0",
|
|
49
49
|
"gray-matter": "^4.0.3",
|
|
50
50
|
"libsodium-wrappers": "^0.8.2",
|
|
51
51
|
"semver": "^7.7.4",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"zod": "^4.3.6"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@alextheman/eslint-plugin": "^5.10.
|
|
56
|
+
"@alextheman/eslint-plugin": "^5.10.1",
|
|
57
57
|
"@commander-js/extra-typings": "^14.0.0",
|
|
58
58
|
"@types/eslint": "^9.6.1",
|
|
59
|
-
"@types/node": "^25.
|
|
59
|
+
"@types/node": "^25.5.0",
|
|
60
60
|
"@types/semver": "^7.7.1",
|
|
61
61
|
"@types/update-notifier": "^6.0.8",
|
|
62
62
|
"cross-env": "^10.1.0",
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
"prettier": "^3.8.1",
|
|
67
67
|
"tempy": "^3.2.0",
|
|
68
68
|
"ts-node": "^10.9.2",
|
|
69
|
-
"tsdown": "^0.21.
|
|
69
|
+
"tsdown": "^0.21.2",
|
|
70
70
|
"typescript": "^5.9.3",
|
|
71
|
-
"typescript-eslint": "^8.
|
|
71
|
+
"typescript-eslint": "^8.57.0",
|
|
72
72
|
"vite-tsconfig-paths": "^6.1.1",
|
|
73
|
-
"vitest": "^4.0
|
|
73
|
+
"vitest": "^4.1.0"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=22.0.0"
|