|
6 | 6 | { |
7 | 7 | "label": "yarn-install", |
8 | 8 | "type": "shell", |
9 | | - "command": "yarn install", |
| 9 | + "command": "direnv exec . yarn install", |
10 | 10 | "problemMatcher": [], |
11 | 11 | "presentation": { |
12 | 12 | "focus": true, |
|
20 | 20 | { |
21 | 21 | "label": "build:clean", |
22 | 22 | "type": "shell", |
23 | | - "command": "yarn build:clean", |
| 23 | + "command": "direnv exec . yarn build:clean", |
24 | 24 | "problemMatcher": [], |
25 | 25 | "presentation": { |
26 | 26 | "focus": true, |
|
34 | 34 | { |
35 | 35 | "label": "test", |
36 | 36 | "type": "shell", |
37 | | - "command": "yarn test", |
| 37 | + "command": "direnv exec . yarn test", |
38 | 38 | "problemMatcher": [], |
39 | 39 | "presentation": { |
40 | 40 | "focus": true, |
|
47 | 47 | { |
48 | 48 | "label": "lint", |
49 | 49 | "type": "shell", |
50 | | - "command": "yarn lint:check", |
| 50 | + "command": "direnv exec . yarn lint:check", |
51 | 51 | "problemMatcher": ["$eslint-stylish"], |
52 | 52 | "presentation": { |
53 | 53 | "focus": true, |
|
60 | 60 | { |
61 | 61 | "label": "release:patch", |
62 | 62 | "type": "shell", |
63 | | - "command": "yarn release:patch", |
| 63 | + "command": "direnv exec . yarn release:patch", |
64 | 64 | "options": { "cwd": "${workspaceFolder}" }, |
65 | 65 | "presentation": { |
66 | 66 | "focus": true, |
|
74 | 74 | { |
75 | 75 | "label": "release:prerelease", |
76 | 76 | "type": "shell", |
77 | | - "command": "yarn release:prerelease", |
| 77 | + "command": "direnv exec . yarn release:prerelease", |
78 | 78 | "options": { "cwd": "${workspaceFolder}" }, |
79 | 79 | "presentation": { |
80 | 80 | "focus": true, |
|
88 | 88 | { |
89 | 89 | "label": "build", |
90 | 90 | "type": "shell", |
91 | | - "command": "yarn build", |
| 91 | + "command": "direnv exec . yarn build", |
92 | 92 | "problemMatcher": [], |
93 | 93 | "options": { "cwd": "${workspaceFolder}" }, |
94 | 94 | "presentation": { |
|
103 | 103 | { |
104 | 104 | "label": "build:contentlayer", |
105 | 105 | "type": "shell", |
106 | | - "command": "yarn build", |
| 106 | + "command": "direnv exec . yarn build", |
107 | 107 | "options": { "cwd": "${workspaceFolder}/packages/contentlayer" }, |
108 | 108 | "presentation": { |
109 | 109 | "focus": false, |
|
117 | 117 | { |
118 | 118 | "label": "build:@contentlayer/source-contentful", |
119 | 119 | "type": "shell", |
120 | | - "command": "yarn build", |
| 120 | + "command": "direnv exec . yarn build", |
121 | 121 | "options": { "cwd": "${workspaceFolder}/packages/@contentlayer/source-contentful" }, |
122 | 122 | "presentation": { |
123 | 123 | "focus": false, |
|
131 | 131 | { |
132 | 132 | "label": "build:@contentlayer/source-sanity", |
133 | 133 | "type": "shell", |
134 | | - "command": "yarn build", |
| 134 | + "command": "direnv exec . yarn build", |
135 | 135 | "options": { "cwd": "${workspaceFolder}/packages/@contentlayer/source-sanity" }, |
136 | 136 | "presentation": { |
137 | 137 | "focus": false, |
|
145 | 145 | { |
146 | 146 | "label": "build:next-contentlayer", |
147 | 147 | "type": "shell", |
148 | | - "command": "yarn build", |
| 148 | + "command": "direnv exec . yarn build", |
149 | 149 | "options": { "cwd": "${workspaceFolder}/packages/next-contentlayer" }, |
150 | 150 | "presentation": { |
151 | 151 | "focus": false, |
|
159 | 159 | { |
160 | 160 | "label": "build:contentlayer-stackbit-yaml-generator", |
161 | 161 | "type": "shell", |
162 | | - "command": "yarn build", |
| 162 | + "command": "direnv exec . yarn build", |
163 | 163 | "options": { "cwd": "${workspaceFolder}/packages/contentlayer-stackbit-yaml-generator" }, |
164 | 164 | "presentation": { |
165 | 165 | "focus": false, |
|
173 | 173 | { |
174 | 174 | "label": "dev:ts", |
175 | 175 | "type": "shell", |
176 | | - "command": "yarn dev:ts", |
| 176 | + "command": "direnv exec . yarn dev:ts", |
177 | 177 | "problemMatcher": ["$tsc-watch"], |
178 | 178 | "isBackground": true, |
179 | 179 | "presentation": { |
|
0 commit comments