purescript / purescript/spago

Add a `-d` flag to `spago search` similar to `spago repl`'s

Open
#742 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PureScript
Stars
831
Forks
137
PR merge metrics
No merged PRs in 30d

Description

When you run spago repl -d it will only load your dependencies which allows for running the repl without the code compiling. The same would be very nice for spago search as the inability to look up a type often ironically leads to the project not compiling

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the existing spago repl -d behavior with the spago search command entry point. Trace how -d limits loading to dependencies without compiling project code, then verify that spago search -d can look up types in that mode without requiring the project to compile.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.