From a5fc5ea8635223651183bdd3f9451f6ecd09780c Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Sun, 23 May 2021 14:26:51 +0200 Subject: [PATCH 1/2] fix readme name and links --- .gitignore | 1 + README.md | 6 +++--- package.json | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 929ffd7..c9cff44 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,4 @@ dist package-lock.json .vscode-test/* +*.vsix diff --git a/README.md b/README.md index b7e898b..86f27ae 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# fastify-snippet +# fastify-snippets -Some [VSCode](https://code.visualstudio.com/) snippets about Fastify +The official [Fastify](https://www.fastify.io/) [VSCode](https://code.visualstudio.com/) snippets! -Install it from your VSCODE plugin page! +Install it from the [VSCode marketplace](https://marketplace.visualstudio.com/items?itemName=fastify.fastify-snippets)! For more information, take a look a the [VSCode documentation](https://code.visualstudio.com/docs/editor/userdefinedsnippets) diff --git a/package.json b/package.json index 79fcece..67efbd5 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "scripts": { "build:toc": "node toc", "vscode:login": "vsce login fastify", + "vscode:pack": "vsce package", "vscode:publish": "vsce publish", "test": "tap --no-timeout test/**.test.js" }, @@ -31,7 +32,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Eomm/fastify-snippet.git" + "url": "git+https://github.com/fastify/fastify-snippet.git" }, "keywords": [ "vscode", @@ -44,7 +45,7 @@ "author": "Manuel Spigolon (https://github.com/Eomm)", "license": "MIT", "bugs": { - "url": "https://github.com/Eomm/fastify-snippet/issues" + "url": "https://github.com/fastify/fastify-snippet/issues" }, - "homepage": "https://github.com/Eomm/fastify-snippet#readme" + "homepage": "https://github.com/fastify/fastify-snippet#readme" } From 440c743ce668d1d9d5aa50b0575f5fa188304875 Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Tue, 25 May 2021 22:30:15 +0200 Subject: [PATCH 2/2] fix path to snippet --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 67efbd5..64a5372 100644 --- a/package.json +++ b/package.json @@ -22,11 +22,11 @@ "snippets": [ { "language": "javascript", - "path": "./snippets-js.json" + "path": "./snippets/snippets-js.json" }, { "language": "typescript", - "path": "./snippets-ts.json" + "path": "./snippets/snippets-ts.json" } ] },