@travetto/manifest 3.0.0-rc.13 → 3.0.0-rc.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/manifest",
3
- "version": "3.0.0-rc.13",
3
+ "version": "3.0.0-rc.15",
4
4
  "description": "Manifest support",
5
5
  "keywords": [
6
6
  "path",
@@ -304,9 +304,9 @@ export class ManifestIndex {
304
304
  getLocalInputFolderMapping(): [folder: string, moduleSourceRoot: string][] {
305
305
  return this.getLocalModules().flatMap(x =>
306
306
  ((!this.manifest.monoRepo || x.sourcePath !== this.manifest.workspacePath) ?
307
- [x.sourcePath] : [...Object.keys(x.files)].filter(y => !y.startsWith('$')).map(y => path.resolve(x.sourcePath, y))
307
+ [x.sourcePath] : [...Object.keys(x.files)].filter(y => !y.startsWith('$')).map(y => path.resolve(this.#manifest.workspacePath, x.sourcePath, y))
308
308
  // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
309
- ).map(f => [f, path.resolve(x.sourceFolder)] as [string, string])
309
+ ).map(f => [f, path.resolve(this.#manifest.workspacePath, x.sourceFolder)] as [string, string])
310
310
  );
311
311
  }
312
312
 
package/src/package.ts CHANGED
@@ -197,7 +197,6 @@ export class PackageUtil {
197
197
  .map(([name, { location }]) => ({ sourcePath: location, name }));
198
198
  break;
199
199
  }
200
- default: throw new Error(`Unknown package manager: ${ctx.packageManager}`);
201
200
  }
202
201
 
203
202
  this.#workspaces[rootPath] = out;