Skip to content

Conversation

@CharlesTaylor7
Copy link

@CharlesTaylor7 CharlesTaylor7 commented Sep 27, 2023

purescript-docs-search depends on spago to provide the spago docs command in order to test itself. But the newest version of spago doesn't have that command yet, as its waiting on purescript-docs-search to update to the new spago.yaml format. This forms a kind of "chicken and egg" problem.

The approach I am taking is to install both versions of spago. The legacy version is used for docs generation, but the new version is used to build & test.

After spago docs has been ported to the new spago repo, we can come back and cleanup.

Cleanup checklist:

  • Remove packages.dhall & spago.dhall
  • Remove all the npm script prefixes of: npm exec --y --package=./node_module/spago-legacy --
  • Remove "spago-legacy" from the package.json file

@CharlesTaylor7
Copy link
Author

Document indexing fails right now. I think this is some sort of parse error, maybe related to the new Visible Type Applications feature?

https://github.com/CharlesTaylor7/purescript-docs-search/actions/runs/6326997767/job/17181838467#step:9:782

@CharlesTaylor7
Copy link
Author

Part of purescript/spago#1020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant