diff --git a/.gitignore b/.gitignore index 698d31f..65e5709 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ lib/ .npmrc tsconfig.tsbuildinfo .DS_Store +lerna-debug.log +.nx/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0292a98 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Nicolas Martinez representing 42Devs.cl + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package.json b/package.json index cd12f39..f40a29f 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "jest": "^29.7.0", "lerna": "^7.4.2", "lint-staged": "^15.1.0", + "nx": "^17.1.3", "nx-cloud": "^16.5.2", "prettier": "^3.1.0", "prettier-eslint-cli": "^8.0.1", diff --git a/packages/fetch/package.json b/packages/fetch/package.json index c111e7f..68032d8 100644 --- a/packages/fetch/package.json +++ b/packages/fetch/package.json @@ -30,5 +30,5 @@ } ], "license": "MIT", - "gitHead": "14198b66578683f7bb96c7a302b9341b8bc641fd" + "gitHead": "623a2344c0d92e6b450316a63c70de778ba26593" } diff --git a/packages/transbank-sdk/package.json b/packages/transbank-sdk/package.json index 015e09c..47a7597 100644 --- a/packages/transbank-sdk/package.json +++ b/packages/transbank-sdk/package.json @@ -44,5 +44,5 @@ "url": "https://github.com/themakunga" } ], - "gitHead": "14198b66578683f7bb96c7a302b9341b8bc641fd" + "gitHead": "623a2344c0d92e6b450316a63c70de778ba26593" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8bb6c0a..a8a474b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -91,6 +91,9 @@ importers: lint-staged: specifier: ^15.1.0 version: 15.1.0 + nx: + specifier: ^17.1.3 + version: 17.1.3 nx-cloud: specifier: ^16.5.2 version: 16.5.2 @@ -1760,6 +1763,21 @@ packages: - debug dev: true + /@nrwl/tao@17.1.3: + resolution: + { + integrity: sha512-9YpfEkUpVqOweqgQvMDcWApNx4jhCqBNH5IByZj302Enp3TLnQSvhuX5Dfr8hNQRQokIpEn6tW8SGTctTM5LXw==, + } + hasBin: true + dependencies: + nx: 17.1.3 + tslib: 2.6.2 + transitivePeerDependencies: + - '@swc-node/register' + - '@swc/core' + - debug + dev: true + /@nx/devkit@16.10.0(nx@16.10.0): resolution: { @@ -1790,6 +1808,18 @@ packages: dev: true optional: true + /@nx/nx-darwin-arm64@17.1.3: + resolution: + { + integrity: sha512-f4qLa0y3C4uuhYKgq+MU892WaQvtvmHqrEhHINUOxYXNiLy2sgyJPW0mOZvzXtC4dPaUmiVaFP5RMVzc8Lxhtg==, + } + engines: { node: '>= 10' } + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@nx/nx-darwin-x64@16.10.0: resolution: { @@ -1802,6 +1832,18 @@ packages: dev: true optional: true + /@nx/nx-darwin-x64@17.1.3: + resolution: + { + integrity: sha512-kh76ZjqkLeQUIAfTa9G/DFFf+e1sZ5ipDzk7zFGhZ2k68PoQoFdsFOO3C513JmuEdavspts6Hkifsqh61TaE+A==, + } + engines: { node: '>= 10' } + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@nx/nx-freebsd-x64@16.10.0: resolution: { @@ -1814,6 +1856,18 @@ packages: dev: true optional: true + /@nx/nx-freebsd-x64@17.1.3: + resolution: + { + integrity: sha512-CRuVL5ZSLb+Gc8vwMUUe9Pl/1Z26YtXMKTahBMQh2dac63vzLgzqIV4c66aduUl1x2M0kGYBSIIRG9z0/BgWeg==, + } + engines: { node: '>= 10' } + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@nx/nx-linux-arm-gnueabihf@16.10.0: resolution: { @@ -1826,6 +1880,18 @@ packages: dev: true optional: true + /@nx/nx-linux-arm-gnueabihf@17.1.3: + resolution: + { + integrity: sha512-KDBmd5tSrg93g/oij/eGW4yeVNVK3DBIM4VYAS2vtkIgVOGoqcQ+SEIeMK3nMUJP9jGyblt3QNj5ZsJBtScwQw==, + } + engines: { node: '>= 10' } + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@nx/nx-linux-arm64-gnu@16.10.0: resolution: { @@ -1838,6 +1904,18 @@ packages: dev: true optional: true + /@nx/nx-linux-arm64-gnu@17.1.3: + resolution: + { + integrity: sha512-W2tNL/7sIwoQKLmuy68Usd6TZzIZvxZt4UE30kDwGc2RSap6RCHAvDbzSxtW+L4+deC9UxX0Tty0VuW+J8FjSg==, + } + engines: { node: '>= 10' } + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@nx/nx-linux-arm64-musl@16.10.0: resolution: { @@ -1850,6 +1928,18 @@ packages: dev: true optional: true + /@nx/nx-linux-arm64-musl@17.1.3: + resolution: + { + integrity: sha512-Oto3gkLd7yweuVUCsSHwm4JkAIbcxpPJP0ycRHI/PRHPMIOPiMX8r651QM1amMyKAbJtAe047nyb9Sh1X0FA4A==, + } + engines: { node: '>= 10' } + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@nx/nx-linux-x64-gnu@16.10.0: resolution: { @@ -1862,6 +1952,18 @@ packages: dev: true optional: true + /@nx/nx-linux-x64-gnu@17.1.3: + resolution: + { + integrity: sha512-pJS994sa5PBPFak93RydTB9KdEmiVb3rgiSB7PDBegphERbzHEB77B7G8M5TZ62dGlMdplIEKmdhY5XNqeAf9A==, + } + engines: { node: '>= 10' } + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@nx/nx-linux-x64-musl@16.10.0: resolution: { @@ -1874,6 +1976,18 @@ packages: dev: true optional: true + /@nx/nx-linux-x64-musl@17.1.3: + resolution: + { + integrity: sha512-4Hcx5Fg/88jV+bcTr6P0dM4unXNvKgrGJe3oK9/sgEhiW6pD2UAFjv16CCSRcWhDUAzUDqcwnD2fgg+vnAJG6g==, + } + engines: { node: '>= 10' } + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@nx/nx-win32-arm64-msvc@16.10.0: resolution: { @@ -1886,6 +2000,18 @@ packages: dev: true optional: true + /@nx/nx-win32-arm64-msvc@17.1.3: + resolution: + { + integrity: sha512-dUasEuskmDxUL36XA0GZqSb9233suE4wKhxrMobyFBzHUZ2tq/unzOpPjYfqDBie4QIvF8tEpAjQsLds8LWgbw==, + } + engines: { node: '>= 10' } + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@nx/nx-win32-x64-msvc@16.10.0: resolution: { @@ -1898,6 +2024,18 @@ packages: dev: true optional: true + /@nx/nx-win32-x64-msvc@17.1.3: + resolution: + { + integrity: sha512-eTuTpBHFvA5NFJh/iosmqCL4JOAjDrwXLSMgfKrZKjiApHMG1T/5Hb+PrsNpt+WnGp94ur7c4Dtx4xD5vlpAEw==, + } + engines: { node: '>= 10' } + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@octokit/auth-token@3.0.4: resolution: { @@ -9763,7 +9901,7 @@ packages: } engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } dependencies: - chalk: 4.1.0 + chalk: 4.1.2 diff-sequences: 29.6.3 jest-get-type: 29.6.3 pretty-format: 29.7.0 @@ -12456,6 +12594,72 @@ packages: - debug dev: true + /nx@17.1.3: + resolution: + { + integrity: sha512-6LYoTt01nS1d/dvvYtRs+pEAMQmUVsd2fr/a8+X1cDjWrb8wsf1O3DwlBTqKOXOazpS3eOr0Ukc9N1svbu7uXA==, + } + hasBin: true + requiresBuild: true + peerDependencies: + '@swc-node/register': ^1.6.7 + '@swc/core': ^1.3.85 + peerDependenciesMeta: + '@swc-node/register': + optional: true + '@swc/core': + optional: true + dependencies: + '@nrwl/tao': 17.1.3 + '@yarnpkg/lockfile': 1.1.0 + '@yarnpkg/parsers': 3.0.0-rc.46 + '@zkochan/js-yaml': 0.0.6 + axios: 1.6.2 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.6.1 + cliui: 8.0.1 + dotenv: 16.3.1 + dotenv-expand: 10.0.0 + enquirer: 2.3.6 + figures: 3.2.0 + flat: 5.0.2 + fs-extra: 11.1.1 + glob: 7.1.4 + ignore: 5.3.0 + jest-diff: 29.7.0 + js-yaml: 4.1.0 + jsonc-parser: 3.2.0 + lines-and-columns: 2.0.4 + minimatch: 3.0.5 + node-machine-id: 1.1.12 + npm-run-path: 4.0.1 + open: 8.4.2 + semver: 7.5.3 + string-width: 4.2.3 + strong-log-transformer: 2.1.0 + tar-stream: 2.2.0 + tmp: 0.2.1 + tsconfig-paths: 4.2.0 + tslib: 2.6.2 + v8-compile-cache: 2.3.0 + yargs: 17.7.2 + yargs-parser: 21.1.1 + optionalDependencies: + '@nx/nx-darwin-arm64': 17.1.3 + '@nx/nx-darwin-x64': 17.1.3 + '@nx/nx-freebsd-x64': 17.1.3 + '@nx/nx-linux-arm-gnueabihf': 17.1.3 + '@nx/nx-linux-arm64-gnu': 17.1.3 + '@nx/nx-linux-arm64-musl': 17.1.3 + '@nx/nx-linux-x64-gnu': 17.1.3 + '@nx/nx-linux-x64-musl': 17.1.3 + '@nx/nx-win32-arm64-msvc': 17.1.3 + '@nx/nx-win32-x64-msvc': 17.1.3 + transitivePeerDependencies: + - debug + dev: true + /oauth-sign@0.9.0: resolution: {