From 8af3217b86fe27c6ec247de0ba012aa2580ebe14 Mon Sep 17 00:00:00 2001 From: Andre-John Mas Date: Tue, 16 Apr 2024 13:25:55 -0400 Subject: [PATCH] Minimum build time version: node 18, due to tsx --- .github/workflows/node.js.yml | 2 +- README.md | 3 +-- package-lock.json | 2 +- package.json | 3 ++- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ca3c0d3..0c73d73 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 06b7b4e..f45cb07 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Sync GDrive - This is a library to allow you to synchronise a file or directory in Google Drive with the local file system. Currently this solution provides a one way sync from Google Drive to the local file system. This code was orginally developped for the maison-notman-house API server, but it was felt that it would have more value as module that could be used by other projects. @@ -90,7 +89,7 @@ export GOOGLE_PRIVATE_KEY="xxxxxx" This project will not work in the browser, due to dependencies on the file system. -Targeted node.js versions are 16+ . +Targeted node.js versions are 18+ . ## Contributions & Feedback diff --git a/package-lock.json b/package-lock.json index 5735683..4ac7ba2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "typescript": "^5.4.5" }, "engines": { - "node": ">=10.12.0" + "node": ">=16.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 1087998..b0d3b94 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,12 @@ "version": "1.1.0", "description": "Module to synchronise a file or directory in Google Drive with the local file system", "main": "dist/index.js", + "browser": false, "bin": { "sync-gdrive": "dist/cli.js" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" }, "scripts": { "sync-gdrive": "ts-node src/cli.ts",