Skip to content

Commit

Permalink
fix: link scoped package properly
Browse files Browse the repository at this point in the history
  • Loading branch information
just-paja committed Jan 3, 2023
1 parent b890210 commit 4107d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/isolate/IsolatedPackage.mjs
Expand Up @@ -263,7 +263,7 @@ export class IsolatedPackage extends Package {

async referenceStoredDependency(dep) {
const npmPackage = JSON.parse(readFileSync(this.manifestLocation))
const versionRef = `file:isolated-${dep.name}-${dep.version}.tgz`
const versionRef = `file:isolated-${dep.packageName}`
npmPackage.dependencies[dep.name] = versionRef
const JSON_PADDING = 2
await writeFile(
Expand Down

0 comments on commit 4107d53

Please sign in to comment.