-
Notifications
You must be signed in to change notification settings - Fork 19
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(blueprint): include an instantiation object on the base blueprint #446
Conversation
@@ -59,6 +59,9 @@ export class Blueprint extends Project { | |||
name: process.env.CONTEXT_PROJECTNAME, | |||
bundlepath: process.env.EXISTING_BUNDLE_ABS, | |||
options: getOptions(path.join(process.env.EXISTING_BUNDLE_ABS || '', OPTIONS_FILE)), | |||
blueprint: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be blueprints?
this.context.project.blueprint.instantiations
or
this.context.project.blueprints.instantiations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what you have makes sense since the ancestor is singular.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay fair enough
@@ -59,6 +59,9 @@ export class Blueprint extends Project { | |||
name: process.env.CONTEXT_PROJECTNAME, | |||
bundlepath: process.env.EXISTING_BUNDLE_ABS, | |||
options: getOptions(path.join(process.env.EXISTING_BUNDLE_ABS || '', OPTIONS_FILE)), | |||
blueprint: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think what you have makes sense since the ancestor is singular.
Issue
We'd like to surface the available instantiations on the base blueprint.
this can be accessed through the instantiation object on the project context
Description
What does this implement? Explain your changes.
Testing
See test blueprint
Additional context
Add any other context about the PR here.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.