Skip to content

Commit 6940ec2

Browse files
Merge pull request #129 from muhammedaksam/develop
Upgrade dependencies and configure testing
2 parents 0ae9f52 + 45f5258 commit 6940ec2

9 files changed

Lines changed: 226 additions & 273 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
3636

3737
- name: Setup pnpm cache
38-
uses: actions/cache@v4
38+
uses: actions/cache@v5
3939
with:
4040
path: ${{ env.STORE_PATH }}
4141
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
@@ -94,7 +94,7 @@ jobs:
9494
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
9595

9696
- name: Setup pnpm cache
97-
uses: actions/cache@v4
97+
uses: actions/cache@v5
9898
with:
9999
path: ${{ env.STORE_PATH }}
100100
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}

.github/workflows/publish-trusted.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
4242

4343
- name: Setup pnpm cache
44-
uses: actions/cache@v4
44+
uses: actions/cache@v5
4545
with:
4646
path: ${{ env.STORE_PATH }}
4747
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}

context7.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
"Ensure all SMS configurations (sender, receiver, message) are validated before sending"
2929
],
3030
"previousVersions": [
31+
{
32+
"tag": "v1.0.18",
33+
"title": "version 1.0.18"
34+
},
3135
{
3236
"tag": "v1.0.17",
3337
"title": "version 1.0.17"
@@ -43,10 +47,6 @@
4347
{
4448
"tag": "v1.0.14",
4549
"title": "version 1.0.14"
46-
},
47-
{
48-
"tag": "v1.0.13",
49-
"title": "version 1.0.13"
5050
}
5151
]
5252
}

jest.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@ module.exports = {
55
testMatch: ['**/__tests__/**/*.test.ts'],
66
collectCoverageFrom: ['src/**/*.ts', '!src/**/__tests__/**', '!src/**/*.d.ts'],
77
coverageDirectory: 'coverage',
8-
coverageReporters: ['text', 'lcov', 'html']
8+
coverageReporters: ['text', 'lcov', 'html'],
9+
transform: {
10+
'^.+\\.ts$': ['ts-jest', {
11+
tsconfig: 'tsconfig.test.json'
12+
}]
13+
}
914
};

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@muhammedaksam/ayyildiz-node",
3-
"version": "1.0.18",
3+
"version": "1.0.19",
44
"description": "Ayyıldız Mobile Node.js SDK",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -51,20 +51,20 @@
5151
"homepage": "https://github.com/muhammedaksam/ayyildiz-node#readme",
5252
"packageManager": "pnpm@10.23.0",
5353
"dependencies": {
54-
"axios": "^1.15.0"
54+
"axios": "^1.15.2"
5555
},
5656
"devDependencies": {
5757
"@eslint/js": "^9.39.4",
5858
"@types/jest": "^30.0.0",
5959
"@types/node": "^25.6.0",
60-
"@typescript-eslint/eslint-plugin": "^8.58.2",
61-
"@typescript-eslint/parser": "^8.58.2",
62-
"eslint": "^9.39.4",
60+
"@typescript-eslint/eslint-plugin": "^8.59.0",
61+
"@typescript-eslint/parser": "^8.59.0",
62+
"eslint": "^10.2.1",
6363
"jest": "^30.3.0",
6464
"prettier": "^3.8.3",
6565
"ts-jest": "^29.4.9",
6666
"tsx": "^4.21.0",
67-
"typescript": "^5.9.3"
67+
"typescript": "^6.0.3"
6868
},
6969
"engines": {
7070
"node": ">=18",

pnpm-lock.yaml

Lines changed: 197 additions & 256 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VersionInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export class VersionInfo {
22
private static readonly MAJOR = 1;
33
private static readonly MINOR = 0;
4-
private static readonly PATCH = 18;
4+
private static readonly PATCH = 19;
55

66
/**
77
* Get version string in semver format

src/__tests__/VersionInfo.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('VersionInfo', () => {
1515

1616
it('should return current version', () => {
1717
const versionString = VersionInfo.string();
18-
expect(versionString).toBe('1.0.18');
18+
expect(versionString).toBe('1.0.19');
1919
});
2020
});
2121

@@ -38,7 +38,7 @@ describe('VersionInfo', () => {
3838
expect(versionObj).toEqual({
3939
major: 1,
4040
minor: 0,
41-
patch: 18
41+
patch: 19
4242
});
4343
});
4444

tsconfig.test.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"types": ["jest", "node"]
5+
},
6+
"include": ["src/**/*"]
7+
}

0 commit comments

Comments
 (0)