diff --git a/packages/api/test/integration/user.spec.ts b/packages/api/test/integration/user.spec.ts index f54258be3..60c9d84e6 100644 --- a/packages/api/test/integration/user.spec.ts +++ b/packages/api/test/integration/user.spec.ts @@ -3,7 +3,7 @@ import supertest from 'supertest'; import { HTTP_STATUS, API_ERROR } from '@verdaccio/commons-api'; import { HEADERS, HEADER_TYPE, API_MESSAGE } from '@verdaccio/dev-commons'; import { $RequestExtend, $ResponseExtend } from '@verdaccio/dev-types'; -import { getBadRequest, getConflict, getUnauthorized } from '@verdaccio/commons-api/lib'; +import { getBadRequest, getConflict, getUnauthorized } from '@verdaccio/commons-api'; import _ from 'lodash'; import { initializeServer } from './_helper'; diff --git a/packages/core/local-storage/src/local-database.ts b/packages/core/local-storage/src/local-database.ts index 73f809512..2a52a868e 100644 --- a/packages/core/local-storage/src/local-database.ts +++ b/packages/core/local-storage/src/local-database.ts @@ -7,7 +7,7 @@ import async from 'async'; import mkdirp from 'mkdirp'; import { Callback, Config, IPackageStorage, IPluginStorage, LocalStorage, Logger, StorageList, Token, TokenFilter } from '@verdaccio/types'; import level from 'level'; -import { getInternalError } from '@verdaccio/commons-api/lib'; +import { getInternalError } from '@verdaccio/commons-api'; import LocalDriver, { noSuchFile } from './local-fs'; import { loadPrivatePackages } from './pkg-utils'; diff --git a/packages/core/local-storage/src/local-fs.ts b/packages/core/local-storage/src/local-fs.ts index 62b741aaf..c3edfe041 100644 --- a/packages/core/local-storage/src/local-fs.ts +++ b/packages/core/local-storage/src/local-fs.ts @@ -6,7 +6,7 @@ import mkdirp from 'mkdirp'; import { UploadTarball, ReadTarball } from '@verdaccio/streams'; import { unlockFile, readFile } from '@verdaccio/file-locking'; import { Callback, Logger, Package, ILocalPackageManager, IUploadTarball } from '@verdaccio/types'; -import { getCode, getInternalError, getNotFound, VerdaccioError } from '@verdaccio/commons-api/lib'; +import { getCode, getInternalError, getNotFound, VerdaccioError } from '@verdaccio/commons-api'; export const fileExist = 'EEXISTS'; export const noSuchFile = 'ENOENT';