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

Update nodejs-nuxtjs stack #346

Merged
merged 1 commit into from Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
49 changes: 49 additions & 0 deletions stacks/nodejs-nuxtjs/1.2.1/devfile.yaml
@@ -0,0 +1,49 @@
schemaVersion: 2.2.2
metadata:
name: nodejs-nuxtjs
displayName: Nuxt.js
description: "Nuxt.js is the backbone of your Vue.js project, giving structure to build your project with confidence while keeping flexibility.
Its goal is to help Vue developers take advantage of top-notch technologies, fast, easy and in an organized way."
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/nuxt-js.svg
tags:
- Node.js
- Nuxt.js
projectType: Nuxt.js
language: TypeScript
provider: Red Hat
version: 1.2.1
starterProjects:
- name: nodejs-nuxtjs-starter
git:
checkoutFrom:
revision: main
remotes:
origin: https://github.com/devfile-samples/devfile-stack-nodejs-nuxtjs.git
components:
- container:
endpoints:
- name: https-nuxtjs
protocol: https
targetPort: 3000
image: registry.access.redhat.com/ubi8/nodejs-18:1-94
args: ['tail', '-f', '/dev/null']
memoryLimit: 1024Mi
name: runtime
commands:
- exec:
commandLine: npm install
component: runtime
group:
isDefault: true
kind: build
workingDir: ${PROJECT_SOURCE}
id: install
- exec:
commandLine: npm run dev
component: runtime
group:
isDefault: true
kind: run
hotReloadCapable: true
workingDir: ${PROJECT_SOURCE}
id: run
3 changes: 2 additions & 1 deletion stacks/nodejs-nuxtjs/stack.yaml
Expand Up @@ -7,5 +7,6 @@ icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main
versions:
- version: 1.0.3
- version: 1.1.0
default: true # should have one and only one default version
- version: 1.2.0
- version: 1.2.1
default: true # should have one and only one default version