File tree 4 files changed +273
-43
lines changed
4 files changed +273
-43
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Fetch question of today from Leetcode's GraphQL API and send it to Telegram chan
8
8
9
9
### Tech Stack
10
10
* Python 3
11
- * [ Serverless@2.63.0 ] ( https://www.npmjs.com/package/serverless )
11
+ * [ Serverless] ( https://www.npmjs.com/package/serverless )
12
12
* AWS Lambda
13
13
* AWS CloudFormation - Used by Serverless when doing deployment
14
14
* AWS CloudWatch - Automatically Setup by Serverless when doing deployment
Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.4" ,
4
4
"description" : " Push notification to Telegram channel for Leetcode's question of today" ,
5
5
"dependencies" : {
6
- "serverless-python-requirements" : " ^5.1.1 "
6
+ "serverless-python-requirements" : " ^5.4.0 "
7
7
},
8
8
"scripts" : {},
9
9
"author" : " Ice Lam" ,
Original file line number Diff line number Diff line change 2
2
3
3
service : leetcode-daily-question-telegram-bot
4
4
5
- frameworkVersion : " 2 "
5
+ frameworkVersion : " 3 "
6
6
7
7
provider :
8
8
name : aws
9
9
runtime : python3.9
10
- lambdaHashingVersion : 20201221
11
10
environment :
12
11
TELEGRAM_TOKEN : ${env:TELEGRAM_TOKEN}
13
12
TELEGRAM_CHAT_ID : ${env:TELEGRAM_CHAT_ID}
@@ -21,13 +20,13 @@ functions:
21
20
- schedule : cron(1 0 * * ? *)
22
21
23
22
package :
24
- exclude :
25
- - venv/**
26
- - node_modules/**
27
- - ' **/__pycache__/**'
28
- - .github/**
29
- - .editorconfig
30
- - .nvmrc
23
+ patterns :
24
+ - ' ! venv/**'
25
+ - ' ! node_modules/**'
26
+ - ' ! **/__pycache__/**'
27
+ - ' ! .github/**'
28
+ - ' ! .editorconfig'
29
+ - ' ! .nvmrc'
31
30
32
31
# Handling python packages: https://www.serverless.com/blog/serverless-python-packaging
33
32
plugins :
You can’t perform that action at this time.
0 commit comments