Skip to content

@verdaccio/config@6.0.0-6-next.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 04 Apr 19:35
· 1944 commits to master since this release
88850dc

Major Changes

  • 5c5057f: feat: node api new structure based on promise

    import { runServer } from '@verdaccio/node-api';
    // or
    import { runServer } from 'verdaccio';
    
    const app = await runServer(); // default configuration
    const app = await runServer('./config/config.yaml');
    const app = await runServer({ configuration });
    app.listen(4000, event => {
      // do something
    });

    Breaking Change

    If you are using the node-api, the new structure is Promise based and less arguments.