Skip to content

Commit b1e0d29

Browse files
authored
Merge pull request #6 from deinsoftware/dev
add files extension compatibility
2 parents 3a1df64 + 9f11d64 commit b1e0d29

File tree

4 files changed

+144
-2
lines changed

4 files changed

+144
-2
lines changed

.github/social/preview.png

11.2 KB
Loading

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ Fixed for any bug fixes.
99
Security to invite users to upgrade in case of vulnerabilities.
1010
-->
1111

12+
## 1.2.0 - 2023/02/28
13+
14+
### Added
15+
16+
- TypeScript, React and Vue compatibility
17+
1218
## 1.1.1 - 2023/02/27
1319

1420
### Fixed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ Open the extension manager with <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>X</kbd> (W
6060
| Language | Extension |
6161
| ---------------- | --------- |
6262
| JavaScript | `.js` |
63+
| TypeScript | `.ts` |
64+
| JavaScript React | `.jsx` |
65+
| TypeScript React | `.tsx` |
66+
| Vue | `.vue` |
6367

6468
[Back to menu](#menu)
6569

package.json

Lines changed: 134 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vitest-snippets",
33
"description": "VS Code Vitest snippets for JS and TS",
4-
"version": "1.1.1",
4+
"version": "1.2.0",
55
"displayName": "Vitest Snippets",
66
"publisher": "deinsoftware",
77
"icon": "images/light-icon.png",
@@ -10,8 +10,12 @@
1010
"describe",
1111
"expect",
1212
"test",
13+
"testing",
1314
"snippets",
14-
"javascript"
15+
"javascript",
16+
"typescript",
17+
"react",
18+
"vue"
1519
],
1620
"license": "MIT",
1721
"repository": {
@@ -69,6 +73,134 @@
6973
{
7074
"language": "javascript",
7175
"path": "./snippets/assertion.json"
76+
},
77+
{
78+
"language": "javascriptreact",
79+
"path": "./snippets/import.json"
80+
},
81+
{
82+
"language": "javascriptreact",
83+
"path": "./snippets/setup.json"
84+
},
85+
{
86+
"language": "javascriptreact",
87+
"path": "./snippets/describe.json"
88+
},
89+
{
90+
"language": "javascriptreact",
91+
"path": "./snippets/mock.json"
92+
},
93+
{
94+
"language": "javascriptreact",
95+
"path": "./snippets/it.json"
96+
},
97+
{
98+
"language": "javascriptreact",
99+
"path": "./snippets/test.json"
100+
},
101+
{
102+
"language": "javascriptreact",
103+
"path": "./snippets/expect.json"
104+
},
105+
{
106+
"language": "javascriptreact",
107+
"path": "./snippets/assertion.json"
108+
},
109+
{
110+
"language": "vue",
111+
"path": "./snippets/import.json"
112+
},
113+
{
114+
"language": "vue",
115+
"path": "./snippets/setup.json"
116+
},
117+
{
118+
"language": "vue",
119+
"path": "./snippets/describe.json"
120+
},
121+
{
122+
"language": "vue",
123+
"path": "./snippets/mock.json"
124+
},
125+
{
126+
"language": "vue",
127+
"path": "./snippets/it.json"
128+
},
129+
{
130+
"language": "vue",
131+
"path": "./snippets/test.json"
132+
},
133+
{
134+
"language": "vue",
135+
"path": "./snippets/expect.json"
136+
},
137+
{
138+
"language": "vue",
139+
"path": "./snippets/assertion.json"
140+
},
141+
{
142+
"language": "typescript",
143+
"path": "./snippets/import.json"
144+
},
145+
{
146+
"language": "typescript",
147+
"path": "./snippets/setup.json"
148+
},
149+
{
150+
"language": "typescript",
151+
"path": "./snippets/describe.json"
152+
},
153+
{
154+
"language": "typescript",
155+
"path": "./snippets/mock.json"
156+
},
157+
{
158+
"language": "typescript",
159+
"path": "./snippets/it.json"
160+
},
161+
{
162+
"language": "typescript",
163+
"path": "./snippets/test.json"
164+
},
165+
{
166+
"language": "typescript",
167+
"path": "./snippets/expect.json"
168+
},
169+
{
170+
"language": "typescript",
171+
"path": "./snippets/assertion.json"
172+
},
173+
{
174+
"language": "typescriptreact",
175+
"path": "./snippets/import.json"
176+
},
177+
{
178+
"language": "typescriptreact",
179+
"path": "./snippets/setup.json"
180+
},
181+
{
182+
"language": "typescriptreact",
183+
"path": "./snippets/describe.json"
184+
},
185+
{
186+
"language": "typescriptreact",
187+
"path": "./snippets/mock.json"
188+
},
189+
{
190+
"language": "typescriptreact",
191+
"path": "./snippets/it.json"
192+
},
193+
{
194+
"language": "typescriptreact",
195+
"path": "./snippets/test.json"
196+
},
197+
{
198+
"language": "typescriptreact",
199+
"path": "./snippets/expect.json"
200+
},
201+
{
202+
"language": "typescriptreact",
203+
"path": "./snippets/assertion.json"
72204
}
73205
]
74206
},

0 commit comments

Comments
 (0)