0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
Commit graph

53 commits

Author SHA1 Message Date
Marc Bernard
19df355e3c
chore(api): update comment about route parameters () 2024-07-17 19:57:03 +02:00
Marc Bernard
6e764e3c49
feat: add support for npm owner ()
* feat: add support for npm owner

* Revert debug msg

* Finish feature and add test cases

* Fix remote user name and more tests

* Simplify passing remote user

* Update version metadata with owners

* Add test for validateUserName

* Add comment for "change owner"

* add config option

* add check to removePackage, removeTarball

* typo

* check access when write=true

* Add to config, fix undefined user

* Update docs

* Update docs

* Update readme
2024-06-13 12:06:01 +02:00
Juan Picado
87c16127b4
refactor: search package ()
* refactor: search package

refactor: search package

* update deps

* refactor

* refactor tests

* add tests
2024-03-10 17:58:39 +01:00
Juan Picado
74cd588828
fix: bug on change password npm profile ()
* fix: bug on change password npm profile

* add new case
2024-01-24 23:14:38 +01:00
Dina Basumatary
4c58a46b43
Get rid of @ts-ignore (iteration 1 or many more to go) ()
* Update process.ts

- Removed the silentNpm function. not being used anywhere
- Type guard for childProcess.stdout
- fix type errors

* typo

* remove @ts-ignore

* remove ts-ignore

* chore: remove type already inferred

* chore: fix types

* chore: fix types and add typeguard

* chore: fix pnpm 8.9.0

* revert an incorrect change

---------

Co-authored-by: Dina Basumatary <dnafication@users.noreply.github.com>
2023-10-26 17:49:05 +02:00
Juan Picado
ae93e039da
fix: expose middleware methods ()
* fix: expose middleware methods 

* remove body-parser dep

* fix 404 issue
2023-07-15 20:38:43 +02:00
Juan Picado
f859d2b1ae
fix: official package - cannot be synced ()
* fix: official package - cannot be synced

* coverage
2023-07-08 19:06:03 +02:00
Juan Picado
45c03819e2
refactor: html render middleware improvements ()
* refactor: render middleware

* refactor: render middleware
2023-02-12 20:26:18 +01:00
Juan Picado
631abe1ac1
refactor logger module ()
* refactor logger module

* Update index.ts
2023-02-05 21:00:32 +01:00
TLDMain
859c51cd44
fix package parameter () 2023-01-31 17:09:38 +01:00
Juan Picado
a1986e098d
feat: expose middleware utils ()
* feat: expose middleware utils

* feat: expose middleware utils

* Update antiLoop.ts

* Update e2e-ci.yml
2023-01-29 15:08:50 +01:00
Juan Picado
4b29d715b1
chore: move improvements from v5 to v6 ()
* chore: migrate  to v6

* chore: migrate  to v6k

* chore: migrate  to v6

* chore: migrate   to v6

* chore: add changeset
2022-10-28 23:38:22 +02:00
Juan Picado
a8e1ffd72f
chore: list stars of an user ()
* chore: list stars of user

* chore: add pnpm test e2e
2022-10-21 23:05:18 +02:00
Juan Picado
b4cc80017e
fix: improve abort request search ()
* fix: improve abort request search

* chore: add changeset

* chore: ui flacky tests
2022-10-15 14:03:51 +02:00
Juan Picado
54606976c3
chore(website): improve api docs part 2 ()
* chore: remove unused package

* Update pnpm-lock.yaml

* chore: improve types in general plugins
2022-10-11 23:06:55 +02:00
Juan Picado
ce013d2fcc
refactor: reimplement star command () 2022-10-01 00:14:20 +02:00
Juan Picado
a249ab7b5a
chore: re-stablished deprecated support ()
* chore: re-stablished deprecated support

* chore: add e2e

* chore: add more tests

* chore: improve setup

* chore: improve buildcache

* Update e2e-ci.yml

* Update e2e-ci.yml

* Update e2e-ci.yml

* Update e2e-ci.yml

* chore: add more steps

* chore: improve speed

* chore: fix ci

* chore: improve cache

* Update ci.yml

* Update registry.ts

* Update ci.yml

* Update ci.yml
2022-09-18 21:47:23 +02:00
Juan Picado
62c24b6321
feat: add passwordValidationRegex property ()
* feat: add passwordValidationRegex property

* chore: improve validation

* Update validation-utilts.spec.ts

* Update validation-utilts.spec.ts

* chore: remove code
2022-09-17 19:29:40 +02:00
Juan Picado
43f32687cd
fix: abbreviated headers handle quality values () 2022-09-06 08:25:17 +02:00
Juan Picado
b849128ded
fix: handle upload scoped tarball and add new deprecations ()
* chore: add local publish support

* chore: fix upload scoped tarball

* add e2e
2022-09-02 20:40:12 +02:00
Juan Picado
37274e4c8d
feat: implement abbreviated manifest ()
* feat: implement abbreviated manifest

