0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/.changeset/big-lobsters-sin.md
Paola Morales dc05edfe60 feat!: async storage plugin bootstrap (#2144)
* feat: async storage plugin bootstrap

* refactor fs.promise to promisify on node12

* Add changeset

* Update big-lobsters-sin.md

* Update utils.test.ts

* Update utils.test.ts

* Update ci.yml

* Update utils.test.ts
2021-04-09 17:54:40 +02:00

515 B

@verdaccio/local-storage @verdaccio/url verdaccio-aws-s3-storage verdaccio-google-cloud verdaccio-memory @verdaccio/store
major major major major major major

async storage plugin bootstrap

Gives a storage plugin the ability to perform asynchronous tasks on initialization

Breaking change

Plugin must have an init method in which asynchronous tasks can be executed

public async init(): Promise<void> {
   this.data = await this._fetchLocalPackages();
   this._sync();
}