Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: treat fist package.json as project root #1034

Merged
merged 3 commits into from
Jun 12, 2020

Conversation

jasonkuhrt
Copy link
Member

@jasonkuhrt jasonkuhrt commented Jun 12, 2020

closes #1012

TODO

  • docs
  • tests

@@ -0,0 +1,118 @@
import * as Path from 'path'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All build layout concerns are in own module now.

@@ -0,0 +1,32 @@
import { Either, right } from 'fp-ts/lib/Either'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All cache concerns are in own module now.

@@ -98,6 +98,26 @@ const ctx = TC.create(
* Tests
*/

describe('projectRoot', () => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trying to group tests around major data properties.

@jasonkuhrt jasonkuhrt marked this pull request as ready for review June 12, 2020 16:48
@jasonkuhrt jasonkuhrt requested a review from Weakky June 12, 2020 16:48
projectRoot: ctx.fs.cwd(),
})
})
})
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These three new tests cover the new feature.

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.

Treat package.json as project root
1 participant