Skip to content

Commit

Permalink
Merge pull request #22 from BorneRecharge/dev
Browse files Browse the repository at this point in the history
Release minor
  • Loading branch information
juherr authored Feb 27, 2024
2 parents 9b3675a + 126a627 commit 166a54f
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 109 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- run: npm run build --if-present
- run: npm test
- name: Upload Code Coverage
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@v4.0.2
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
# - name: Upload Code Coverage
# uses: codecov/codecov-action@v4.0.1
# uses: codecov/codecov-action@v4.0.2
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ dist
.yarn/install-state.gz
.pnp.*

# Compiled code
lib/

# JetBrains IDE configuration files
.idea/

Expand Down
196 changes: 98 additions & 98 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,22 @@
"bugs": {
"url": "https://github.com/BorneRecharge/advenir-ts-client/issues"
},
"main": "./lib/index.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
},
"./types": {
"types": "./dist/src/lib/types.d.ts",
"default": "./dist/src/lib/types.js"
}
},
"files": [
"lib/**/*"
"dist/src"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"clean": "rm -rf ./lib/",
"clean": "rm -rf ./dist/",
"cm": "cz",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format-package": "prettier-package-json --write ./package.json",
Expand All @@ -34,7 +43,6 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"types": "./lib/index.d.ts",
"dependencies": {
"cheerio": "^1.0.0-rc.12"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Station,
TransactionReference,
} from './types';
import { associate, chunks, extractCookie, extractFromBody } from './utils';
import { associate, chunks, extractCookie, extractFromBody } from './lib/utils';

const toOperationBody = (
userId: string,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
"outDir": "./lib/" /* Redirect output structure to the directory. */,
"outDir": "./dist/" /* Redirect output structure to the directory. */,
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
Expand Down

0 comments on commit 166a54f

Please sign in to comment.