Juan Picado
bae430fe24
feat: refactor test and use verdaccio 6 core modules ( #3569 )
...
chore: clean up comments
remove commitlint
update deps
add new tests
test
separate ci
test
test
test
test
test
test
chore: add preprelase
test
test
test
test
test
chore: update deps
Update release-snapshot.yml
Update .npmignore
test
chore: remove @verdaccio/commons-api dep
chore: cleanup
remove normalizeContributors
remove validateMetadata
fix test
clean up getLocalRegistryTarballUri
Update store.spec.ts
clean up convertDistRemoteToLocalTarballUrls
chore: update libraries
reuse getPublic url
clean up
Update jest.config.js
Update jest.config.js
update nvmrc
add tests
2023-01-28 14:39:37 +01:00
Juan Picado
6df04e1ce1
chore: upgrade eslint and prettier ( #3565 )
2023-01-18 22:49:28 +01:00
Juan Picado
558fcafc71
build: format code prettier, enable ci ( #2886 )
...
* fix: format code prettier, enable ci
* chore: add trivago import prettier pluggin
2022-01-09 20:51:50 +01:00
renovate[bot]
23d0bd7056
fix(deps): update all non-major linting dependencies (5.x) ( #2885 )
...
* fix(deps): update all non-major linting dependencies
* fix lint issues
* chore: increase timeout
* chore: increase timeout
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-01-09 20:31:26 +01:00
Juan Picado
5b1264c733
feat: allow override user rate limit and user agent ( #2803 )
...
* feat: allow override user rate limit
- improve user_agent config allow string
* chore: fix tests
* chore: refactor userRateLimit
* chore: remove comment
* chore: optional prop
* chore: refactor limiter
* chore: refactor endpoints
* chore: fix undefined
* chore: fix params
* chore: fix params
* chore: update ui
* chore: refactor limiter
* chore: fix tests
* chore: fix test
2021-12-24 19:04:15 +01:00
Juan Picado
69d7df20d8
build: enable pnp yarn2 ( #2253 )
...
* chore: enable pnp yarn
* chore: ignore pnp
* fix type issues on run eslint
* add missing dependency and fix some errors
* fix most of the errors
some were just disabled, already fixed in master
* add missing jest-config
* update jest@26 align with other deps
* add missing @babel/register
* clean up
* use yarn node
* use yarn node on release
* chore: add husky 6
* chore: add husky 6
* chore: lint-stage
* chore: test
* chore: add hook git
* chore: test
* chore: test
* update deps
* chore: fix commit lint
* fix docker run
* update git ignore
2021-05-13 23:13:57 +02:00
Juan Picado
be2f6129bb
feat: clipanion as cli ( #2160 )
...
* feat: clipanion as cli
* chore: add version command
* chore: update ts
2021-04-03 13:13:31 +02:00
Juan Picado
93468211d6
chore: update eslint dependencies ( #2126 )
...
* chore: update eslint
* chore: update rules and style
* chore: aling formatting
* chore: update ci rules
* chore: aling formatting
* chore: aling formatting
2021-03-14 08:42:46 +01:00
Juan Picado
4feaf241c9
fix: buffer deprecated warnings ( #1993 )
...
* chore: use Buffer.from and Buffer.alloc instead of deprecated new Buffer
* chore: fix lint
* chore: fix lint
Co-authored-by: Jarom Loveridge <jaroml@gradecam.com>
2020-11-03 07:55:08 +01:00
Juan Picado @jotadeveloper
5612c13e9e
chore: fix eslint warnings ( #1471 )
2019-09-26 18:22:14 +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
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
Juan Picado @jotadeveloper
2f3ec2ce42
test: increase usage of constants
2019-05-19 21:37:43 +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
a7dd409f1a
refactor babel7 ( #1164 )
...
* fix: dev dependencies as dep
* refactor: babel 7 migration
2018-12-22 16:11:09 +01:00
Juan Picado @jotadeveloper
a68d247a44
feat: add support for jwt on api ( #896 )
...
* feat: add support for jwt on api
* test: add unit test for sign token with jwt
add multiple scenarios with configuration file
* chore: add JWT verification on middleware
* chore: restore headless
* chore: restore middleware header validation
* refactor: fix login whether user exists
* refactor: JWT is signed asynchronously
* refactor: better structure and new naming convention
* test: add unit test for token signature
* test: add unit test for creating user with JWT enabled
#168
* docs: add security section jwt
* refactor: renable web auth middleware
* test(auth): add legacy disabled scenario
* chore: update gitignore
* chore: add some es6 sugar
* feat: enable JWT token signature for new installations
* chore: add yaml files to git
I forgot add this before 😷
* chore: trace log on auth
in case we want more output
2018-08-21 08:05:34 +02:00
Juan Picado @jotadeveloper
b65b79bc09
test(storage): add checks for addVersion
2018-07-29 13:58:04 +02:00
Juan Picado @jotadeveloper
25c62f09ea
test(storage): add better test for changePackage
2018-07-29 10:28:28 +02:00
Juan Picado @jotadeveloper
57f0fa7610
refactor: unit test goes offline
2018-06-26 06:15:06 +02:00
Juan Picado @jotadeveloper
3f5a5c2345
refactor: improve code with es6 style
2018-06-24 10:11:52 +02:00
Juan Picado @jotadeveloper
40f2aa46b1
refactor: add tags test
2018-06-23 20:59:33 +02:00
Juan Picado @jotadeveloper
0fcbb8e1bd
refactor: fix inject issue on debug mode
2018-06-23 20:59:31 +02:00
Juan Picado @jotadeveloper
690b92a652
refactor: mirror and anti-loop
2018-06-23 20:59:27 +02:00
Juan Picado @jotadeveloper
970c0461df
refactor: more unit test constants usage
2018-06-23 20:59:19 +02:00
Juan Picado @jotadeveloper
d8455dd15a
refactor: using constants
...
relocate uplink token test to unit test
2018-06-23 20:57:20 +02:00
Juan Picado @jotadeveloper
9242d498d7
refactor: functional testing
...
* server now are executed in the jest setup phase
* disable one snapshot
2018-06-23 20:57:16 +02:00
Juan Picado @jotadeveloper
49c6191bb5
refactor: relocate unit test
...
no logic change, just path updates
2018-06-23 20:57:12 +02:00
Alex Kocharin
a3a59aa8f3
reorganize tests, and add new ones
2013-12-19 19:11:54 +04:00
Alex Kocharin
ef61515f28
try to fetch package from uplinks if user requested a tarball we don't know about
...
closes #29 + tests fix
2013-12-15 03:15:58 +04:00
Alex Kocharin
7ee2361700
better tests for various tags (including bad ones), ref #21
2013-12-12 01:22:35 +04:00
Alex Kocharin
8b314040d9
fixing race conditions when updating package data
2013-10-22 09:10:25 +04:00
Alex Kocharin
21ad8945d9
update
2013-09-28 20:46:55 +04:00
Alex Kocharin
5dbc825892
through -> streams2 migrate - final
2013-09-27 15:31:28 +04:00
Alex Kocharin
361d653613
testing fetching files from uplinks
2013-09-27 12:56:44 +04:00
Alex Kocharin
6dc6f31579
better tests
2013-09-27 06:27:11 +04:00
Alex Kocharin
709ffe8e39
tests
2013-09-25 14:01:55 +04:00
Alex Kocharin
6c78876dcd
starting to write tests
2013-09-25 12:10:12 +04:00