@genesislcap/build-kit 14.145.3-alpha-595a97d.0 → 14.145.3

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":"seed.fetching.d.ts","sourceRoot":"","sources":["../../src/utils/seed.fetching.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAQ7C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,WAAW,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,GAAG,oBAAoB,CAAC;AAE5E,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,CAAC,gBAAgB,GAAG,iBAAiB,CAAC,CAAC;AAEpF,eAAO,MAAM,cAAc,uEAKxB,oBAWF,CAAC;AAEF,eAAO,MAAM,cAAc,iEAIxB,oBAUF,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB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CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,WAAW,SAChB,MAAM,OACP,MAAM,UACH,MAAM,UACN,OAAO,UACP,OAAO,KACd,QAmBF,CAAC;AA2GF,eAAO,MAAM,SAAS,SACd,MAAM,OACP,MAAM,UACH,OAAO,OACV,MAAM,YACD,OAAO,UACT,MAAM,UACN,OAAO,eACF,OAAO,sBACA,OAAO,KAC1B,QAAQ,WAAW,CA8BrB,CAAC"}
@@ -87,13 +87,12 @@ const copyLocalSeed = (dirs, ref, start) => {
87
87
  const fetchNPMSeed = (seed, ref, dirs, useDefaultNPMScope, start) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
88
88
  let success = true;
89
89
  const data = (0, exports.resolveNPMSeed)(seed, ref, useDefaultNPMScope);
90
- consola_1.consola.info(`Downloading NPM seed ${(0, console_1.bold)(data.artifact)} (dist tag ${(0, console_1.bold)(data.ref)}, subdir: ${(0, console_1.bold)(dirs.subdir || 'N/A')}) to ${(0, console_1.bold)(dirs.dir)} directory...`);
90
+ consola_1.consola.info(`Downloading NPM module ${(0, console_1.bold)(data.artifact)} (dist tag ${(0, console_1.bold)(data.ref)}, subdir: ${(0, console_1.bold)(dirs.subdir || 'N/A')}) to ${(0, console_1.bold)(dirs.dir)} directory...`);
91
91
  try {
92
92
  const version = (0, npm_1.getLatestVersion)(data.artifact, data.ref, false);
93
93
  const url = (0, get_npm_tarball_url_1.default)(data.artifact, version);
94
94
  // NPM tarballs contains top-level directory called package
95
- const path = dirs.subdir ? `${node_path_1.sep}package/${dirs.subdir}` : `${node_path_1.sep}package`;
96
- yield (0, archive_1.downloadTarball)(url, dirs.extractedSeedDir, path).catch((err) => {
95
+ yield (0, archive_1.downloadTarball)(url, dirs.extractedSeedDir, `${node_path_1.sep}package`).catch((err) => {
97
96
  consola_1.consola.warn('Error downloading module', err);
98
97
  success = false;
99
98
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/build-kit",
3
3
  "description": "Build utilities & types",
4
- "version": "14.145.3-alpha-595a97d.0",
4
+ "version": "14.145.3",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@esbuild-kit/cjs-loader": "2.4.2",
39
- "@genesislcap/foundation-testing": "14.145.3-alpha-595a97d.0",
39
+ "@genesislcap/foundation-testing": "14.145.3",
40
40
  "@types/http-proxy": "^1.17.8",
41
41
  "@types/node": "^20.8.7",
42
42
  "tsm": "^2.2.1",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "109621eeaef9ccd1501cded30e35fdcdad4e0eb3"
54
+ "gitHead": "cb5a90f2479c3af0f15517f29c36ebe30fdd9e0d"
55
55
  }
@@ -144,7 +144,7 @@ const fetchNPMSeed = async (
144
144
  const data = resolveNPMSeed(seed, ref, useDefaultNPMScope);
145
145
 
146
146
  consola.info(
147
- `Downloading NPM seed ${bold(data.artifact)} (dist tag ${bold(data.ref)}, subdir: ${bold(
147
+ `Downloading NPM module ${bold(data.artifact)} (dist tag ${bold(data.ref)}, subdir: ${bold(
148
148
  dirs.subdir || 'N/A',
149
149
  )}) to ${bold(dirs.dir)} directory...`,
150
150
  );
@@ -153,8 +153,7 @@ const fetchNPMSeed = async (
153
153
  const version = getLatestVersion(data.artifact, data.ref, false);
154
154
  const url = getNpmTarballUrl(data.artifact, version);
155
155
  // NPM tarballs contains top-level directory called package
156
- const path = dirs.subdir ? `${sep}package/${dirs.subdir}` : `${sep}package`;
157
- await downloadTarball(url, dirs.extractedSeedDir, path).catch((err) => {
156
+ await downloadTarball(url, dirs.extractedSeedDir, `${sep}package`).catch((err) => {
158
157
  consola.warn('Error downloading module', err);
159
158
  success = false;
160
159
  });