Created
October 14, 2024 08:04
-
-
Save svor/b40015c44ac5fdcb1774649d5abd8b45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schemaVersion: 2.3.0 | |
metadata: | |
name: nodejs-svelte | |
displayName: Svelte | |
description: "Svelte is a radical new approach to building user interfaces. | |
Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app." | |
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/svelte.svg | |
tags: | |
- Node.js | |
- Svelte | |
projectType: Svelte | |
language: TypeScript | |
provider: Red Hat | |
version: 1.2.1 | |
starterProjects: | |
- name: nodejs-svelte-starter | |
git: | |
checkoutFrom: | |
revision: main | |
remotes: | |
origin: https://github.com/devfile-samples/devfile-stack-nodejs-svelte.git | |
components: | |
- container: | |
endpoints: | |
- name: https-svelte | |
targetPort: 3000 | |
protocol: https | |
annotation: | |
svelte-endpoint-annotation: hello-svelte | |
svelte-sample: my-annotation | |
image: registry.access.redhat.com/ubi8/nodejs-18:1-102 | |
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 | |
workingDir: ${PROJECT_SOURCE} | |
id: run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment