Skip to content

Commit

Permalink
build: pin node, npm etc
Browse files Browse the repository at this point in the history
  • Loading branch information
uschtwill committed Oct 13, 2023
1 parent 32fb1ae commit 121877d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.8.0
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const notionClient = new Client({
const enabledScrapingStrategies =
process.env.ENABLED_SCRAPING_STRATEGIES.split(",")

const loadedScrapingStrategies = loadStrategies("scraping")
const loadedNotificationStrategies = loadStrategies("notification")
const loadedScrapingStrategies = await loadStrategies("scraping")
const loadedNotificationStrategies = await loadStrategies("notification")

export const config = {
queries: process.env.QUERIES.split(","),
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"description": "",
"main": "lib/index.js",
"type": "module",
"engines": {
"node": "20.8.0",
"npm": "^10.1.0"
},
"scripts": {
"start": "node index.js",
"dev": "./node_modules/.bin/nodemon index.js",
Expand Down Expand Up @@ -37,7 +41,8 @@
"prettier"
],
"parserOptions": {
"ecmaVersion": 12,
"ecmaVersion": "latest",
"sourceType": "module",
"plugins": [
"jest"
]
Expand Down

0 comments on commit 121877d

Please sign in to comment.