* chore: add time field

* chore: add abbreviated version

* chore: fix missing time

* chore: fix merge time issue

* Update jest.config.js

* add tests

* chore: add tests

* chore: add missing fields
2022-08-27 12:52:23 +02:00
Juan Picado
00d1d2a179
chore: env variable for launch fastify ()
* chore: relocate package server

* chore: relocate server packages

* Update ci.yml

* rename packages

* rename package

* chore: refactor fastify endpoints

* chore: fix types requests

* fix warnings

* chore: refactor endpoints

* refactor launch fastify

* Update package.json

* chore: update deps

* Create green-yaks-divide.md
2022-08-08 07:14:23 +02:00
Juan Picado
292c0a37fc
feat!: replace deprecated request dependency by got () 2022-07-29 20:51:45 +02:00
Juan Picado
b8554c8935
refactor: promisfy packages ()
* refactor: better performance and structure for get package

refactor file-locking promise taste

refactor updatePackageNext method

update lock file

apply missing interfaces

add version method

fix lint

fix test

chore: remove promisify

refactor publish progress

* migrate methods utilities publish

* Update index.d.ts

* restore publish
2022-02-20 18:39:38 +01:00
Juan Picado
a828271d63
refactor: fetch package endpoint and basic integration fastify ()
* refactor: download manifest endpoint and integrate fastify

* fix file not found issue

* add temporary migration method to storage memory

* sanitize fs methods

* restore tests

* chore: restore sanitilize

will do later

* add tests

* add changeset

* lint

* trying something test

* chore: lint

* restore code

* fix e2e

* fix lint
2021-12-12 18:00:19 +01:00
Juan Picado
b13a3fefd3
refactor: improve versions and dist-tag filters ()
* refactor: improve versions and dist-tag filters

* chore: restore this later

* improve documentation of dis-tag normalizer

* chore: add changeset
2021-11-09 20:38:44 +01:00
Behrang Yarahmadi
13310814da
add prettier plugin sort imports ()
*  add prettier plugin sort imprts

*  update pnpm-lock.yaml

*  update eslint rules

*  fixes website directory formatting

Co-authored-by: Ayush Sharma <ayush.sharma@trivago.com>
2021-10-29 17:33:05 +02:00
Juan Picado
16458f801e
refactor: pass options instead request object () 2021-10-29 09:00:02 +02:00
Juan Picado
b702ea3631
abort search request support for proxy ()
* update undici

* abort search request support for proxy
2021-10-15 23:00:30 +02:00
Juan Picado
154b2ecd34
refactor: remove @verdaccio/commons-api in favor @verdaccio/core and remove duplication ()
* migrate api package

* migrate auth

* migrate config

* refactor: remove @verdaccio/commons-api in favor @verdaccio/core

* fix lint

* relocate pkg

* relocate pkg

* fix tsconfig
2021-09-26 00:08:00 +02:00
Juan Picado
60d7b35d88
refactor: search logic to storage pkg ()
* refactor: search logic to storage pkg

* add test

* update undici

* add tests

* Update ci.yml

* fix ci

* fix tests

* fix ci

* fix tests

* fix ci

* restore some deps

* Update Version.test.tsx

* disable debug
2021-09-12 16:21:19 +02:00
Juan Picado
459b6fa72b
refactor: search v1 endpoint and local-database ()
* Refactor local-storage async

refactor local storage search stream

Remove async from local-storage, refactor search with streams

refactor search with undici fetch

finish search refactor

stream multiple request to single stream

refactor storage types

remove async dependency 

add score and refactor metadata

remove old search async

fix missing stream local data

clean up

clean up

refactor folder search

format

fix some test

fix issue on publish

filter preview

update ci

delete package folder refactor

refactor get packages methods

fix tests

fix lock file

add changeset

fix test windows

disable some test

update package json versions

* fix merge

* fix e2e cli

* restore e2e

* Update process.ts

* Update process.ts

* add improvement

* format

* Update utils.ts

* test

* test

* Update search.spec.ts

* Update search.spec.ts

* Update search.spec.ts

* test

* Update ci.yml

* clean up

* fix tests

* Update tags.ts

* Update index.spec.ts

* document changeset

