Skip to content

sqd deploy from within a monorepo #63

@mlenser

Description

@mlenser

Hi,

We have a monorepo where our indexer is a package of many. sqd deploy expects a package-lock.json (or the equivalent for yarn/pnpm) within the package, but the lock file is at the root of the monorepo. We've worked around this a bit by forcing our indexer to generate a package-lock.json via npm i --omit=dev --legacy-peer-deps --install-strategy=nested --workspaces=false --package-lock-only.

But that presents its own challenges as we cannot import from any other packages within the monorepo and we have to continuously update the package-lock.json just for sqd deploy.

Is there a recommended path here? We just switched from yarn to pnpm at the monorepo root if it matters.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions