Skip to content

Commit

Permalink
chore: update renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
ngshiheng committed Oct 22, 2023
1 parent 13e9616 commit 7d88b7a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
3 changes: 1 addition & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"dependencyDashboardAutoclose": true,
"extends": ["config:base", "schedule:monthly"],
"extends": ["config:recommended", "schedule:monthly"],
"packageRules": [
{
"description": "Automatically merges minor and patch-level updates",
Expand All @@ -18,6 +18,5 @@
}
],
"rangeStrategy": "pin",
"rebaseWhen": "behind-base-branch",
"timezone": "Asia/Singapore"
}
31 changes: 15 additions & 16 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name = "atomic-url"
main = "./src/index.js"
account_id = "19a745c88f8264f29c608584b7e417ab"
compatibility_date = "2022-09-22"
main = "./src/index.js"
name = "atomic-url"

workers_dev = true
kv_namespaces = [
{ binding = "URL_DB", id = "bf98832a3f6e45e18f3c39b6db1d329a", preview_id = "bf98832a3f6e45e18f3c39b6db1d329a" },
{binding = "URL_DB", id = "bf98832a3f6e45e18f3c39b6db1d329a", preview_id = "bf98832a3f6e45e18f3c39b6db1d329a"},
]
workers_dev = true

[vars]
URL_CACHE = "apiCache"
URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 3600 # seconds

[dev]
Expand All @@ -19,23 +19,22 @@ port = 8787
upstream_protocol = "https"

[env.staging]
name = "atomic-url-staging"
workers_dev = true
kv_namespaces = [
{ binding = "URL_DB", id = "bf98832a3f6e45e18f3c39b6db1d329a" },
{binding = "URL_DB", id = "bf98832a3f6e45e18f3c39b6db1d329a"},
]
name = "atomic-url-staging"
workers_dev = true
[env.staging.vars]
URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 43200 # seconds

URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 3600 # seconds

[env.production]
kv_namespaces = [
{binding = "URL_DB", id = "709b8cf5ddf74f739f1535c34ff0634b"},
]
name = "atomic-url"
route = "s.jerrynsh.com/*"
workers_dev = false
kv_namespaces = [
{ binding = "URL_DB", id = "709b8cf5ddf74f739f1535c34ff0634b" },
]
[env.production.vars]
URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 604800 # seconds
URL_CACHE = "apiCache"
URL_EXPIRATION_TTL = 3600 # seconds

0 comments on commit 7d88b7a

Please sign in to comment.