Skip to content

Commit bcbd1fa

Browse files
committed
change tasks.json to invoke shadowenv
1 parent a410fbe commit bcbd1fa

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

.vscode/tasks.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
"tasks": [
44
{
55
"type": "shell",
6-
"command": "yarn --cwd packages/vscode-extension build:extension:dev",
6+
"command": "shadowenv",
7+
"args": [
8+
"exec",
9+
"--",
10+
"yarn",
11+
"--cwd",
12+
"packages/vscode-extension",
13+
"build:extension:dev"
14+
],
715
"group": "build",
816
"label": "vscode dev",
917
"dependsOrder": "parallel",
@@ -17,17 +25,41 @@
1725
{
1826
"label": "parser pre build",
1927
"type": "shell",
20-
"command": "yarn --cwd packages/liquid-html-parser prebuild:ts"
28+
"command": "shadowenv",
29+
"args": [
30+
"exec",
31+
"--",
32+
"yarn",
33+
"--cwd",
34+
"packages/liquid-html-parser",
35+
"prebuild:ts"
36+
],
2137
},
2238
{
2339
"label": "language-config",
2440
"type": "shell",
25-
"command": "yarn --cwd packages/vscode-extension build:language-config"
41+
"command": "shadowenv",
42+
"args": [
43+
"exec",
44+
"--",
45+
"yarn",
46+
"--cwd",
47+
"packages/vscode-extension",
48+
"build:language-config"
49+
],
2650
},
2751
{
2852
"label": "theme check build",
2953
"type": "shell",
30-
"command": "yarn --cwd packages/theme-check-node build:ts"
54+
"command": "shadowenv",
55+
"args": [
56+
"exec",
57+
"--",
58+
"yarn",
59+
"--cwd",
60+
"packages/theme-check-node",
61+
"build:ts"
62+
],
3163
},
3264
{
3365
"label": "playground",

0 commit comments

Comments
 (0)