Skip to content

Commit 26ed31f

Browse files
committed
fix: update dependencies and configuration files for improved compatibility
1 parent 5d4fe5e commit 26ed31f

4 files changed

Lines changed: 47 additions & 30 deletions

File tree

package.json

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,34 @@
11
{
22
"name": "semantic-release-repo-template",
33
"module": "index.ts",
4+
"version": "1.7.0",
5+
"author": "Tomer Horowitz",
46
"type": "module",
7+
"engines": {
8+
"node": ">=22"
9+
},
10+
"dependencies": {
11+
"lodash": "^4.17.23",
12+
"typescript": "^5.9.3",
13+
"xo": "^1.2.3"
14+
},
515
"devDependencies": {
6-
"@codedependant/semantic-release-docker": "^5.0.0",
16+
"@codedependant/semantic-release-docker": "^5.1.1",
717
"@semantic-release/changelog": "^6.0.3",
8-
"@semantic-release/commit-analyzer": "^13.0.0",
18+
"@semantic-release/commit-analyzer": "^13.0.1",
919
"@semantic-release/git": "^10.0.1",
10-
"@semantic-release/github": "^11.0.0",
11-
"@semantic-release/npm": "^12.0.0",
12-
"@semantic-release/release-notes-generator": "^14.0.0",
13-
"bun-types": "latest",
14-
"xo": "^1.0.0"
20+
"@semantic-release/github": "^12.0.2",
21+
"@semantic-release/npm": "^13.1.3",
22+
"@semantic-release/release-notes-generator": "^14.1.0",
23+
"@types/jest": "^30.0.0",
24+
"@types/lodash": "^4.17.23",
25+
"@types/node": "^25.0.9",
26+
"@types/xo": "^0.39.9",
27+
"eslint-plugin-th-rules": "3.4.3",
28+
"jest": "^30.2.0",
29+
"semantic-release": "^25.0.3",
30+
"ts-jest": "^29.4.6"
1531
},
16-
"peerDependencies": {
17-
"typescript": "^5.0.0"
18-
},
19-
"version": "1.7.0",
20-
"scripts": {
21-
"test": "xo"
22-
}
32+
"license": "MIT",
33+
"packageManager": "yarn@4.12.0"
2334
}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('hello world');

tsconfig.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"compilerOptions": {
3-
"lib": ["ESNext"],
4-
"module": "esnext",
5-
"target": "esnext",
6-
"moduleResolution": "bundler",
7-
"moduleDetection": "force",
8-
"allowImportingTsExtensions": true,
9-
"noEmit": true,
10-
"composite": true,
3+
"target": "ES2022",
4+
"module": "node16",
5+
"moduleResolution": "node16",
6+
"esModuleInterop": true,
7+
"allowSyntheticDefaultImports": true,
8+
"outDir": "dist",
9+
"rootDir": "src",
10+
"declaration": true,
11+
"declarationMap": true,
1112
"strict": true,
12-
"downlevelIteration": true,
1313
"skipLibCheck": true,
14-
"jsx": "react-jsx",
15-
"allowSyntheticDefaultImports": true,
16-
"forceConsistentCasingInFileNames": true,
17-
"allowJs": true,
1814
"types": [
19-
"bun-types" // add Bun global
15+
"node",
16+
"eslint",
2017
]
21-
}
22-
}
18+
},
19+
"include": [
20+
"src/**/*.ts"
21+
]
22+
}

xo.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
2+
import { configs } from 'eslint-plugin-th-rules';
3+
4+
const xoConfig = configs.recommendedTypescript;
5+
export default xoConfig;

0 commit comments

Comments
 (0)