Skip to content

Commit

Permalink
chore: add ngx-semantic-version to extensions list (#899)
Browse files Browse the repository at this point in the history
* chore: add ngx-semantic-version to extensions list

* style: format code using `yarn format`
  • Loading branch information
d-koppenhagen authored and mrmeku committed Nov 21, 2019
1 parent 336ee76 commit 8d52e04
Show file tree
Hide file tree
Showing 5 changed files with 22,019 additions and 18 deletions.
23 changes: 10 additions & 13 deletions apps/vscode/src/app/select-schematic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,21 @@ export function selectSchematic(workspacePath: string) {
'tools/schematics', // TODO: Make these values auto detectable / configurable
'workspace-schematic' // TODO: Make these values auto detectable / configurable
)
.map(
(c): GenerateQuickPickItem[] =>
c.schematics.map(
(s): GenerateQuickPickItem => ({
description: s.description,
label: `${c.name} - ${s.name}`,
collectionName: c.name,
schematic: s
})
)
.map((c): GenerateQuickPickItem[] =>
c.schematics.map(
(s): GenerateQuickPickItem => ({
description: s.description,
label: `${c.name} - ${s.name}`,
collectionName: c.name,
schematic: s
})
)
)
.flat();

return window.showQuickPick(schematics).then(selection => {
if (selection) {
const schematic = `${selection.schematic.collection}:${
selection.schematic.name
}`;
const schematic = `${selection.schematic.collection}:${selection.schematic.name}`;
return {
...selection.schematic,
command: 'generate',
Expand Down
2 changes: 2 additions & 0 deletions libs/server/src/lib/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ export const EXTENSIONS: { [key: string]: string } = {
'ngx-face-api-js':
'Angular directives for face detection and face recognition in the browser. It is a wrapper for face-api.js, so it is not dependent on the browser implementation.',
'ngx-onesignal': 'angular 7+ OneSignal Service',
'ngx-semantic-version':
'Add and configure commitlint, commitizen, husky and standard-version for creating conventional commits and automate your release and CHANGELOG generation respecting semver',
'ngx-weui': 'WeUI for angular',
'primeng-schematics': 'Schematics for Prime NG',
'puppeteer-schematic':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
role="textbox"
/>

<ng-container *ngIf="(isFocused$ | async)">
<ng-container *ngIf="(visibleOptions | async) as result">
<ng-container *ngIf="isFocused$ | async">
<ng-container *ngIf="visibleOptions | async as result">
<div class="autocomplete-panel" role="listbox">
<div
*ngFor="let option of result; let i = index"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ng-container *ngIf="(taskExecForm$ | async) as taskExecForm">
<ng-container *ngIf="taskExecForm$ | async as taskExecForm">
<div
[class.has-configurations]="
taskExecForm.architect.configurations &&
Expand Down Expand Up @@ -45,7 +45,7 @@
<div class="scroll-container" #scrollContainer>
<div
class="form-container flags-and-fields-container fx-row"
*ngIf="(filteredFields$ | async) as filteredFields"
*ngIf="filteredFields$ | async as filteredFields"
>
<vscode-ui-field-tree
[activeFieldName]="activeFieldName$ | async"
Expand All @@ -71,7 +71,7 @@
</span>
</div>

<ng-container *ngIf="(defaultValues$ | async) as defaultValues">
<ng-container *ngIf="defaultValues$ | async as defaultValues">
<angular-console-field
[id]="field.name + '-angular-console-field'"
*ngFor="let field of taskExecForm.architect.schema"
Expand Down
Loading

0 comments on commit 8d52e04

Please sign in to comment.