From 93d10ab1018cf324844d31d619849ef8c3d03296 Mon Sep 17 00:00:00 2001 From: Nikita Matrosov Date: Sun, 26 Mar 2017 13:51:50 +0300 Subject: [PATCH] package.json include plugin typings from DefinitelyTyped additional documentation items by @brodybits (Christopher J. Brody) ref: litehelpers/Cordova-sqlite-storage#657 --- README.md | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 320628c51..1fb323dd0 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,7 @@ See the [Sample section](#sample) for a sample with a more detailed explanation ## Announcements +- _Plugin typings from DefinitelyTyped are available in `types/index.d.ts` (community supported)_ - Using recent version of SQLite3 (`3.22.0`) with `SQLITE_DEFAULT_SYNCHRONOUS=3` (EXTRA DURABLE) build setting to be extra robust against possible database corruption ref: [litehelpers/Cordova-sqlite-storage#736](https://github.com/litehelpers/Cordova-sqlite-storage/issues/736) - Nice overview of alternatives for storing local data in Cordova apps at: - New alternative solution for small data storage: [TheCocoaProject/ cordova-plugin-nativestorage](https://github.com/TheCocoaProject/cordova-plugin-nativestorage) - simpler "native storage of variables" for Android/iOS/Windows @@ -1616,6 +1617,7 @@ function closeDB() { - `scripts`: installation hook script to fetch the external dependencies via `npm` - `spec`: test suite using Jasmine (`2.4.1`) - `tests`: very simple Jasmine test suite that is run on Circle CI (Android platform) and Travis CI (iOS platform) (used as a placeholder) +- _`types/index.d.ts` by [@matrosov-nikita (Nikita Matrosov)](https://github.com/matrosov-nikita) (community support)_ diff --git a/package.json b/package.json index 7795b7c0c..5f2d4e322 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "cordova-sqlite-storage", "version": "2.3.0", "description": "Native interface to SQLite for PhoneGap/Cordova", + "types": "./types/index.d.ts", "cordova": { "id": "cordova-sqlite-storage", "platforms": [