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

Fix the code example editor service to use the major version of Angular packages to determine SemVer range #266

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

Blackbaud-SteveBrush
Copy link
Member

No description provided.

@Blackbaud-SteveBrush Blackbaud-SteveBrush marked this pull request as ready for review September 21, 2023 14:50
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Patch coverage is 100.00% of modified lines.

Files Changed Coverage
...ules/code-examples/code-examples-editor.service.ts 100.00%

📢 Thoughts on this report? Let us know!.

@@ -28,7 +28,7 @@ export class SkyDocsCodeExamplesEditorService {
}

#getPayload(codeExample: SkyDocsCodeExample): StackBlitzProject {
const angularVersion = `^${ANGULAR_VERSION.full}`;
const angularVersion = `^${ANGULAR_VERSION.major}`;
Copy link
Member Author

@Blackbaud-SteveBrush Blackbaud-SteveBrush Sep 21, 2023

Choose a reason for hiding this comment

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

@angular/core and @angular/cli have different latest versions; we'll pull in the major version instead.

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit 10eb0dc into master Sep 21, 2023
3 checks passed
@Blackbaud-SteveBrush Blackbaud-SteveBrush deleted the fix-stackblitz-version branch September 21, 2023 15:27
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