diff --git a/.github/social/preview.png b/.github/social/preview.png index 2364ac4..61380d0 100644 Binary files a/.github/social/preview.png and b/.github/social/preview.png differ diff --git a/CHANGELOG.md b/CHANGELOG.md index 84c1875..133c56c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ Fixed for any bug fixes. Security to invite users to upgrade in case of vulnerabilities. --> +## 1.2.0 - 2023/02/28 + +### Added + +- TypeScript, React and Vue compatibility + ## 1.1.1 - 2023/02/27 ### Fixed diff --git a/README.md b/README.md index 4ff5e7f..dddc2f5 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,10 @@ Open the extension manager with ctrl+shift+X (W | Language | Extension | | ---------------- | --------- | | JavaScript | `.js` | +| TypeScript | `.ts` | +| JavaScript React | `.jsx` | +| TypeScript React | `.tsx` | +| Vue | `.vue` | ⇧ [Back to menu](#menu) diff --git a/package.json b/package.json index 11ab2ca..45c4c04 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vitest-snippets", "description": "VS Code Vitest snippets for JS and TS", - "version": "1.1.1", + "version": "1.2.0", "displayName": "Vitest Snippets", "publisher": "deinsoftware", "icon": "images/light-icon.png", @@ -10,8 +10,12 @@ "describe", "expect", "test", + "testing", "snippets", - "javascript" + "javascript", + "typescript", + "react", + "vue" ], "license": "MIT", "repository": { @@ -69,6 +73,134 @@ { "language": "javascript", "path": "./snippets/assertion.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/import.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/setup.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/describe.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/mock.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/it.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/test.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/expect.json" + }, + { + "language": "javascriptreact", + "path": "./snippets/assertion.json" + }, + { + "language": "vue", + "path": "./snippets/import.json" + }, + { + "language": "vue", + "path": "./snippets/setup.json" + }, + { + "language": "vue", + "path": "./snippets/describe.json" + }, + { + "language": "vue", + "path": "./snippets/mock.json" + }, + { + "language": "vue", + "path": "./snippets/it.json" + }, + { + "language": "vue", + "path": "./snippets/test.json" + }, + { + "language": "vue", + "path": "./snippets/expect.json" + }, + { + "language": "vue", + "path": "./snippets/assertion.json" + }, + { + "language": "typescript", + "path": "./snippets/import.json" + }, + { + "language": "typescript", + "path": "./snippets/setup.json" + }, + { + "language": "typescript", + "path": "./snippets/describe.json" + }, + { + "language": "typescript", + "path": "./snippets/mock.json" + }, + { + "language": "typescript", + "path": "./snippets/it.json" + }, + { + "language": "typescript", + "path": "./snippets/test.json" + }, + { + "language": "typescript", + "path": "./snippets/expect.json" + }, + { + "language": "typescript", + "path": "./snippets/assertion.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/import.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/setup.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/describe.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/mock.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/it.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/test.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/expect.json" + }, + { + "language": "typescriptreact", + "path": "./snippets/assertion.json" } ] },