Skip to content

Commit 919ba0b

Browse files
committed
Check support of @fitbit/sdk 4.2.1, rework folders
1 parent b348065 commit 919ba0b

File tree

16 files changed

+334
-304
lines changed

16 files changed

+334
-304
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Distribution/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simple-fitbit-settings",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Module to simplify management of settings inside Fitbit OS applications",
55
"author": "Jérémy Jeanson (https://www.bugshunter.net)",
66
"license": "MIT",
@@ -19,9 +19,9 @@
1919
"typescript"
2020
],
2121
"devDependencies": {
22-
"@fitbit/sdk": "4.1.0",
23-
"fitbit-sdk-types": "4.3.9",
24-
"typescript": "^4.0.2"
22+
"@fitbit/sdk": "4.2.1",
23+
"fitbit-sdk-types": "5.0.0",
24+
"typescript": "4.0.2"
2525
},
2626
"scripts": {
2727
"build":"@powershell Copy-Item -Path ./package.json,../README.md -Destination ../distribution/ && tsc --build",

Sources/app.ts renamed to Sources/app/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { me } from "appbit";
22
import * as fs from "fs";
33
import * as messaging from "messaging";
4-
import { MessageData } from "./common";
4+
import { MessageData } from "../common";
55

66
const SETTINGS_TYPE = "cbor";
77
const SETTINGS_FILE = "settings.cbor";

Sources/app/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"noEmit": true,
5+
"checkJs": true
6+
},
7+
"include": [
8+
"**/*.ts",
9+
"**/*.js",
10+
"../node_modules/fitbit-sdk-types/types/device"
11+
]
12+
}
File renamed without changes.

0 commit comments

Comments
 (0)