chore(create-app): document generator output
What changed: - Classified create-app generator console output as intentional CLI output. - Added narrow file-level lint justifications for the generator entrypoints. Warning impact: - @bytelyst/create-app scoped warnings: 49 -> 0. - Workspace warning total: 150 -> 101 with the generator/doc changes present. Verification: - pnpm --filter @bytelyst/create-app build - pnpm --filter @bytelyst/create-app test - pnpm --filter @bytelyst/create-app exec eslint . --ext .ts,.tsx - pnpm lint
This commit is contained in:
parent
e9a70edb8b
commit
433c3a5493
@ -13,6 +13,8 @@
|
|||||||
* @module @bytelyst/create-app/generators/agents-md
|
* @module @bytelyst/create-app/generators/agents-md
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable no-console -- This generator is a CLI; console output is its user interface. */
|
||||||
|
|
||||||
import { promises as fs } from 'node:fs';
|
import { promises as fs } from 'node:fs';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import { execSync } from 'node:child_process';
|
import { execSync } from 'node:child_process';
|
||||||
|
|||||||
@ -24,6 +24,8 @@
|
|||||||
* @module @bytelyst/create-app/generators/api-routes
|
* @module @bytelyst/create-app/generators/api-routes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable no-console -- This generator is a CLI; console output is its user interface. */
|
||||||
|
|
||||||
import { promises as fs } from 'node:fs';
|
import { promises as fs } from 'node:fs';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,8 @@
|
|||||||
* Usage: tsx scripts/generate.ts
|
* Usage: tsx scripts/generate.ts
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* eslint-disable no-console -- This generator is a CLI; console output confirms generated artifacts. */
|
||||||
|
|
||||||
import { mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
import { mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
||||||
import { dirname, resolve } from 'node:path';
|
import { dirname, resolve } from 'node:path';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user