update support versions
Signed-off-by: Derek Anderson <dmikey@users.noreply.github.com>
This commit is contained in:
parent
8d08ab2ca5
commit
75cc15053c
6
.github/workflows/ci-cd.yml
vendored
6
.github/workflows/ci-cd.yml
vendored
@ -14,8 +14,12 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x, 16.x, 18.x, 20.x]
|
node-version: [16.x, 18.x, 20.x, 22.x]
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
exclude:
|
||||||
|
# Exclude older Node versions on macOS ARM64 to avoid compatibility issues
|
||||||
|
- os: macos-latest
|
||||||
|
node-version: 16.x
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
18
README.md
18
README.md
@ -1,11 +1,7 @@
|
|||||||
|
|
||||||
[](https://github.com/derekanderson/sqlite-backup-lib/actions/workflows/ci-cd.yml)
|
|
||||||
[](https://github.com/derekanderson/sqlite-backup-lib/actions/workflows/dependencies.yml)
|
|
||||||
[](https://github.com/derekanderson/sqlite-backup-lib/actions/workflows/ci-cd.yml)
|
|
||||||
[](https://badge.fury.io/js/sqlite-snap)
|
[](https://badge.fury.io/js/sqlite-snap)
|
||||||
[](https://www.npmjs.com/package/sqlite-snap)
|
[](https://www.npmjs.com/package/sqlite-snap)
|
||||||
[](https://www.npmjs.com/package/sqlite-snap)
|
[](https://www.npmjs.com/package/sqlite-snap)
|
||||||
[](https://nodejs.org/)
|
[](https://nodejs.org/)
|
||||||
[](https://www.sqlite.org/)
|
[](https://www.sqlite.org/)
|
||||||
[](https://www.npmjs.com/package/sqlite-snap)
|
[](https://www.npmjs.com/package/sqlite-snap)
|
||||||
|
|
||||||
@ -27,15 +23,13 @@ A standalone, zero-dependency Node.js library for creating, managing, and verify
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install sqlite-backup-lib
|
npm install sqlite-snap
|
||||||
```
|
```
|
||||||
|
|
||||||
Or clone this repository:
|
Or install globally for CLI usage:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/yourusername/sqlite-backup-lib.git
|
npm install -g sqlite-snap
|
||||||
cd sqlite-backup-lib
|
|
||||||
npm install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
@ -43,7 +37,7 @@ npm install
|
|||||||
### Programmatic Usage
|
### Programmatic Usage
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
const { SQLiteBackup, BackupUtils } = require('sqlite-backup-lib');
|
const { SQLiteBackup, BackupUtils } = require('sqlite-snap');
|
||||||
|
|
||||||
// Initialize backup instance
|
// Initialize backup instance
|
||||||
const backup = new SQLiteBackup({
|
const backup = new SQLiteBackup({
|
||||||
@ -504,7 +498,7 @@ npm run example
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Node.js 14.0.0 or higher
|
- Node.js 16.0.0 or higher
|
||||||
- SQLite3 command-line tool installed and available in PATH
|
- SQLite3 command-line tool installed and available in PATH
|
||||||
- Read/write permissions for database and backup directories
|
- Read/write permissions for database and backup directories
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
"author": "Derek Anderson",
|
"author": "Derek Anderson",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.0.0"
|
"node": ">=16.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user