You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2026/06/02 12:46:45 UTC

(streampipes-website) branch add-vscode-settings created (now bb3202430)

This is an automated email from the ASF dual-hosted git repository.

tenthe pushed a change to branch add-vscode-settings
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git


      at bb3202430 Add VS Code and devcontainer setup

This branch includes the following new commits:

     new bb3202430 Add VS Code and devcontainer setup

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(streampipes-website) 01/01: Add VS Code and devcontainer setup

Posted by ze...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tenthe pushed a commit to branch add-vscode-settings
in repository https://gitbox.apache.org/repos/asf/streampipes-website.git

commit bb32024305f469462b545ac76ac1340a35a7e8c6
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Tue Jun 2 12:45:56 2026 +0000

    Add VS Code and devcontainer setup
---
 .devcontainer/devcontainer.json | 30 +++++++++++++++++++++++++
 .vscode/launch.json             | 17 ++++++++++++++
 .vscode/tasks.json              | 50 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 97 insertions(+)

diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 000000000..066f3143f
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,30 @@
+{
+  "name": "Apache StreamPipes Website",
+  "image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
+  "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
+  "postCreateCommand": "cd website-v2 && npm install",
+  "forwardPorts": [
+    3000
+  ],
+  "portsAttributes": {
+    "3000": {
+      "label": "Docusaurus",
+      "onAutoForward": "notify"
+    }
+  },
+  "customizations": {
+    "vscode": {
+      "extensions": [
+        "dbaeumer.vscode-eslint",
+        "esbenp.prettier-vscode",
+        "yzhang.markdown-all-in-one",
+        "ms-azuretools.vscode-docker"
+      ],
+      "settings": {
+        "terminal.integrated.defaultProfile.linux": "bash",
+        "npm.packageManager": "npm",
+        "npm.exclude": "**/node_modules/**"
+      }
+    }
+  }
+}
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 000000000..aa9b2ce39
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,17 @@
+{
+  "version": "0.2.0",
+  "configurations": [
+    {
+      "name": "Docusaurus: Start dev server",
+      "type": "node-terminal",
+      "request": "launch",
+      "cwd": "${workspaceFolder}/website-v2",
+      "command": "npm run start -- --host 0.0.0.0",
+      "serverReadyAction": {
+        "pattern": "http://localhost:([0-9]+)",
+        "uriFormat": "http://localhost:%s",
+        "action": "openExternally"
+      }
+    }
+  ]
+}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 000000000..3f4d19192
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,50 @@
+{
+  "version": "2.0.0",
+  "tasks": [
+    {
+      "label": "Docusaurus: install",
+      "type": "shell",
+      "command": "npm install",
+      "options": {
+        "cwd": "${workspaceFolder}/website-v2"
+      },
+      "problemMatcher": []
+    },
+    {
+      "label": "Docusaurus: start",
+      "type": "npm",
+      "script": "start",
+      "path": "website-v2/",
+      "isBackground": true,
+      "options": {
+        "cwd": "${workspaceFolder}/website-v2"
+      },
+      "problemMatcher": {
+        "owner": "docusaurus",
+        "pattern": {
+          "regexp": "^$"
+        },
+        "background": {
+          "activeOnStart": true,
+          "beginsPattern": ".*",
+          "endsPattern": ".*(Docusaurus website is running|compiled successfully|Compiled successfully|http://localhost:3000).*"
+        }
+      }
+    },
+    {
+      "label": "Docusaurus: build",
+      "type": "npm",
+      "script": "build",
+      "path": "website-v2/",
+      "group": "build",
+      "problemMatcher": []
+    },
+    {
+      "label": "Docusaurus: serve build",
+      "type": "npm",
+      "script": "serve",
+      "path": "website-v2/",
+      "problemMatcher": []
+    }
+  ]
+}