{
  "schema": 1,
  "id": "ext.angular",
  "name": "Angular",
  "version": "1.0.1",
  "category": "language",
  "description": "Angular-Templates mit dem neuen Kontrollfluss (@if, @for, @defer) und Angular-TypeScript mit Signals, Standalone-Komponenten und ngserver.",
  "author": "Lumen",
  "icon": "A",
  "color": "#dd0031",
  "license": "MIT",
  "minAppVersion": "0.3.0",
  "keywords": [
    "angular",
    "angular-html",
    "angular-ts"
  ],
  "readme": "",
  "settings": [],
  "pages": [],
  "addon": {
    "schema": 1,
    "languages": [
      {
        "id": "angular-html",
        "name": "Angular-Template",
        "extensions": [
          ".component.html",
          ".template.html"
        ],
        "icon": "A",
        "color": "#dd0031",
        "priority": 20,
        "comments": {
          "block": [
            "<!--",
            "-->"
          ]
        },
        "indentOpen": "<(?!\\/|.*\\/>)[^>]*>\\s*$|\\{\\s*$",
        "indentClose": "^\\s*(?:<\\/|\\}|@\\})",
        "completions": [
          "*ngIf",
          "*ngFor",
          "*ngSwitchCase",
          "*ngSwitchDefault",
          "ngClass",
          "ngStyle",
          "ngModel",
          "ngSubmit",
          "ngTemplateOutlet",
          "ngContainer",
          "ng-content",
          "@if",
          "@else",
          "@for",
          "@empty",
          "@switch",
          "@case",
          "@default",
          "@defer",
          "@placeholder",
          "@loading",
          "@error",
          "@let",
          "(click)",
          "(input)",
          "(change)",
          "(submit)",
          "(keyup.enter)",
          "(blur)",
          "[class]",
          "[style]",
          "[disabled]",
          "[value]",
          "[ngModel]",
          "[(ngModel)]",
          "trackBy",
          "async",
          "json",
          "date",
          "currency",
          "uppercase",
          "lowercase"
        ],
        "snippets": [
          {
            "label": "if",
            "detail": "Kontrollfluss @if",
            "body": "@if (${bedingung}) {\n  $0\n} @else {\n}"
          },
          {
            "label": "for",
            "detail": "Kontrollfluss @for",
            "body": "@for (${element} of ${liste}; track ${element}.id) {\n  $0\n} @empty {\n}"
          },
          {
            "label": "switch",
            "detail": "Kontrollfluss @switch",
            "body": "@switch (${wert}) {\n  @case (${a}) { $0 }\n  @default { }\n}"
          },
          {
            "label": "defer",
            "detail": "Verzögertes Laden",
            "body": "@defer (on viewport) {\n  <${komponente} />$0\n} @placeholder {\n  <div>Lädt…</div>\n}"
          },
          {
            "label": "ngif",
            "detail": "*ngIf (klassisch)",
            "body": "<div *ngIf=\"${bedingung}; else ${sonst}\">$0</div>\n<ng-template #${sonst}></ng-template>"
          },
          {
            "label": "ngfor",
            "detail": "*ngFor (klassisch)",
            "body": "<${li} *ngFor=\"let ${element} of ${liste}; trackBy: ${trackById}\">$0</${li}>"
          },
          {
            "label": "bind",
            "detail": "Zwei-Wege-Bindung",
            "body": "<input [(ngModel)]=\"${wert}\" name=\"${name}\" />$0"
          },
          {
            "label": "async",
            "detail": "async-Pipe",
            "body": "{{ ${quelle$} | async }}$0"
          }
        ],
        "lsp": [
          {
            "label": "Angular Language Service",
            "command": "ngserver",
            "args": [
              "--stdio",
              "--tsProbeLocations",
              ".",
              "--ngProbeLocations",
              "."
            ],
            "languageId": "html",
            "rootMarkers": [
              "angular.json",
              "nx.json",
              "package.json",
              ".git"
            ],
            "install": "npm i -g @angular/language-server typescript"
          },
          {
            "label": "vscode-html-language-server",
            "command": "vscode-html-language-server",
            "args": [
              "--stdio"
            ],
            "languageId": "html",
            "install": "npm i -g vscode-langservers-extracted"
          }
        ],
        "tokenizer": "markup-mustache"
      },
      {
        "id": "angular-ts",
        "name": "Angular (TypeScript)",
        "extensions": [
          ".component.ts",
          ".service.ts",
          ".directive.ts",
          ".pipe.ts",
          ".guard.ts",
          ".module.ts"
        ],
        "icon": "A",
        "color": "#dd0031",
        "priority": 20,
        "capitalizedAsType": true,
        "comments": {
          "line": "//",
          "block": [
            "/*",
            "*/"
          ]
        },
        "controls": [
          "if",
          "else",
          "for",
          "while",
          "do",
          "switch",
          "case",
          "default",
          "break",
          "continue",
          "return",
          "throw",
          "try",
          "catch",
          "finally",
          "yield",
          "await"
        ],
        "keywords": [
          "var",
          "let",
          "const",
          "function",
          "class",
          "extends",
          "new",
          "delete",
          "typeof",
          "instanceof",
          "in",
          "of",
          "this",
          "super",
          "import",
          "export",
          "from",
          "as",
          "default",
          "async",
          "static",
          "get",
          "set",
          "void",
          "with",
          "interface",
          "type",
          "enum",
          "namespace",
          "declare",
          "abstract",
          "implements",
          "public",
          "private",
          "protected",
          "readonly",
          "override",
          "satisfies",
          "keyof",
          "infer",
          "asserts",
          "is",
          "module",
          "accessor",
          "using"
        ],
        "types": [
          "string",
          "number",
          "boolean",
          "object",
          "symbol",
          "bigint",
          "any",
          "unknown",
          "never",
          "void",
          "null",
          "undefined",
          "Array",
          "Readonly",
          "Partial",
          "Required",
          "Pick",
          "Omit",
          "Record",
          "Exclude",
          "Extract",
          "ReturnType",
          "Parameters",
          "Awaited",
          "NonNullable",
          "Promise",
          "Map",
          "Set",
          "Observable",
          "Signal",
          "WritableSignal",
          "InputSignal"
        ],
        "builtins": [
          "console",
          "Math",
          "JSON",
          "Object",
          "Array",
          "String",
          "Number",
          "Boolean",
          "Promise",
          "Symbol",
          "Map",
          "Set",
          "WeakMap",
          "WeakSet",
          "Date",
          "RegExp",
          "Error",
          "TypeError",
          "Proxy",
          "Reflect",
          "BigInt",
          "fetch",
          "structuredClone",
          "setTimeout",
          "setInterval",
          "queueMicrotask",
          "document",
          "window",
          "Component",
          "Directive",
          "Pipe",
          "Injectable",
          "NgModule",
          "Input",
          "Output",
          "EventEmitter",
          "ViewChild",
          "ViewChildren",
          "ContentChild",
          "HostListener",
          "HostBinding",
          "inject",
          "signal",
          "computed",
          "effect",
          "input",
          "output",
          "model",
          "viewChild",
          "contentChild",
          "linkedSignal",
          "resource",
          "ChangeDetectionStrategy",
          "OnInit",
          "OnDestroy",
          "AfterViewInit",
          "DestroyRef",
          "ElementRef",
          "TemplateRef",
          "Renderer2",
          "Router",
          "ActivatedRoute",
          "HttpClient",
          "FormBuilder",
          "FormGroup",
          "FormControl",
          "Validators",
          "Observable",
          "Subject",
          "takeUntilDestroyed",
          "toSignal"
        ],
        "constants": [
          "true",
          "false",
          "null",
          "undefined",
          "NaN",
          "Infinity",
          "globalThis"
        ],
        "strings": [
          {
            "start": "\"",
            "escapes": true
          },
          {
            "start": "'",
            "escapes": true
          },
          {
            "start": "`",
            "multiline": true,
            "escapes": true,
            "interpolate": "${"
          }
        ],
        "completions": [
          "addEventListener",
          "removeEventListener",
          "querySelector",
          "querySelectorAll",
          "createElement",
          "appendChild",
          "classList",
          "dataset",
          "textContent",
          "innerHTML",
          "localStorage",
          "sessionStorage",
          "requestAnimationFrame",
          "IntersectionObserver",
          "AbortController",
          "URLSearchParams",
          "FormData",
          "Headers",
          "Response",
          "Request",
          "process",
          "Buffer",
          "__dirname",
          "module",
          "exports",
          "globalThis",
          "Component",
          "Directive",
          "Pipe",
          "Injectable",
          "NgModule",
          "Input",
          "Output",
          "EventEmitter",
          "ViewChild",
          "ViewChildren",
          "ContentChild",
          "HostListener",
          "HostBinding",
          "inject",
          "signal",
          "computed",
          "effect",
          "input",
          "output",
          "model",
          "viewChild",
          "contentChild",
          "linkedSignal",
          "resource",
          "ChangeDetectionStrategy",
          "OnInit",
          "OnDestroy",
          "AfterViewInit",
          "DestroyRef",
          "ElementRef",
          "TemplateRef",
          "Renderer2",
          "Router",
          "ActivatedRoute",
          "HttpClient",
          "FormBuilder",
          "FormGroup",
          "FormControl",
          "Validators",
          "Observable",
          "Subject",
          "takeUntilDestroyed",
          "toSignal"
        ],
        "snippets": [
          {
            "label": "log",
            "detail": "console.log",
            "body": "console.log($0)"
          },
          {
            "label": "fn",
            "detail": "Funktion",
            "body": "function ${name}(${args}) {\n  $0\n}"
          },
          {
            "label": "afn",
            "detail": "Arrow Function",
            "body": "const ${name} = (${args}) => {\n  $0\n}"
          },
          {
            "label": "asfn",
            "detail": "async Arrow Function",
            "body": "const ${name} = async (${args}) => {\n  $0\n}"
          },
          {
            "label": "try",
            "detail": "try/catch",
            "body": "try {\n  $0\n} catch (err) {\n  console.error(err)\n}"
          },
          {
            "label": "cls",
            "detail": "Klasse",
            "body": "class ${Name} {\n  constructor(${args}) {\n    $0\n  }\n}"
          },
          {
            "label": "imp",
            "detail": "Import",
            "body": "import { ${name} } from '${modul}'"
          },
          {
            "label": "impd",
            "detail": "Default-Import",
            "body": "import ${Name} from '${modul}'"
          },
          {
            "label": "exp",
            "detail": "Export",
            "body": "export const ${name} = $0"
          },
          {
            "label": "forof",
            "detail": "for…of",
            "body": "for (const ${element} of ${liste}) {\n  $0\n}"
          },
          {
            "label": "fore",
            "detail": "forEach",
            "body": "${liste}.forEach((${element}) => {\n  $0\n})"
          },
          {
            "label": "map",
            "detail": "map",
            "body": "${liste}.map((${element}) => $0)"
          },
          {
            "label": "filter",
            "detail": "filter",
            "body": "${liste}.filter((${element}) => $0)"
          },
          {
            "label": "reduce",
            "detail": "reduce",
            "body": "${liste}.reduce((${acc}, ${element}) => $0, ${start})"
          },
          {
            "label": "fetch",
            "detail": "fetch mit await",
            "body": "const res = await fetch('${url}')\nif (!res.ok) throw new Error(res.statusText)\nconst data = await res.json()$0"
          },
          {
            "label": "prom",
            "detail": "Promise",
            "body": "new Promise((resolve, reject) => {\n  $0\n})"
          },
          {
            "label": "timeout",
            "detail": "setTimeout",
            "body": "setTimeout(() => {\n  $0\n}, ${200})"
          },
          {
            "label": "switch",
            "detail": "switch",
            "body": "switch (${wert}) {\n  case ${1}:\n    $0\n    break\n  default:\n    break\n}"
          },
          {
            "label": "destr",
            "detail": "Destrukturierung",
            "body": "const { ${a}, ${b} } = ${objekt}$0"
          },
          {
            "label": "iface",
            "detail": "Interface",
            "body": "interface ${Name} {\n  $0\n}"
          },
          {
            "label": "tp",
            "detail": "Type-Alias",
            "body": "type ${Name} = $0"
          },
          {
            "label": "enum",
            "detail": "Enum",
            "body": "enum ${Name} {\n  ${A} = '${a}',\n  $0\n}"
          },
          {
            "label": "genfn",
            "detail": "Generische Funktion",
            "body": "function ${name}<${T}>(${arg}: ${T}): ${T} {\n  $0\n}"
          },
          {
            "label": "guard",
            "detail": "Type Guard",
            "body": "function is${Name}(value: unknown): value is ${Name} {\n  return $0\n}"
          },
          {
            "label": "asconst",
            "detail": "as const",
            "body": "const ${NAME} = [$0] as const"
          },
          {
            "label": "record",
            "detail": "Record-Typ",
            "body": "type ${Name} = Record<${string}, ${unknown}>"
          },
          {
            "label": "partial",
            "detail": "Optionaler Parameter",
            "body": "${name}?: ${string}"
          },
          {
            "label": "generic",
            "detail": "Generisches Interface",
            "body": "interface ${Name}<${T}> {\n  ${wert}: ${T}\n}"
          },
          {
            "label": "comp",
            "detail": "Standalone-Komponente",
            "body": "import { Component, ChangeDetectionStrategy, signal } from '@angular/core'\n\n@Component({\n  selector: '${app-name}',\n  standalone: true,\n  imports: [],\n  template: `\n    <h1>{{ ${titel}() }}</h1>\n  `,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ${Name}Component {\n  readonly ${titel} = signal('${Hallo}')$0\n}"
          },
          {
            "label": "service",
            "detail": "Service",
            "body": "import { Injectable, inject } from '@angular/core'\n\n@Injectable({ providedIn: 'root' })\nexport class ${Name}Service {\n  $0\n}"
          },
          {
            "label": "sig",
            "detail": "Signal",
            "body": "readonly ${wert} = signal(${0})$0"
          },
          {
            "label": "comp$",
            "detail": "computed",
            "body": "readonly ${abgeleitet} = computed(() => $0)"
          },
          {
            "label": "eff",
            "detail": "effect",
            "body": "effect(() => {\n  $0\n})"
          },
          {
            "label": "in",
            "detail": "Signal-Input",
            "body": "readonly ${wert} = input.required<${string}>()$0"
          },
          {
            "label": "out",
            "detail": "Signal-Output",
            "body": "readonly ${geändert} = output<${string}>()$0"
          },
          {
            "label": "inj",
            "detail": "inject",
            "body": "private readonly ${dienst} = inject(${Dienst})$0"
          },
          {
            "label": "pipe",
            "detail": "Pipe",
            "body": "import { Pipe, PipeTransform } from '@angular/core'\n\n@Pipe({ name: '${name}', standalone: true })\nexport class ${Name}Pipe implements PipeTransform {\n  transform(${wert}: ${string}): ${string} {\n    return $0\n  }\n}"
          }
        ],
        "run": [
          {
            "label": "ng serve",
            "command": "ng",
            "args": [
              "serve"
            ]
          },
          {
            "label": "ng build",
            "command": "ng",
            "args": [
              "build"
            ]
          },
          {
            "label": "ng test",
            "command": "ng",
            "args": [
              "test"
            ]
          }
        ],
        "lsp": [
          {
            "label": "Angular Language Service",
            "command": "ngserver",
            "args": [
              "--stdio",
              "--tsProbeLocations",
              ".",
              "--ngProbeLocations",
              "."
            ],
            "languageId": "typescript",
            "rootMarkers": [
              "angular.json",
              "nx.json",
              "package.json",
              ".git"
            ],
            "install": "npm i -g @angular/language-server typescript"
          },
          {
            "label": "typescript-language-server",
            "command": "typescript-language-server",
            "args": [
              "--stdio"
            ],
            "candidates": [
              "${root}/node_modules/.bin/typescript-language-server",
              "${workspace}/node_modules/.bin/typescript-language-server",
              "~/.local/share/nvim/mason/bin/typescript-language-server",
              "~/.bun/bin/typescript-language-server",
              "/opt/homebrew/bin/typescript-language-server"
            ],
            "languageId": "typescript",
            "rootMarkers": [
              "tsconfig.json",
              "jsconfig.json",
              "package.json",
              ".git"
            ],
            "initializationOptions": {
              "hostInfo": "Lumen",
              "preferences": {
                "includeInlayParameterNameHints": "all",
                "includeInlayParameterNameHintsWhenArgumentMatchesName": false,
                "includeInlayFunctionParameterTypeHints": true,
                "includeInlayVariableTypeHints": false,
                "includeInlayPropertyDeclarationTypeHints": true,
                "includeInlayFunctionLikeReturnTypeHints": true,
                "includeInlayEnumMemberValueHints": true,
                "includeCompletionsForModuleExports": true,
                "includeCompletionsForImportStatements": true,
                "includePackageJsonAutoImports": "on",
                "includeCompletionsWithClassMemberSnippets": true,
                "includeCompletionsWithObjectLiteralMethodSnippets": true,
                "includeCompletionsWithInsertText": true,
                "includeCompletionsWithSnippetText": true,
                "includeAutomaticOptionalChainCompletions": true,
                "importModuleSpecifierPreference": "shortest",
                "importModuleSpecifierEnding": "auto",
                "quotePreference": "auto",
                "providePrefixAndSuffixTextForRename": true,
                "allowRenameOfImportPath": true,
                "jsxAttributeCompletionStyle": "auto"
              },
              "tsserver": {
                "logVerbosity": "off",
                "useSyntaxServer": "auto"
              },
              "completions": {
                "completeFunctionCalls": true
              },
              "plugins": []
            },
            "settings": {
              "typescript": {
                "inlayHints": {
                  "parameterNames": {
                    "enabled": "all",
                    "suppressWhenArgumentMatchesName": true
                  },
                  "parameterTypes": {
                    "enabled": true
                  },
                  "variableTypes": {
                    "enabled": false
                  },
                  "propertyDeclarationTypes": {
                    "enabled": true
                  },
                  "functionLikeReturnTypes": {
                    "enabled": true
                  },
                  "enumMemberValues": {
                    "enabled": true
                  }
                },
                "suggest": {
                  "completeFunctionCalls": true
                }
              },
              "javascript": {
                "inlayHints": {
                  "parameterNames": {
                    "enabled": "all",
                    "suppressWhenArgumentMatchesName": true
                  },
                  "parameterTypes": {
                    "enabled": true
                  },
                  "variableTypes": {
                    "enabled": false
                  },
                  "propertyDeclarationTypes": {
                    "enabled": true
                  },
                  "functionLikeReturnTypes": {
                    "enabled": true
                  },
                  "enumMemberValues": {
                    "enabled": true
                  }
                },
                "suggest": {
                  "completeFunctionCalls": true
                }
              },
              "completions": {
                "completeFunctionCalls": true
              }
            },
            "install": "npm i -g typescript typescript-language-server",
            "installCommands": {
              "linux": "npm i -g typescript typescript-language-server",
              "darwin": "npm i -g typescript typescript-language-server",
              "win32": "npm i -g typescript typescript-language-server"
            },
            "docs": "https://github.com/typescript-language-server/typescript-language-server"
          },
          {
            "label": "vtsls",
            "command": "vtsls",
            "args": [
              "--stdio"
            ],
            "candidates": [
              "${root}/node_modules/.bin/vtsls",
              "~/.local/share/nvim/mason/bin/vtsls"
            ],
            "languageId": "typescript",
            "rootMarkers": [
              "tsconfig.json",
              "jsconfig.json",
              "package.json",
              ".git"
            ],
            "settings": {
              "typescript": {
                "inlayHints": {
                  "parameterNames": {
                    "enabled": "all",
                    "suppressWhenArgumentMatchesName": true
                  },
                  "parameterTypes": {
                    "enabled": true
                  },
                  "variableTypes": {
                    "enabled": false
                  },
                  "propertyDeclarationTypes": {
                    "enabled": true
                  },
                  "functionLikeReturnTypes": {
                    "enabled": true
                  },
                  "enumMemberValues": {
                    "enabled": true
                  }
                },
                "preferences": {
                  "includePackageJsonAutoImports": "on"
                },
                "suggest": {
                  "autoImports": true,
                  "includeCompletionsForImportStatements": true,
                  "completeFunctionCalls": true
                }
              },
              "javascript": {
                "inlayHints": {
                  "parameterNames": {
                    "enabled": "all",
                    "suppressWhenArgumentMatchesName": true
                  },
                  "parameterTypes": {
                    "enabled": true
                  },
                  "variableTypes": {
                    "enabled": false
                  },
                  "propertyDeclarationTypes": {
                    "enabled": true
                  },
                  "functionLikeReturnTypes": {
                    "enabled": true
                  },
                  "enumMemberValues": {
                    "enabled": true
                  }
                },
                "preferences": {
                  "includePackageJsonAutoImports": "on"
                },
                "suggest": {
                  "autoImports": true,
                  "includeCompletionsForImportStatements": true,
                  "completeFunctionCalls": true
                }
              },
              "vtsls": {
                "autoUseWorkspaceTsdk": true
              }
            },
            "install": "npm i -g @vtsls/language-server",
            "installCommands": {
              "linux": "npm i -g @vtsls/language-server",
              "darwin": "npm i -g @vtsls/language-server",
              "win32": "npm i -g @vtsls/language-server"
            },
            "docs": "https://github.com/yioneko/vtsls"
          },
          {
            "label": "deno lsp",
            "command": "deno",
            "args": [
              "lsp"
            ],
            "candidates": [
              "~/.deno/bin/deno"
            ],
            "languageId": "typescript",
            "rootMarkers": [
              "deno.json",
              "deno.jsonc"
            ],
            "initializationOptions": {
              "enable": true,
              "lint": true,
              "unstable": false,
              "suggest": {
                "imports": {
                  "hosts": {
                    "https://deno.land": true
                  }
                }
              }
            },
            "settings": {
              "deno": {
                "enable": true,
                "lint": true
              }
            },
            "install": "curl -fsSL https://deno.land/install.sh | sh",
            "installCommands": {
              "linux": "sh -c \"curl -fsSL https://deno.land/install.sh | sh\"",
              "darwin": "brew install deno"
            },
            "docs": "https://docs.deno.com/runtime/reference/lsp_integration/"
          }
        ],
        "debug": [
          "js-debug-typescript"
        ]
      }
    ],
    "themes": [],
    "commands": [],
    "events": [],
    "templates": [
      {
        "id": "angular-app",
        "name": "Angular (Standalone)",
        "description": "templates.web.angularDescription",
        "languageId": "angular-ts",
        "kindId": "npm",
        "icon": "A",
        "color": "#dd0031",
        "fields": [
          {
            "id": "version",
            "label": "templates.fields.version",
            "default": "0.1.0",
            "pattern": "\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?",
            "patternHint": "templates.fields.versionHint",
            "section": "templates.sections.project",
            "mono": true
          },
          {
            "id": "description",
            "label": "templates.fields.description",
            "placeholder": "templates.fields.descriptionPlaceholder",
            "required": false,
            "section": "templates.sections.project"
          },
          {
            "id": "author",
            "label": "templates.fields.author",
            "placeholder": "templates.fields.authorPlaceholder",
            "required": false,
            "section": "templates.sections.project"
          },
          {
            "id": "license",
            "label": "templates.fields.license",
            "type": "select",
            "choices": [
              {
                "value": "MIT",
                "label": "MIT"
              },
              {
                "value": "Apache-2.0",
                "label": "Apache 2.0"
              },
              {
                "value": "GPL-3.0-or-later",
                "label": "GPL 3.0"
              },
              {
                "value": "BSD-3-Clause",
                "label": "BSD 3-Clause"
              },
              {
                "value": "UNLICENSED",
                "label": "templates.fields.licenseNone"
              }
            ],
            "section": "templates.sections.project"
          },
          {
            "id": "pm",
            "label": "templates.fields.packageManager",
            "type": "select",
            "choices": [
              {
                "value": "npm",
                "label": "npm"
              },
              {
                "value": "pnpm",
                "label": "pnpm"
              },
              {
                "value": "yarn",
                "label": "Yarn"
              },
              {
                "value": "bun",
                "label": "Bun"
              }
            ],
            "section": "templates.sections.build"
          },
          {
            "id": "prefix",
            "label": "templates.web.selectorPrefix",
            "default": "app",
            "pattern": "[a-z][a-z0-9]*",
            "section": "templates.sections.build",
            "mono": true
          },
          {
            "id": "style",
            "label": "Styles",
            "type": "select",
            "choices": [
              {
                "value": "css",
                "label": "CSS"
              },
              {
                "value": "scss",
                "label": "SCSS"
              }
            ],
            "section": "templates.sections.build"
          }
        ],
        "open": "src/app/app.component.ts",
        "next": "templates.web.angularNext",
        "setup": [
          {
            "label": "templates.tasks.installDeps",
            "command": "{{pm}}",
            "args": [
              "install"
            ]
          }
        ],
        "files": [
          {
            "path": "package.json",
            "when": {
              "field": "style",
              "equals": "css"
            },
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"ng\": \"ng\",\n    \"start\": \"ng serve\",\n    \"build\": \"ng build\",\n    \"watch\": \"ng build --watch --configuration development\",\n    \"test\": \"ng test\"\n  },\n  \"dependencies\": {\n    \"@angular/common\": \"^19.0.0\",\n    \"@angular/compiler\": \"^19.0.0\",\n    \"@angular/core\": \"^19.0.0\",\n    \"@angular/platform-browser\": \"^19.0.0\",\n    \"@angular/router\": \"^19.0.0\",\n    \"rxjs\": \"~7.8.0\",\n    \"tslib\": \"^2.8.0\",\n    \"zone.js\": \"~0.15.0\"\n  },\n  \"devDependencies\": {\n    \"@angular/build\": \"^19.0.0\",\n    \"@angular/cli\": \"^19.0.0\",\n    \"@angular/compiler-cli\": \"^19.0.0\",\n    \"typescript\": \"~5.6.3\"\n  }\n}\n"
          },
          {
            "path": "package.json",
            "when": {
              "field": "style",
              "equals": "scss"
            },
            "content": "{\n  \"version\": \"{{version}}\",\n  \"description\": \"{{description}}\",\n  \"author\": \"{{author}}\",\n  \"license\": \"{{license}}\",\n  \"private\": true,\n  \"type\": \"module\",\n  \"scripts\": {\n    \"ng\": \"ng\",\n    \"start\": \"ng serve\",\n    \"build\": \"ng build\",\n    \"watch\": \"ng build --watch --configuration development\",\n    \"test\": \"ng test\"\n  },\n  \"dependencies\": {\n    \"@angular/common\": \"^19.0.0\",\n    \"@angular/compiler\": \"^19.0.0\",\n    \"@angular/core\": \"^19.0.0\",\n    \"@angular/platform-browser\": \"^19.0.0\",\n    \"@angular/router\": \"^19.0.0\",\n    \"rxjs\": \"~7.8.0\",\n    \"tslib\": \"^2.8.0\",\n    \"zone.js\": \"~0.15.0\"\n  },\n  \"devDependencies\": {\n    \"@angular/build\": \"^19.0.0\",\n    \"@angular/cli\": \"^19.0.0\",\n    \"@angular/compiler-cli\": \"^19.0.0\",\n    \"typescript\": \"~5.6.3\",\n    \"sass\": \"^1.83.0\"\n  }\n}\n"
          },
          {
            "path": "angular.json",
            "when": {
              "field": "style",
              "equals": "css"
            },
            "content": "{\n  \"$schema\": \"./node_modules/@angular/cli/lib/config/schema.json\",\n  \"version\": 1,\n  \"newProjectRoot\": \"projects\",\n  \"projects\": {\n    \"{{slug}}\": {\n      \"projectType\": \"application\",\n      \"root\": \"\",\n      \"sourceRoot\": \"src\",\n      \"prefix\": \"{{prefix}}\",\n      \"schematics\": {\n        \"@schematics/angular:component\": {\n          \"style\": \"css\"\n        }\n      },\n      \"architect\": {\n        \"build\": {\n          \"builder\": \"@angular/build:application\",\n          \"options\": {\n            \"outputPath\": \"dist/{{slug}}\",\n            \"index\": \"src/index.html\",\n            \"browser\": \"src/main.ts\",\n            \"polyfills\": [\n              \"zone.js\"\n            ],\n            \"tsConfig\": \"tsconfig.app.json\",\n            \"styles\": [\n              \"src/styles.css\"\n            ],\n            \"assets\": [\n              {\n                \"glob\": \"**/*\",\n                \"input\": \"public\"\n              }\n            ]\n          },\n          \"configurations\": {\n            \"production\": {\n              \"outputHashing\": \"all\"\n            },\n            \"development\": {\n              \"optimization\": false,\n              \"extractLicenses\": false,\n              \"sourceMap\": true\n            }\n          },\n          \"defaultConfiguration\": \"production\"\n        },\n        \"serve\": {\n          \"builder\": \"@angular/build:dev-server\",\n          \"configurations\": {\n            \"production\": {\n              \"buildTarget\": \"{{slug}}:build:production\"\n            },\n            \"development\": {\n              \"buildTarget\": \"{{slug}}:build:development\"\n            }\n          },\n          \"defaultConfiguration\": \"development\"\n        }\n      }\n    }\n  }\n}\n"
          },
          {
            "path": "angular.json",
            "when": {
              "field": "style",
              "equals": "scss"
            },
            "content": "{\n  \"$schema\": \"./node_modules/@angular/cli/lib/config/schema.json\",\n  \"version\": 1,\n  \"newProjectRoot\": \"projects\",\n  \"projects\": {\n    \"{{slug}}\": {\n      \"projectType\": \"application\",\n      \"root\": \"\",\n      \"sourceRoot\": \"src\",\n      \"prefix\": \"{{prefix}}\",\n      \"schematics\": {\n        \"@schematics/angular:component\": {\n          \"style\": \"scss\"\n        }\n      },\n      \"architect\": {\n        \"build\": {\n          \"builder\": \"@angular/build:application\",\n          \"options\": {\n            \"outputPath\": \"dist/{{slug}}\",\n            \"index\": \"src/index.html\",\n            \"browser\": \"src/main.ts\",\n            \"polyfills\": [\n              \"zone.js\"\n            ],\n            \"tsConfig\": \"tsconfig.app.json\",\n            \"styles\": [\n              \"src/styles.scss\"\n            ],\n            \"assets\": [\n              {\n                \"glob\": \"**/*\",\n                \"input\": \"public\"\n              }\n            ]\n          },\n          \"configurations\": {\n            \"production\": {\n              \"outputHashing\": \"all\"\n            },\n            \"development\": {\n              \"optimization\": false,\n              \"extractLicenses\": false,\n              \"sourceMap\": true\n            }\n          },\n          \"defaultConfiguration\": \"production\"\n        },\n        \"serve\": {\n          \"builder\": \"@angular/build:dev-server\",\n          \"configurations\": {\n            \"production\": {\n              \"buildTarget\": \"{{slug}}:build:production\"\n            },\n            \"development\": {\n              \"buildTarget\": \"{{slug}}:build:development\"\n            }\n          },\n          \"defaultConfiguration\": \"development\"\n        }\n      }\n    }\n  }\n}\n"
          },
          {
            "path": "tsconfig.json",
            "content": "{\n  \"compileOnSave\": false,\n  \"compilerOptions\": {\n    \"outDir\": \"./dist/out-tsc\",\n    \"strict\": true,\n    \"noImplicitOverride\": true,\n    \"skipLibCheck\": true,\n    \"isolatedModules\": true,\n    \"experimentalDecorators\": true,\n    \"importHelpers\": true,\n    \"target\": \"ES2022\",\n    \"module\": \"preserve\"\n  },\n  \"angularCompilerOptions\": {\n    \"strictInjectionParameters\": true,\n    \"strictInputAccessModifiers\": true,\n    \"strictTemplates\": true\n  }\n}\n"
          },
          {
            "path": "tsconfig.app.json",
            "content": "{\n  \"extends\": \"./tsconfig.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"./out-tsc/app\",\n    \"types\": []\n  },\n  \"files\": [\n    \"src/main.ts\"\n  ],\n  \"include\": [\n    \"src/**/*.d.ts\"\n  ]\n}\n"
          },
          {
            "path": "src/index.html",
            "content": "<!doctype html>\n<html lang=\"de\">\n  <head>\n    <meta charset=\"utf-8\" />\n    <title>{{name}}</title>\n    <base href=\"/\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n  </head>\n  <body>\n    <{{prefix}}-root></{{prefix}}-root>\n  </body>\n</html>\n"
          },
          {
            "path": "src/main.ts",
            "content": "import { bootstrapApplication } from '@angular/platform-browser'\nimport { appConfig } from './app/app.config'\nimport { AppComponent } from './app/app.component'\n\nbootstrapApplication(AppComponent, appConfig).catch((err) => console.error(err))\n"
          },
          {
            "path": "src/styles.css",
            "when": {
              "field": "style",
              "equals": "css"
            },
            "content": ":root {\n  font-family: system-ui, sans-serif;\n  color-scheme: light dark;\n}\n\nbody {\n  margin: 0;\n  display: grid;\n  place-items: center;\n  min-height: 100vh;\n}\n"
          },
          {
            "path": "src/app/app.config.ts",
            "content": "import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'\nimport { provideRouter } from '@angular/router'\nimport { routes } from './app.routes'\n\nexport const appConfig: ApplicationConfig = {\n  providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes)],\n}\n"
          },
          {
            "path": "src/app/app.routes.ts",
            "content": "import { Routes } from '@angular/router'\n\nexport const routes: Routes = []\n"
          },
          {
            "path": "src/app/app.component.ts",
            "when": {
              "field": "style",
              "equals": "css"
            },
            "content": "import { Component, signal } from '@angular/core'\nimport { RouterOutlet } from '@angular/router'\n\n@Component({\n  selector: '{{prefix}}-root',\n  imports: [RouterOutlet],\n  templateUrl: './app.component.html',\n  styleUrl: './app.component.css',\n})\nexport class AppComponent {\n  readonly title = signal('{{name}}')\n  readonly count = signal(0)\n}\n"
          },
          {
            "path": "src/app/app.component.ts",
            "when": {
              "field": "style",
              "equals": "scss"
            },
            "content": "import { Component, signal } from '@angular/core'\nimport { RouterOutlet } from '@angular/router'\n\n@Component({\n  selector: '{{prefix}}-root',\n  imports: [RouterOutlet],\n  templateUrl: './app.component.html',\n  styleUrl: './app.component.scss',\n})\nexport class AppComponent {\n  readonly title = signal('{{name}}')\n  readonly count = signal(0)\n}\n"
          },
          {
            "path": "src/app/app.component.html",
            "content": "<main>\n  <h1>{{ title() }}</h1>\n  <button (click)=\"count.update((c) => c + 1)\">Klicks: {{ count() }}</button>\n  <router-outlet />\n</main>\n"
          },
          {
            "path": "src/app/app.component.css",
            "when": {
              "field": "style",
              "equals": "css"
            },
            "content": "main {\n  text-align: center;\n}\n"
          },
          {
            "path": "public/.gitkeep",
            "content": ""
          },
          {
            "path": ".gitignore",
            "content": "node_modules/\ndist/\n.env\n*.log\n.astro/\n.angular/\n.lumen/\n"
          },
          {
            "path": "README.md",
            "content": "# {{name}}\n\n{{description}}\n\n```bash\n{{pm}} install\n{{pm}} run start\n{{pm}} run build\n```\n"
          },
          {
            "path": "src/styles.scss",
            "when": {
              "field": "style",
              "equals": "scss"
            },
            "content": ":root {\n  font-family: system-ui, sans-serif;\n  color-scheme: light dark;\n}\n\nbody {\n  margin: 0;\n  display: grid;\n  place-items: center;\n  min-height: 100vh;\n}\n"
          },
          {
            "path": "src/app/app.component.scss",
            "when": {
              "field": "style",
              "equals": "scss"
            },
            "content": "main {\n  text-align: center;\n}\n"
          }
        ]
      }
    ],
    "projectKinds": [],
    "snippets": [],
    "id": "ext.angular",
    "name": "Angular",
    "version": "1.0.1",
    "description": "Angular-Templates mit dem neuen Kontrollfluss (@if, @for, @defer) und Angular-TypeScript mit Signals, Standalone-Komponenten und ngserver.",
    "author": "Lumen",
    "icon": "A",
    "color": "#dd0031",
    "category": "language"
  }
}
