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

446 commits

Author SHA1 Message Date
Priscila Oliveira
4962e36bbc fix: applied prefer-const 2018-12-16 21:09:03 +01:00
Juan Picado @jotadeveloper
97d5f6cbfb
chore: enable react/jsx-curly-brace-presence 2018-12-16 18:54:40 +01:00
Juan Picado @jotadeveloper
30e36e8098
chore: enable react/jsx-sort-default-prop as error 2018-12-16 18:42:39 +01:00
Juan Picado @jotadeveloper
19b0f47827
fix: issue on refactor router 2018-12-16 09:25:20 +01:00
Juan Picado @jotadeveloper
4c2fed677f
chore: fix comma-dangle and react/jsx-sort-props
enable react/jsx-sort-props
enable camelcase on ui
enable semi global
2018-12-15 22:22:27 +01:00
Juan Picado @jotadeveloper
02b4ce50e5
chore: fix comma-dangle and react/jsx-sort-props
enable react/jsx-sort-props
enable camelcase on ui
enable semi global
2018-12-15 22:07:19 +01:00
Juan Picado @jotadeveloper
1421546baf
chore: fix react/jsx-no-bind issues
enable react/jsx-max-props-per-line
2018-12-15 21:05:24 +01:00
Juan Picado @jotadeveloper
2a30f5263a
chore: fix react/jsx-wrap-multilines error
enable
react/jsx-no-undef
react/jsx-wrap-multilines
react/jsx-tag-spacing

