Skip to content

fix: "dart_frog build" doesn't handle packages with relative paths #1947

@jtmcdole

Description

@jtmcdole

Description

When running dart_frog build, it just copies the pubspec.yaml without any manipulation. Relative paths end up failing. My current workaround is to just have a step that updates relative paths when making new builds.

Steps To Reproduce

Have a pubspec with relative deps:

dependencies:
  shared:
    path: ../shared

Expected Behavior

dependencies:
  shared:
    path: ../../shared

Additional Context

I haven't tested this with melos / pub workspaces, but I suspect its also broken as you have to use bootstraping every time you build.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expectedneeds reproductive stepsThis issue lacks sufficient details and further information in neededwaiting for responseWaiting for follow up

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions