Skip to content

Commit 9456163

Browse files
committed
feat(larasets): ✨ update task labels and commands
1 parent 812c85e commit 9456163

2 files changed

Lines changed: 52 additions & 26 deletions

File tree

src/larasets/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "larasets",
33
"name": "Laravel settings",
44
"description": "A feature to add useful laravel settings to your shell.",
5-
"version": "5.10.1",
5+
"version": "5.10.2",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/docker-in-docker": "",
88
"ghcr.io/devcontainers/features/node:1": "lts",

src/larasets/stubs/.vscode/tasks.json

Lines changed: 51 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,66 +2,92 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"label": "art-cache-config",
5+
"label": "❇️ Optimize",
66
"type": "shell",
7-
"command": "art config:cache",
8-
"hide": true,
7+
"command": "art optimize",
98
"presentation": {
109
"panel": "dedicated",
1110
"clear": true,
12-
"reveal": "silent",
11+
"reveal": "always",
1312
"close": true
1413
}
1514
},
1615
{
17-
"label": "art-cache-views",
16+
"label": "🔄️ Refresh",
1817
"type": "shell",
19-
"command": "art view:cache",
20-
"hide": true,
18+
"command": "art migrate:fresh --seed",
2119
"presentation": {
2220
"panel": "dedicated",
2321
"clear": true,
24-
"reveal": "silent",
22+
"reveal": "always",
2523
"close": true
2624
}
2725
},
2826
{
29-
"label": "art-cache-routes",
27+
"label": "art-serve",
3028
"type": "shell",
31-
"command": "art route:cache",
29+
"command": "art serve",
3230
"hide": true,
3331
"presentation": {
3432
"panel": "dedicated",
3533
"clear": true,
3634
"reveal": "silent",
3735
"close": true
36+
},
37+
"problemMatcher": {
38+
"owner": "artisan",
39+
"fileLocation": [
40+
"relative",
41+
"${workspaceFolder}"
42+
],
43+
"source": "artisan",
44+
"pattern": [
45+
{
46+
"regexp": "Exception",
47+
"message": 1
48+
},
49+
{
50+
"regexp": "^\\s*at\\s*([/\\w]+):(\\d+)$",
51+
"file": 1,
52+
"line": 2
53+
}
54+
],
55+
"background": {
56+
"activeOnStart": true,
57+
"beginsPattern": "^\\s*(INFO)",
58+
"endsPattern": "."
59+
}
3860
}
3961
},
4062
{
41-
"label": "▶️ Run",
63+
"label": "▶️ Serve",
4264
"dependsOn": [
43-
"sail-up",
44-
"vite"
65+
"❇️ Optimize",
66+
"art-serve",
67+
"vite",
68+
"art-queue",
69+
"art-schedule"
4570
],
4671
"dependsOrder": "parallel"
4772
},
4873
{
49-
"label": "🔄️ Refresh",
74+
"label": "▶️ Sail",
5075
"dependsOn": [
51-
"sail-dump"
76+
"sail-up",
77+
"❇️ Optimize",
78+
"vite",
79+
"art-queue",
80+
"art-schedule"
5281
],
5382
"dependsOrder": "sequence"
5483
},
5584
{
56-
"label": "sail-dump",
57-
"type": "shell",
58-
"command": "sail composer dump-autoload",
59-
"presentation": {
60-
"panel": "dedicated",
61-
"clear": true,
62-
"close": true
63-
},
64-
"hide": true
85+
"label": "⤵️ Install",
86+
"dependsOn": [
87+
"composer inst",
88+
"npm install"
89+
],
90+
"dependsOrder": "parallel"
6591
},
6692
{
6793
"label": "sail-up",
@@ -77,7 +103,7 @@
77103
{
78104
"label": "sail-restart",
79105
"type": "shell",
80-
"command": "sail restart && sail composer dump-autoload",
106+
"command": "sail restart",
81107
"presentation": {
82108
"panel": "dedicated",
83109
"clear": true,

0 commit comments

Comments
 (0)