0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-27 22:59:51 -05:00
Commit graph

264 commits

Author SHA1 Message Date
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
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
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
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
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
Liran Tal
c9f1124fda
chore(deps): bump detect-secrets for enhanced dev workflow 2019-07-27 13:32:11 +03:00
Liran Tal
2b218ce0de
fix(security): add secrets baseline 2019-07-19 08:02:08 +03:00
Liran Tal
aa8f1d3318
fix: upgrade to 1.0.2 which solves the docker issue 2019-07-19 06:39:22 +03:00
Liran Tal
9ef6808d4e
feat: prevent secrets from leaking to source control 2019-07-19 06:39:20 +03:00
Juan Picado @jotadeveloper
12b60f6cb7
build: fix semver missing type on build with docker
it seems the @types/semver do not handle a legitimate method named 'compareLoose'
2019-07-16 18:27:58 +02:00
Juan Picado @jotadeveloper
66f4197236
feat: convert project to typescript (#1374)
* chore: test

* chore: add

* chore: more progress

* chore: progress in migration, fix prettier parser

* chore: reduce tsc errors

* chore: refactor storage utils types

* chore: refactor utils types

* chore: refactor local storage types

* chore: refactor config utils types

* chore: refactor tsc types

* refactor: apply eslint fix, tabs etc

* chore: fix lint errors

* test: update unit test conf to typescript setup

few test refactored to typescript

* chore: enable more unit test

migrate to typescript

* chore: migrate storage test to tsc

* chore: migrate up storage test to tsc

* refactor: enable plugin and auth test

* chore: migrate plugin loader test

* chore: update dependencies

* chore: migrate functional test to typescript

* chore: add codecove

* chore: update express

* chore: downgrade puppeteer

The latest version does not seems to work properly fine.

* chore: update dependencies
2019-07-16 08:40:01 +02:00
dependabot[bot]
b453681082 build(deps): bump lodash.template from 4.4.0 to 4.5.0 (#1384)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 20:52:15 +02:00
Juan Picado @jotadeveloper
44c1610791
chore: restore @verdaccio/ui-theme@0.1.11
due to https://github.com/verdaccio/ui/issues/89
2019-07-08 09:40:38 +02:00
Juan Picado @jotadeveloper
a0cf98546b
chore: update dependencies
regular maintenance
2019-07-08 09:23:07 +02:00
James George
eb6bf5168b feat(chore): Included provision to show up local environment information (#1365)
* feat: adds provision to show up environment information

Fixes #1364

* feat: include docker info

* fix: pin envinfo

* fix: lock file

* fix: docker config

* fix: minor refactor

handle async behaviour

* feat: add short version for info
2019-06-30 18:17:25 +02:00
Juan Picado @jotadeveloper
0fa26293a8
Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-13 22:04:35 +02:00
Will Smythe
eb7a8e3528 fix(api): return 503 to npm/yarn on uplink connection timeout (#1331)
fix  #1328 and #720

Type: bug

The following has been addressed in the PR:

Instead of returning a 404 (Not Found) when npm, yarn, etc requests a package and the package cannot be acquired from an uplink due to a connection timeout, socket timeout, or connection reset problem, a 503 (service unavailable) is returned by Verdaccio instead. In limited testing of a few versions of npm and yarn, both of these clients correctly attempt to retry the request when a 503 is returned.

Added functional tests to verify the behavior (this adds a dev dependency on nock, which provides HTTP request mocking

Description:

This resolves issue #1328 and #720, and ensures npm/yarn install commands don't fail immediately when there is an intermittent network timeout problem with an uplink. Instead Verdaccio will appropriately respond to the client with a 503. A 404 response (current behavior) incorrectly tells the client that the package does not exist (which may or may not be true) and to not try again.
2019-06-13 21:42:01 +02:00
Juan Picado @jotadeveloper
192fb77169
fix(ui): failed to load all packages after login
more details https://github.com/verdaccio/ui/issues/72
2019-06-13 06:49:40 +02:00
Juan Picado @jotadeveloper
e5816342a6
fix: update dependencies
fix #1339 dayjs warning on yarn installation
2019-06-13 06:42:39 +02:00
Juan Picado @jotadeveloper
cb7b695896
chore: update lock file 2019-05-17 21:01:13 +02:00
Juan Picado @jotadeveloper
7686417f29
feat: update readme v4 (#1312)
* feat: update readme v4

* chore: update @verdaccio/ui-theme@0.1.9

* chore: update @verdaccio/ui-theme@0.1.10
2019-05-17 08:03:58 -07:00
Juan Picado @jotadeveloper
8e48eea511
fix: update @verdaccio/ui-theme:0.1.7
https://github.com/verdaccio/ui/pull/54
2019-05-11 09:30:10 +02:00
Juan Picado @jotadeveloper
b4bc6ff4e5
chore: fix #1292 add missing dependencies
remove non required dependencies
2019-05-09 23:41:16 +02:00
Juan Picado @jotadeveloper
3c691329c7
fix: update lock file 2019-05-07 20:58:36 +02:00
Juan Picado @jotadeveloper
86a7aa7a0c
chore: update @verdaccio/ui-theme@0.1.5 2019-05-04 16:39:01 +02:00
Juan Picado @jotadeveloper
5ee485e984
chore: update husky dependencies 2019-04-30 23:07:31 +02:00
Juan Picado @jotadeveloper
f48b23fbcf
fix: remove unused dependencies #1292 2019-04-30 22:49:09 +02:00
Daniel Ruf
ff71640e8a feat: replace chalk with kleur (#1289) @DanielRuf
* chore: replace chalk with kleur

* build: add updated lockfile

* chore: add flow-typed stub for kleur 3.0.3

* chore: remove unnecessary whitespace

* test: update snapshot for update-banner.js

* chore: migrate logger.js from chalk to kleur

* chore: use import instead of require
2019-04-29 08:44:29 +02:00
Juan Picado @jotadeveloper
b8f63295b8
Merge branch 'master' into chore/replace-date-fns-with-dayjs 2019-04-29 00:46:08 +02:00
Daniel Ruf
46ca898103
build: add updated lockfile 2019-04-28 21:46:57 +02:00
Juan Picado @jotadeveloper
5f2a29d5e5
chore: update lock file 2019-04-28 19:22:56 +02:00
Juan Picado @jotadeveloper
40679aae9a
fix(ui): version rendering issue
update @verdaccio/ui-theme@0.1.2
2019-04-28 15:32:48 +02:00
Juan Picado @jotadeveloper
117e45783e
chore: update dependencies 2019-04-28 00:01:10 +02:00
Juan Picado @jotadeveloper
117cd4f151
chore: update @verdaccio/ui-theme@01.0 2019-04-26 07:03:53 +02:00
Ayush Sharma
4efbad1ef7 Npm publish using GitHub actions (#1275)
* chore: bumps verdaccio-htpasswd@2.0.0

* chore: removes circle ci and publish using github-actions

* chore: adds bash doctype

* chore: adds build and test workflow

* chore: fixes coverage error

* chore: adds e2e tests

* chore: adds headless arg

* chore: sets puppeteer in docker env

* chore: runs tets through bash

* chore: minor fixes
2019-04-17 07:17:39 +02:00
Juan Picado @jotadeveloper
d7e1a97a7c
chore: verdaccio-htpasswd@2.0.0 2019-04-15 20:33:30 +02:00
Juan Picado @jotadeveloper
8760e1821c
fix: update @verdaccio/ui-theme@0.0.13 2019-04-14 00:54:02 +02:00
Juan Picado @jotadeveloper
f730e7ac9c
chore: update dependencies 2019-04-06 14:58:02 +02:00
Juan Picado @jotadeveloper
1044e8e80b
chore: update verdaccio-audit@1.2.0 2019-04-06 14:37:06 +02:00
Juan Picado @jotadeveloper
c3c62021e5
feat: theme as plugin (#1252)
* chore: remove ui

* chore: remove size step

* chore: update theme plugin

* chore: update lock file

* Update main.workflow

* chore: update js-yaml dep

* chore: @verdaccio/ui-theme@0.0.4

* feat: allows theme as a plugin

* chore: update package description
2019-04-06 08:35:38 +02:00
Juan Picado @jotadeveloper
18d2f6fd70
chore: update lock file 2019-03-31 20:08:07 +02:00
Juan Picado @jotadeveloper
284af15c46
chore: update local dependencies 2019-03-29 21:55:29 +01:00
Juan Picado @jotadeveloper
c968120fa8
chore: update @verdaccio/babel-preset@0.1.0 2019-03-28 07:12:00 +01:00
vip30
84be869aaf fix: husky commitlint not work, replace invalid test 2019-03-09 21:00:47 +08:00
Juan Picado @jotadeveloper
1f71fb152c
chore: update devDependencies 2019-02-27 08:22:06 +01:00
Juan Picado @jotadeveloper
de57adcd63
chore: update dependendencies 2019-02-27 07:19:13 +01:00
Juan Picado @jotadeveloper
9e17d2bc27
chore: fix unpublish issues, fix unit test 2019-02-24 23:20:25 +01:00
Juan Picado @jotadeveloper
e46697a33b
chore: fix security vulnerabilities 2019-02-24 11:54:45 +01:00
Juan Picado @jotadeveloper
5566924edd
chore: update @verdaccio/local-storage@2.0.0-beta.3 2019-02-24 11:48:50 +01:00