👷 Add gitpod integration
This commit is contained in:
parent
d266a2d90e
commit
beb0a167de
4 changed files with 38 additions and 0 deletions
3
.gitpod.dockerfile
Normal file
3
.gitpod.dockerfile
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM gitpod/workspace-full
|
||||||
|
|
||||||
|
RUN npm install -g pnpm
|
||||||
29
.gitpod.yml
Normal file
29
.gitpod.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
image:
|
||||||
|
file: .gitpod.dockerfile
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- init: pnpm install
|
||||||
|
command: cd viewer && pnpm serve
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- port: 8080
|
||||||
|
onOpen: open-preview
|
||||||
|
|
||||||
|
github:
|
||||||
|
prebuilds:
|
||||||
|
# enable for the master/default branch (defaults to true)
|
||||||
|
master: true
|
||||||
|
# enable for pull requests coming from this repo (defaults to true)
|
||||||
|
pullRequests: true
|
||||||
|
# enable for pull requests coming from forks (defaults to false)
|
||||||
|
pullRequestsFromForks: true
|
||||||
|
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
|
||||||
|
addComment: true
|
||||||
|
# add a "Review in Gitpod" button to pull requests (defaults to false)
|
||||||
|
addBadge: false
|
||||||
|
# add a label once the prebuild is ready to pull requests (defaults to false)
|
||||||
|
addLabel: prebuilt-in-gitpod
|
||||||
|
|
||||||
|
vscode:
|
||||||
|
extensions:
|
||||||
|
- octref.vetur@0.32.0:03mwRhlVpWDul4qBChcVUA==
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
# Gaia Project
|
# Gaia Project
|
||||||
|
|
||||||
|
[](https://gitpod.io/#https://github.com/boardgamers/gaia-project)
|
||||||
|
|
||||||
Mono repo containing the viewer & the engine for Gaia Project
|
Mono repo containing the viewer & the engine for Gaia Project
|
||||||
|
|
||||||
Checkout their READMEs:
|
Checkout their READMEs:
|
||||||
|
|
|
||||||
|
|
@ -18,5 +18,9 @@ if (process.argv.includes("lib")) {
|
||||||
module.exports = {
|
module.exports = {
|
||||||
lintOnSave: false,
|
lintOnSave: false,
|
||||||
outputDir: path.join(__dirname, "dist/app"),
|
outputDir: path.join(__dirname, "dist/app"),
|
||||||
|
devServer: {
|
||||||
|
// For gitpod, it needs to be disabled
|
||||||
|
disableHostCheck: true,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue