Skip to content

Commit

Permalink
chore: 🔧 add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgrv committed Jan 4, 2025
1 parent 626e509 commit 6460eb6
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/larasets/configure-sail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ init
if [ -n "$LARAVEL_SAIL" ] && [ "$LARAVEL_SAIL" -eq 1 ]; then
sail build
fi

echo "Laravel Sail is ready to use. Run 'sail up' to start the containers." | npx --yes chalk-cli --stdin green
72 changes: 69 additions & 3 deletions src/larasets/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Laravel settings",
"version": "3.0.13",
"version": "3.0.14",
"description": "A feature to add useful laravel settings to your shell.",
"containerEnv": {
"APP_DEBUG": "true",
Expand Down Expand Up @@ -119,7 +119,29 @@
"panel": "dedicated",
"reveal": "silent"
},
"hide": true
"hide": true,
"isBackground": true,
"problemMatcher": {
"owner": "artisan",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"source": "artisan",
"pattern": {
"regexp": "^\\s*(ERROR)\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
},
"background": {
"activeOnStart": true,
"beginsPattern": "^\\s*(INFO)\\s*(.*)$",
"endsPattern": "^\\s*(INFO)\\s*(.*)$"
}
}
},
{
"label": "schedule",
Expand All @@ -129,7 +151,29 @@
"panel": "dedicated",
"reveal": "silent"
},
"hide": true
"hide": true,
"isBackground": true,
"problemMatcher": {
"owner": "artisan",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"source": "artisan",
"pattern": {
"regexp": "^\\s*(ERROR)\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
},
"background": {
"activeOnStart": true,
"beginsPattern": "^\\s*(INFO)\\s*(.*)$",
"endsPattern": "^\\s*(INFO)\\s*(.*)$"
}
}
},
{
"label": "vite",
Expand All @@ -138,6 +182,28 @@
"presentation": {
"panel": "dedicated",
"reveal": "always"
},
"isBackground": true,
"problemMatcher": {
"owner": "vite",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"source": "vite",
"pattern": {
"regexp": "^\\s*(Error)\\s*(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
},
"background": {
"activeOnStart": true,
"beginsPattern": "^VITE v\\d+\\.\\d+\\.\\d+\\s+ready in \\d+ ms$",
"endsPattern": "^VITE v\\d+\\.\\d+\\.\\d+\\s+ready in \\d+ ms$"
}
}
}
]
Expand Down

0 comments on commit 6460eb6

Please sign in to comment.