Skip to content

Reduce post-deployment dependencies #732

@Domiii

Description

@Domiii
  • Make sure, dbux-code can depend on @dbux/cli in devDependencies without causing trouble in production.
    • Bring back const flags = ' --only=prod'
    • Maybe move to peerDependencies?
    • Maybe npm install --force can fix it?
  • During deployment, if install changes yarn.lock, the entire script fails, but versions have already changed.
    • make sure to yarn install and push before starting anything else?
    • if script fails, try to revert versions automatically (also see next point)
  • Add an easier way to fix versions if publish.js fails
    • use the alchemy table to mix together the correct version of the npx lerna version... command
    • → NOTE: we cannot easily revert, because "the next version" was already created. Might have to "bump to next dev" instead.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions