1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
Commit Graph

3307 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
dbf20175dc
feat: npm token command support (#1427)
* feat: support for npm token

This is an effor of:

This commit intent to provide npm token support.

https: //github.com/verdaccio/verdaccio/issues/541
https: //github.com/verdaccio/verdaccio/pull/1271
https: //github.com/verdaccio/local-storage/pull/168
Co-Authored-By: Manuel Spigolon <behemoth89@gmail.com>
Co-Authored-By: Juan Gabriel Jiménez <juangabreil@gmail.com>

* chore: update secrets baselines

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update lock file

* chore: add logger mock methods

* chore: update @verdaccio/types

* refactor: unit test was flacky

adapt the pkg access to the new configuration setup

* refactor: add plugin methods validation

* test: add test for aesEncrypt

* chore: update local-storage dependency

* chore: add support for experimetns

token will be part of the experiment lists

* chore: increase timeout

* chore: increase timeout threshold

* chore: update nock

* chore: update dependencies

* chore: update eslint config

* chore: update dependencies

* test: add unit test for npm token

* chore: update readme
2019-09-07 15:46:50 -07:00
Marc Udoff
962d5d529a feat: ensure every log file has at least one record (#1414) 2019-09-06 22:14:28 -07:00
Juan Picado @jotadeveloper
d5303f407b
feat: browse web package version (#1457)
* feat: allow endpoint to query by version

* chore: update @verdaccio/ui-theme

* test: add unit test for sidebar endpoint by version
2019-09-05 12:12:10 -07:00
Juan Picado @jotadeveloper
06f659c331
chore: add homepage 2019-08-26 07:01:48 +02:00
Juan Picado @jotadeveloper
e7b75646de
chore(release): 4.2.2 v4.2.2 2019-08-25 19:20:02 +02:00
Juan Picado @jotadeveloper
37530ac0fd
build: update dependencies (#1452)
* build: update dependencies

* chore: update dependencies

* chore: update dependencies

* chore: update dependencies

* chore: allow ts-ignore

we will remove this in the future, warn for now

* chore: eslint rules as warning

this is due the update, we will address this later
2019-08-25 10:16:43 -07:00
Juan Picado @jotadeveloper
423371423a
fix: update @verdaccio/ui-theme@0.2.3 (#1451)
https://github.com/verdaccio/ui/blob/master/CHANGELOG.md#023-2019-08-25

missing headers on search endpoint with token (#121) (ac58730)
refactoring version page / fix issue not found page #100 (#117) (97e8448)
remove ToReplaceByVerdaccio #108 (#122) (5a9bd60)
api: correctly handle responses with missing content-type header (2049022)
2019-08-25 09:41:04 -07:00
Liran Tal
9b0b0bfac3 build: Lint the lockfile for security policies (#1444)
* feat: lint lockfiles

* fix: update secrets baseline
2019-08-25 09:37:25 -07:00
Alex Dixon
7d71b060c4 docs: show usage without setting registry globally (#1440) 2019-08-20 20:19:13 +02:00
Juan Picado @jotadeveloper
7fa23577ae
refactor: replace flow comments by ts-ignore
ts-ignore is not harmfull in specs files, since we try to force to test with values are not allowed by the types
2019-08-18 07:59:28 +02:00
Juan Picado @jotadeveloper
8b03637b63
chore(docker): use yarn lock file 2019-08-18 07:50:42 +02:00
Juan Picado @jotadeveloper
87c3a29bd5
Merge pull request #1438 from guitarrapc/fix/cloudformation_template_for_second_ec2launch
fix: mkdir failed and ec2 infinitely re-launch
2019-08-15 18:40:29 +02:00
Ikiru Yoshizaki
9006146a59 fix: use test + mkdir for strict dir check 2019-08-14 23:38:34 +09:00
Daniel Ruf
60e0c55544 chore: add missing word in lock comment (#1437) 2019-08-13 20:46:16 +02:00
Ikiru Yoshizaki
342d284568 fix: mkdir failed and ec2 infinitely re-launch
no-problem with first launch, but could not recover after 2nd launch.
cloud-init error message indicate mkdir failed.

$ sudo cat /var/log/cloud-init-output.log
mkdir: cannot create directory '/verdaccio/conf': File exists
2019-08-13 16:22:37 +09:00
Juan Picado @jotadeveloper
621ebfeb1a
chore(release): 4.2.1 v4.2.1 2019-08-10 13:51:14 +02:00
Juan Picado @jotadeveloper
ac6c138309
Merge pull request #1432 from devnill/create-correct-user-groups
fix: fixed user creation endpoint to properly import groups
2019-08-10 13:48:09 +02:00
Juan Picado @jotadeveloper
97a3f14dd0
chore: update secrets baseline 2019-08-10 13:41:26 +02:00
Juan Picado @jotadeveloper
68476e5f0f
chore: remove flow header 2019-08-10 13:39:57 +02:00
Juan Picado @jotadeveloper
c264f944fb
fix: unpublish and add or remove star colision (#1434)
* fix: unpublish and add or remove star colision

The issue was the npm star use a similar payload, but we did not check properly the shape of the payload, this fix and allow unpublish correctly.

Improve unit testing for publishing and unpublishing
Add new code documentation for future changes.

* chore: update secrets baseline

* chore: add missing type

this will requires update types in the future
2019-08-10 13:38:06 +02:00
Matthew Curtis
8d51856dbf chore: update language in README's Donations section (#1433)
The Donations section of the README had a couple of typos, so I tidied it up a little bit.
2019-08-08 19:25:20 +02:00
Dan Singer
50e115f52a fix: fixed user creation endpoint to properly import groups 2019-08-06 10:01:47 -06:00
Juan Picado @jotadeveloper
4fb20efe60
Merge pull request #1418 from jamesgeorge007/hotfix/remove-stub-definition
fix(chore): remove stub type definition for handlebars
2019-08-01 18:41:40 +02:00
jamesgeorge007
19b9af3401 update yarn.lock 2019-08-01 13:54:13 +05:30
Juan Picado @jotadeveloper
6aa3bdc514
Merge pull request #1417 from jamesgeorge007/feat/minor-refactor
chore: minor refactor to eliminate code redundancy
2019-07-31 22:25:44 +02:00
Juan Picado @jotadeveloper
8028913157
Merge pull request #1421 from zkochan/master
fix(deps): add missing prod dependency
2019-07-31 21:58:30 +02:00
Zoltan Kochan
849f5bccb4 fix(deps): add missing prod dependency
http-errors needs to be a prod dependency
as it is used in code.
2019-07-31 19:08:32 +03:00
jamesgeorge007
de8dc43161 fix: remove stub type definition for handlebars 2019-07-30 14:06:16 +05:30
jamesgeorge007
e233a578a9 Minor refactor to eliminate code redundancy 2019-07-30 13:58:45 +05:30
Juan Picado @jotadeveloper
c1672f7e32
chore(release): 4.2.0 v4.2.0 2019-07-29 20:27:48 +02:00
Juan Picado @jotadeveloper
20427797f7
Merge pull request #1415 from verdaccio/feat-update-theme
feat: update to @verdaccio/ui-theme@0.2.2
2019-07-29 20:24:31 +02:00
Juan Picado @jotadeveloper
9dd1c8f400
feat: update to @verdaccio/ui-theme@0.2.2
- fix: https://github.com/verdaccio/ui/issues/76
- fix: https://github.com/verdaccio/ui/issues/75
- fix: https://github.com/verdaccio/ui/pull/106
- feat: https://github.com/verdaccio/ui/pull/47

Co-Authored-By: Priscila Oliveira <priscilawebdev@gmail.com>
Co-Authored-By: Sergio Hg <sergiohgz@users.noreply.github.com>
Co-Authored-By: Griffith <griffithtp@users.noreply.github.com>
2019-07-29 20:12:00 +02:00
Juan Picado @jotadeveloper
22a122e5b8
chore: fix typo 2019-07-29 11:04:32 +02:00
Juan Picado @jotadeveloper
e03003f95b
chore: update readme 2019-07-29 11:03:06 +02:00
Juan Picado @jotadeveloper
168e57fdd2
Merge pull request #1412 from verdaccio/update-deps-audit
feat: add new prop to audit middleware
2019-07-29 10:28:43 +02:00
Juan Picado @jotadeveloper
d93e76b366
feat: add new prop to audit middleware
- context: https://github.com/verdaccio/verdaccio-audit/pull/12
- related https://github.com/verdaccio/verdaccio/issues/1293

Co-Authored-By: Danny Frencham <dfrencham@users.noreply.github.com>
2019-07-29 10:12:29 +02:00
Juan Picado @jotadeveloper
b176b2f271
Merge pull request #1411 from verdaccio/docker-update
feat: docker image bump to node.js 10.16
2019-07-29 00:01:52 +02:00
Juan Picado @jotadeveloper
802c796881
feat: docker image bump to node.js 10.16 2019-07-28 23:32:43 +02:00
Juan Picado @jotadeveloper
ecec954b76
chore: updated feature request 2019-07-28 23:25:17 +02:00
Juan Picado @jotadeveloper
e35d8d99db
Merge pull request #1409 from verdaccio/fix-1400
fix: allows pkg names that starts with dash
2019-07-28 23:11:03 +02:00
Juan Picado @jotadeveloper
fcd8a7f7bf
chore: remove unused parameter 2019-07-28 11:44:28 +02:00
Juan Picado @jotadeveloper
be8fed50d9
refactor: add generatePackageMetadata utility
- Tests suites must be independent each other, this is a refactor that allow star endpoint to be fully independent.
- Add putPackage utility to put new packages
2019-07-27 23:48:00 +02:00
Juan Picado @jotadeveloper
e319435d73
fix: allows pkg names that start with dash
Description

In sinopia 9f662a69e1 (diff-50e3aa130a4f97a42ee2cf111c7b1d9d) a validation name for packages that start with dashs was added due this pattern is reserved by couchdb, but npmjs allows that now. I guess this is not a restriction anymore.

fix: https://github.com/verdaccio/verdaccio/issues/1400
2019-07-27 18:28:41 +02:00
Juan Picado @jotadeveloper
54e62fbb53
chore: add supertest link 2019-07-27 13:01:58 +02:00
Juan Picado @jotadeveloper
851cacf5af
chore: update readme test 2019-07-27 12:58:48 +02:00
Juan Picado @jotadeveloper
ea633eb977
chore: update js to ts extensions 2019-07-27 12:55:20 +02:00
Juan Picado @jotadeveloper
9f7bb80d45
Merge branch 'master' of github.com:verdaccio/verdaccio 2019-07-27 12:50:43 +02:00
Juan Picado @jotadeveloper
bae88f42f8
Merge pull request #1408 from lirantal/fix/detect-secrets-hook-soften
chore(deps): bump detect-secrets for enhanced dev workflow
2019-07-27 12:50:25 +02:00
Juan Picado @jotadeveloper
138748830b
chore: fix typo 2019-07-27 12:49:34 +02:00
Juan Picado @jotadeveloper
ffe7b699f2
chore: update readme for tests 2019-07-27 12:44:27 +02:00