Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.2.2 cannot be downloaded with npm/yarn #33

Open
wants to merge 139 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
931722d
Add .whitesource configuration file
mend-bolt-for-github[bot] Dec 31, 2020
99bed35
style: Initial project set up
Dec 31, 2020
ac61df8
refactor: Tests refactoring
Jan 1, 2021
3256649
refactor: Service and tests
Jan 1, 2021
1ea4d54
refactor: Local server for tests
Jan 1, 2021
7d949ca
style: fixed lint errors
Jan 1, 2021
eb7c210
feat: Inline body to response
Jan 2, 2021
1d5fac5
test: Added test cases for @Multipart
Jan 2, 2021
eb3bddf
refactor: ServiceBuilder methods rename
Jan 2, 2021
5aab5e3
docs: Updated header block with bages
Jan 2, 2021
bb4a001
docs: fixed alignment of header
Jan 2, 2021
2999cf3
build: 2.0.1
Jan 3, 2021
b6e641e
fix: package.json NPM registry release
Jan 3, 2021
d74c694
fix: ServiceBuilder was not exported
Jan 3, 2021
77aaae0
build: 2.0.2
Jan 3, 2021
255d8c9
test: not decorated methods area callable
Jan 3, 2021
6230b32
perf: @ConvertTo class
Jan 3, 2021
a888e17
refactor: @ConvertTo
Jan 3, 2021
9b9cb45
perf: Validation
Jan 3, 2021
e4e796c
2.0.12
Jan 3, 2021
7f8fde3
2.0.12
Jan 3, 2021
e4b2b57
build: removed postversion push
Jan 3, 2021
ec20256
2.0.13
Jan 3, 2021
10b7c2b
build: removed scripts
Jan 3, 2021
140574e
2.0.14
Jan 3, 2021
2008588
build: changed npm ignore
Jan 3, 2021
947f641
2.0.15
Jan 3, 2021
b10a605
build: changed main and types path
Jan 3, 2021
006d57c
2.0.16
Jan 3, 2021
b8cfab1
style: fixed eslint issues
Jan 3, 2021
dfeaacf
2.0.17
Jan 3, 2021
4ab8841
Merge pull request #1 from npwork/whitesource/configure
npwork Jan 3, 2021
a0b4d86
ci: Updated renovatebot config
Jan 3, 2021
f8096cf
ci: Update whitesource branches
Jan 3, 2021
2e37cae
chore(deps): pin dependencies
renovate-bot Jan 4, 2021
456177d
chore(deps): update dependency eslint to v7.17.0
renovate-bot Jan 4, 2021
30535f8
build: changed output directory
Jan 4, 2021
60e12c0
2.0.18
Jan 4, 2021
6024455
fix: validation error should be only if not 404
Jan 4, 2021
ec8ce89
refactor: Removed yarn-error.log from git index
Jan 4, 2021
4033434
2.0.19
Jan 4, 2021
b301b6a
fix: wrong import on build
Jan 4, 2021
155e85a
2.0.20
Jan 4, 2021
489f597
chore(deps): pin dependencies
renovate-bot Jan 5, 2021
fee3f9f
chore(deps): update dependency eslint-plugin-prettier to v3.3.1
renovate-bot Jan 5, 2021
7b85091
chore(deps): update typescript-eslint monorepo to v4.12.0
renovate-bot Jan 5, 2021
68d4528
perf: Extracted convertTo to HttpMethodOptions
Jan 5, 2021
d8e51c2
2.1.0
Jan 5, 2021
081369d
perf: @ResponseTransformer support data as array of records
Jan 5, 2021
ef0bbe7
2.1.1
Jan 5, 2021
e7f6873
feat: class-transformer support
Jan 5, 2021
f8f679f
2.1.2
Jan 5, 2021
643e5f2
fix: Validation on 404
Jan 5, 2021
f3db1e1
2.1.3
Jan 5, 2021
4b6a5d5
fix: response body if validation fails
Jan 5, 2021
77b6287
2.1.4
Jan 5, 2021
9cee2b5
feat: request logger
Jan 6, 2021
d725816
feat: withRequestHeader + withOauth to service builder
Jan 6, 2021
a502ee0
2.1.5
Jan 6, 2021
8b142e9
chore(deps): update dependency husky to v4.3.7
renovate-bot Jan 7, 2021
4477f42
chore(deps): update dependency @types/jest to v26.0.20
renovate-bot Jan 8, 2021
c8c57d5
chore(deps): update typescript-eslint monorepo to v4.13.0
renovate-bot Jan 12, 2021
4a65257
chore(deps): update dependency @types/express to v4.17.11
renovate-bot Jan 12, 2021
74eff17
chore(deps): update dependency eslint to v7.18.0
renovate-bot Jan 16, 2021
db946d9
chore(deps): update dependency husky to v4.3.8
renovate-bot Jan 16, 2021
c115321
chore(deps): update dependency eslint-config-prettier to v7.2.0
renovate-bot Jan 19, 2021
a2d404d
chore(deps): update typescript-eslint monorepo to v4.14.0
renovate-bot Jan 19, 2021
8220c0b
feat: simplified api method declaration. Support for empty method body.
Jan 20, 2021
854b1ac
fix(deps): update dependency class-validator to ^0.13.0
Jan 20, 2021
22b6a91
2.2.0
Jan 20, 2021
b4cefd3
chore(deps): update typescript-eslint monorepo to v4.14.1
renovate-bot Jan 26, 2021
d1246dd
chore(deps): update dependency ts-jest to v26.5.0
renovate-bot Jan 30, 2021
5d14c17
chore(deps): update dependency eslint to v7.19.0
renovate-bot Jan 31, 2021
f1e2c38
chore(deps): update typescript-eslint monorepo to v4.14.2
renovate-bot Feb 2, 2021
f8d30e1
chore(deps): update dependency eslint-plugin-unused-imports to v1.0.3
renovate-bot Feb 6, 2021
02e7460
chore(deps): update dependency eslint-plugin-unused-imports to v1.1.0
renovate-bot Feb 9, 2021
be82f34
chore(deps): update typescript-eslint monorepo to v4.15.0
renovate-bot Feb 9, 2021
cdb7ebd
chore(deps): update dependency ts-jest to v26.5.1
renovate-bot Feb 10, 2021
ba44aa3
chore(deps): update dependency typescript to v4.1.4
renovate-bot Feb 10, 2021
fc9dd58
chore(deps): update dependency typescript to v4.1.5
renovate-bot Feb 11, 2021
0d63d6f
chore(deps): update dependency eslint to v7.20.0
renovate-bot Feb 13, 2021
cd75b45
fix(deps): update dependency class-transformer to ^0.4.0
renovate-bot Feb 15, 2021
b5aeba0
fix(deps): update dependency form-data to v4
renovate-bot Feb 16, 2021
1a37ef8
chore(deps): update typescript-eslint monorepo to v4.15.1
renovate-bot Feb 16, 2021
f400c55
chore(deps): update typescript-eslint monorepo to v4.15.2
renovate-bot Feb 23, 2021
bc63f8d
chore(deps): update dependency ts-jest to v26.5.2
renovate-bot Feb 24, 2021
9ab953d
chore(deps): update dependency typescript to v4.2.2
renovate-bot Feb 24, 2021
e7e2e5c
chore(deps): update dependency eslint to v7.21.0
renovate-bot Feb 28, 2021
5ad645b
chore(deps): update typescript-eslint monorepo to v4.16.1
renovate-bot Mar 2, 2021
914c105
chore(deps): update dependency ts-jest to v26.5.3
renovate-bot Mar 5, 2021
0c19f99
chore(deps): update dependency typescript to v4.2.3
renovate-bot Mar 5, 2021
e92fb06
chore(deps): update dependency @types/qs to v6.9.6
renovate-bot Mar 8, 2021
4a9d68b
chore(deps): update dependency istanbul-badges-readme to v1.2.1
renovate-bot Mar 9, 2021
044a5c3
chore(deps): update typescript-eslint monorepo to v4.17.0
renovate-bot Mar 9, 2021
8d0ff56
chore(deps): update dependency eslint to v7.22.0
renovate-bot Mar 13, 2021
3006338
chore(deps): update typescript-eslint monorepo to v4.18.0
renovate-bot Mar 16, 2021
153775b
chore(deps): update dependency @types/jest to v26.0.21
renovate-bot Mar 18, 2021
dd57e85
chore(deps): update dependency ts-jest to v26.5.4
renovate-bot Mar 18, 2021
569ee6a
chore(deps): update typescript-eslint monorepo to v4.19.0
renovate-bot Mar 23, 2021
5528b23
chore(deps): update dependency typescript to v4.2.4
renovate-bot Apr 7, 2021
47ef61c
chore(deps): update dependency @types/jest to v26.0.22
renovate-bot Apr 8, 2021
a54de0d
chore(deps): update dependency eslint to v7.23.0
renovate-bot Apr 8, 2021
d22bdd8
chore(deps): update dependency eslint-plugin-unused-imports to v1.1.1
renovate-bot Apr 8, 2021
08c1100
chore(deps): update typescript-eslint monorepo to v4.21.0
renovate-bot Apr 8, 2021
f7afb82
chore(deps): update dependency eslint to v7.24.0
renovate-bot Apr 9, 2021
1ccbe58
chore(deps): update typescript-eslint monorepo to v4.22.0
renovate-bot Apr 13, 2021
9f31874
chore(deps): update dependency eslint-plugin-prettier to v3.4.0
renovate-bot Apr 15, 2021
8b290e2
chore(deps): update dependency ts-jest to v26.5.5
renovate-bot Apr 15, 2021
1d7c472
chore(deps): update dependency eslint to v7.25.0
renovate-bot Apr 24, 2021
f8163f6
chore(deps): update dependency eslint-config-prettier to v8
renovate-bot Apr 24, 2021
9b8e688
chore(deps): update dependency @types/jest to v26.0.23
renovate-bot Apr 26, 2021
ed37ab1
chore(deps): update typescript-eslint monorepo to v4.22.1
renovate-bot May 4, 2021
9a815a8
chore(deps): update dependency ts-jest to v26.5.6
renovate-bot May 6, 2021
81401a8
chore(deps): update dependency husky to v7
renovate-bot Jul 2, 2021
c44a411
Merge pull request #32 from npwork/renovate/form-data-4.x
npwork Jul 19, 2021
b8e9dff
Merge pull request #74 from npwork/renovate/husky-7.x
npwork Jul 19, 2021
0cd85bd
Merge pull request #33 from npwork/renovate/eslint-config-prettier-8.x
npwork Jul 19, 2021
6415a8f
Merge pull request #63 from npwork/renovate/ts-jest-26.x
npwork Jul 19, 2021
35177c4
fix(deps): fixed dependencies issues
npwork Jul 19, 2021
ce2658d
fix: husky
npwork Jul 19, 2021
0225be1
fix: branch level 85%
npwork Jul 19, 2021
99f8ea7
fix: travis node version
npwork Jul 19, 2021
47d04c3
2.2.1
npwork Jul 19, 2021
b7c4e2d
fix: readme and licence
npwork Jul 19, 2021
457a12b
2.2.2
npwork Jul 19, 2021
5ebe3d1
chore(deps): pin dependencies
renovate-bot Jul 19, 2021
5cb1d2d
chore(deps): pin dependencies
renovate-bot Jul 20, 2021
cca2200
chore(deps): pin dependency jest to 27.0.6
renovate-bot Jul 20, 2021
82baaa6
chore(deps): update dependency ts-jest to v27.0.4
renovate-bot Jul 21, 2021
ce2aea5
chore(deps): update dependency eslint to v7.32.0
renovate-bot Jul 31, 2021
6658a9c
chore(deps): update dependency eslint-plugin-unused-imports to v1.1.3
renovate-bot Aug 10, 2021
2a34ca5
chore(deps): update dependency multer to v1.4.3
renovate-bot Aug 10, 2021
5bdd896
chore(deps): update dependency eslint-plugin-unused-imports to v1.1.4
renovate-bot Aug 18, 2021
e3138be
chore(deps): update dependency ts-jest to v27.0.5
renovate-bot Aug 18, 2021
098d005
Create node.js.yml
npwork Dec 19, 2021
efa43cd
chore: updated TS to 4.5.4
npwork Dec 19, 2021
bc4e686
chore: updated dependencies
npwork Dec 19, 2021
f193cb4
feat: github actions
npwork Dec 19, 2021
ec02819
feat: github actions
npwork Dec 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.yarn
node_modules
tmp
coverage
dist
.idea
yarn.lock
20 changes: 20 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["prettier", "unused-imports", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-console": 1, // Means warning
"prettier/prettier": 2, // Means error,
"unused-imports/no-unused-imports-ts": 2,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/ban-ts-comment": 0
}
}
9 changes: 9 additions & 0 deletions .github/workflows/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -ex

