Skip to content

Commit

Permalink
chore: migrate to @verdaccio/local-storage-legacy (#4545)
Browse files Browse the repository at this point in the history
* migrate to @verdaccio/local-storage-legacy

* test

* update dep
  • Loading branch information
juanpicado committed Mar 17, 2024
1 parent 177e571 commit 7ddffb0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@cypress/request": "3.0.1",
"@verdaccio/config": "7.0.0-next-7.12",
"@verdaccio/core": "7.0.0-next-7.12",
"@verdaccio/local-storage": "10.3.3",
"@verdaccio/local-storage-legacy": "11.0.2",
"@verdaccio/logger-7": "7.0.0-next-7.12",
"@verdaccio/middleware": "7.0.0-next-7.12",
"@verdaccio/search": "7.0.0-next-7.1",
Expand Down Expand Up @@ -180,7 +180,6 @@
"license": "MIT",
"resolutions": {
"@types/serve-static": "1.15.5",
"@verdaccio/local-storage": "10.3.3",
"@types/express-serve-static-core": "4.17.41"
},
"collective": {
Expand Down
3 changes: 1 addition & 2 deletions src/lib/local-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import builDebug from 'debug';
import _ from 'lodash';
import UrlNode from 'url';

import { pluginUtils } from '@verdaccio/core';
import LocalDatabase from '@verdaccio/local-storage';
import LocalDatabase from '@verdaccio/local-storage-legacy';
import { ReadTarball, UploadTarball } from '@verdaccio/streams';
import {
Author,
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3138,9 +3138,9 @@ __metadata:
languageName: node
linkType: hard

"@verdaccio/local-storage@npm:10.3.3":
version: 10.3.3
resolution: "@verdaccio/local-storage@npm:10.3.3"
"@verdaccio/local-storage-legacy@npm:11.0.2":
version: 11.0.2
resolution: "@verdaccio/local-storage-legacy@npm:11.0.2"
dependencies:
"@verdaccio/commons-api": 10.2.0
"@verdaccio/file-locking": 10.3.1
Expand All @@ -3150,7 +3150,7 @@ __metadata:
lodash: 4.17.21
lowdb: 1.0.0
mkdirp: 1.0.4
checksum: 70f47ea94fd0d6f3a5ac82fa0a8b28a41fb69f076f993bbf9ff775cca11966a6e92b4b57741348bdbfc3f241d851c052336d1673ca7e7b29e1999b88afe4fde2
checksum: e5c09028a9d67459297e6760acb1d5301a87bb3fe67a9ae7d8fb3e2deb6d907ebd113d7e883e89174eefb08afdaa9043257a5e04b8cb6702d3718ad0d8b5f731
languageName: node
linkType: hard

Expand Down Expand Up @@ -11465,7 +11465,7 @@ __metadata:
"@verdaccio-scope/verdaccio-auth-foo": 0.0.2
"@verdaccio/config": 7.0.0-next-7.12
"@verdaccio/core": 7.0.0-next-7.12
"@verdaccio/local-storage": 10.3.3
"@verdaccio/local-storage-legacy": 11.0.2
"@verdaccio/logger-7": 7.0.0-next-7.12
"@verdaccio/middleware": 7.0.0-next-7.12
"@verdaccio/search": 7.0.0-next-7.1
Expand Down

0 comments on commit 7ddffb0

Please sign in to comment.