Skip to content

Commit

Permalink
build: fix build imports
Browse files Browse the repository at this point in the history
  • Loading branch information
crisog committed May 6, 2024
1 parent 18361a7 commit c9a524c
Show file tree
Hide file tree
Showing 6 changed files with 189 additions and 3 deletions.
181 changes: 181 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"prepare": "husky install",
"test": "vitest run",
"build": "rm -rf dist && tsc && cp package.json dist/package.json",
"build": "rm -rf dist && tsc && tsc-alias -p tsconfig.json&& cp package.json dist/package.json",
"start": "npm run build && node dist/index.js"
},
"keywords": [
Expand All @@ -35,6 +35,7 @@
"lint-staged": "^15.2.2",
"prettier": "3.2.5",
"semantic-release": "^23.0.8",
"tsc-alias": "^1.8.8",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/azul-api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
} from './schemas';
import AzulRequester, { Config } from './request';
import DataVault from './data-vault/data-vault';
import ProcessPayment from './process-payment/process-payment ';
import ProcessPayment from './process-payment/process-payment';
import { ProcessPaymentResponse } from './process-payment/schemas';
import { Process } from './processes';

Expand Down
2 changes: 1 addition & 1 deletion src/azul-api/data-vault/data-vault.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ProcessPaymentTransaction } from '../process-payment/process-payment ';
import { ProcessPaymentTransaction } from '../process-payment/process-payment';
import { ProcessPaymentResponse } from '../process-payment/schemas';
import { Process } from '../processes';
import AzulRequester from '../request';
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
/* Output */
"outDir": "dist"
},
"tsc-alias": {
"verbose": false,
"resolveFullPaths": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules", "**/__tests__/*"]
}

0 comments on commit c9a524c

Please sign in to comment.