From c4309a6af074d316670b6bc72f847cab8f3ae90d Mon Sep 17 00:00:00 2001
From: Benedikt Heinrichs <heinrichs@itc.rwth-aachen.de>
Date: Tue, 25 Oct 2022 11:10:39 +0200
Subject: [PATCH] Docs: Gitpod Integration

---
 .gitpod.yml  | 23 +++++++++++++++++++++++
 README.md    |  4 ++++
 package.json |  3 +++
 3 files changed, 30 insertions(+)
 create mode 100644 .gitpod.yml

diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 0000000..0148417
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,23 @@
+ports:
+  - port: 9743
+    onOpen: open-preview
+additionalRepositories:
+  - url: https://git.rwth-aachen.de/coscine/frontend/apps/aimsfrontend
+    checkoutLocation: frontend
+tasks:
+  - name: library
+    init: |
+      yarn install
+      yarn build
+      yarn link
+      gp sync-done bundle
+  - name: frontend
+    before: cd  ../frontend
+    init: |
+      gp sync-await bundle
+      yarn link "@coscine/form-generator"
+      yarn install
+    command: yarn dev
+vscode:
+  extensions:
+    - lukashass.volar
diff --git a/README.md b/README.md
index afd5c21..3f2b2e5 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,10 @@
 
 This repository contains the [SHACL](https://www.w3.org/TR/shacl/) form-generator [Vue 2](https://vuejs.org/) component used in [Coscine](https://coscine.de/) and the [AIMS project](https://www.aims-projekt.de/).
 
+## Development
+
+[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://git.rwth-aachen.de/coscine/frontend/libraries/form-generator)
+
 ## Project setup
 ```
 yarn install
diff --git a/package.json b/package.json
index 3ac1bab..fffa879 100644
--- a/package.json
+++ b/package.json
@@ -82,6 +82,9 @@
     "vue": "^2.7.10",
     "vue-template-compiler": "^2.7.10"
   },
+  "resolutions": {
+    "readable-stream": "3.6.0"
+  },
   "repository": {
     "type": "git",
     "url": "https://git.rwth-aachen.de/coscine/frontend/libraries/form-generator.git"
-- 
GitLab