verdaccio 6.5.2 → 6.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2722 -0
- package/build/api/index.js +1 -1
- package/build/api/web/api/user.js +1 -1
- package/build/lib/cli/cli.js +1 -1
- package/build/lib/cli/commands/init.js +10 -3
- package/build/lib/cli/commands/version.js +1 -1
- package/build/lib/storage.js +20 -13
- package/build/lib/utils.js +10 -1
- package/build/types/index.js +6 -0
- package/package.json +38 -36
- package/security.txt +0 -2
- package/build/api/debug/index.d.ts +0 -3
- package/build/api/endpoint/api/dist-tags.d.ts +0 -4
- package/build/api/endpoint/api/package.d.ts +0 -5
- package/build/api/endpoint/api/ping.d.ts +0 -2
- package/build/api/endpoint/api/publish.d.ts +0 -26
- package/build/api/endpoint/api/search.d.ts +0 -1
- package/build/api/endpoint/api/star.d.ts +0 -4
- package/build/api/endpoint/api/stars.d.ts +0 -3
- package/build/api/endpoint/api/user.d.ts +0 -4
- package/build/api/endpoint/api/v1/profile.d.ts +0 -14
- package/build/api/endpoint/api/v1/search.d.ts +0 -5
- package/build/api/endpoint/api/v1/token.d.ts +0 -8
- package/build/api/endpoint/api/whoami.d.ts +0 -2
- package/build/api/endpoint/index.d.ts +0 -4
- package/build/api/index.d.ts +0 -4
- package/build/api/middleware.d.ts +0 -3
- package/build/api/web/api/index.d.ts +0 -2
- package/build/api/web/api/package.d.ts +0 -12
- package/build/api/web/api/search.d.ts +0 -5
- package/build/api/web/api/user.d.ts +0 -5
- package/build/api/web/api/utils.d.ts +0 -2
- package/build/api/web/index.d.ts +0 -9
- package/build/index.d.ts +0 -4
- package/build/lib/auth-utils.d.ts +0 -2
- package/build/lib/bootstrap.d.ts +0 -22
- package/build/lib/cli/cli.d.ts +0 -1
- package/build/lib/cli/commands/info.d.ts +0 -5
- package/build/lib/cli/commands/init.d.ts +0 -9
- package/build/lib/cli/commands/version.d.ts +0 -5
- package/build/lib/cli/utils.d.ts +0 -2
- package/build/lib/cli.d.ts +0 -2
- package/build/lib/config.d.ts +0 -5
- package/build/lib/constants.d.ts +0 -25
- package/build/lib/experiments.d.ts +0 -1
- package/build/lib/local-storage.d.ts +0 -182
- package/build/lib/logger/index.d.ts +0 -6
- package/build/lib/metadata-utils.d.ts +0 -10
- package/build/lib/run-server.d.ts +0 -22
- package/build/lib/storage-utils.d.ts +0 -30
- package/build/lib/storage.d.ts +0 -135
- package/build/lib/up-storage.d.ts +0 -138
- package/build/lib/uplink-util.d.ts +0 -7
- package/build/lib/utils.d.ts +0 -63
- package/cypress/e2e/01-home.cy.ts +0 -11
- package/cypress/e2e/02-signin.cy.ts +0 -11
- package/cypress/e2e/03-layout.cy.ts +0 -11
- package/cypress/e2e/04-search.cy.ts +0 -11
- package/cypress/e2e/05-settings.cy.ts +0 -11
- package/cypress/e2e/06-publish.cy.ts +0 -11
- package/cypress/e2e/07-change-password.cy.ts +0 -32
- package/cypress/support/e2e.ts +0 -1
- package/cypress.config.ts +0 -21
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { changePasswordTests, createRegistryConfig } from '@verdaccio/e2e-ui';
|
|
2
|
-
|
|
3
|
-
const registryUrl = Cypress.env('VERDACCIO_URL') || 'http://localhost:4873';
|
|
4
|
-
|
|
5
|
-
// Unlike the e2e-tests repo (which targets the published `verdaccio:6`
|
|
6
|
-
// docker image and has to skip the happy path around the unpublished
|
|
7
|
-
// reset_password inversion fix), this spec runs against the locally
|
|
8
|
-
// built 6.x source in this repo — where the fix lives — so every
|
|
9
|
-
// change-password scenario can execute.
|
|
10
|
-
const config = createRegistryConfig({
|
|
11
|
-
registryUrl,
|
|
12
|
-
title: 'Verdaccio e2e',
|
|
13
|
-
credentials: { user: 'test', password: 'test' },
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
// The published `@verdaccio/e2e-ui@2.4.0` change-password suite ends its
|
|
17
|
-
// happy-path test on `/-/web/success` with a valid JWT still in
|
|
18
|
-
// localStorage. Its `after()` hook then does `cy.visit('/')` + `cy.login`
|
|
19
|
-
// to restore the original password, but the home page renders the
|
|
20
|
-
// logged-in menu (no `header--button-login`) so `cy.login` times out.
|
|
21
|
-
//
|
|
22
|
-
// Mocha runs outer `afterEach` hooks *before* inner `after` hooks, so
|
|
23
|
-
// dropping the session here clears the way for the suite's restore step
|
|
24
|
-
// to find the Login button. Remove this block once the e2e-ui release
|
|
25
|
-
// that ships the equivalent cleanup inside the suite lands in
|
|
26
|
-
// `package.json`.
|
|
27
|
-
afterEach(() => {
|
|
28
|
-
cy.clearLocalStorage();
|
|
29
|
-
cy.clearCookies();
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
changePasswordTests(config);
|
package/cypress/support/e2e.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@verdaccio/e2e-ui/commands';
|
package/cypress.config.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'cypress';
|
|
2
|
-
|
|
3
|
-
import { setupVerdaccioTasks } from '@verdaccio/e2e-ui';
|
|
4
|
-
|
|
5
|
-
const registryUrl = process.env.VERDACCIO_URL || 'http://localhost:4873';
|
|
6
|
-
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
e2e: {
|
|
9
|
-
baseUrl: registryUrl,
|
|
10
|
-
specPattern: 'cypress/e2e/**/*.cy.ts',
|
|
11
|
-
supportFile: 'cypress/support/e2e.ts',
|
|
12
|
-
setupNodeEvents(on) {
|
|
13
|
-
setupVerdaccioTasks(on, { registryUrl });
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
video: false,
|
|
17
|
-
screenshotOnRunFailure: false,
|
|
18
|
-
env: {
|
|
19
|
-
VERDACCIO_URL: registryUrl,
|
|
20
|
-
},
|
|
21
|
-
});
|