From a097fa2b882b79f99f81e0bcb0e76f78aca1c535 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 15 Dec 2022 18:25:30 +0100 Subject: [PATCH] Migrate from a workspace to a folder --- .vscode/extensions.json | 8 +++ .vscode/launch.json | 19 ++++++ .vscode/settings.json | 13 ++++ .vscode/tasks.json | 76 ++++++++++++++++++++++ ConnectForce.code-workspace | 123 ------------------------------------ 5 files changed, 116 insertions(+), 123 deletions(-) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json delete mode 100644 ConnectForce.code-workspace diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..d57d021 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + "recommendations": [ + "dbaeumer.vscode-eslint", + "hbenl.test-adapter-converter", + "hbenl.vscode-mocha-test-adapter", + "hbenl.vscode-test-explorer" + ] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..17b89bd --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +// Use IntelliSense to learn about possible attributes. +// Hover to view descriptions of existing attributes. +// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 +{ + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Website in Chrome", + "url": "http://localhost:3000", + "webRoot": "${workspaceFolder}/lib/static", + "preLaunchTask": "Build", + "pathMapping": { + "/": "${workspaceFolder}/src" + } + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5d66969 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,13 @@ +{ + "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, + "javascript.format.placeOpenBraceOnNewLineForControlBlocks": true, + "javascript.format.placeOpenBraceOnNewLineForFunctions": true, + "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, + "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true, + "typescript.format.placeOpenBraceOnNewLineForFunctions": true, + "html.format.extraLiners": "", + "html.format.indentInnerHtml": true, + "html.format.maxPreserveNewLines": 1, + "html.format.wrapAttributes": "preserve-aligned", + "npm.packageManager": "npm" +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..045e4ee --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,76 @@ +// See https://go.microsoft.com/fwlink/?LinkId=733558 +// for the documentation about the tasks.json format +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build", + "type": "shell", + "options": { + "cwd": "${workspaceFolder}" + }, + "command": "npm", + "args": [ + "run", + "watch" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + { + "owner": "gulp", + "pattern": { + "regexp": "" + }, + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "Starting '(?!Watch).*?'" + }, + "endsPattern": { + "regexp": "Finished '.*?'" + } + } + } + ], + "isBackground": true, + "presentation": { + "reveal": "never" + } + }, + { + "label": "Rebuild", + "type": "shell", + "options": { + "cwd": "${workspaceFolder}" + }, + "command": "npm", + "args": [ + "run", + "rebuild" + ], + "problemMatcher": [], + "presentation": { + "reveal": "never" + } + }, + { + "label": "Lint", + "type": "shell", + "options": { + "cwd": "${workspaceFolder}" + }, + "command": "npm", + "args": [ + "run", + "lint-ide" + ], + "problemMatcher": "$eslint-stylish", + "presentation": { + "reveal": "never" + } + } + ] +} diff --git a/ConnectForce.code-workspace b/ConnectForce.code-workspace deleted file mode 100644 index 698efba..0000000 --- a/ConnectForce.code-workspace +++ /dev/null @@ -1,123 +0,0 @@ -{ - "folders": [ - { - "path": "." - } - ], - "settings": { - "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, - "javascript.format.placeOpenBraceOnNewLineForControlBlocks": true, - "javascript.format.placeOpenBraceOnNewLineForFunctions": true, - "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false, - "typescript.format.placeOpenBraceOnNewLineForControlBlocks": true, - "typescript.format.placeOpenBraceOnNewLineForFunctions": true, - "html.format.extraLiners": "", - "html.format.indentInnerHtml": true, - "html.format.maxPreserveNewLines": 1, - "html.format.wrapAttributes": "preserve-aligned", - "npm.packageManager": "npm" - }, - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "tasks": { - "version": "2.0.0", - "tasks": [ - { - "label": "Build", - "type": "shell", - "options": { - "cwd": "${workspaceFolder}" - }, - "command": "npm", - "args": [ - "run", - "watch" - ], - "group": { - "kind": "build", - "isDefault": true - }, - "problemMatcher": [ - { - "owner": "gulp", - "pattern": { - "regexp": "" - }, - "background": { - "activeOnStart": true, - "beginsPattern": { - "regexp": "Starting '(?!Watch).*?'" - }, - "endsPattern": { - "regexp": "Finished '.*?'" - } - } - } - ], - "isBackground": true, - "presentation": { - "reveal": "never" - } - }, - { - "label": "Rebuild", - "type": "shell", - "options": { - "cwd": "${workspaceFolder}" - }, - "command": "npm", - "args": [ - "run", - "rebuild" - ], - "problemMatcher": [], - "presentation": { - "reveal": "never" - } - }, - { - "label": "Lint", - "type": "shell", - "options": { - "cwd": "${workspaceFolder}" - }, - "command": "npm", - "args": [ - "run", - "lint-ide" - ], - "problemMatcher": "$eslint-stylish", - "presentation": { - "reveal": "never" - } - } - ] - }, - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "launch": { - "version": "0.2.0", - "configurations": [ - { - "type": "chrome", - "request": "launch", - "name": "Launch Website in Chrome", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}/lib/static", - "preLaunchTask": "Build", - "pathMapping": { - "/": "${workspaceFolder}/src" - } - } - ] - }, - "extensions": { - "recommendations": [ - "dbaeumer.vscode-eslint", - "hbenl.test-adapter-converter", - "hbenl.vscode-mocha-test-adapter", - "hbenl.vscode-test-explorer" - ] - } -}