mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
69d7df20d8
* chore: enable pnp yarn * chore: ignore pnp * fix type issues on run eslint * add missing dependency and fix some errors * fix most of the errors some were just disabled, already fixed in master * add missing jest-config * update jest@26 align with other deps * add missing @babel/register * clean up * use yarn node * use yarn node on release * chore: add husky 6 * chore: add husky 6 * chore: lint-stage * chore: test * chore: add hook git * chore: test * chore: test * update deps * chore: fix commit lint * fix docker run * update git ignore
31 lines
1.2 KiB
JavaScript
31 lines
1.2 KiB
JavaScript
/* eslint-disable max-len */
|
|
// this is how a Babel.js transpiled plugin looks like
|
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
|
|
let _createClass = function () { function defineProperties(target, props) { for (let i = 0; i < props.length; i++) { let descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) {descriptor.writable = true;} Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) {defineProperties(Constructor.prototype, protoProps);} if (staticProps) {defineProperties(Constructor, staticProps);} return Constructor; }; }();
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
let Dummy = function () {
|
|
function Dummy(config, logger) {
|
|
_classCallCheck(this, Dummy);
|
|
|
|
this.config = config;
|
|
this.logger = logger;
|
|
this.data = [];
|
|
}
|
|
|
|
_createClass(Dummy, [{
|
|
key: "getPackageStorage",
|
|
value: function getPackageStorage() {}
|
|
}]);
|
|
|
|
return Dummy;
|
|
}();
|
|
|
|
exports.default = Dummy;
|