-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Env] Add buildFlavor
to package info
#161930
Changes from all commits
fd3fe9b
2ee7826
2a17a51
8aac0df
02f48ec
2fd0a00
f50a035
2e3f933
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ export interface PackageInfo { | |
buildNum: number; | ||
buildSha: string; | ||
buildDate: Date; | ||
buildFlavor: BuildFlavor; | ||
dist: boolean; | ||
} | ||
|
||
|
@@ -26,3 +27,5 @@ export interface EnvironmentMode { | |
dev: boolean; | ||
prod: boolean; | ||
} | ||
|
||
export type BuildFlavor = 'serverless' | 'traditional'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I went with |
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.
The actual change. Everything else is just adapting the test usages.