1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-05-22 03:11:36 +07:00
Commit Graph

66 Commits

Author SHA1 Message Date
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
Juan Picado @jotadeveloper 7d1764458b
chore(release): 0.1.11 2019-06-10 11:59:33 +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
dependabot[bot] d5d6bd79ca chore(deps): bump handlebars from 4.1.1 to 4.1.2 (#70)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-09 08:33:50 +02:00
Juan Picado @jotadeveloper 11f4819e3c
chore: remove snapshot 2019-06-03 21:09:48 +02:00
Juan Picado @jotadeveloper c27c3f5827
chore: update verdaccio dependency 2019-06-03 21:04:27 +02:00
dependabot[bot] b11308ffe5 chore(deps): bump fstream from 1.0.11 to 1.0.12 (#68)
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)
2019-06-03 21:01:40 +02:00
dependabot[bot] d6dcfc25ea chore(deps-dev): bump webpack-bundle-analyzer from 3.0.4 to 3.3.2 (#63)
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) from 3.0.4 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases)
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v3.0.4...v3.3.2)
2019-05-24 07:11:20 +02:00
Juan Picado @jotadeveloper 7ce81fd643
Create FUNDING.yml 2019-05-23 22:54:48 +02:00
Juan Picado @jotadeveloper a8365b9654
chore(release): 0.1.10 2019-05-17 08:00:54 +02:00
Juan Picado @jotadeveloper bd7329f807 chore: validator use less bundle size (#61) 2019-05-17 07:58:56 +02:00
Juan Picado @jotadeveloper 023b1159f7
chore(release): 0.1.9 2019-05-16 20:45:10 +02:00
Juan Picado @jotadeveloper e81cb308ea
chore: update snapshot 2019-05-16 20:45:05 +02:00
Juan Picado @jotadeveloper 937d15947b
chore(release): 0.1.8 2019-05-16 20:39:18 +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
Juan Picado @jotadeveloper 233ba196a0
chore(release): 0.1.7 2019-05-11 09:00:21 +02: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 3d752e079c
chore: add missing __UI_OPTIONS (#53)
this object will replace the other variables, it is more easy to scale adding new properties.
I'll extend the info in a future documents about plugins.
2019-05-09 21:55:02 +02:00
Juan Picado @jotadeveloper 7f07a322f4
chore(release): 0.1.6 2019-05-07 20:41:49 +02:00
Juan Picado @jotadeveloper 9ffa6290cc fix: pattern allow yarn to add all files on pack (#50) 2019-05-07 20:40:08 +02:00
Juan Picado @jotadeveloper 47b98c5550
chore(release): 0.1.5 2019-05-04 16:12:43 +02:00
Juan Picado @jotadeveloper da4ac7e851
chore: update name 2019-05-04 16:02:12 +02:00
Juan Picado @jotadeveloper c960fa76db
chore: restore circleci 2019-05-04 15:58:50 +02:00
Juan Picado @jotadeveloper 5e43ac0d49
chore(release): 0.1.4 2019-05-04 15:42:15 +02:00
Juan Picado @jotadeveloper 4e899a8574
chore: update snapshot 2019-05-04 15:41:57 +02:00
Juan Picado @jotadeveloper 01daf73bbf
chore(release): 0.1.3 2019-05-04 15:39:29 +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
Daniel Ruf c3eac3d27b test: fix formatDateDistance test (#43)
Test formatDateDistance with a date which is about 2 months in the past and another which is exactly 2 months in the past.
2019-05-02 20:57:42 +02:00
Juan Picado @jotadeveloper 9d7be476ad chore: relocate unit test (#39)
add new json snapshot serializer
2019-05-01 21:02:46 +02:00
Ayush Sharma 1070e5c3aa chore: adds actions (#40)
* chore: adds actions

* chore: updates workflow

* chore: leave node 12 placeholder

* chore: leave node 12 placeholder
2019-04-29 09:06:00 +02:00
Juan Picado @jotadeveloper 11f50919ef
chore(release): 0.1.2 2019-04-28 14:33:39 +02:00
Juan Picado @jotadeveloper ea1ebde2f1
chore: reverts commit fc11429 2019-04-28 14:32:40 +02:00
Juan Picado @jotadeveloper c4cb559137
chore(release): 0.1.1 2019-04-28 14:02:17 +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
Ayush Sharma fc114298ad chore: adds pull request action (#37)
* chore: improvements in actions

* chore: improvements in actions

* chore: improvements in actions

* chore: aggregates action in a script

* chore: minor fix

* chore: adds node 12 in action

* chore: keep node 12 after 8 10 11

* chore: keep node 12 after 8 10 11

* chore: name fixes
2019-04-27 22:22:52 +02:00
Juan Picado @jotadeveloper 86bda48b79
chore(release): 0.1.0 2019-04-26 06:52:55 +02:00
Jamie Kyle d6a8f5519f feat: accept primary color to be configured (#36) 2019-04-25 21:42:48 +02:00
Juan Picado @jotadeveloper eda98b817e
chore: update readme 2019-04-25 19:53:01 +02:00
Juan Picado @jotadeveloper 12da966254
chore: update readme 2019-04-25 19:49:19 +02:00
Juan Picado @jotadeveloper 4ee6c2dfe4
chore(release): 0.0.13 2019-04-14 00:28:09 +02:00
Juan Picado @jotadeveloper 13d999369d
chore: update registry domain 2019-04-14 00:25:45 +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 f9da05744b chore: 4.x fixes filter action flow (#33)
* chore: separates release workflow

* chore: separates release workflow
2019-04-09 09:28:52 +02:00
Juan Picado @jotadeveloper 414aaa3d84
Update README.md 2019-04-09 00:05:45 +02:00
Ayush Sharma 4a459df463 GitHub actions (#32)
* chore: fixes snapshots test

* chore: adds github actions, issue and feat templates

* chore: fixes eslint

* chore: remvoes circle ci and adds publish action

* chore: adds github-release automation using actions
2019-04-08 23:36:39 +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 f000438b86
chore: update lock file 2019-04-07 08:41:08 +02:00
Juan Picado @jotadeveloper 7bde18c8d9
chore: update circleci 2019-04-06 18:14:03 +02:00