diff --git a/CHANGELOG.md b/CHANGELOG.md index 72d5f1b..f50504b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,4 +6,31 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how ## [Unreleased] -- Initial release \ No newline at end of file +## [1.0.0] - 2021-11-23 +### Initial Features +| Snippet | Output | +| ----------- | ---------------------------------------------------------------------- | +| kitComp | Scaffolds a Svelte component | +| ktiCompTs | Scaffolds a TypeScript Svelte component | +| kitModule | Scaffolds a SvelteKit module component for a page or layout | +| kitModuleTs | Scaffolds a SvelteKit Typescript module component for a page or layout | +| kitLayout | Scaffolds a SvelteKit Layout component | +| kitPrefetch | Create a sveltekit:prefetch anchor tag | +| kitEach | Create a Svelte `{#each}` block | +| kitIf | Create a Svelte `{#if}` block | +| kitAwait | Create a Svelte `{#await}` block | +| kitKey | Create a Svelte `{#key}` block | +| kitTitle | Create a title element in the document head | +| kitLoad | Create a SvelteKit Load function | +| kitEndpoint | Create a SvelteKit Endpoint | + +### Troubleshooting + + - To enable intellisense in MD files, add the following JSON to your global settings.json + ```json + "[markdown]": { + "editor.quickSuggestions": true, + "editor.wordBasedSuggestions": false + }, + ``` + diff --git a/images/icon.png b/images/icon.png new file mode 100644 index 0000000..5633f03 Binary files /dev/null and b/images/icon.png differ diff --git a/package.json b/package.json index 647df2d..00f987f 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,12 @@ "name": "sveltekit-snippets", "displayName": "sveltekit-snippets", "description": "Snippets for SvelteKit", - "version": "0.0.5", + "version": "1.0.0", + "icon": "images/icon.png", "publisher": "stordahl", + "scripts": { + "build": "vsce package" + }, "repository": { "type": "git", "url": "https://github.com/stordahl/sveltekit-snippets.git" @@ -32,7 +36,9 @@ "language": "markdown", "path": "./snippets/snippets.code-snippets" } - ] + }, + "devDependencies": { + "vsce": "^2.5.0" } }