-
Notifications
You must be signed in to change notification settings - Fork 12k
Deprecate defaultProject #12394
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
Deprecate defaultProject #12394
Conversation
@@ -20,7 +20,7 @@ export interface WorkspaceSchema { | |||
*/ | |||
newProjectRoot?: string; | |||
/** | |||
* The default project. | |||
* (DEPRECATED) The default project. |
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.
Same
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.
Ah yes, that's better, thanks!
a9c8710
to
f44ec58
Compare
@@ -6,7 +6,7 @@ | |||
|
|||
- **version** (`integer`): File format version. This is currently `"1"`. | |||
|
|||
- **newProjectRoot** (`string`): Path where new projects will be created. | |||
- **newProjectRoot** (`string`): (**DEPRECATED**) Path where new projects will be created. |
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.
this looks wrong, shouldn't it be on the following option?
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.
Jeez, that's what I get for amending commits in a rush. Didn't even notice. Fixed now.
f44ec58
to
28feb78
Compare
28feb78
to
f227ba9
Compare
@@ -20,7 +20,8 @@ export interface WorkspaceSchema { | |||
*/ | |||
newProjectRoot?: string; | |||
/** | |||
* The default project. | |||
* @deprecated From 7.0.0 | |||
* The default project.* |
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.
Nit: you have an extra *
at the end
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.
Thanks, fixed
f227ba9
to
a1587c5
Compare
Blocked because we will reopen a larger discussion of project layout for ng8 |
Hi @filipesilva! This PR has merge conflicts due to recent upstream merges. |
We need to actually design what non-project scoped commands should do. Currently default project almost never applies, and when it does it might not be the right thing anyway. |
From what I can tell from #11111 (comment), this PR should be closed. Although there are still inconsistencies between various commands where the project name is sometimes passed using L.E. In this repository, the "simple" (
And there are also a few inconsistencies in the https://github.com/angular/angular repository:
The https://github.com/angular/components repository has consistent names in the schematics:
|
Going through old PRs. After some discussion, we still think we should deprecate |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
More context in #11111 (comment)
Fix #11111