replace 2 by error on eslint in some configs
2018-12-15 17:34:32 +01:00
Juan Picado @jotadeveloper
2d5d8ba84f
chore: enable react/jsx-pascal-case
react/jsx-equals-spacing
react/jsx-indent-props
react/jsx-key
2018-12-15 17:23:23 +01:00
Juan Picado @jotadeveloper
529fa5656b
chore: enable react/jsx-first-prop-new-line as error 2018-12-15 16:59:05 +01:00
Juan Picado @jotadeveloper
3354c93b06
chore: enable react/jsx-boolean-value as error 2018-12-15 16:45:56 +01:00
Juan Picado @jotadeveloper
5d3f498138
chore: enable react/jsx-boolean-value as error 2018-12-15 16:41:27 +01:00
Juan Picado @jotadeveloper
ef42cb11d0
chore: enable react/jsx-curly-spacing as error 2018-12-15 16:39:51 +01:00
Juan Picado @jotadeveloper
f61dfdf787
refactor: Footer according eslint rules 2018-12-15 16:33:57 +01:00
Juan Picado @jotadeveloper
d74b347373
chore: remove max-height
not need it here.
2018-12-15 09:44:17 +01:00
Juan Picado @jotadeveloper
cbf42ee063
chore: reduce severity on stylelint
temporary solution
2018-12-15 09:40:43 +01:00
Juan Picado @jotadeveloper
c5c33be00f
chore: fix test 2018-12-15 09:18:26 +01:00
Juan Picado @jotadeveloper
9b42b45cfb
chore: set all to warning
for easy development, temporary
2018-12-15 09:04:01 +01:00
Juan Picado @jotadeveloper
0fb344d0c2
chore: set all to warning 2018-12-15 08:55:39 +01:00
Juan Picado @jotadeveloper
172182357b
chore: apply eslint fix 2018-12-15 00:23:30 +01:00
Juan Picado @jotadeveloper
b2b176be0d
Merge remote-tracking branch 'origin/4.x' into refactor-eslint 2018-12-14 23:57:52 +01:00
Priscila
9f6106cfe9 Package Refactor (#1145)
* chore: fix unit test, forgotten line on merge

chore: add node 11 to circleci (#1153)

chore: fix the use of Node 11 in CircleCI (#1154)

refactor: added css in js, new design, added types

feat: added Tag component

refactor: added modifiers

refactor: replaced by polished ellipsis

refactor: added types, new design and css in js

refactor: removed ul. it needs refactor

refactor: changed media queries

refactor: changed icon height

refactor: changed Header media queries

refactor: removed margin top

refactor: updated snapshots

refactor: removed unnecessary format author

refactor: added license icon & changed size

refactor: changed media queries

refactor: added icon size

refactor: changed media queries

refactor: updated snap

refactor: replaced Description by Details

refactor: updated tests

refactor: fixed modifiers type

feat: created missed types

fix: fixed types

fix: fixed prop type

fix: fixed undefined prop

refactor: replaced label by name

refactor: updated snap

refactor: moved polished to dev

refactor: changed formatAuthor and pkg author type

fix: removed incorrect meta's type

refactor: removed polished

refactor: added spacing & ellipsis mixin

refactor: added modifier type

refactor: changed datetime format

refactor: updated snapshots

refactor: rreplaced polished by mixins func

* refactor: updated styled

* fix: added missed semicolon

* refactor: updated media

* refactor: updated tests

* refactor: organized modifiers

* refactor: removed unused imports

* refactor: design adjusts

* refactor: updated snapshot

* refactor: changed minor things

* refactor: updated snapshots

* refactor: commented tests. fix later
2018-12-13 19:05:47 +01:00
Juan Picado @jotadeveloper
eb2947213d
Merge remote-tracking branch 'origin/master' into 4.x
# Conflicts:
#	CHANGELOG.md
#	Dockerfile
#	package.json
#	src/lib/local-storage.js
#	src/lib/utils.js
#	test/unit/api/utils.spec.js
2018-12-06 23:04:42 +01:00
Juan Picado @jotadeveloper
6554973e2b
feat: allows package.json as package name (#1149) 2018-12-06 08:34:42 +01:00
Stéphane Bachelier
9b52b1d396 feat: display package peer deps (#1144)
* feat: enable overriding Dependencies title

* feat: add PeerDependencies component

* test: add PeerDependencies unit tests

* test: add unit test about Dependencies title overriding

* feat: display peer dependencies in package sidebar
2018-12-03 06:41:25 +01:00
Ayush Sharma
66391f4c9c
refactor: adds unit test for <Search /> (#1137)
* refactor: adds test for <Search /> component

* refactor: <Footer /> component mocks verdaccio's version

* refactor: <Search /> component test
2018-11-26 20:28:59 +01:00
Priscila
9869edfb38 refactor: changed footer (#1125)
refactor: added types, css in js styles, new comp

refactor: updated emotion

fix: fixed import

refactor: updated image path and type

refactor: minified svg

refactor: now it's stateless

refactor: updated snap & removed click test

feat: added capitalize helper

refactor: changed medium

refactor: added title and image option

refactor: added missed &&

refactor: updated snap

fix: fixed types

fix: fixed types

fix: added flow type ignore line

fix: fixed index map

refactor: updated icons

refactor: removed unnecessary capitalize func

refactor: removed empty lines

fix: fixed svg 404
2018-11-24 22:12:46 +01:00
Ayush Sharma
77199531ee refactor: <Search /> component (#1128)
* refactor: breaking components into <Search /> component

* refactor: <Search/> component

* refactor: <Search/> component

* refactor: removes comments

* refactor: implements cancel api feature for search

* refactor: adds  debounce to control search api calls

* refactor: adds flow types to <Router/> <Search/> and <Autocomplete/> component

* refactor: adds strict method to onChange method of <Search/> component

* refactor: fixes <Search /> for mobile devices

* refactor: adds flow types <Search /> component
2018-11-24 22:08:50 +01:00
Ayush Sharma
b4b3978ae5 refactor: replaces TxtField with TextField (#1133) 2018-11-23 19:04:45 +01:00
Juan Picado @jotadeveloper
2362310aba
feat: stop hit proxies on search web UI (#1126)
Since we look for metadata on sidebar does not make sense to hit the proxies on search, this is the first step to help with other tickets to search in the whole proxy data packages, now is limited to private packages. Unit test are not need it here since is an "assumed" behaviour we don't want anymore. This will clearly help to improve performance on UI.
2018-11-22 13:39:39 +01:00
Juan Picado @jotadeveloper
712db31a43
feat: endpoints change password on ui (#1068)
* test: split up web and endpoints api

* chore: add reset password endpoint

not fully implemented yet

* feat: add password change api ednpoint for web
2018-11-18 18:41:05 +01:00
Ayush Sharma
c8939a2792
refactor: navigate to selected package on enter key press (#1122) 2018-11-18 16:24:17 +01:00
Ayush Sharma
903bd0b091
refactor: removes unused getFilteredPackage method (#1124) 2018-11-18 15:04:43 +01:00
Ayush Sharma
4d1349a328 refactor: <Help /> component (#1118)
* refactor: removes react-syntax-highlighter deps

* refactor: updates help component

* refactor: test cases for <Help/> component

* refactor: e2e test cases for <Help/> component

* refactor: implements code review <Help /> component
2018-11-16 22:29:56 +01:00
Ayush Sharma
9ef29df947
refactor: submit login form on enter key press (#1114) 2018-11-16 10:16:43 +01:00
Juan Picado @jotadeveloper
26794add9a
Merge remote-tracking branch 'origin/master' into 4.x 2018-11-15 21:13:41 +01:00
Michael K
4e3455157c fix: answer with 401 instead of 403 when no credentials were sent (#1109)
fixes #1105
2018-11-15 20:14:56 +01:00
Priscila
1d705f58b6 refactor: added flow and css in JS in NotFound (#1098) 2018-10-31 20:42:43 +08:00
Priscila
f18e749e93 refactor: added flow and css in js (#1100)
fix: fixed tests
2018-10-31 13:00:59 +08:00
Priscila
76482ec8d7 refactor: added flow type checking (#1099)
fix: added import 'github-markdown-css' stub type

fix: fixed tests
2018-10-31 12:54:26 +08:00
Priscila
9d265996f9 Refactor: Moved Search to Header (#1064)
* refactor: Moved Search to Header

feat: added TxtField. WIP

refactor: replaced downshift by react-autosuggest

refactor: moved search's state

refactor: introduced weight 300 & 500

refactor: changed container css margin

refactor: made it more abstract

refactor: replaced name by label. changed css

refactor: removed aria

refactor: removed margin

fix: fixed flow  types

fix: fixed tags overlapping

fix: fixed search. WIP

refactor: removed useless library and added rect-router

refactor: fixed tests

* chore: remove tpm file

* feat: added component Loading

feat: added component Layout

refactor: changed css

refactor: added md prop

refactor: moved Header back to App

* chore: fix flow

* fix: update snapshot

fix: fixed componentDidMount parameter

refactor: added onKeyDown event

fix: fixed bad request

refactor: renamed interfaces files

refactor: refactor: logic display results

refactor: changed minor things

fix: fixed tests

fix: fixed tests
2018-10-27 21:19:45 +02:00
Juan Picado @jotadeveloper
e977c7fffa
Merge remote-tracking branch 'origin/master' into 4.x
# Conflicts:
#	CHANGELOG.md
#	package.json
#	src/webui/components/Header/index.js
#	test/unit/webui/components/__snapshots__/header.spec.js.snap
#	yarn.lock
2018-10-20 10:21:39 +02:00
Ayush Sharma
cbcfc9a48b
test: Increase coverage publish api tests (#1056)
* refactor: ES6 sugar

* refactor: improves code in publish

* refactor: add tests for upload tarball and add a version flow

* refactor: unpublish endpoint tests

* refactor: publish endpoint test

* docs: adds code blocks to publish functionality

* refactor: rename tests file name

* refactor: improves logic for npm star command

* refactor: replaces assert equal with strictEqual
2018-10-18 15:44:58 +02:00
Ayush Sharma
67c0b8c0b7
fix: word wrap longer description (#1076) 2018-10-16 10:37:52 +02:00
Juan Picado @jotadeveloper
9a3c8bc1ae
fix: click on logo break ui (#1073) 2018-10-13 10:51:24 +02:00
Ayush Sharma
5b34dc88bd fix: click on logo break ui (#1071) 2018-10-12 19:41:55 +02:00
Juan Picado @jotadeveloper
f1416ed557
feat: add support for profile cli command #392 (change password) (#1034)
* feat: add support for profile cli command #392

- it allows to update password npm profile set password
- display current profile npm profile get

https://docs.npmjs.com/cli/profile

* chore: update @verdaccio/types@4.0.0

* feat: add min password length

on npm by defaul is min 7 characters, this might be configurable in the future.

* chore: update verdaccio-htpasswd@1.0.1

* refactor: update unit test

* refactor: provide friendly error for tfa request

* test: api profile unit test

* chore: fix eslint comment

* test: update profile test

* chore: set mim as 3 characters
2018-10-12 11:07:55 +02:00
Juan Picado @jotadeveloper
b8055c1d0b
Merge remote-tracking branch 'origin/master' into 4.x
# Conflicts:
#	src/webui/components/Header/index.js
#	test/unit/webui/components/__snapshots__/header.spec.js.snap
2018-10-12 07:26:09 +02:00
Priscila
34faa0d074 refactor: added user's greetings (#1027)
* fix: normalize contributors field #1022 (#1024)

* refactor: added user's greetings

feat: added component Label.WIP

refactor: added user's greetings.WIP

fix: fixed lint erros

* chore: fix e2e test

* test(e2e): better approach for logout
2018-10-11 23:48:40 +02:00
Ashish Surana
3588df5efd refactor: moving API response to constants (#1069)
- creates TARBALL_UPLOADED & BAD_PACKAGE_DATA constant
2018-10-11 18:17:02 +02:00