@xylabs/ts-scripts-yarn3 7.4.11 → 7.4.13

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.
@@ -0,0 +1,173 @@
1
+ // src/lib/yarn/workspace/yarnWorkspaces.ts
2
+ import { spawnSync } from "child_process";
3
+ var yarnWorkspaces = () => {
4
+ const result = spawnSync("yarn", ["workspaces", "list", "--json", "--recursive"], { encoding: "utf8", shell: true });
5
+ if (result.error) {
6
+ throw result.error;
7
+ }
8
+ return result.stdout.toString().split("\n").slice(0, -1).map((item) => {
9
+ return JSON.parse(item);
10
+ });
11
+ };
12
+
13
+ // src/lib/yarn/workspace/yarnWorkspace.ts
14
+ var yarnWorkspace = (pkg) => {
15
+ const workspace = yarnWorkspaces().find(({ name }) => name === pkg);
16
+ if (!workspace) throw new Error(`Workspace ${pkg} not found`);
17
+ return workspace;
18
+ };
19
+
20
+ // src/lib/yarn/yarnInitCwd.ts
21
+ var INIT_CWD = () => {
22
+ if (!process.env.INIT_CWD) console.error("Missing INIT_CWD");
23
+ return process.env.INIT_CWD;
24
+ };
25
+
26
+ // src/lib/generateReadmeFiles.ts
27
+ import { execSync } from "child_process";
28
+ import FS from "fs";
29
+ import { readFile, writeFile } from "fs/promises";
30
+ import PATH from "path";
31
+ import chalk from "chalk";
32
+ function fillTemplate(template, data) {
33
+ const additionalData = { ...data, safeName: data.name.replaceAll("/", "__").replaceAll("@", "") };
34
+ return template.replaceAll(/\{\{(.*?)\}\}/g, (_, key) => additionalData[key.trim()] ?? "");
35
+ }
36
+ function generateTypedoc(packageLocation, entryPoints) {
37
+ const tempDir = PATH.join(packageLocation, ".temp-typedoc");
38
+ try {
39
+ if (!FS.existsSync(tempDir)) {
40
+ FS.mkdirSync(tempDir, { recursive: true });
41
+ }
42
+ const typedocConfig = {
43
+ disableSources: true,
44
+ entryPointStrategy: "expand",
45
+ entryPoints: entryPoints.map((ep) => PATH.resolve(packageLocation, ep)),
46
+ excludeExternals: true,
47
+ excludeInternal: true,
48
+ excludePrivate: true,
49
+ githubPages: false,
50
+ hideBreadcrumbs: true,
51
+ hideGenerator: true,
52
+ hidePageTitle: true,
53
+ out: tempDir,
54
+ plugin: ["typedoc-plugin-markdown"],
55
+ readme: "none",
56
+ skipErrorChecking: true,
57
+ sort: ["source-order"],
58
+ theme: "markdown",
59
+ useCodeBlocks: true
60
+ };
61
+ const typedocJsonPath = PATH.join(tempDir, "typedoc.json");
62
+ FS.writeFileSync(typedocJsonPath, JSON.stringify(typedocConfig, null, 2));
63
+ try {
64
+ execSync(`npx typedoc --options ${typedocJsonPath}`, {
65
+ cwd: process.cwd(),
66
+ stdio: ["ignore", "pipe", "pipe"]
67
+ });
68
+ } catch {
69
+ return "";
70
+ }
71
+ return consolidateMarkdown(tempDir);
72
+ } catch {
73
+ return "";
74
+ } finally {
75
+ try {
76
+ FS.rmSync(tempDir, { force: true, recursive: true });
77
+ } catch {
78
+ }
79
+ }
80
+ }
81
+ function consolidateMarkdown(tempDir) {
82
+ let consolidated = "## Reference\n\n";
83
+ const mainReadmePath = PATH.join(tempDir, "README.md");
84
+ if (FS.existsSync(mainReadmePath)) {
85
+ const mainContent = FS.readFileSync(mainReadmePath, "utf8").replace(/^---(.|\n)*?---\n/, "").replace(/^# .+\n/, "").replaceAll(/\]\((.+?)\.md\)/g, "](#$1)");
86
+ consolidated += mainContent + "\n\n";
87
+ }
88
+ consolidated += processDirectory(tempDir);
89
+ return consolidated.replaceAll(/\n\n\n+/g, "\n\n").replaceAll(/^#### /gm, "### ").replaceAll(/^##### /gm, "#### ").replaceAll(/^###### /gm, "##### ");
90
+ }
91
+ function processDirectory(dir, level = 0) {
92
+ const indent = " ".repeat(level);
93
+ let content = "";
94
+ try {
95
+ const items = FS.readdirSync(dir, { withFileTypes: true });
96
+ for (const item of items) {
97
+ if (item.isDirectory()) continue;
98
+ if (item.name === "README.md" || !item.name.endsWith(".md")) continue;
99
+ const fileContent = FS.readFileSync(PATH.join(dir, item.name), "utf8").replace(/^---(.|\n)*?---\n/, "");
100
+ const moduleName = item.name.replace(".md", "");
101
+ content += `
102
+
103
+ ${indent}### <a id="${moduleName}"></a>${moduleName}
104
+
105
+ `;
106
+ content += fileContent.replace(/^# .+\n/, "").replaceAll(/\]\((.+?)\.md\)/g, "](#$1)");
107
+ }
108
+ for (const item of items) {
109
+ if (!item.isDirectory()) continue;
110
+ if (item.name === "spec" || item.name.includes(".spec")) continue;
111
+ content += `
112
+
113
+ ${indent}### ${item.name}
114
+ `;
115
+ content += processDirectory(PATH.join(dir, item.name), level + 1);
116
+ }
117
+ } catch {
118
+ }
119
+ return content;
120
+ }
121
+ async function generateReadmeFiles({
122
+ pkg,
123
+ templatePath,
124
+ typedoc = false,
125
+ verbose
126
+ }) {
127
+ console.log(chalk.green("Generate README Files"));
128
+ const cwd = INIT_CWD() ?? ".";
129
+ const resolvedTemplatePath = templatePath ?? PATH.join(cwd, "scripts", "README.template.md");
130
+ let template;
131
+ try {
132
+ template = await readFile(resolvedTemplatePath, "utf8");
133
+ } catch {
134
+ console.error(chalk.red(`Template not found: ${resolvedTemplatePath}`));
135
+ return 1;
136
+ }
137
+ const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces();
138
+ let failed = false;
139
+ for (const { location, name } of workspaces) {
140
+ try {
141
+ const pkgJsonPath = PATH.join(location, "package.json");
142
+ const pkgJson = JSON.parse(await readFile(pkgJsonPath, "utf8"));
143
+ const typedocContent = typedoc ? generateTypedoc(location, ["src/index*.ts"]) : "";
144
+ const readmeContent = fillTemplate(template, { ...pkgJson, typedoc: typedocContent });
145
+ await writeFile(PATH.join(location, "README.md"), readmeContent);
146
+ if (verbose) console.log(chalk.green(` ${name}`));
147
+ } catch (ex) {
148
+ const error = ex;
149
+ console.warn(chalk.yellow(` Skipped ${location}: ${error.message}`));
150
+ failed = true;
151
+ }
152
+ }
153
+ return failed ? 1 : 0;
154
+ }
155
+
156
+ // src/actions/readme-gen.ts
157
+ async function readmeGen({
158
+ pkg,
159
+ templatePath,
160
+ typedoc,
161
+ verbose
162
+ }) {
163
+ return await generateReadmeFiles({
164
+ pkg,
165
+ templatePath,
166
+ typedoc,
167
+ verbose
168
+ });
169
+ }
170
+ export {
171
+ readmeGen
172
+ };
173
+ //# sourceMappingURL=readme-gen.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/lib/yarn/workspace/yarnWorkspaces.ts","../../src/lib/yarn/workspace/yarnWorkspace.ts","../../src/lib/yarn/yarnInitCwd.ts","../../src/lib/generateReadmeFiles.ts","../../src/actions/readme-gen.ts"],"sourcesContent":["import { spawnSync } from 'node:child_process'\n\nimport type { Workspace } from './Workspace.ts'\n\nexport const yarnWorkspaces = (): Workspace[] => {\n const result = spawnSync('yarn', ['workspaces', 'list', '--json', '--recursive'], { encoding: 'utf8', shell: true })\n if (result.error) {\n throw result.error\n }\n return (\n result.stdout\n .toString()\n // NOTE: This probably doesn't work on Windows\n // TODO: Replace /r/n with /n first\n .split('\\n')\n .slice(0, -1)\n .map((item) => {\n return JSON.parse(item)\n })\n )\n}\n","import type { Workspace } from './Workspace.ts'\nimport { yarnWorkspaces } from './yarnWorkspaces.ts'\n\nexport const yarnWorkspace = (pkg: string): Workspace => {\n const workspace = yarnWorkspaces().find(({ name }) => name === pkg)\n if (!workspace) throw new Error(`Workspace ${pkg} not found`)\n return workspace\n}\n","export const INIT_CWD = () => {\n if (!process.env.INIT_CWD) console.error('Missing INIT_CWD')\n return process.env.INIT_CWD\n}\n","import { execSync } from 'node:child_process'\nimport FS from 'node:fs'\nimport { readFile, writeFile } from 'node:fs/promises'\nimport PATH from 'node:path'\n\nimport chalk from 'chalk'\n\nimport {\n INIT_CWD, yarnWorkspace, yarnWorkspaces,\n} from './yarn/index.ts'\n\ninterface GenerateReadmeFilesParams {\n pkg?: string\n templatePath?: string\n typedoc?: boolean\n verbose?: boolean\n}\n\nfunction fillTemplate(template: string, data: Record<string, string>): string {\n const additionalData: Record<string, string> = { ...data, safeName: data.name.replaceAll('/', '__').replaceAll('@', '') }\n return template.replaceAll(/\\{\\{(.*?)\\}\\}/g, (_, key: string) => additionalData[key.trim()] ?? '')\n}\n\nfunction generateTypedoc(packageLocation: string, entryPoints: string[]): string {\n const tempDir = PATH.join(packageLocation, '.temp-typedoc')\n\n try {\n if (!FS.existsSync(tempDir)) {\n FS.mkdirSync(tempDir, { recursive: true })\n }\n\n const typedocConfig = {\n disableSources: true,\n entryPointStrategy: 'expand',\n entryPoints: entryPoints.map(ep => PATH.resolve(packageLocation, ep)),\n excludeExternals: true,\n excludeInternal: true,\n excludePrivate: true,\n githubPages: false,\n hideBreadcrumbs: true,\n hideGenerator: true,\n hidePageTitle: true,\n out: tempDir,\n plugin: ['typedoc-plugin-markdown'],\n readme: 'none',\n skipErrorChecking: true,\n sort: ['source-order'],\n theme: 'markdown',\n useCodeBlocks: true,\n }\n\n const typedocJsonPath = PATH.join(tempDir, 'typedoc.json')\n FS.writeFileSync(typedocJsonPath, JSON.stringify(typedocConfig, null, 2))\n\n try {\n execSync(`npx typedoc --options ${typedocJsonPath}`, {\n cwd: process.cwd(),\n stdio: ['ignore', 'pipe', 'pipe'],\n })\n } catch {\n return ''\n }\n\n return consolidateMarkdown(tempDir)\n } catch {\n return ''\n } finally {\n try {\n FS.rmSync(tempDir, { force: true, recursive: true })\n } catch {\n // ignore cleanup errors\n }\n }\n}\n\nfunction consolidateMarkdown(tempDir: string): string {\n let consolidated = '## Reference\\n\\n'\n\n const mainReadmePath = PATH.join(tempDir, 'README.md')\n if (FS.existsSync(mainReadmePath)) {\n const mainContent = FS.readFileSync(mainReadmePath, 'utf8')\n .replace(/^---(.|\\n)*?---\\n/, '')\n .replace(/^# .+\\n/, '')\n .replaceAll(/\\]\\((.+?)\\.md\\)/g, '](#$1)')\n\n consolidated += mainContent + '\\n\\n'\n }\n\n consolidated += processDirectory(tempDir)\n\n return consolidated\n .replaceAll(/\\n\\n\\n+/g, '\\n\\n')\n .replaceAll(/^#### /gm, '### ')\n .replaceAll(/^##### /gm, '#### ')\n .replaceAll(/^###### /gm, '##### ')\n}\n\nfunction processDirectory(dir: string, level = 0): string {\n const indent = ' '.repeat(level)\n let content = ''\n\n try {\n const items = FS.readdirSync(dir, { withFileTypes: true })\n\n for (const item of items) {\n if (item.isDirectory()) continue\n if (item.name === 'README.md' || !item.name.endsWith('.md')) continue\n\n const fileContent = FS.readFileSync(PATH.join(dir, item.name), 'utf8')\n .replace(/^---(.|\\n)*?---\\n/, '')\n const moduleName = item.name.replace('.md', '')\n\n content += `\\n\\n${indent}### <a id=\"${moduleName}\"></a>${moduleName}\\n\\n`\n content += fileContent\n .replace(/^# .+\\n/, '')\n .replaceAll(/\\]\\((.+?)\\.md\\)/g, '](#$1)')\n }\n\n for (const item of items) {\n if (!item.isDirectory()) continue\n if (item.name === 'spec' || item.name.includes('.spec')) continue\n\n content += `\\n\\n${indent}### ${item.name}\\n`\n content += processDirectory(PATH.join(dir, item.name), level + 1)\n }\n } catch {\n // skip unreadable directories\n }\n\n return content\n}\n\nexport async function generateReadmeFiles({\n pkg, templatePath, typedoc = false, verbose,\n}: GenerateReadmeFilesParams): Promise<number> {\n console.log(chalk.green('Generate README Files'))\n const cwd = INIT_CWD() ?? '.'\n const resolvedTemplatePath = templatePath ?? PATH.join(cwd, 'scripts', 'README.template.md')\n\n let template: string\n try {\n template = await readFile(resolvedTemplatePath, 'utf8')\n } catch {\n console.error(chalk.red(`Template not found: ${resolvedTemplatePath}`))\n return 1\n }\n\n const workspaces = pkg ? [yarnWorkspace(pkg)] : yarnWorkspaces()\n let failed = false\n\n for (const { location, name } of workspaces) {\n try {\n const pkgJsonPath = PATH.join(location, 'package.json')\n const pkgJson = JSON.parse(await readFile(pkgJsonPath, 'utf8'))\n const typedocContent = typedoc ? generateTypedoc(location, ['src/index*.ts']) : ''\n const readmeContent = fillTemplate(template, { ...pkgJson, typedoc: typedocContent })\n await writeFile(PATH.join(location, 'README.md'), readmeContent)\n if (verbose) console.log(chalk.green(` ${name}`))\n } catch (ex) {\n const error = ex as Error\n console.warn(chalk.yellow(` Skipped ${location}: ${error.message}`))\n failed = true\n }\n }\n\n return failed ? 1 : 0\n}\n","import { generateReadmeFiles } from '../lib/index.ts'\n\nexport interface ReadmeGenParams {\n pkg?: string\n templatePath?: string\n typedoc?: boolean\n verbose?: boolean\n}\n\nexport async function readmeGen({\n pkg, templatePath, typedoc, verbose,\n}: ReadmeGenParams): Promise<number> {\n return await generateReadmeFiles({\n pkg, templatePath, typedoc, verbose,\n })\n}\n"],"mappings":";AAAA,SAAS,iBAAiB;AAInB,IAAM,iBAAiB,MAAmB;AAC/C,QAAM,SAAS,UAAU,QAAQ,CAAC,cAAc,QAAQ,UAAU,aAAa,GAAG,EAAE,UAAU,QAAQ,OAAO,KAAK,CAAC;AACnH,MAAI,OAAO,OAAO;AAChB,UAAM,OAAO;AAAA,EACf;AACA,SACE,OAAO,OACJ,SAAS,EAGT,MAAM,IAAI,EACV,MAAM,GAAG,EAAE,EACX,IAAI,CAAC,SAAS;AACb,WAAO,KAAK,MAAM,IAAI;AAAA,EACxB,CAAC;AAEP;;;ACjBO,IAAM,gBAAgB,CAAC,QAA2B;AACvD,QAAM,YAAY,eAAe,EAAE,KAAK,CAAC,EAAE,KAAK,MAAM,SAAS,GAAG;AAClE,MAAI,CAAC,UAAW,OAAM,IAAI,MAAM,aAAa,GAAG,YAAY;AAC5D,SAAO;AACT;;;ACPO,IAAM,WAAW,MAAM;AAC5B,MAAI,CAAC,QAAQ,IAAI,SAAU,SAAQ,MAAM,kBAAkB;AAC3D,SAAO,QAAQ,IAAI;AACrB;;;ACHA,SAAS,gBAAgB;AACzB,OAAO,QAAQ;AACf,SAAS,UAAU,iBAAiB;AACpC,OAAO,UAAU;AAEjB,OAAO,WAAW;AAalB,SAAS,aAAa,UAAkB,MAAsC;AAC5E,QAAM,iBAAyC,EAAE,GAAG,MAAM,UAAU,KAAK,KAAK,WAAW,KAAK,IAAI,EAAE,WAAW,KAAK,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