Commit Graph

23 Commits

Author SHA1 Message Date
Griffithtp
2f28ade710 fix: @typescript-eslint/no-explicit-any 2019-06-25 00:44:12 +01:00
Griffithtp
31c11f2b5b fix: @typescript-eslint/explicit-function-return-type 2019-06-24 23:08:57 +01:00
Griffithtp
55f50e9f4d fix: @typescript-eslint/explicit-member-accessibility 2019-06-24 22:05:13 +01:00
Griffithtp
91e603ef21 fix: type lint for login 2019-06-24 21:44:14 +01:00
Griffithtp
116055c5d1 fix: remove any types and added additional component state interfaces 2019-06-24 21:42:59 +01:00
Griffith Tchen Pan
3c54b116c9 fix: added packageMeta type 2019-06-24 21:42:34 +01:00
Priscila Oliveira
6b5d0b7e2e feat: migrating flow to typescript (#47)
This PR convert the code base to Typescript, the changes are the following:

- migrate code base to Typescript (3.4.x)
- enable `eslint` and `@typescript-eslint/eslint-plugin` (warnings still need to be addressed in future pull request
- update relevant dependencies for this PR (linting, etc)
- enable `bundlezise` (it was disabled for some reason)

* refactor: refactoring to typescript

* refactor: migrating to typescript

* refactor: applied feedbacks

* fix: fixed conflicts

* refactored: changed registry

* refactor: updated registry & removed unnecessary lib

* fix: fixed registry ur

* fix: fixed page load

* refactor: refactored footer wip

* refactor: converting to ts..wip

* refactor: converting to ts. wip

* refactor: converting to ts. wip

* refactor: converting to ts

* refactor: converting to ts

* fix: fixed load errors

* refactor: converted files to ts

* refactor: removed flow from tests

* fix: removed transpiled files

* refactor: added ts-ignore

* fix: fixed errors

* fix: fixed types

* fix: fixing jest import -.-

* fix: fixing lint errors

* fix: fixing lint errors

* fix: fixed lint errors

* refactor: removed unnecessary tsconfig's config

* fix: fixing errors

* fix: fixed warning

* fix: fixed test

* refactor: wip

* refactor: wip

* refactor: wip

* fix: fixing tests: wip

* wip

* wip

* fix: fixed search test

* wip

* fix: fixing lint errors

* fix: re-added stylelint

* refactor: updated stylelint script

* fix: fixed: 'styles.js'  were found.

* fix: fixed Search tests

* chore: enable eslint

eslint needs expecitely to know which file has to lint, by default is JS, in this case we need also ts,tsx files eslint . --ext .js,.ts

* chore: vcode eslint settings

* chore: restore eslint previous conf

* chore: clean jest config

* chore: fix eslint warnings

* chore: eslint errors cleared

chore: clean warnings

chore: remove github actions test phases

chore: remove dupe rule

* chore: update handler name

* chore: restore logo from img to url css prop

- loading images with css is more performant than using img html tags, switching this might be a breaking change
- restore no-empty-source seems the linting do not accept false
- update snapshots
- remove @material-ui/styles

* chore: update stylelint linting

* chore: update stylelint linting

* chore: fix a mistake on move tabs to a function

* chore: eanble bundlezie

* chore: use default_executor in circleci

* chore: update readme
2019-06-20 14:37:28 +02:00
coolsp
7bac0886eb fix: fixed failed to load all packages after login (#73)
A login forces react to reload the list of available packages (by changing the state).
However the state (which triggers react to refresh) is set before storing the login token resulting in fetching (XHR GET) only the public packages as the token is not yet available in the GET request.

Fixed by setting the storage items ('username' and 'token') before this.setLoggedUser().
2019-06-10 11:49:18 +02:00
Juan Picado @jotadeveloper
bd7329f807 chore: validator use less bundle size (#61) 2019-05-17 07:58:56 +02:00
Daniel Ruf
01da082c06 fix: use auto for overflow-y (#57) 2019-05-16 11:38:22 -07:00
Juan Picado @jotadeveloper
980dac5b2f
fix: verify validation url and email (#60)
* fix: verify validation url and email

* chore: disable one expect

* fix: lint issue

* fix: fix lint
2019-05-16 07:25:40 -07:00
Ayush Sharma
c9fb3c4c50 fix: search suggestion container height (#54)
* fix: search suggestion container height

* fix: updates snapshot
2019-05-11 08:59:39 +02:00
Juan Picado @jotadeveloper
a89f363115
feat: browser history is aware of basename (#45)
* feat: browser history is aware of basename

* test: fix ui options global object

* chore: fix comment
2019-05-04 12:13:29 +02:00
Ayush Sharma
e8fd59696e fix: version rendering issue. (#38)
* fix: object passing for react rendering

* fix: const for 'not available'

* fix: const for 'not available'
2019-04-28 13:15:45 +02:00
Jamie Kyle
d6a8f5519f feat: accept primary color to be configured (#36) 2019-04-25 21:42:48 +02:00
Liming Jin
cc30d0b249 fix: there can be no spaces between scope and registry (#34) 2019-04-14 00:17:21 +02:00
Juan Picado @jotadeveloper
6f108370ce
fix: takes the app version from verdaccio 2019-04-13 23:27:44 +02:00
Ayush Sharma
96b65d969a refactor: corrects eslint and variable name spacing (#31)
* refactor: corrects eslint and variable namespacing

* chore: fixes git conflict

* chore: fixes eslint
2019-04-08 22:29:20 +02:00
Juan Picado @jotadeveloper
6fcb415091
chore: remove unused code 2019-04-06 17:42:52 +02:00
Juan Picado @jotadeveloper
bc6d25c0c4
chore: fix webpack build 2019-04-04 21:45:26 +02:00
Juan Picado @jotadeveloper
3506f32ad8
chore: sync with verdaccio master 2019-04-04 21:23:40 +02:00
Juan Picado @jotadeveloper
133a5f0171
chore: sync with 4.x webui 2019-03-27 23:39:06 +01:00
Priscila Oliveira
e2d478d65b initial commit 2019-02-03 17:04:42 +01:00