* format
2021-09-08 19:06:37 +02:00
Justin Johansson
15d5e969c4
Update & make dependency versions consistent in packages/* ()
* docs: improve pnpm development setup info in CONTRIBUTING.md

* build: make dependency versions consistent in packages/*

Updated to latest minor/patch versions; left major version unchanged for now

Did not change react dependencies in ui-theme package

Added .project file for Eclipse IDE users

* revert: rollback @changesets dep versions & maintain kleur v3.0.3
2021-08-30 08:19:08 +02:00
Juan Picado
15c694156a
fix eslint warnings ()
* chore: reduce warnings

* chore: fix eslint warnings

* fix warning
2021-06-12 09:25:53 +02:00
Juan Picado
f3f00052d8
chore: eslint config module ()
* build: eslint config as package

* chore: fix formatting
2021-05-16 17:11:08 +02:00
Juan Picado
558d78f32a feat: flexible user interface generator ()
* feat: flexible template generator and manifest

* chore: add changeset

* chore: restore dep

* chore: add docs

* chore: update snapshots

* chore: update docker examples for v5

* chore: refactor web module

* chore: format

* chore: refactor web api endpoints

* test: add test for user login web

* chore: refactor endpoints

* chore: fix merge

* chore: fix merge

* Update ci.yml

* chore: test

* chore: add static

* chore: update script

* chore: fix e2e

* chore: fix method

* docs: update v5 relative docker example

* chore: update html render

* chore: update style

* Update .prettierignore

* chore: update changeset

* chore: use pnpm6 on run test

temporary ci

* chore: drop node 16 for pnpm 6

* chore: update ci

* chore: update ci

* chore: update ci

* chore: update ci

* chore: remove circle ci

* chore: better url prefix handling

* chore: format code

* chore: remove test node 10

* docs: add docker v5 relative revers proxy example

* chore: use base html tag

* chore: update test
2021-04-09 17:54:38 +02:00
Paola Morales
14159b31e1 ref: refactor utils methods ()
* ref: Relocate utils functions to web pkg

* ref: Refactor utils functions

* ref: Relocate utils functions to api pkg

* ref: Relocate utils functions to config pkg

* ref: Relocate utils functions to middleware pkg

* ref: Relocate utils functions to storage pkg

* ref: relocate utils functions to proxy pkg

* ref: relocate utils functions to middleware pkg

* ref: refactor utils functions

* Fix compilation errors
2021-04-09 17:54:36 +02:00
Juan Picado
eab3007939 chore: update deps ()
* chore: update deps

* chore: update eslint

* chore: update deps types
2021-04-09 17:54:34 +02:00
Juan Picado
e54ec4b5d0 feat: remove level dependency by lowdb for npm token cli as storage ()
* feat: remove level for token by lowdb

* chore: fix format

* chore: fix config

* chore: add changeset
2021-04-09 17:54:31 +02:00
Juan Picado
5f3eee5eaf chore: remove a package, move constants ()
* chore: remove a package, move constants

* chore: remove *
2021-04-09 17:54:26 +02:00
Juan Picado
e83e500b80 fix: cleanup warnings ()
* fix: lint warnings

* fix: test
2021-04-09 17:54:24 +02:00
Dina Basumatary
68ea21214a fix: eslint errors ()
* fix: eslint errors

* fix: rename a test

* fix: broken integration test

due to removing next argument in the middleware.

* changeset
2021-04-09 17:54:23 +02:00
Juan Picado
e367c3f1e0 feat: improve legacy token signature by removing deprecated crypto.cr… ()
* feat: improve legacy token signature by removing deprecated crypto.createDecipher

* fix: wrong reference

* chore: add debug
2021-04-09 17:54:21 +02:00
Juan Picado
8c730c0694 refactor: max-len and printWidth to 100 ()
* refactor: max-len and printWidth to 100

* chore: ci specific pnpm version

* fix: add types peer package

literally get rid of types package
2021-04-09 17:54:20 +02:00
Juan Picado
168833d857 chore: patch changesets example ()
* chore: test changesets

* chore: add changeset
2021-04-09 17:54:18 +02:00
Juan Picado
3838d3d212 feat: relocate core packages ()
* chore: clean lint warnings

* refactor: move core packages
2021-04-09 17:54:13 +02:00
Juan Picado
e61bd6c78f chore: lint prettier update ()
* chore: update prettier@2.x

* chore: prettier auto fix

* chore: fake circleci

we don't need it but I want make dissapear the error
2021-04-09 17:54:12 +02:00
Juan Picado
9f2a29a275 refactor: devDependencies strictly defined in each package ()
* refactor: new babel preset

* chore: using pnpm

let's see how it goes, all seems works fine by far, pretty solid.
2021-04-09 17:54:11 +02:00
Juan Picado
a7ba76423e refactor: test api refactor ()
* test: add test for whoami

* Update middleware.ts

* test for user api

* more test for user api

* remove repeated code

* refactor

* Update index.spec.ts

* add package test

refactor others

* chore: upgrade deps

* chore: add test for package

* chore: update test

* update lock file

* Update ci.yml

* Update ci.yml

* Update package.spec.ts

* chore: update ci settings

* chore: update deps

* chore: update test
2021-04-09 17:54:11 +02:00
Juan Picado
9946ea8bea chore: update dependencies (maintenance)
* chore: update deps

* chore: update deps

* chore: fix dependencies

* chore: update deps

* chore: update deps

* chore: add types

* chore: update jest
2021-04-09 17:54:09 +02:00