Juan Picado
913ce37b57
fix: newline after version command
...
fix (#4543 )
Co-Authored-By: Aseer KT <39845171+aseerkt@users.noreply.github.com>
2024-03-17 11:34:51 +01:00
Juan Picado
ed3ce4dc93
feat: enable stream search from user interface ( #4544 )
...
* feat: search refactor
* add remote text support
* format
* remove indexser
* remove dep
* format
2024-03-17 11:32:01 +01:00
renovate[bot]
c12e1a0b6a
fix(deps): update core verdaccio dependencies (6.x) ( #4540 )
...
* fix(deps): update core verdaccio dependencies
* fix versions
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2024-03-16 16:23:17 +01:00
Juan Picado
a183446000
fix: profile v1 endpoint and tests
2024-02-03 12:07:15 +01:00
Juan Picado
428a256626
feat: refactor auth class ( #4364 )
...
* feat: refactor auth class
* chore: fix lint issues
* chore: fix lint issues
* Update user.ts
* chore: remove cookies dep
2024-01-01 20:23:23 +01:00
renovate[bot]
e1235dfc69
chore(deps): update dependency typescript to v5.3.3 (6.x) ( #4216 )
...
* chore(deps): update dependency typescript to v5.3.3
* fix types
* clean up
* Update bootstrap.ts
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2023-12-10 11:56:23 +01:00
Juan Picado
62483bc1d0
chore: cleanup code
2023-10-30 07:37:30 +01:00
Juan Picado
8a8a3307a1
feat!: using new plugin loader ( #4097 )
...
* feat!: using new plugin loader
Already implemented here https://github.com/verdaccio/verdaccio/pull/3370
* format
* Update index.ts
* update ci
* fix workflow
* Update e2e-angular-cli-workflow.yml
* Update e2e-jest-workflow.yml
* ci
* test
* Create e2e-audit-workflow.yml
* Create e2e-next-cli-workflow.yml
* Delete e2e-next-cli-workflow.yml
* chore: replace storage plugin loader
* Update local-storage.spec.ts
* remove cache
* auth plugin loader
* format
2023-10-29 18:11:41 +01:00
Juan Picado
8bb974c4f6
chore: upgrade yarn 4 ( #4094 )
...
* chore: upgrade yarn 4
* Update user.ts
2023-10-28 17:51:02 +02:00
Juan Picado
08bca6354c
core: update verdaccio core dependencies
2023-10-28 17:35:19 +02:00
Juan Picado
5dea7e1100
chore: format code
2023-10-28 13:19:52 +02:00
Juan Picado
8f9b094f6e
chore: fix type
2023-10-28 13:12:19 +02:00
Tiago Mota
e174e8c554
feat(experiment): accept async tarball_url_redirect function ( #3914 )
...
* chore: await tarball_url_redirect function
* test: unit test async tarball_url_redirect
* chore: prettier format
* chore: refactor redirectOrDownloadStream to better error handling
* refactor tests
* format
* format
---------
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2023-10-07 23:49:28 +02:00
Juan Picado
02af45c8db
feat!: drop nodejs 16 ( #4032 )
...
* drop nodejs 16
* format
* fix format
* update deps
2023-09-24 09:26:07 +02:00
Juan Picado
547ba9a569
fix: check if node.js minimum version is correct ( #4002 )
2023-09-03 08:57:20 +02:00
Juan Picado
c2aa0b6d3f
feat: search on cache packages ( #4001 )
...
* feat: search on cache packages
* remove dep
2023-09-02 23:08:22 +02:00
Juan Picado
d40d0ff7b3
feat!: remove request ( #3960 )
2023-08-28 23:03:36 +02:00
Juan Picado
5a0ead5fb6
feat!: drop Node.js 12 ( #3983 )
...
* feat!: drop Node.js 12
- Enable minimum Node.js 16
* update notes
* restore files
2023-08-20 18:43:30 +02:00
Juan Picado
5e9637da90
fix: add missing token auth middleware ( #3944 )
...
* fix: add missing token auth middleware
* improve tests
* format
2023-07-21 00:32:14 +02:00
Juan Picado
43de79d46a
feat: refactor middleware and bufixes ( #3922 )
2023-07-15 21:37:45 +02:00
Juan Picado
4be19db0c1
fix: remove req.host deprecation warning ( #3921 )
2023-07-09 10:26:36 +02:00
Juan Picado
770cd27759
feat: replace internal web search indexer ( #3818 )
...
* feat: replace internal search indexer
* chore: add import
* chore: fix tests
* add search dependency
* remove lunr-mutable-indexes
2023-05-14 13:27:09 +02:00
cmkk
268c5e7740
fix: fixed an issue where logger.info in allow_action always output undefined ( #3763 )
...
logger.info({ user: user.name }, `auth/allow_action: access granted to: @{user}`);
The above log code will always output undefined
2023-04-24 06:54:52 +02:00
Juan Picado
e939ca24af
feat: upgrade plugin htpassw major ( #3712 )
...
Replaces default auth plugin verdaccio-htpasswd@10.x by verdaccio-htpasswd@11.x which is being used in verdaccio 6.x (almost identical)
Apply backward compabiity
Reduces maintenance (monorepo plugin can be removed)
One more step to switch v6.x
Add Node.js 12 GH Action for check backward compatibility
2023-04-22 11:08:59 +02:00
jzhangdev
1029d7a381
fix: ui package search ( #3713 )
...
* fix: package search
* Update init.ts
---------
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2023-04-04 07:17:31 +02:00
Juan Picado
783422b4a2
refactor: migrate @verdaccio/types@11.x ( #3692 )
...
* refactor: migrate @verdaccio/types@11
* deps
2023-03-18 22:40:34 +01:00
Juan Picado
b85ba995b5
fix: add missing version on footer #3671
2023-03-18 17:32:29 +01:00
Juan Picado
ccfac8f0aa
chore: update typescript ( #3689 )
2023-03-18 17:26:13 +01:00
Juan Picado
f6c22d3ea8
fix : #3666 experiments config fail on startup ( #3668 )
...
* fix : #3666 experiments config fail on startup
* Update experiments.yaml
* Update init.ts
* add tests
* Update bootstrap.ts
* update deps
* update deps
2023-03-07 22:50:16 +01:00
Juan Picado
dd4726d82b
chore: restore removed import
2023-03-03 21:55:38 +01:00
Juan Picado
8d584dddd0
chore: refactor createAnonymousRemoteUser and createRemoteUser
2023-03-03 21:50:43 +01:00
Juan Picado
d78561a3fd
chore: clean up code
2023-03-03 21:40:52 +01:00
Juan Picado
e50d4d92a2
feat: improved config and token signature ( #3658 )
...
* chore: add signature module
* feat: improved config and token signature
feat: improved config and token signature
Update package.json
* chore: update deps
* types
* fix: logger missing options
* chore: update deps
* update dep
* Update e2e-jest-workflow.yml
* Update init.ts
* Update config-path.ts
* fix logger
* Update init.ts
2023-03-03 21:32:10 +01:00
薄涛
e4573c7e15
fix: avoid setting body for GET requests ( #3643 )
...
* fix: avoid setting body for GET requests
When making a GET request to certain uplinks, such as https://registry.npmmirror.com , setting the body field can result in a 413 error. Previously, the code was setting the body field for all requests, including GET requests.
This commit fixes the issue by checking the request method and avoiding setting the body field for GET requests. This ensures that GET requests are not affected by the issue and can be made without error.
Fixes #3601
* add missing deps for run test locally
* test(up-storage): add unit test about uplink is npmmirror
Cause thers is a bug in `isObject` function from `@verdaccio/core`, when `options.json` is `true`
GET request body will be string 'true', some uplinks might return 413 status code such as
https://registry.npmmirror.com
fix #3601
* chore(deps): update @verdaccio/core
---------
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
Co-authored-by: botao <botao@tal.com>
2023-02-24 07:18:18 +01:00
Juan Picado
f9f269ee04
feat: refactor render middleware and audit plugin ( #3602 )
...
* chore: replace web middleware
* clean up
* migrate user agent
* migrate rate limit
* clean up
* replace audit plugin
* feat: refactor render middleware and audit plugin
* update deps
* update deps
* update packages
* update deps
* chore: update deps
* update deps
* update config dep
* chore: update deps
* update deps
2023-02-14 22:20:11 +01:00
Juan Picado
bf9ed26d90
feat: replace middleware and logger core ( #3586 )
...
Use verdaccio 6 modules for middleware and logger with pino 7
2023-02-09 21:42:24 +01:00
Juan Picado
45d7c95a08
fix: pushed wrong types library and broken build
2023-01-29 16:24:58 +01:00
Juan Picado
bae430fe24
feat: refactor test and use verdaccio 6 core modules ( #3569 )
...
chore: clean up comments
remove commitlint
update deps
add new tests
test
separate ci
test
test
test
test
test
test
chore: add preprelase
test
test
test
test
test
chore: update deps
Update release-snapshot.yml
Update .npmignore
test
chore: remove @verdaccio/commons-api dep
chore: cleanup
remove normalizeContributors
remove validateMetadata
fix test
clean up getLocalRegistryTarballUri
Update store.spec.ts
clean up convertDistRemoteToLocalTarballUrls
chore: update libraries
reuse getPublic url
clean up
Update jest.config.js
Update jest.config.js
update nvmrc
add tests
2023-01-28 14:39:37 +01:00
Juan Picado
50a20e922b
chore: fix automated release notes on publish ( #3568 )
...
* chore: fix automated release notes on publish
* chore: fix automated release notes on publish
2023-01-19 22:53:05 +01:00
Juan Picado
6df04e1ce1
chore: upgrade eslint and prettier ( #3565 )
2023-01-18 22:49:28 +01:00
Juan Picado
0b49566176
fix: add hasInstallScript calculation ( #3509 )
...
* fix: add hasInstallScript calculation
* Update storage-utils.ts
* chore: add tests
2022-11-23 07:35:10 +01:00
Juan Picado
0a0b772f52
feat: export module types ( #3508 )
...
* chore: export types to the module
* chore: remove unused dep
* chore: format
* Update package.json
2022-11-22 18:35:47 +01:00
Juan Picado
8715a5cfa2
feat: highlight readme source code ( #3506 )
...
* feat: highlight readme source code
* chore: fix tests
* Delete utils.spec.ts.snap
2022-11-19 22:00:56 +01:00
Juan Picado
90e7cfd1ed
fix: remove stringify with space responses ( #3364 )
2022-09-07 17:52:10 +02:00
Juan Picado
cdb80aac20
fix: get header by quality priority value ( #3359 )
...
* fix: get header by quality priority value
* chore: disable some workflows
* chore: add more tests
* chore: remove some duplicated testss
* chore: return right content type haders
2022-09-05 21:36:23 +02:00
Zoltan Kochan
317177a937
fix: add missing fields to abbreviated metadata ( #3347 )
...
* fix: add missing fields to abbreviated metadata
The abbreviated metadata should include the cpu, os, and peerDependenciesMeta fields
* chore: update types
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-09-04 08:24:40 +02:00
Juan Picado
966139ffd8
feat: implement abbreviated manifest ( #3343 )
...
* feat: implement abbreviated manifest
Follow up of https://github.com/verdaccio/verdaccio/pull/3322
Fixes for 5.x https://github.com/verdaccio/verdaccio/issues/2792
* chore: improve expects
* chore: fix test
2022-09-03 17:55:45 +02:00
Ed Clement
0bc26e395a
feat: allow express 'trust proxy' to be set for ip resolution behind proxies and load-balancers ( #3274 )
2022-07-29 20:19:03 +02:00
Juan Picado
23b5c1d6ef
aling eslint config with main branch ( #3238 )
...
* chore: update linter tools
* fix: eslint warnings
* fix: eslint warnings
* chore: set max warnings
2022-06-19 21:26:46 +02:00
Juan Picado
5c50ec9a2c
feat: add scope support loading plugins ( #3227 )
...
* feat: add scope support loading plugins
* format
* Update src/lib/plugin-loader.ts
Co-authored-by: Michael Prentice <splaktar@gmail.com>
* Update src/lib/plugin-loader.ts
Co-authored-by: Michael Prentice <splaktar@gmail.com>
* chore: add tests
* chore: add comment
* format
* chore: update dep
* chore: add better name
Co-authored-by: Michael Prentice <splaktar@gmail.com>
2022-06-14 07:47:17 +02:00