Skip to content

Commit

Permalink
Walk thru (#1)
Browse files Browse the repository at this point in the history
-  fixes issues with typescript and node ts types microsoft/TypeScript#51567 (comment)
 -add chrome pwa debugger
- cleanup settings.json file
- run npm audit fix
  • Loading branch information
kdcllc authored Aug 28, 2023
1 parent bf88f39 commit 2fec08e
Show file tree
Hide file tree
Showing 8 changed files with 157 additions and 110 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.user
*.userosscache
*.sln.docstates
wwwroot/

# Build results
[Dd]ebug/
Expand Down
21 changes: 20 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,26 @@
"sourceMaps": true,
"trace": true,
"preLaunchTask": "npm: dev - src/Web",
"postDebugTask": "Close tasks"
"postDebugTask": "postdebugKill"
},

{
"type": "pwa-chrome",
"request": "launch",
"name": "Run PWA",
"webRoot": "${workspaceFolder}/src/ClientApp",
"sourceMaps": true,
"trace": true,
"url": "http://localhost:5050",
// "runtimeArgs": [
// "--app=http://localhost:5050"
// ],
"sourceMapPathOverrides": {
"../../src/ClientApp": "${workspaceFolder}/src/ClientApp",
"../../src/ClientApp/*": "${workspaceFolder}/src/ClientApp/*"
},
"preLaunchTask": "npm run dev-task",
"postDebugTask": "postdebugKill"
}
],
}
45 changes: 10 additions & 35 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "2.0.0",
"editor.formatOnSave": false,
"editor.tabSize": 4,
"editor.insertSpaces": true,
Expand All @@ -11,39 +10,7 @@
"[javascript]": {
"editor.tabSize": 4
},
"tasks": [
{
"label": "npm run dev-task",
"type": "npm",
"script": "dev-task",
"isBackground": true,
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": ".*",
"endsPattern": "ready in .+"
}
},
},
{
"label": "postdebugKill",
"command": "echo ${input:terminate}",
"type": "shell",
"problemMatcher": []
},
],
"inputs": [
{
"id": "terminate",
"type": "command",
"command": "workbench.action.tasks.terminate",
"args": "npm run dev-task"
}
],

"files.exclude": {
"**/.git": true,
"**/.svn": true,
Expand All @@ -52,5 +19,13 @@
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/node_modules": true
}
},

// allow for linux shell
"terminal.integrated.automationProfile.linux": {
"path": "/usr/bin/bash",
"args": ["-i"]
},
"dotnet.defaultSolution": "MessianicChords.sln"

}
23 changes: 21 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"path": "src/ClientApp",
"isBackground": true,
"label": "npm: install - client",
"detail": "npm run intall"
"detail": "npm run intall",
},
{
"type": "npm",
Expand Down Expand Up @@ -35,7 +35,7 @@
"detail": "npm run dev-server"
},
{
"label": "Close tasks",
"label": "postdebugKill",
"command": "echo ${input:terminate}",
"type": "shell",
"problemMatcher": []
Expand All @@ -57,6 +57,25 @@
},
"problemMatcher": "$msCompile"
},

{
"label": "npm run dev-task",
"type": "npm",
"script": "dev-task",
"path": "src/ClientApp",
"isBackground": true,
"problemMatcher": {
"owner": "custom",
"pattern": {
"regexp": "^$"
},
"background": {
"activeOnStart": true,
"beginsPattern": "vite",
"endsPattern": "ready in"
}
},
},
],
"inputs": [
{
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# MessianicChords

This is the source code for MessianicChords.com, the best place to find lyrics and guitar chords for Messianic Jewish music

## Technologies

We use ASP.NET Core on the server, Lit web components on the client.

## Running locally

Open the .sln solution file in Visual Studio and hit F5 to run the server.

Then `cd ClientApp` and run `npm run dev` to run the client.
Loading

0 comments on commit 2fec08e

Please sign in to comment.