npm i --silent -g pnpm@6 --unsafe-perm

pnpm i --no-prefer-frozen-lockfile

pnpm run setup
49 changes: 49 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 12.x, 14.x, 16.x ]
steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: 6.20.3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install

test:
timeout-minutes: 7
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Cache .pnpm-store # From https://pnpm.io/continuous-integration
uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }}

- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- run: pnpm test
working-directory: ./
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
node_modules
/lib
dist
.idea
.DS_Store
coverage
package-lock.json
yarn-error.log
TODO.txt
package
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn build && yarn test && yarn lint && yarn make-badges && git add README.md
12 changes: 6 additions & 6 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.*
src
test
tests
tsconfig.json
tslint.json
jest.config.js
coverage
response-samples
.idea
.DS_Store
package-lock.json
.travis.yml
.npmrc
.npmrc.template
TODO.txt
yarn-error.log
commitlint.config.js
renovate.json
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.yarn/
yarn.lock
node_modules
dist
.idea
coverage
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": false,
"proseWrap": "never",
"printWidth": 120
}
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"scanSettings": {
"baseBranches": ["master"]
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff"
},
"issueSettings": {
"minSeverityLevel": "LOW"
}
}
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 <nullcc@gmail.com>
Copyright (c) 2021 <nikolaspapirniywork@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading