Skip to content

Commit

Permalink
test: @types/ramda is always a dev dep
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Sep 8, 2022
1 parent b83d51e commit f3fc6b5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .meta-updater/src/index.ts
Expand Up @@ -222,6 +222,14 @@ async function updateManifest (workspaceDir: string, manifest: ProjectManifest,
files.push('bin')
}
}
if (manifest.dependencies?.['@types/ramda']) {
// We should never release @types/ramda as a prod dependency as it breaks the bit repository.
manifest.devDependencies = {
...manifest.devDependencies,
'@types/ramda': manifest.dependencies['@types/ramda'],
}
delete manifest.dependencies['@types/ramda']
}
return {
...manifest,
bugs: {
Expand Down

0 comments on commit f3fc6b5

Please sign in to comment.