Compare commits

...

86 Commits

Author SHA1 Message Date
Juan Picado
ac0fed3fa0 chore: update versions (next-8) (#5314)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-06 18:07:56 +02:00
renovate[bot]
f6c06fc982 fix(deps): update dependency dompurify to v3.2.6 (#5323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-06 18:05:27 +02:00
Marc Bernard
d92ba65866 chore(proxy): update tests (#5320) 2025-07-06 17:44:08 +02:00
Juan Picado
6a4d6dddf7 feat: getListenAddress getConfigParsed methods (#5324) 2025-07-06 17:24:57 +02:00
Marc Bernard
73c0194091 chore(auth): typings (#5319) 2025-07-06 17:01:11 +02:00
verdacciobot
8a2bb51ba3 chore: updated static data 2025-07-03 00:17:00 +00:00
Marc Bernard
a1a73e9172 feat(logger): support redacting sensitive data (#5316)
* feat(logger): support redacting sensitive data

* Update config & docs
2025-06-30 06:47:51 +02:00
verdacciobot
6304965009 chore: updated static data 2025-06-30 00:17:29 +00:00
Marc Bernard
5fef0b629a chore(auth): multiple plugins test (#5312) 2025-06-29 12:00:34 +02:00
Marc Bernard
08e1b2137e chore(deps): built-in node imports (#5313) 2025-06-29 10:48:06 +02:00
Juan Picado
307736d7fe chore: update versions (next-8) (#5303)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-26 21:30:54 +02:00
Marc Bernard
6e404a0449 chore(deps): plugins audit, htpasswd, memory (#5293)
* chore(deps): plugins audit, htpasswd, memory

* chore(deps): plugins audit, htpasswd, memory

* node-fetch cjs

* Update pnpm-lock.yaml

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-06-26 17:58:30 +02:00
Marc Bernard
0613d08adf fix: allow config changes in docker image (#5305) 2025-06-26 07:48:59 +02:00
verdacciobot
2027c8e844 chore: updated static data 2025-06-26 00:16:19 +00:00
Marc Bernard
1a3a0880ad chore(deps): verdaccio package (#5297) 2025-06-25 23:05:41 +02:00
Marc Bernard
15bd80bf8a chore(deps): express (#5296) 2025-06-25 22:09:38 +02:00
Marc Bernard
8bc332b77d chore(deps): web package (#5300) 2025-06-25 21:56:46 +02:00
Marc Bernard
3f71267963 chore(deps): storage (#5299)
* chore(deps): storage

* Update action.yml

* Update pnpm-lock.yaml

* Update action.yml

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-06-25 21:35:06 +02:00
Marc Bernard
07a0ecbac6 chore(ui): update deps and storybook (#5302) 2025-06-25 20:37:40 +02:00
Marc Bernard
54b19060fe chore(deps): node-api, proxy, search, search-indexer (#5292) 2025-06-25 19:42:12 +02:00
Marc Bernard
da0692f9ff chore(deps): middleware (#5291)
* chore(deps): middleware

* Update pnpm-lock
2025-06-25 18:57:09 +02:00
Marc Bernard
95e6c8f9d6 chore(deps): hooks, loaders, logger (#5290) 2025-06-25 09:14:48 +02:00
Marc Bernard
93504313f2 chore(deps): clean up core modules (#5288)
* chore(deps): clean up core modules

* Express

* Update pnpm-lock
2025-06-25 08:23:43 +02:00
Marc Bernard
75a6b322d3 chore(deps): local-storage (#5295) 2025-06-25 07:25:25 +02:00
Marc Bernard
4e14aff33f chore(deps): signature, utils (#5298) 2025-06-24 22:04:25 +02:00
Marc Bernard
a91c5b8f06 chore(api): remove obsolete tests (#5307) 2025-06-23 21:10:53 +02:00
verdacciobot
d207057e4b chore: updated static data 2025-06-23 00:17:16 +00:00
Marc Bernard
9da53084be chore(deps): e2e-cli (#5301) 2025-06-21 20:36:16 +02:00
verdacciobot
c31ffad6af chore: updated static data 2025-06-19 00:17:04 +00:00
Juan Picado
5003aa7016 chore: update versions (next-8) (#5287)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-18 19:27:14 +02:00
Alan Agius
23296a2c66 fix: add @verdaccio/core as a dependency (#5286)
`@verdaccio/core` is needed as a runtime dependency. See: 31a18f8f61/packages/loaders/src/utils.ts (L3)

```
Error: Cannot find module '@verdaccio/core'
Require stack:
- /home/runner/.cache/bazel/_bazel_runner/f47b8283cc0f5922f9455b06771398a1/sandbox/processwrapper-sandbox/3053/execroot/_main/bazel-out/k8-fastbuild/bin/tests/legacy-cli/e2e.esbuild_node22_/e2e.esbuild_node22.runfiles/_main/node_modules/.aspect_rules_js/@verdaccio+loaders@8.0.0-next-8.7/node_modules/@verdaccio/loaders/build/plugin-async-loader.js
```
2025-06-18 18:07:54 +02:00
renovate[bot]
3eb48d6c70 fix(deps): update dependency usehooks-ts to v3.1.1 (#5282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 21:45:13 +02:00
Juan Picado
f0501eea78 chore: update versions (next-8) (#5278)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-17 21:03:37 +02:00
Marc Bernard
d22ef4e61e fix: config web login default (#5280) 2025-06-17 20:03:49 +02:00
Alan Agius
96d2f0f24d fix(core): remove lodash from a dependency (#5277)
This removes the usage of `lodash`.
2025-06-16 20:45:16 +02:00
verdacciobot
0b66de1274 chore: updated static data 2025-06-16 00:17:11 +00:00
renovate[bot]
897ca09828 chore(deps): update dependency @crowdin/cli to v4.7.1 (#5274) 2025-06-15 00:08:40 +02:00
renovate[bot]
85bf8dc6d8 fix(deps): update dependency semver to v7.7.2 (#5272) 2025-06-14 20:29:09 +02:00
renovate[bot]
7fa42b5a4e chore(deps): update babel monorepo (#5273) 2025-06-14 20:07:18 +02:00
renovate[bot]
4ec28f20b3 fix(deps): update dependency debug to v4.4.1 (#5271) 2025-06-14 17:24:56 +02:00
renovate[bot]
003be2a561 fix(deps): update dependency marked to v15.0.12 (#5265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 07:22:42 +02:00
verdacciobot
bd3d50b7c0 chore: updated static data 2025-06-09 00:17:08 +00:00
renovate[bot]
93348f0208 chore(deps): pin actions/checkout action to 11bd719 (#5248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 10:26:07 +02:00
Juan Picado
c120b32d07 chore: update versions (next-8) (#5193)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-06-07 10:11:45 +02:00
Juan Picado
47ee18c3dd Update x-smok-test-docker.yml 2025-06-07 10:09:18 +02:00
Juan Picado
0938e965cb chore: fix library import 2025-06-07 09:45:43 +02:00
Marc Bernard
72c3cbb5bf chore(utils): replace @verdaccio/utils dependency with core (#5241) 2025-06-07 09:31:53 +02:00
Marc Bernard
626ae6aae9 feat: web v1 login frontend (experimental) (#5202)
* feat: web v1 login backend (experimental)

* Add missing createUser

* Change ui url

* Update test

* Update test

* Fix server address

* Update middleware login_cli

* Update tests

* Return token, reduce poll time, fix timestamp

* feat: web v1 login frontend (experimental)

* fix codeql

* Update constants.ts

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-06-07 09:09:11 +02:00
renovate[bot]
184bd51418 fix(deps): update dependency pino to v9.7.0 (#5260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 08:34:18 +02:00
renovate[bot]
837f00dc56 chore(deps): update dependency jsdom to v26 (#5261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 08:34:02 +02:00
renovate[bot]
52c1d22c91 chore(deps): update all build dependencies (#5256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-06 22:11:04 +02:00
dependabot[bot]
09503bcd51 chore(deps): bump github/codeql-action from 3.28.16 to 3.28.18 (#5254)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.16 to 3.28.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](28deaeda66...ff0a06e83c)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-06 21:12:21 +02:00
silverwind
1e8e6e4212 docs: add link to verdaccio-static-token (#5257) 2025-06-06 18:40:18 +02:00
renovate[bot]
c7285cf933 chore(deps): pin dependencies (#5255)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-06 15:36:43 +02:00
verdacciobot
0f2da1897c chore: updated static data 2025-06-05 00:16:05 +00:00
verdacciobot
06132a2ceb chore: updated static data 2025-06-02 00:16:31 +00:00
verdacciobot
688eb15e77 chore: updated static data 2025-05-29 00:16:12 +00:00
Marc Bernard
2fef671547 chore(signature): remove duplicate code (#5244)
* chore(signature): remove duplicate code

* auth
2025-05-28 00:08:39 +02:00
Marc Bernard
d945bfe99d fix(e2e): test.each was not working as expected (#5246)
* fix(e2e): test.each was not working as expected

* fix unpublish

* remove beta

* fix dist-tags
2025-05-26 20:32:37 +02:00
verdacciobot
610ed5cd04 chore: updated static data 2025-05-26 00:16:18 +00:00
Juan Picado
85d8ea16d6 chore: update docker publish action (#5247) 2025-05-22 08:27:09 +02:00
verdacciobot
08ebbce001 chore: updated static data 2025-05-22 00:16:05 +00:00
Marc Bernard
7513899660 chore(tarball): remove lodash, fix typing (#5243) 2025-05-21 22:32:00 +02:00
Marc Bernard
534fafd741 feat(e2e): add npm11 (#5245)
* feat(e2e): add npm11

* add to workflow

* Remove pre-release from versions

* Fix publish test
2025-05-21 21:44:54 +02:00
Marc Bernard
9509b63345 chore(core): http status codes (#5242) 2025-05-20 09:08:07 +02:00
verdacciobot
4d96585991 chore: updated static data 2025-05-19 00:16:24 +00:00
Marc Bernard
0be45da363 chore(web): move utils to web package (#5234)
* chore(types): use "Person" instead of "Author"

* chore(web): move utils to web package

* avoid redos

* fix plugin_prefix

---------

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2025-05-18 19:29:46 +02:00
Marc Bernard
7751a55a34 fix(local-storage): uncontrolled data used in path expression (#5159)
* fix(loca-storage): uncontrolled data used in path expression

* update tests

* fix path check

* you're right, copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* sure, copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix storage path

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-17 23:08:22 +02:00
Marc Bernard
acb8a99f55 chore(core): move more utils to core (#5233)
* chore(core): move more utils to core

* pin minimatch

* update lock file
2025-05-17 20:58:01 +02:00
Juan Picado
b776e1f897 chore: enable CI Node.js 24 (#5240)
* chore: enable CI Node.js 24

* add e2e

* docker build on 24
2025-05-17 17:30:59 +02:00
Marc Bernard
d33266b5a6 chore(types): use "Person" instead of "Author" (#5232) 2025-05-17 16:11:01 +02:00
Marc Bernard
b19ddca81f fix(config): server settings (#5238) 2025-05-17 16:00:11 +02:00
Juan Picado
f86da50d91 chore: update e2e nginx test 2025-05-17 15:33:50 +02:00
Juan Picado
7e9fa2a5b3 chore: fix nginx example 2025-05-17 12:15:55 +02:00
Marc Bernard
6add153fde feat(loader): support scoped plugins in plugin folder (#5237) 2025-05-17 10:58:41 +02:00
verdacciobot
0052cc5b97 chore: updated static data 2025-05-17 07:14:02 +00:00
Marc Bernard
5b64bb9e3e fix: monthly npm stats (#5236) 2025-05-16 22:32:28 +02:00
verdacciobot
97df95af40 chore: updated static data 2025-05-15 00:15:56 +00:00
verdacciobot
6c0ba0e3a4 chore: updated static data 2025-05-12 00:16:54 +00:00
Saurabh Gohil
3d113dd38d docs(uplinks): updated the documentation for an example of AWS CodeArtifact in uplinks (#5231)
* - Updated the documentation for an example of AWS CodeArtifact uplink on how to make it work

* - Added the changeset

* - Changes as per the things mentioned in PR comments

* - Updated the other document file as well
2025-05-09 15:50:36 +02:00
verdacciobot
c6dc42e92b chore: updated static data 2025-05-08 00:15:42 +00:00
Marc Bernard
ca0844a45a chore(ui): avoid ts errors for CircularProgres (#5210) 2025-05-06 19:53:09 +02:00
Marc Bernard
3ef4a49bba fix: support JWT sign and verify options (#5227)
* fix: support JWT sign and verify options

* Sync type version
2025-05-06 19:21:48 +02:00
Marc Bernard
387d9f01ea fix(ui): check token expiry on refresh/timer (#5229) 2025-05-05 18:02:00 +02:00
DAmarkday
dedc20b24c docs:add a new link for version v6 to the Docker custom image list. (#5228) 2025-05-05 06:39:31 +02:00
verdacciobot
96b6c404a9 chore: updated static data 2025-05-05 00:16:19 +00:00
476 changed files with 15335 additions and 5711 deletions

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/loaders': minor
---
feat(loader): support scoped plugins in plugin folder

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
fix(ui): check token expiry on refresh/timer

View File

@@ -0,0 +1,18 @@
---
'@verdaccio/local-storage': patch
'@verdaccio/server': patch
'@verdaccio/server-fastify': patch
'@verdaccio/test-helper': patch
'@verdaccio/ui-components': patch
'@verdaccio/tarball': patch
'@verdaccio/types': patch
'@verdaccio/middleware': patch
'verdaccio': patch
'@verdaccio/config': patch
'@verdaccio/proxy': patch
'@verdaccio/store': patch
'@verdaccio/auth': patch
'@verdaccio/api': patch
---
chore(utils): replace @verdaccio/utils dependency with core

View File

@@ -0,0 +1,21 @@
---
'docusaurus-plugin-contributors': patch
'generator-verdaccio-plugin': patch
'@verdaccio/logger-prettify': patch
'@verdaccio/local-scripts': patch
'@verdaccio/file-locking': patch
'@verdaccio/ui-theme': patch
'@verdaccio/server-fastify': patch
'@verdaccio/test-helper': patch
'@verdaccio/middleware': patch
'verdaccio': patch
'@verdaccio/node-api': patch
'@verdaccio/config': patch
'@verdaccio/hooks': patch
'@verdaccio/proxy': patch
'@verdaccio/store': patch
'@verdaccio/auth': patch
'@verdaccio/api': patch
---
chore(deps): built-in node imports

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/server': patch
---
chore(deps): express

View File

@@ -0,0 +1,8 @@
---
'@verdaccio/ui-theme': minor
'@verdaccio/ui-components': minor
'@verdaccio/middleware': patch
'@verdaccio/ui-i18n': patch
---
feat: web v1 login frontend (experimental)

View File

@@ -0,0 +1,7 @@
---
'verdaccio-htpasswd': patch
'verdaccio-memory': patch
'verdaccio-audit': patch
---
chore(deps): plugins audit, htpasswd, memory

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/config': patch
'@verdaccio/logger-commons': patch
'@verdaccio/types': patch
---
feat(logger): support redacting sensitive data

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/store': patch
'@verdaccio/types': patch
---
chore(types): use "Person" instead of "Author"

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/signature': patch
'@verdaccio/utils': patch
---
chore(deps): signature, utils

View File

@@ -0,0 +1,5 @@
---
'verdaccio': patch
---
chore(deps): verdaccio package

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/web': patch
---
chore(web): move utils to web package

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/local-storage': patch
---
chore(deps): local-storage

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/loaders': patch
---
add `@verdaccio/core` as a dependency

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/core': minor
'@verdaccio/node-api': minor
'@verdaccio/config': minor
---
feat: getListenAddress getConfigParsed methods

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/core': patch
---
chore(core): http status codes

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/web': patch
---
chore(deps): web package

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/local-storage': patch
---
fix(local-storage): uncontrolled data used in path expression

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/e2e-cli-npm-common': patch
---
fix(e2e): test.each was not working as expected

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/website': patch
---
- Updated the docs to show how we can make AWS CodeArtifact work with Verdaccio
- Added the example uplinks configuration

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/e2e-cli-npm11': patch
'@verdaccio/e2e-cli-npm-common': patch
---
feat(e2e): add npm11

View File

@@ -0,0 +1,9 @@
---
'@verdaccio/types': patch
'@verdaccio/middleware': patch
'@verdaccio/core': patch
'@verdaccio/config': patch
'@verdaccio/api': patch
---
feat: web v1 login backend (experimental)

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/signature': patch
'@verdaccio/config': patch
---
chore(signature): remove duplicate code

View File

@@ -61,90 +61,140 @@
"@verdaccio/e2e-cli-pnpm10": "1.0.0",
"docusaurus-plugin-downloads": "2.0.0",
"@verdaccio/local-publish": "0.0.2",
"@verdaccio/e2e-cli-npm10": "1.0.1"
"@verdaccio/e2e-cli-npm10": "1.0.1",
"@verdaccio/e2e-cli-npm11": "1.0.2-next-8.0"
},
"changesets": [
"afraid-cars-sneeze",
"afraid-cheetahs-rule",
"angry-doors-tan",
"beige-lions-type",
"blue-paws-cheer",
"brave-ears-drive",
"breezy-geckos-search",
"breezy-toys-judge",
"bright-bobcats-ring",
"bright-mugs-buy",
"brown-lions-talk",
"brown-planets-approve",
"calm-mangos-compare",
"chatty-apricots-report",
"clean-beds-wash",
"clean-dryers-hug",
"clean-rings-listen",
"clever-bees-happen",
"cool-balloons-search",
"cool-seals-watch",
"cuddly-paws-laugh",
"curly-mirrors-smile",
"curvy-rockets-camp",
"cyan-snakes-kiss",
"dirty-countries-play",
"early-eyes-float",
"early-trainers-grin",
"eight-countries-think",
"eighty-apes-think",
"eleven-rocks-dream",
"few-beds-itch",
"few-ears-deny",
"few-poets-bathe",
"fifty-falcons-design",
"flat-rules-design",
"forty-hounds-matter",
"four-buttons-remember",
"fresh-owls-hunt",
"friendly-feet-sing",
"funny-fireants-tan",
"fuzzy-ears-yawn",
"gentle-stingrays-repeat",
"gold-files-speak",
"gold-parents-shave",
"gold-squids-watch",
"great-candles-hang",
"green-eagles-boil",
"healthy-ducks-drive",
"healthy-zoos-lie",
"hip-deers-join",
"hip-eggs-serve",
"hip-suns-jam",
"hot-crews-live",
"hungry-books-bathe",
"hungry-dolls-destroy",
"itchy-glasses-end",
"large-turkeys-change",
"long-eyes-drum",
"long-singers-drive",
"loud-dingos-cough",
"lucky-crabs-enjoy",
"modern-llamas-know",
"nasty-cooks-watch",
"nasty-experts-bow",
"nice-garlics-tie",
"nine-countries-remember",
"nine-onions-talk",
"ninety-geese-do",
"ninety-hotels-dance",
"odd-fishes-cry",
"old-clocks-destroy",
"pink-jeans-lick",
"pink-pants-try",
"poor-hats-smile",
"poor-queens-shop",
"popular-trees-grin",
"proud-houses-switch",
"purple-planes-do",
"quick-avocados-type",
"quick-seas-deny",
"rare-mirrors-notice",
"real-balloons-travel",
"real-seahorses-change",
"red-dolls-repair",
"rotten-bananas-attend",
"rotten-melons-notice",
"rotton-readers-shave",
"rude-birds-design",
"rude-socks-walk",
"serious-apes-rule",
"seven-peas-obey",
"seven-suits-kneel",
"sharp-queens-rhyme",
"shiny-buttons-laugh",
"short-mails-smoke",
"short-turkeys-boil",
"silent-bags-listen",
"silent-tips-admire",
"silver-houses-remain",
"silver-insects-train",
"six-planes-appear",
"slow-cars-guess",
"smooth-games-share",
"soft-berries-fail",
"strange-pants-chew",
"stupid-camels-build",
"stupid-socks-grow",
"sweet-crabs-deliver",
"swift-knives-shop",
"swift-mangos-grab",
"swift-zebras-cheer",
"tame-hairs-drive",
"ten-jeans-approve",
"tender-buckets-smoke",
"thick-dolphins-rule",
"thick-insects-run",
"thirty-comics-trade",
"tidy-socks-battle",
"tricky-impalas-shake",
"tricky-kiwis-thank",
"tricky-knives-end",
"twelve-games-wonder",
"violet-baboons-beg",
"violet-bobcats-allow",
"violet-boxes-float",
"violet-poems-walk",
"weak-cherries-serve",
"wet-cats-behave",
"wicked-points-relate",
"wild-coins-lie",
"yellow-flies-sniff"
]
}

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/auth': patch
---
chore(auth): typings

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/web': patch
---
fix: config web login default

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/auth': patch
---
chore(auth): multiple plugins test

View File

@@ -0,0 +1,8 @@
---
'@verdaccio/file-locking': patch
'@verdaccio/tarball': patch
'@verdaccio/core': patch
'@verdaccio/url': patch
---
chore(deps): clean up core modules

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/proxy': patch
---
chore(proxy): update tests

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': patch
---
chore(ui): avoid ts errors for CircularProgress

View File

@@ -0,0 +1,8 @@
---
'@verdaccio/logger-prettify': patch
'@verdaccio/logger-commons': patch
'@verdaccio/loaders': patch
'@verdaccio/hooks': patch
---
chore(deps): hooks, loaders, logger

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/ui-theme': patch
'@verdaccio/ui-components': patch
---
chore(ui): update deps and storybook

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/middleware': patch
---
chore(deps): middleware

View File

@@ -0,0 +1,6 @@
---
'@verdaccio/core': patch
'@verdaccio/utils': patch
---
chore(core): move more utils to core

View File

@@ -0,0 +1,12 @@
---
'@verdaccio/server': patch
'@verdaccio/core': patch
'@verdaccio/loaders': patch
'@verdaccio/config': patch
'@verdaccio/store': patch
'@verdaccio/auth': patch
'@verdaccio/api': patch
'@verdaccio/web': patch
---
fix(config): server settings

View File

@@ -0,0 +1,8 @@
---
'@verdaccio/search-indexer': patch
'@verdaccio/node-api': patch
'@verdaccio/search': patch
'@verdaccio/proxy': patch
---
chore(deps): node-api, proxy, search, search-indexer

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/store': patch
---
chore(deps): storage

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/core': patch
---
fix(core): remove `lodash` from a dependency

View File

@@ -0,0 +1,18 @@
---
'@verdaccio/test-cli-commons': patch
'@verdaccio/e2e-cli-pnpm10': patch
'@verdaccio/e2e-cli-npm10': patch
'@verdaccio/e2e-cli-npm11': patch
'@verdaccio/e2e-cli-pnpm8': patch
'@verdaccio/e2e-cli-pnpm9': patch
'@verdaccio/e2e-cli-yarn1': patch
'@verdaccio/e2e-cli-yarn2': patch
'@verdaccio/e2e-cli-yarn3': patch
'@verdaccio/e2e-cli-yarn4': patch
'@verdaccio/e2e-cli-npm6': patch
'@verdaccio/e2e-cli-npm7': patch
'@verdaccio/e2e-cli-npm8': patch
'@verdaccio/e2e-cli-npm9': patch
---
chore(deps): e2e-cli

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/api': patch
---
chore(api): remove obsolete tests

View File

@@ -0,0 +1,7 @@
---
'@verdaccio/auth': patch
'@verdaccio/signature': patch
'@verdaccio/types': patch
---
fix: support JWT sign and verify options

View File

@@ -0,0 +1,5 @@
---
'@verdaccio/tarball': patch
---
chore(tarball): remove lodash, fix typing

View File

@@ -68,7 +68,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
node_version: [18, 20, 21, 22, 23]
node_version: [18, 20, 22, 24]
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }}
steps:

View File

@@ -37,7 +37,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
with:
config: |
paths-ignore:
@@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
uses: github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18

View File

@@ -2,50 +2,49 @@ name: Docker publish to docker.io
on:
push:
paths:
- .github/workflows/docker-publish.yml
- .github/workflows/docker-publish.yml
- 'packages/**'
- 'docker-bin/**'
- 'package.json'
- 'pnpm-*.yaml'
- 'Dockerfile'
- '.dockerignore'
branches:
- 'master'
tags:
- 'v*'
permissions:
contents: read # to fetch code (actions/checkout)
contents: read
jobs:
docker:
runs-on: ubuntu-latest
if: github.repository == 'verdaccio/verdaccio'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
- uses: docker/setup-buildx-action@v1
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host
- uses: docker/login-action@v1
name: Login Docker Hub
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Prepare docker image tags
- name: Prepare Docker image tags
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5
with:
images: ${{ github.repository }}
tag-custom: nightly-master
tag-custom-only: ${{ github.ref == 'refs/heads/master' }}
tag-latest: false
tag-semver: |
{{version}}
{{major}}
{{major}}.{{minor}}
tags: |
type=raw,value=nightly-master
type=raw,value=latest,enable=false
labels: |
org.opencontainers.image.source=${{ github.repositoryUrl }}
org.opencontainers.image.created=${{ steps.docker_meta.outputs.created }}
org.opencontainers.image.version=${{ steps.docker_meta.outputs.version }}
- name: Build & Push
uses: docker/build-push-action@v6
with:

View File

@@ -43,9 +43,10 @@ jobs:
npm7,
npm8,
npm9,
npm10
npm10,
npm11,
]
node: [22]
node: [22, 24]
name: ${{ matrix.pkg }}/ ubuntu-latest / ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
@@ -72,7 +73,7 @@ jobs:
pnpm9,
pnpm10,
]
node: [22]
node: [2, 24]
name: ${{ matrix.pkg }}/ ubuntu-latest / ${{ matrix.node }}
runs-on: ubuntu-latest
steps:
@@ -99,7 +100,7 @@ jobs:
yarn3,
yarn4
]
node: [22]
node: [22, 24]
name: ${{ matrix.pkg }}/ ubuntu-latest / ${{ matrix.node }}
runs-on: ubuntu-latest
steps:

View File

@@ -36,7 +36,7 @@ jobs:
- name: Get docker downloads
run: pnpm --filter @verdaccio/local-scripts run pull:docker
- name: Get npmjs monhtly downloads
run: pnpm --filter @verdaccio/local-scripts run downloads:mounthly
run: pnpm --filter @verdaccio/local-scripts run downloads:monthly
- name: Get npmjs year downloads
run: pnpm --filter @verdaccio/local-scripts run downloads:yearly
- name: update contributors

View File

@@ -16,6 +16,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version-file: '.nvmrc'

View File

@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:22-alpine AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:24-alpine AS builder
ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org
@@ -21,7 +21,7 @@ RUN npm -g i corepack && \
# NODE_ENV=production pnpm install --frozen-lockfile --ignore-scripts
# RUN pnpm install --prod --ignore-scripts
FROM node:22-alpine
FROM node:24-alpine
LABEL maintainer="https://github.com/verdaccio/verdaccio"
ENV VERDACCIO_APPDIR=/opt/verdaccio \
@@ -45,8 +45,8 @@ ADD packages/config/src/conf/docker.yaml /verdaccio/conf/config.yaml
RUN adduser -u $VERDACCIO_USER_UID -S -D -h $VERDACCIO_APPDIR -g "$VERDACCIO_USER_NAME user" -s /sbin/nologin $VERDACCIO_USER_NAME && \
chmod -R +x $VERDACCIO_APPDIR/packages/verdaccio/bin $VERDACCIO_APPDIR/docker-bin && \
chown -R $VERDACCIO_USER_UID:root /verdaccio/storage && \
chmod -R g=u /verdaccio/storage /etc/passwd
chown -R $VERDACCIO_USER_UID:root /verdaccio/storage /verdaccio/conf && \
chmod -R g=u /verdaccio/storage /verdaccio/conf /etc/passwd
USER $VERDACCIO_USER_UID

View File

@@ -100,19 +100,21 @@ Our goal is to give you the confidence to use your preferred package manager wit
### Commands
| cmd | npm6 | npm7 | npm8 | npm9 | npm10 | pnpm8 | pnpm9 | pnpm10 | yarn1 | yarn2 | yarn3 | yarn4 |
| --------- | ---- | ---- | ---- | ---- | ----- | ----- | ----- | ------ | ----- | ----- | ----- | ----- |
| publish | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| unpublish | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | ❌ | ❌ | ❌ | ❌ |
| info | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| audit | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| install | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| deprecate | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| ping | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| search | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| star | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| stars | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| dist-tag | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
| cmd | npm6 | npm7 | npm8 | npm9 | npm10 | npm11 | pnpm8 | pnpm9 | pnpm10 | yarn1 | yarn2 | yarn3 | yarn4 |
| --------- | ---- | ---- | ---- | ---- | ----- | ----- | ----- | ----- | ------ | ----- | ----- | ----- | ----- |
| publish | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| unpublish | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
| info | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| audit | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| install | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| deprecate | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| ping | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| search | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| star | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| stars | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⛔ | ⛔ | ⛔ | ⛔ |
| dist-tag | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
<!-- n6 n7 n8 n9 n10 n11 p8 p9 p10 y1 y2 y3 y4 -->
> notes:
>

View File

@@ -1,5 +1,11 @@
# @verdaccio/test-cli-commons
## 2.0.0-next-8.1
### Patch Changes
- 9da5308: chore(deps): e2e-cli
## 2.0.0-next-8.0
### Major Changes

View File

@@ -1,19 +1,19 @@
{
"private": true,
"name": "@verdaccio/test-cli-commons",
"version": "2.0.0-next-8.0",
"version": "2.0.0-next-8.1",
"main": "src/index.ts",
"devDependencies": {
"@verdaccio/config": "workspace:8.0.0-next-8.15",
"@verdaccio/core": "workspace:8.0.0-next-8.15",
"@verdaccio/types": "workspace:13.0.0-next-8.5",
"debug": "4.4.0",
"@verdaccio/config": "workspace:8.0.0-next-8.20",
"@verdaccio/core": "workspace:8.0.0-next-8.20",
"@verdaccio/types": "workspace:13.0.0-next-8.7",
"debug": "4.4.1",
"fs-extra": "11.2.0",
"get-port": "5.1.1",
"got": "11.8.6",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"verdaccio": "workspace:8.0.0-next-8.15"
"verdaccio": "workspace:8.0.0-next-8.20"
},
"scripts": {
"test": "echo no test",

View File

@@ -1,7 +1,6 @@
import { spawn } from 'child_process';
import { SpawnOptions } from 'child_process';
import buildDebug from 'debug';
import { createInterface } from 'readline';
import { SpawnOptions, spawn } from 'node:child_process';
import { createInterface } from 'node:readline';
const debug = buildDebug('verdaccio:e2e:process');
const debugRead = buildDebug('verdaccio:e2e:line');

View File

@@ -1,7 +1,7 @@
import buildDebug from 'debug';
import fs from 'fs-extra';
import { cp, readFile, writeFile } from 'fs/promises';
import { join } from 'path';
import { cp, readFile, writeFile } from 'node:fs/promises';
import { join } from 'node:path';
import { fileUtils } from '@verdaccio/core';

View File

@@ -1,7 +1,7 @@
import { cp, writeFile } from 'fs/promises';
import YAML from 'js-yaml';
import { join } from 'path';
import { URL } from 'url';
import { cp, writeFile } from 'node:fs/promises';
import { join } from 'node:path';
import { URL } from 'node:url';
import { Dependencies } from '@verdaccio/types';

View File

@@ -0,0 +1,16 @@
# @verdaccio/e2e-cli-npm-common
## 1.0.1-next-8.1
### Patch Changes
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
## 1.0.1-next-8.0
### Patch Changes
- d945bfe: fix(e2e): test.each was not working as expected
- 534fafd: feat(e2e): add npm11
- @verdaccio/test-cli-commons@2.0.0-next-8.0

View File

@@ -12,7 +12,7 @@ export function runAudit(npm) {
await registry.init();
});
test.each([['verdaccio-memory', '@verdaccio/cli']])(
test.each([['verdaccio-memory'], ['@verdaccio/cli']])(
'should audit a package %s',
async (pkgName) => {
const { tempFolder } = await prepareGenericEmptyProject(

View File

@@ -17,26 +17,30 @@ export function runDistTag(npm) {
await registry.init();
});
test.each([['@foo/foo', 'foo']])('should list dist-tags for %s', async (pkgName) => {
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()
);
await npmUtils.publish(npm, tempFolder, pkgName, registry);
await npmUtils.bumbUp(npm, tempFolder, registry);
await npmUtils.publish(npm, tempFolder, pkgName, registry, ['--tag', 'beta']);
const resp2 = await npm(
{ cwd: tempFolder },
'dist-tag',
'ls',
'--json',
...addRegistry(registry.getRegistryUrl())
);
expect(resp2.stdout).toEqual('beta: 1.1.0latest: 1.0.0');
});
test.each([['@foo/verdaccio-foo'], ['verdaccio-foo']])(
'should list dist-tags for %s',
async (pkgName) => {
// Packages must not exist in npm registry to avoid conflicts with data from uplink
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()
);
await npmUtils.publish(npm, tempFolder, pkgName, registry);
await npmUtils.bumbUp(npm, tempFolder, registry);
await npmUtils.publish(npm, tempFolder, pkgName, registry, ['--tag', 'beta']);
const resp2 = await npm(
{ cwd: tempFolder },
'dist-tag',
'ls',
'--json',
...addRegistry(registry.getRegistryUrl())
);
expect(resp2.stdout).toEqual('beta: 1.1.0latest: 1.0.0');
}
);
test.each([['@verdaccio/bar']])('should remove tag with dist-tags for %s', async (pkgName) => {
const { tempFolder } = await prepareGenericEmptyProject(

View File

@@ -1,9 +1,9 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-npm-common",
"version": "1.0.0",
"version": "1.0.1-next-8.1",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0"
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1"
},
"scripts": {
"test": "echo no test"

View File

@@ -12,12 +12,18 @@ export function runPublish(npm) {
await registry.init();
});
test.each([['verdaccio-memory', 'verdaccio', '@verdaccio/foo', '@verdaccio/some-foo']])(
test.each([['verdaccio-memory'], ['verdaccio'], ['@verdaccio/foo'], ['@verdaccio/some-foo']])(
'should publish a package %s',
async (pkgName) => {
// As of npm v11, npm will fetch the packument from the npm registry before publishing (from the uplink),
// and there are more checks in the client:
// - "You cannot publish over the previously published versions"
// - "You must specify a tag using --tag when publishing a prerelease version"
// - "Cannot implicitly apply the 'latest' tag because previously published version x.y.z is higher than the new version a.b.c"
// Therefore, we pick a version that is higher than any of the published versions for the test packages (and not a pre-release).
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0-patch',
'99.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()
@@ -31,7 +37,6 @@ export function runPublish(npm) {
const parsedBody = JSON.parse(resp.stdout as string);
expect(parsedBody.name).toEqual(pkgName);
expect(parsedBody.files).toBeDefined();
expect(parsedBody.files).toBeDefined();
}
);

View File

@@ -20,7 +20,7 @@ export function runStar(npm) {
test.each([['@verdaccio/foo']])('should star a package %s', async (pkgName) => {
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0-patch',
'1.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()
@@ -39,7 +39,7 @@ export function runStar(npm) {
test.each([['@verdaccio/bar']])('should unstar a package %s', async (pkgName) => {
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0-patch',
'1.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()
@@ -67,7 +67,7 @@ export function runStar(npm) {
const pkgName = '@verdaccio/stars';
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0-patch',
'1.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()

View File

@@ -17,12 +17,12 @@ export function runUnpublish(npm) {
await registry.init();
});
test.each([['@verdaccio/test1', 'super-package-do-not-exist-spam']])(
test.each([['@verdaccio/test1'], ['super-package-do-not-exist-spam']])(
'should unpublish a full package %s',
async (pkgName) => {
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0-beta',
'1.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()
@@ -44,16 +44,16 @@ export function runUnpublish(npm) {
'--json',
...addRegistry(registry.getRegistryUrl())
);
expect(resp2.stdout).toEqual('- @verdaccio/test1');
expect(resp2.stdout).toEqual(`- ${pkgName}`);
}
);
test.each([['@verdaccio/test1', 'super-package-do-not-exist-spam']])(
test.each([['@verdaccio/test1'], ['super-package-do-not-exist-spam']])(
'should unpublish a package %s version',
async (pkgName) => {
const { tempFolder } = await prepareGenericEmptyProject(
pkgName,
'1.0.0-beta',
'1.0.0',
registry.port,
registry.getToken(),
registry.getRegistryUrl()
@@ -69,13 +69,13 @@ export function runUnpublish(npm) {
const resp2 = await npm(
{ cwd: tempFolder },
'unpublish',
`${pkgName}@1.0.0-beta`,
`${pkgName}@1.0.0`,
'--force',
'--loglevel=info',
'--json',
...addRegistry(registry.getRegistryUrl())
);
expect(resp2.stdout).toEqual('- @verdaccio/test1@1.0.0-beta');
expect(resp2.stdout).toEqual(`- ${pkgName}@1.0.0`);
}
);

View File

@@ -1,5 +1,23 @@
# @verdaccio/e2e-cli-npm9
## 1.0.2-next-8.2
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.1
## 1.0.2-next-8.1
### Patch Changes
- Updated dependencies [d945bfe]
- Updated dependencies [534fafd]
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.0
- @verdaccio/test-cli-commons@2.0.0-next-8.0
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,11 +1,11 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-npm10",
"version": "1.0.2-next-8.0",
"version": "1.0.2-next-8.2",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-npm-common": "workspace:*",
"npm": "10.9.0"
"npm": "10.9.2"
},
"scripts": {
"test": "vitest run --testTimeout 50000"

View File

@@ -1,5 +1,5 @@
import { SpawnOptions } from 'child_process';
import { join } from 'path';
import { SpawnOptions } from 'node:child_process';
import { join } from 'node:path';
import { exec } from '@verdaccio/test-cli-commons';
import { addRegistry } from '@verdaccio/test-cli-commons';

View File

@@ -0,0 +1,3 @@
{
"extends": "../../../.babelrc"
}

View File

@@ -0,0 +1,7 @@
{
"rules": {
"no-console": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/explicit-member-accessibility": 0
}
}

View File

@@ -0,0 +1,88 @@
# @verdaccio/e2e-cli-npm9
## 1.0.2-next-8.2
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.1
## 1.0.2-next-8.1
### Patch Changes
- 534fafd: feat(e2e): add npm11
- Updated dependencies [d945bfe]
- Updated dependencies [534fafd]
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.0
- @verdaccio/test-cli-commons@2.0.0-next-8.0
## 1.0.2-next-8.0
### Patch Changes
- d4fc827: fix(e2e): name for npm10 test
- @verdaccio/test-cli-commons@2.0.0-next-8.0
## 1.0.1
### Patch Changes
- Updated dependencies [351aeeaa8]
- Updated dependencies [d167f92e1]
- Updated dependencies [c383eb68c]
- @verdaccio/test-cli-commons@1.1.0
## 1.0.1-6-next.7
### Patch Changes
- Updated dependencies [c383eb68]
- @verdaccio/test-cli-commons@1.1.0-6-next.7
## 1.0.1-6-next.6
### Patch Changes
- Updated dependencies [d167f92e]
- @verdaccio/test-cli-commons@1.1.0-6-next.6
## 1.0.1-6-next.5
### Patch Changes
- @verdaccio/test-cli-commons@1.0.1-6-next.5
## 1.0.1-6-next.4
### Patch Changes
- @verdaccio/test-cli-commons@1.0.1-6-next.4
## 1.0.1-6-next.3
### Patch Changes
- 351aeeaa: fix(deps): @verdaccio/utils should be a prod dep of local-storage
- Updated dependencies [351aeeaa]
- @verdaccio/test-cli-commons@1.0.1-6-next.3
## 1.0.1-6-next.2
### Patch Changes
- @verdaccio/test-cli-commons@1.0.1-6-next.2
## 1.0.1-6-next.1
### Patch Changes
- @verdaccio/test-cli-commons@1.0.1-6-next.1
## 1.0.1-6-next.0
### Patch Changes
- @verdaccio/test-cli-commons@1.0.1-6-next.0

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runAudit } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('audit a package', () => {
runAudit(npm);
});

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runDeprecate } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('deprecate a package', () => {
runDeprecate(npm);
});

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runDistTag } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('dist-tags a package', () => {
runDistTag(npm);
});

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runInfo } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('info a package', () => {
runInfo(npm);
});

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runInstall } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('install a project packages', () => {
runInstall(npm);
});

View File

@@ -0,0 +1,13 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-npm11",
"version": "1.0.2-next-8.2",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-npm-common": "workspace:*",
"npm": "11.4.2"
},
"scripts": {
"test": "vitest run --testTimeout 50000"
}
}

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runPing } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('ping registry', () => {
runPing(npm);
});

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runPublish } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('publish a package', () => {
runPublish(npm);
});

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runSearch } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('search a package', () => {
runSearch(npm);
});

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runStar } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('star a package', () => {
runStar(npm);
});

View File

@@ -0,0 +1,8 @@
{
"extends": "../../../tsconfig.reference.json",
"references": [
{
"path": "../cli-commons"
}
]
}

View File

@@ -0,0 +1,9 @@
import { describe } from 'vitest';
import { runUnpublish } from '@verdaccio/e2e-cli-npm-common';
import { npm } from './utils';
describe('unpublish a package', () => {
runUnpublish(npm);
});

View File

@@ -0,0 +1,41 @@
import { SpawnOptions } from 'node:child_process';
import { join } from 'node:path';
import { exec } from '@verdaccio/test-cli-commons';
import { addRegistry } from '@verdaccio/test-cli-commons';
export function getCommand() {
return join(__dirname, './node_modules/.bin/npm');
}
export function npm(options: SpawnOptions, ...args: string[]) {
return exec(options, getCommand(), args);
}
export async function bumbUp(tempFolder, registry) {
await npm({ cwd: tempFolder }, 'version', 'minor', ...addRegistry(registry.getRegistryUrl()));
}
export async function publish(tempFolder, pkgName, registry, arg: string[] = []) {
const resp = await npm(
{ cwd: tempFolder },
'publish',
...arg,
'--json',
...addRegistry(registry.getRegistryUrl())
);
const parsedBody = JSON.parse(resp.stdout as string);
expect(parsedBody.name).toEqual(pkgName);
}
export async function getInfoVersions(pkgName, registry) {
const infoResp = await npm(
{},
'info',
pkgName,
'--json',
...addRegistry(registry.getRegistryUrl())
);
const infoBody = JSON.parse(infoResp.stdout as string);
return infoBody;
}

View File

@@ -1,5 +1,23 @@
# @verdaccio/e2e-cli-npm6
## 1.0.2-next-8.2
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.1
## 1.0.2-next-8.1
### Patch Changes
- Updated dependencies [d945bfe]
- Updated dependencies [534fafd]
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.0
- @verdaccio/test-cli-commons@2.0.0-next-8.0
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,9 +1,9 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-npm6",
"version": "1.0.2-next-8.0",
"version": "1.0.2-next-8.2",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-npm-common": "workspace:*",
"npm": "6.14.18"
},

View File

@@ -1,5 +1,5 @@
import { SpawnOptions } from 'child_process';
import { join } from 'path';
import { SpawnOptions } from 'node:child_process';
import { join } from 'node:path';
import { exec } from '@verdaccio/test-cli-commons';

View File

@@ -1,5 +1,23 @@
# @verdaccio/e2e-cli-npm7
## 1.0.2-next-8.2
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.1
## 1.0.2-next-8.1
### Patch Changes
- Updated dependencies [d945bfe]
- Updated dependencies [534fafd]
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.0
- @verdaccio/test-cli-commons@2.0.0-next-8.0
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,9 +1,9 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-npm7",
"version": "1.0.2-next-8.0",
"version": "1.0.2-next-8.2",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-npm-common": "workspace:*",
"npm": "7.24.2"
},

View File

@@ -1,5 +1,5 @@
import { SpawnOptions } from 'child_process';
import { join } from 'path';
import { SpawnOptions } from 'node:child_process';
import { join } from 'node:path';
import { exec } from '@verdaccio/test-cli-commons';

View File

@@ -1,5 +1,23 @@
# @verdaccio/e2e-cli-npm8
## 1.0.2-next-8.2
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.1
## 1.0.2-next-8.1
### Patch Changes
- Updated dependencies [d945bfe]
- Updated dependencies [534fafd]
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.0
- @verdaccio/test-cli-commons@2.0.0-next-8.0
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,9 +1,9 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-npm8",
"version": "1.0.2-next-8.0",
"version": "1.0.2-next-8.2",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-npm-common": "workspace:*",
"npm": "8.19.4"
},

View File

@@ -1,5 +1,5 @@
import { SpawnOptions } from 'child_process';
import { join } from 'path';
import { SpawnOptions } from 'node:child_process';
import { join } from 'node:path';
import { exec } from '@verdaccio/test-cli-commons';

View File

@@ -1,5 +1,23 @@
# @verdaccio/e2e-cli-npm9
## 1.0.2-next-8.2
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.1
## 1.0.2-next-8.1
### Patch Changes
- Updated dependencies [d945bfe]
- Updated dependencies [534fafd]
- @verdaccio/e2e-cli-npm-common@1.0.1-next-8.0
- @verdaccio/test-cli-commons@2.0.0-next-8.0
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,11 +1,11 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-npm9",
"version": "1.0.2-next-8.0",
"version": "1.0.2-next-8.2",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-npm-common": "workspace:*",
"npm": "9.9.3"
"npm": "9.9.4"
},
"scripts": {
"test": "vitest run --testTimeout 50000"

View File

@@ -1,5 +1,5 @@
import { SpawnOptions } from 'child_process';
import { join } from 'path';
import { SpawnOptions } from 'node:child_process';
import { join } from 'node:path';
import { exec } from '@verdaccio/test-cli-commons';
import { addRegistry } from '@verdaccio/test-cli-commons';

View File

@@ -1,5 +1,12 @@
# @verdaccio/e2e-cli-pnpm9
## 1.0.2-next-8.1
### Patch Changes
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,10 +1,10 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-pnpm-common",
"version": "1.0.2-next-8.0",
"version": "1.0.2-next-8.1",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"pnpm": "9.0.0-alpha.10"
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"pnpm": "10.5.2"
},
"main": "index.ts",
"scripts": {

View File

@@ -1,5 +1,14 @@
# @verdaccio/e2e-cli-pnpm9
## 1.0.1-next-8.0
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-pnpm-common@1.0.2-next-8.1
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,11 +1,11 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-pnpm10",
"version": "1.0.0",
"version": "1.0.1-next-8.0",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-pnpm-common": "workspace:*",
"pnpm": "10.0.0-alpha.2"
"pnpm": "10.12.1"
},
"scripts": {
"test": "vitest run --testTimeout 50000"

View File

@@ -1,5 +1,5 @@
import { SpawnOptions } from 'child_process';
import { join } from 'path';
import { SpawnOptions } from 'node:child_process';
import { join } from 'node:path';
import { exec } from '@verdaccio/test-cli-commons';

View File

@@ -1,5 +1,14 @@
# @verdaccio/e2e-cli-pnpm7
## 1.0.2-next-8.1
### Patch Changes
- 9da5308: chore(deps): e2e-cli
- Updated dependencies [9da5308]
- @verdaccio/test-cli-commons@2.0.0-next-8.1
- @verdaccio/e2e-cli-pnpm-common@1.0.2-next-8.1
## 1.0.2-next-8.0
### Patch Changes

View File

@@ -1,9 +1,9 @@
{
"private": true,
"name": "@verdaccio/e2e-cli-pnpm8",
"version": "1.0.2-next-8.0",
"version": "1.0.2-next-8.1",
"dependencies": {
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.0",
"@verdaccio/test-cli-commons": "workspace:2.0.0-next-8.1",
"@verdaccio/e2e-cli-pnpm-common": "workspace:*",
"pnpm": "8.15.9"
},

Some files were not shown because too many files have changed in this diff Show More