forked from MapComplete/MapComplete
Basic gitpod + vscode settings
This commit is contained in:
parent
536840ba1c
commit
606fd305fd
5 changed files with 65 additions and 1 deletions
14
.gitignore
vendored
14
.gitignore
vendored
|
@ -2,7 +2,6 @@ dist/*
|
||||||
node_modules
|
node_modules
|
||||||
.cache/*
|
.cache/*
|
||||||
.idea/*
|
.idea/*
|
||||||
.vscode/*
|
|
||||||
scratch
|
scratch
|
||||||
assets/editor-layer-index.json
|
assets/editor-layer-index.json
|
||||||
assets/generated/*
|
assets/generated/*
|
||||||
|
@ -24,3 +23,16 @@ index_*.ts
|
||||||
.~lock.*
|
.~lock.*
|
||||||
*.doctest.ts
|
*.doctest.ts
|
||||||
service-worker.js
|
service-worker.js
|
||||||
|
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/settings.json
|
||||||
|
!.vscode/tasks.json
|
||||||
|
!.vscode/launch.json
|
||||||
|
!.vscode/extensions.json
|
||||||
|
!.vscode/*.code-snippets
|
||||||
|
|
||||||
|
# Local History for Visual Studio Code
|
||||||
|
.history/
|
||||||
|
|
||||||
|
# Built Visual Studio Code Extensions
|
||||||
|
*.vsix
|
13
.gitpod.yml
Normal file
13
.gitpod.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
tasks:
|
||||||
|
- init: npm run init
|
||||||
|
command: npm run start
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- name: MapComplete Website
|
||||||
|
port: 1234
|
||||||
|
onOpen: open-browser
|
||||||
|
|
||||||
|
vscode:
|
||||||
|
extensions:
|
||||||
|
- "esbenp.prettier-vscode"
|
||||||
|
- "eamodio.gitlens"
|
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"eamodio.gitlens"
|
||||||
|
]
|
||||||
|
}
|
19
.vscode/settings.json
vendored
Normal file
19
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"json.schemas": [
|
||||||
|
{
|
||||||
|
"fileMatch": [
|
||||||
|
"/assets/layers/*/*.json",
|
||||||
|
"!/assets/layers/*/license_info.json"
|
||||||
|
],
|
||||||
|
"url": "./Docs/Schemas/LayerConfigJson.schema.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fileMatch": [
|
||||||
|
"/assets/themes/*/*.json",
|
||||||
|
"!/assets/themes/*/license_info.json"
|
||||||
|
],
|
||||||
|
"url": "./Docs/Schemas/LayoutConfigJson.schema.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"editor.tabSize": 2
|
||||||
|
}
|
14
.vscode/tasks.json
vendored
Normal file
14
.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"type": "npm",
|
||||||
|
"script": "start",
|
||||||
|
"path": "/",
|
||||||
|
"group": "build",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"label": "MapComplete Dev",
|
||||||
|
"detail": "Run MapComplete Dev Server"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue