mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
5fed1955a9
* trying rematch refactor: rematch for store packages migrate login to rematch Update packages/plugins/ui-theme/src/store/store.ts Co-authored-by: Sergio Moreno <sergiomorenoalbert@gmail.com> hide temporary fix test for login migrate package download resource fix tests * add missing fixture * migrate detail page support * fix tests * migrate search * migrate search * clean up tests * remove tags * fix lint * add changeset * fix: search model typings * add type * types * apply suggestions Co-authored-by: Sergio Moreno <22656541+semoal@users.noreply.github.com>
9 lines
242 B
TypeScript
9 lines
242 B
TypeScript
import { rest } from 'msw';
|
|
|
|
const packagesPayload = require('./api/packages.json');
|
|
|
|
export const handlers = [
|
|
rest.get('http://localhost:9000/-/verdaccio/packages', (req, res, ctx) => {
|
|
return res(ctx.json(packagesPayload));
|
|
}),
|
|
];
|