@nshiab/setup-data-project 1.0.38 → 1.0.39

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ensureAgents.d.ts","sourceRoot":"","sources":["../../src/helpers/ensureAgents.ts"],"names":[],"mappings":"AAOA,wBAAgB,YAAY,CAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACnC,OAAO,EAAE,MAAM,EACf,iBAAiB,GAAE,MAAM,EAA6B,QAgJvD"}
1
+ {"version":3,"file":"ensureAgents.d.ts","sourceRoot":"","sources":["../../src/helpers/ensureAgents.ts"],"names":[],"mappings":"AAOA,wBAAgB,YAAY,CAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACnC,OAAO,EAAE,MAAM,EACf,iBAAiB,GAAE,MAAM,EAA6B,QAiJvD"}
@@ -22,7 +22,8 @@ export function ensureAgents(docsMapping, runtime, installedPackages = Object.ke
22
22
  .map((line) => line.replace(/^#+\s+/, "").trim());
23
23
  journalismFunctionsByPackage.set(pkg, functions);
24
24
  journalismFunctions += `\n### ${repoName}\n\n`;
25
- journalismFunctions += functions.join("\n") + "\n";
25
+ journalismFunctions += functions.map((name) => `- ${name}`).join("\n") +
26
+ "\n";
26
27
  }
27
28
  else if (pkgType === "sda") {
28
29
  const repoName = pkg.split("/")[1];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nshiab/setup-data-project",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "Quickly kick off your data project using the simple-data-analysis and journalism libraries.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- {"version":3,"file":"ensureAgents.d.ts","sourceRoot":"","sources":["../../src/helpers/ensureAgents.ts"],"names":[],"mappings":"AAOA,wBAAgB,YAAY,CAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACnC,OAAO,EAAE,MAAM,EACf,iBAAiB,GAAE,MAAM,EAA6B,QAgJvD"}
1
+ {"version":3,"file":"ensureAgents.d.ts","sourceRoot":"","sources":["../../src/helpers/ensureAgents.ts"],"names":[],"mappings":"AAOA,wBAAgB,YAAY,CAC1B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACnC,OAAO,EAAE,MAAM,EACf,iBAAiB,GAAE,MAAM,EAA6B,QAiJvD"}
@@ -25,7 +25,8 @@ function ensureAgents(docsMapping, runtime, installedPackages = Object.keys(docs
25
25
  .map((line) => line.replace(/^#+\s+/, "").trim());
26
26
  journalismFunctionsByPackage.set(pkg, functions);
27
27
  journalismFunctions += `\n### ${repoName}\n\n`;
28
- journalismFunctions += functions.join("\n") + "\n";
28
+ journalismFunctions += functions.map((name) => `- ${name}`).join("\n") +
29
+ "\n";
29
30
  }
30
31
  else if (pkgType === "sda") {
31
32
  const repoName = pkg.split("/")[1];