mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
chore: patch changesets example (#1929)
* chore: test changesets * chore: add changeset
This commit is contained in:
parent
5e28d40f77
commit
168833d857
2 changed files with 6 additions and 1 deletions
5
.changeset/shiny-chefs-heal.md
Normal file
5
.changeset/shiny-chefs-heal.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@verdaccio/api": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
testing changesets
|
|
@ -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.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);
|
route.post('/-/package/:package/dist-tags/:tag', can('publish'), media(mime.getType('json')), tag_package_version);
|
||||||
|
|
Loading…
Reference in a new issue