0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
Commit graph

4141 commits

Author SHA1 Message Date
Michal Piechowiak
5d83c52da3
fix: package.json main field (#3700) 2023-03-23 10:26:17 +01:00
Juan Picado
ef12d884b6 chore(release): 5.23.0 2023-03-23 07:20:55 +01:00
Juan Picado
c95ab88e46 fix: update core dependencies 2023-03-23 07:17:45 +01:00
Juan Picado
fd78ca9772 feat: update docker image base to v18.15.0 2023-03-23 07:13:23 +01:00
Juan Picado
9a684a7cd3 chore: clean up types 2023-03-19 11:39:00 +01: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
2a6fc98f92
fix: update core dependencies (#3688) 2023-03-18 16:56:31 +01:00
Juan Picado
4c1cc3cec8 chore(release): 5.22.1 2023-03-07 23:06:23 +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
335704ba2a chore(release): 5.22.0 2023-03-05 08:00:01 +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
Juan Picado
8c8dafc8a0 chore(release): 5.21.2 2023-02-25 08:21:10 +01:00
Juan Picado
ed80a25c08
fix: update dependencies (#3649)
* fix: update dependencies

* chore: restore types

* chore: update deps
2023-02-25 08:02:58 +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
164d9d2185 add missing deps for run test locally 2023-02-22 07:51:32 +01:00
Juan Picado
7752424de0 chore(release): 5.21.1 2023-02-14 22:33:30 +01:00
Juan Picado
d157131225 chore: remove changelog failures on master 2023-02-14 22:33:04 +01:00
Juan Picado
5385f33991 Update trigger-release.ts 2023-02-14 22:32:40 +01:00
Juan Picado
4105fecf4c fix: restore @verdaccio/ui-theme version 2023-02-14 22:32:01 +01:00
Juan Picado
a858c2161b chore(release): 5.21.0 2023-02-14 22:25:08 +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
cbe4a17337 chore(release): 5.20.1 2023-01-29 16:43:03 +01:00
Juan Picado
fc7cdc19bb chore: test types on builds 2023-01-29 16:25:36 +01:00
Juan Picado
45d7c95a08 fix: pushed wrong types library and broken build 2023-01-29 16:24:58 +01:00
Juan Picado
7439c8d120 chore(release): 5.20.0 2023-01-29 15:34:10 +01:00
Juan Picado
3320b4dfe2
fix: update docker base to 18.13.0 (#3579) 2023-01-28 17:42:38 +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
d1519228a3
fix: update dependencies (#3567)
* chore: update dependencies

* chore: update batch 2
2023-01-19 00:21:28 +01:00
Juan Picado
a8a992cfb6
chore: upgrade jest 29 (#3566)
* chore: upgrade jest 29

* Update api.spec.ts
2023-01-19 00:09:24 +01:00
Juan Picado
57ac3389f1 chore: removed unused files 2023-01-18 22:50:29 +01:00
Juan Picado
6df04e1ce1
chore: upgrade eslint and prettier (#3565) 2023-01-18 22:49:28 +01:00
Juan Picado
0c315c588c chore(release): 5.19.1 2023-01-07 22:32:17 +01:00
Juan Picado
a774e29715
fix: include ts types and systemd into the published package (#3556) 2023-01-07 22:31:44 +01:00
Juan Picado
3032fc8b28 chore(release): 5.19.0 2022-12-25 22:25:54 +01:00
Juan Picado
99a39d55a2
feat(security): update dependencies (#3540)
* fix:  update dependencies

https://security.snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180020

* chore: clean cache

* Update ci.yml

* Update ci.yml
2022-12-25 21:56:24 +01:00
Juan Picado
65f00d33d2
chore: update readme 2022-12-17 13:54:37 +01:00
Juan Picado
64d2ae6ee0 Update smok-test-docker.yml 2022-12-04 11:03:08 +01:00
Juan Picado
01dffb2748 Update smok-test-docker.yml 2022-12-04 10:57:19 +01:00
Juan Picado
8a5daa92ab Update smok-test-docker.yml 2022-12-04 10:53:45 +01:00
Juan Picado
82326e7c5c Create smok-test-docker.yml 2022-12-04 10:50:32 +01:00
Juan Picado
9353b3ebf0
fix: update core dependencies (#3519) 2022-12-03 17:58:46 +01:00
Juan Picado
34ac91f7cb chore(release): 5.18.0 2022-11-23 07:47:23 +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