Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dependencies #23

Merged
merged 15 commits into from
Jan 3, 2024
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ module.exports = {
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'import'],
settings: {},
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.d.ts', '.ts', '.tsx'],
},
},
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/ci-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
node: ['20.10.0']

steps:
- name: Checkout 🛎
Expand All @@ -35,3 +35,11 @@ jobs:

- name: Run tests 🧪
run: yarn test

- name: Run and push Coverage report 📊
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
with:
coverageCommand: yarn coverage
debug: true
2 changes: 1 addition & 1 deletion .github/workflows/deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
node: ['20.10.0']
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.10.0
43 changes: 22 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,57 +14,58 @@
},
"main": "src/index.ts",
"engines": {
"node": ">=16.0.0"
"node": "20.10.0"
},
"scripts": {
"start": "node dist/src/index.js",
"build": "tsc",
"dev": "sh .scripts/start-dev.sh",
"test": "jest",
"coverage": "jest --coverage",
"lint": "eslint --ext .js,.ts ./",
"release": "dotenv release-it",
"tunnel": "sh .scripts/start-tunnel.sh",
"prepare": "if [ \"$NODE_ENV\" != production ]; then husky install; fi"
},
"dependencies": {
"axios": "^1.5.1",
"cron": "^3.1.1",
"axios": "^1.6.3",
"cron": "^3.1.6",
"date-fns": "^2.30.0",
"dayjs": "^1.11.10",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"morgan": "^1.10.0",
"openai": "4.12.1",
"telegraf": "^4.14.0",
"openai": "4.24.1",
"telegraf": "^4.15.3",
"winston": "^3.11.0",
"y18n": "^5.0.8"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@types/cron": "^2.0.1",
"@types/express": "^4.17.19",
"@types/jest": "^29.5.5",
"@types/morgan": "^1.9.6",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.11",
"@types/morgan": "^1.9.9",
"@types/node": "^20.10.6",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"babel-eslint": "^10.1.0",
"dotenv-cli": "^7.3.0",
"eslint": "^8.51.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-import": "^2.29.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "14.0.1",
"prettier": "3.0.3",
"release-it": "^16.2.1",
"lint-staged": "15.2.0",
"prettier": "3.1.1",
"release-it": "^17.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{js,ts,json,md}": "prettier --write",
Expand Down
Loading