diff --git a/stacks/dotnetcore31/devfile.yaml b/stacks/dotnetcore31/devfile.yaml index 92d02123..ad2a4ebe 100644 --- a/stacks/dotnetcore31/devfile.yaml +++ b/stacks/dotnetcore31/devfile.yaml @@ -1,4 +1,4 @@ -schemaVersion: 2.1.0 +schemaVersion: 2.2.2 metadata: name: dotnetcore31 displayName: .NET Core 3.1 @@ -35,7 +35,8 @@ components: - name: ASPNETCORE_URLS value: http://*:8080 endpoints: - - name: http-dotnetcore + - name: https-dotnet + protocol: https targetPort: 8080 commands: - id: build diff --git a/stacks/nodejs-angular/2.2.1/devfile.yaml b/stacks/nodejs-angular/2.2.1/devfile.yaml new file mode 100644 index 00000000..107c8ed7 --- /dev/null +++ b/stacks/nodejs-angular/2.2.1/devfile.yaml @@ -0,0 +1,51 @@ +schemaVersion: 2.2.2 +metadata: + name: nodejs-angular + displayName: Angular + description: "Angular is a development platform, built on TypeScript. As a platform, Angular includes: + A component-based framework for building scalable web applications + A collection of well-integrated libraries that cover a wide variety of features, including routing, forms management, client-server communication, and more + A suite of developer tools to help you develop, build, test, and update your code" + icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/angular.svg + tags: + - Node.js + - Angular + projectType: Angular + language: TypeScript + provider: Red Hat + version: 2.2.1 +starterProjects: + - name: nodejs-angular-starter + git: + checkoutFrom: + revision: main + remotes: + origin: https://github.com/devfile-samples/devfile-stack-nodejs-angular.git +components: + - container: + endpoints: + - name: https-angular + protocol: https + targetPort: 4200 + image: registry.access.redhat.com/ubi8/nodejs-18:1-102 + args: ["tail", "-f", "/dev/null"] + memoryLimit: 1024Mi + name: runtime +commands: + - id: install + exec: + commandLine: npm install + component: runtime + group: + isDefault: true + kind: build + workingDir: ${PROJECT_SOURCE} + - id: run + exec: + commandLine: npm run start + component: runtime + group: + isDefault: true + kind: run + hotReloadCapable: true + workingDir: ${PROJECT_SOURCE} diff --git a/stacks/nodejs-angular/stack.yaml b/stacks/nodejs-angular/stack.yaml index 157a8a6a..d50c5149 100644 --- a/stacks/nodejs-angular/stack.yaml +++ b/stacks/nodejs-angular/stack.yaml @@ -9,5 +9,6 @@ icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main versions: - version: 2.0.2 - version: 2.1.0 - default: true # should have one and only one default version - version: 2.2.0 + - version: 2.2.1 + default: true # should have one and only one default version