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(core): include serve target only for applications #30

Merged
merged 2 commits into from
Apr 27, 2021

Conversation

bcallaghan-et
Copy link
Collaborator

Do not include serve target for libraries as they cannot be run directly.

Fixes #28

Do not include serve target for libraries as they cannot be run directly.

Fixes #28
Copy link
Member

@AgentEnder AgentEnder left a comment

Choose a reason for hiding this comment

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

This looks good, and definitely works. One small suggestion, albeit a bit of a nit pick.

packages/core/src/generators/utils/generate-project.ts Outdated Show resolved Hide resolved
Replace boolean `and` with ternary for clearer code.
@sonarcloud
Copy link

sonarcloud bot commented Apr 27, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@AgentEnder AgentEnder merged commit 9e4438e into nx-dotnet:dev Apr 27, 2021
github-actions bot pushed a commit that referenced this pull request Apr 27, 2021
# [0.3.0-dev.2](v0.3.0-dev.1...v0.3.0-dev.2) (2021-04-27)

### Bug Fixes

* **core:** include serve target only for applications ([#30](#30)) ([9e4438e](9e4438e)), closes [#28](#28)
@github-actions
Copy link
Contributor

🎉 This PR is included in version 0.3.0-dev.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

AgentEnder pushed a commit that referenced this pull request Apr 27, 2021
Do not include serve target for libraries as they cannot be run directly.

Fixes #28

Co-authored-by: Ben Callaghan <bcallaghan@selectbankcard.com>
AgentEnder pushed a commit that referenced this pull request Apr 27, 2021
# [0.3.0-dev.2](v0.3.0-dev.1...v0.3.0-dev.2) (2021-04-27)

### Bug Fixes

* **core:** include serve target only for applications ([#30](#30)) ([9e4438e](9e4438e)), closes [#28](#28)
github-actions bot pushed a commit that referenced this pull request Apr 27, 2021
## [0.2.1-dev.1](v0.2.0...v0.2.1-dev.1) (2021-04-27)

### Bug Fixes

* **core:** include serve target only for applications ([#30](#30)) ([d3a54ce](d3a54ce)), closes [#28](#28)
* **core:** output paths still use windows separator on linux / mac ([ed1c53a](ed1c53a))
* **core:** use full project path in output directory ([7748f9c](7748f9c)), closes [#27](#27)

### Features

* **repo:** enable semantic-release ([298c5af](298c5af))
github-actions bot pushed a commit that referenced this pull request Apr 27, 2021
## [0.2.1](v0.2.0...v0.2.1) (2021-04-27)

### Bug Fixes

* **core:** include serve target only for applications ([#30](#30)) ([d3a54ce](d3a54ce)), closes [#28](#28)
* **core:** output paths still use windows separator on linux / mac ([ed1c53a](ed1c53a))
* **core:** use full project path in output directory ([7748f9c](7748f9c)), closes [#27](#27)

### Features

* **repo:** enable semantic-release ([298c5af](298c5af))
@bcallaghan-et bcallaghan-et deleted the remove-serve-target branch May 5, 2021 15:52
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2023

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants