From 168833d857fbd59d8228137baf03e573f4a09b37 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Tue, 1 Sep 2020 21:50:28 +0200 Subject: [PATCH] chore: patch changesets example (#1929) * chore: test changesets * chore: add changeset --- .changeset/shiny-chefs-heal.md | 5 +++++ packages/api/src/dist-tags.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/shiny-chefs-heal.md diff --git a/.changeset/shiny-chefs-heal.md b/.changeset/shiny-chefs-heal.md new file mode 100644 index 000000000..40f504bc7 --- /dev/null +++ b/.changeset/shiny-chefs-heal.md @@ -0,0 +1,5 @@ +--- +"@verdaccio/api": patch +--- + +testing changesets diff --git a/packages/api/src/dist-tags.ts b/packages/api/src/dist-tags.ts index 3bffdd98a..23a551381 100644 --- a/packages/api/src/dist-tags.ts +++ b/packages/api/src/dist-tags.ts @@ -28,7 +28,7 @@ export default function (route: Router, auth: IAuth, storage: IStorageHandler): }); }; - // tagging a package + // tagging a package. route.put('/:package/:tag', can('publish'), media(mime.getType('json')), tag_package_version); route.post('/-/package/:package/dist-tags/:tag', can('publish'), media(mime.getType('json')), tag_package_version);