Skip to content

Commit

Permalink
chore: use npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed May 23, 2023
1 parent 5fa3297 commit 19d156a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
19 changes: 12 additions & 7 deletions playground/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"scripts": {
"build": "rimraf ./dist && tsc",
"start": "node ./dist/index.js",
"dev": "ts-node ./src/index.ts",
"release": "changelogen --release && git push --follow-tags"
"dev": "ts-node ./src/index.ts"
},
"author": "Becem Gharbi",
"license": "MIT",
Expand All @@ -22,15 +21,15 @@
"typescript": "^5.0.4"
},
"dependencies": {
"@bg-dev/node-red-unstorage": "^0.1.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"mongodb": "^5.5.0",
"node-red": "^3.0.2",
"node-red-unstorage": "file:package",
"unstorage": "^1.6.0"
},
"overrides": {
"xml2js": "^0.5.0",
"moment-timezone": ">=0.5.35"
}
}
}
2 changes: 1 addition & 1 deletion playground/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { LocalSettings } from "@node-red/runtime";
import { dirname, resolve } from "path";
import { fileURLToPath } from "url";
import mongodbDriver from "unstorage/drivers/mongodb";
import storage from "node-red-unstorage";
import storage from "@bg-dev/node-red-unstorage";

dotenv.config();

Expand Down

0 comments on commit 19d156a

Please sign in to comment.