2023-03-16 10:22:32 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"problemMatcher": [],
|
|
|
|
"tasks": [
|
2023-03-16 13:30:37 +00:00
|
|
|
{
|
2023-11-02 20:12:59 +00:00
|
|
|
"label": "Backend | build EE",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py",
|
2023-03-16 13:30:37 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-10 09:55:26 +00:00
|
|
|
{
|
|
|
|
"label": "Backend | rebuild EE",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -f",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-02 20:12:59 +00:00
|
|
|
{
|
|
|
|
"label": "Backend | build CE",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -c",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-11-10 09:55:26 +00:00
|
|
|
"label": "Backend | build SAAS + dnsmasq",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -s -d",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-17 11:24:16 +00:00
|
|
|
{
|
|
|
|
"label": "Backend | rebuild SAAS + dnsmasq",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -s -d -f",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-10 09:55:26 +00:00
|
|
|
{
|
|
|
|
"label": "Backend | build EE + dnsmasq",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/build.backend.docker.py -d",
|
2023-11-02 20:12:59 +00:00
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-11-02 14:30:58 +00:00
|
|
|
}
|
2023-03-22 12:11:10 +00:00
|
|
|
},
|
|
|
|
{
|
2023-11-02 14:36:06 +00:00
|
|
|
"label": "Backend | clear",
|
2023-11-02 20:12:59 +00:00
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/clear.backend.docker.py",
|
2023-03-22 12:11:10 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-03-16 13:41:54 +00:00
|
|
|
}
|
2023-03-16 13:30:37 +00:00
|
|
|
},
|
2023-03-16 10:22:32 +00:00
|
|
|
{
|
2023-11-02 14:36:06 +00:00
|
|
|
"label": "Backend | stop",
|
2023-11-02 20:12:59 +00:00
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/stop.backend.docker.py",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-03-22 12:11:10 +00:00
|
|
|
}
|
2023-03-16 10:22:32 +00:00
|
|
|
},
|
2023-11-03 21:52:06 +00:00
|
|
|
{
|
|
|
|
"label": "Backend | restart",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/restart.backend.docker.py",
|
|
|
|
"type": "shell",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-03-16 10:22:32 +00:00
|
|
|
{
|
2023-11-02 14:36:06 +00:00
|
|
|
"label": "Backend | start",
|
2023-11-02 20:12:59 +00:00
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/start/start.backend.docker.py",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-03-16 10:22:32 +00:00
|
|
|
}
|
|
|
|
},
|
2023-11-07 11:07:51 +00:00
|
|
|
{
|
|
|
|
"label": "Frontend | install",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn install",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-21 11:49:56 +00:00
|
|
|
{
|
|
|
|
"label": "Frontend | update yarn.lock",
|
|
|
|
"type": "shell",
|
2023-12-14 15:36:18 +00:00
|
|
|
"command": "cd ${workspaceFolder} ; yarn wipe ; yarn install",
|
2023-11-21 11:49:56 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-07 11:07:51 +00:00
|
|
|
{
|
|
|
|
"label": "Frontend | build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn build",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-03-16 10:22:32 +00:00
|
|
|
{
|
2023-11-02 14:30:58 +00:00
|
|
|
"label": "Frontend | start",
|
2023-03-16 10:22:32 +00:00
|
|
|
"type": "shell",
|
2023-11-02 14:30:58 +00:00
|
|
|
"command": "cd ${workspaceFolder} ; yarn start",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
2023-11-02 20:12:59 +00:00
|
|
|
"focus": true,
|
2023-11-07 11:07:51 +00:00
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Frontend | start-prod",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn start-prod",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
2023-03-22 12:11:10 +00:00
|
|
|
}
|
2023-11-17 09:31:52 +00:00
|
|
|
},
|
2023-11-21 11:49:56 +00:00
|
|
|
{
|
|
|
|
"label": "Frontend | build-and-start-prod",
|
|
|
|
"type": "shell",
|
2023-12-14 15:36:18 +00:00
|
|
|
"command": "cd ${workspaceFolder} ; yarn build ; yarn start-prod",
|
2023-11-21 11:49:56 +00:00
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-12-29 08:08:46 +00:00
|
|
|
{
|
|
|
|
"label": "Frontend | storybook",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn storybook",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-12-29 11:36:01 +00:00
|
|
|
{
|
|
|
|
"label": "Frontend | storybook prod",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn storybook-build ; yarn storybook-serve",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
2023-11-17 09:31:52 +00:00
|
|
|
{
|
|
|
|
"label": "Test | frontend-translations",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/run.translations.tests.py",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Test | frontend-translations-spellcheck",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/run.translations.spellcheck.tests.py",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Test | frontend-translations-spellcheck-force-save",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder}/../ ; ${command:python.interpreterPath} buildtools/run.translations.spellcheck.tests.py -f",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
2023-12-29 11:58:39 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Test | Jest:unit",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn test ; ",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
2023-12-29 12:03:39 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Frontend | Eslint",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn lint ; ",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Frontend | Eslint:fix",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cd ${workspaceFolder} ; yarn lint:fix ; ",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new",
|
|
|
|
"focus": true,
|
|
|
|
"close": false
|
|
|
|
}
|
2023-03-16 10:22:32 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|