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

Store project type to tailor configuration #66

Merged
merged 1 commit into from
Jun 18, 2020
Merged

Store project type to tailor configuration #66

merged 1 commit into from
Jun 18, 2020

Conversation

72636c
Copy link
Member

@72636c 72636c commented Jun 18, 2020

This introduces a new package.json#/skuba/type field that is used by skuba configure to tailor logic based on whether we're dealing with an application or package. This could be extended in future to somehow enable a monorepo type, but it's probably too early to say.

This introduces a new `package.json#/skuba/type` field that is used by
`skuba configure` to tailor logic based on whether we're dealing with an
application or package. This could be extended in future to somehow
enable a monorepo type, but it's probably too early to say.
@72636c 72636c requested a review from a team as a code owner June 18, 2020 09:42
@changeset-bot
Copy link

changeset-bot bot commented Jun 18, 2020

🦋 Changeset is good to go

Latest commit: bd2d33d

We got this.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@etaoins etaoins left a comment

Choose a reason for hiding this comment

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

Awesome 🎉

There's an annoying number of differences between packages and services that this tightly

@@ -79,11 +134,79 @@ describe('packageModule', () => {
const outputData = parsePackage(outputFiles['package.json']);

assertDefined(outputData);
expect(outputData.license).toBe('UNLICENSED');
expect(outputData.license).toBe('MIT');
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Member Author

Choose a reason for hiding this comment

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

🏎️

@72636c 72636c merged commit 7a967cd into master Jun 18, 2020
@72636c 72636c deleted the project-type branch June 18, 2020 10:17
@72636c 72636c mentioned this pull request Jun 18, 2020
12 tasks
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.

2 participants