fitbit / fitbit-sdk-toolchain Goto Github PK
View Code? Open in Web Editor NEWToolchain for building Fitbit apps
Home Page: https://dev.fitbit.com
License: BSD 3-Clause "New" or "Revised" License
Toolchain for building Fitbit apps
Home Page: https://dev.fitbit.com
License: BSD 3-Clause "New" or "Revised" License
Actually, the way to read the inbox queue of file names is by manually looping over inbox.nextFile()
until it returns nothing.
That's already solved with iterables.
Can you oevolve that API to expose something like this:
const inboxFiles = {
next: () => {
const value = inbox.nextFile();
return {
value: value as string,
done: !value,
};
},
[Symbol.iterator]: function () {
return this;
},
};
So we can do stuff like
for (const fileName of inboxFiles) {
doStuff(fileName);
}
compared to:
let fileName = inbox.nextFile();
while (fileName) {
doStuff(fileName);
fileName = inbox.nextFile(fileName);
}
1.27.6
to 1.27.7
.This version is covered by your current version range and after updating it in your project the build failed.
rollup is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
2019-12-01
The new version differs by 4 commits.
c753a7f
1.27.7
1b8a3de
Update changelog
d5651be
Fix incomplete computed property deoptimization (#3267)
d7e3993
Update changelog
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
4.14.140
to 4.14.141
.This version is covered by your current version range and after updating it in your project the build failed.
@types/lodash is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
I am not sure if this is the right place to request this but I figured the build toolchain is a good start.
It would be really nice if the CSS in Fitbit OS apps could support some form of variables. Even if the CSS interpreter on the watch does not support it, I thought maybe it could be something that is compiled during the build process.
just a thought. thanks!
Hi, currently trying to run npx fitbit-build
on Node 17 fails with an error because of the following:
fitbit-sdk-toolchain/src/plugins/typescript/tslib.const.ts
Lines 5 to 6 in 58ea8a7
package.json
. It doesn't have package.json
as a specified export, so you end up with an 'ERR_PACKAGE_PATH_NOT_EXPORTED' error code. Let me know if there's any other useful info I can provide; I'm new to Node so I don't think I can PR a fix unless pointed in the right direction.Right now during development I need to do the following in order to view my changes
> npx fitbit-build
> npx fitbit
> fitbit$ install
and as you already know you can do both the build
and in the install
inside the fitbit$
shell
I would like there to be a fitbit-install
just like there is a fitbit-build
I would like to setup my own file watchers and have them automatically run both fitbit-build
then fitbit-install
. Right now there's no real way (that i know of yet) to do that.
4.14.120
to 4.14.121
.This version is covered by your current version range and after updating it in your project the build failed.
@types/lodash is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
By using Babel to transform the code, we can customize which transformations we want, and skip the ones that JerryScript 2.1 already handles natively.
Use Babel + JerryScript following https://github.com/jerryscript-project/jerryscript/tree/v2.1.0/tools/babel
Ran the CLI for the first time today and created a new project however when I try to run a build I fail to get a build folder. The CLI says it completes the build but no build folder is contained within the project and I can't find any builds located anywhere else on my machine. Any idea why this is happening and how to fix it?
1.15.6
to 1.16.0
.This version is covered by your current version range and after updating it in your project the build failed.
rollup is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
1.18.2
to 1.19.0
.This version is covered by your current version range and after updating it in your project the build failed.
prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
I've upgraded my clockface project with SDK types (converted to Typescript). Now during build I am getting this error:
> [email protected] build /Users/ygalanter/Documents/Github Personal/Clean-Smart-Plus/clockfaces/pre-atlas
> fitbit-build
[09:43:05][error][app] TypeError: Cannot read property 'text' of undefined
Details:
code: PLUGIN_ERROR
hook: transform
id: /Users/ygalanter/Documents/Github Personal/Clean-Smart-Plus/clockfaces/pre-atlas/app/index.ts
watchFiles: /Users/ygalanter/Documents/Github Personal/Clean-Smart-Plus/clockfaces/pre-atlas/app/index.ts
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `fitbit-build`
npm ERR! Exit status 1
It doesn't point to any line in my code and AFAIK all every element that uses .text
property is defined.
clockface_project.zip
I'm running on a cloud server that doesn't have a machine ID in /etc/machine-id
, and I cannot create one due to permission issues.
When running npx fitbit
, I get the following error:
Failed to read auth token from keychain: Error: Cannot spawn a message bus without a machine-id: Invalid machine ID in /nix/store/f5jhxrj5cxq2mnahwj4nba3sw4g5956c-glib-2.70.1/var/lib/dbus/machine-id or /etc/machine-id
I also can't make one in /nix/store/f5jhxrj5cxq2mnahwj4nba3sw4g5956c-glib-2.70.1/var/lib/dbus/machine-id
, by the way.
Any way to do this without a valid machine ID?
24.0.9
to 24.0.10
.This version is covered by your current version range and after updating it in your project the build failed.
@types/jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Many watch faces are broken in Versa 2 because <gradientRect>
is not displayed on the device. The simulator works fine.
I guess this is hardly a problem of the SDK toolchain, but this repo is the closest thing to a public bug tracker for issues of that sort and this one is a high severity issue.
1.4.2
to 1.5.0
.This version is covered by your current version range and after updating it in your project the build failed.
rollup is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
2019-03-07
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Hi, I noticed my new Inspire HR has an "apps" tab and I was wondering if it's possible to develop apps for it? I looked at this SDK but I'm not sure if the same OS is used on the Inspires?
1.17.1
to 1.18.0
.This version is covered by your current version range and after updating it in your project the build failed.
prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
I've been looking over things, and not finding this anywhere. Versa 2 (Mira) supports BT. I can play audio over it using built-ins. I'm not find that functionality anywhere in the API, and would like to see it to develop a custom music player that doesn't rely on a phone being nearby or network access.
1.5.2
to 1.5.3
.This version is covered by your current version range and after updating it in your project the build failed.
io-ts is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
NullC
UndefinedC
VoidC
AnyC
UnknownC
NeverC
StringC
NumberC
BooleanC
UnknownArrayC
UnknownRecordC
ObjectC
FunctionC
RefinementC
LiteralC
KeyofC
ArrayC
TypeC
PartialC
RecordC
UnionC
IntersectionC
TupleC
ReadonlyC
ReadonlyArrayC
StrictC
TaggedUnionC
ExactC
[email protected]
feature) (@gcanti)union
should handle zero types (@gcanti)intersection
should handle zero / one types (@gcanti)The new version differs by 13 commits.
03e8c24
Polish: use rest elements in tuple types ([email protected] feature)
d5e75c3
fix IntersectionC typings
5a3674d
Polish: intersection should handle zero / one types
03d42b0
Polish: union should handle zero types
5b23891
extractors: re-add Any as constraint
b0b295f
Intersection typings: use unknown as default case
6ea7a99
fix tuple typings
faf3641
Polish: improve type-level tests
2c4c94c
Internal: upgrade prettier
580f70a
deprecate clean and alias functions
462778a
Experimental: add intermediary interfaces
9abfe1d
Test: add declaration test
6c4cd33
Bug Fix: missing context info while decoding an intersection, fix #246
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
1.14.2
to 1.14.3
.This version is covered by your current version range and after updating it in your project the build failed.
rollup is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
2019-06-06
The new version differs by 4 commits.
c68bd95
1.14.3
d79aa57
Update changelog
7179390
Use browser relative path algorithm for chunks (#2902)
b1df517
Add funding button
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
dependency
@babel/core was updated from 7.7.7
to 7.8.0
.dependency
@babel/plugin-syntax-dynamic-import was updated from 7.8.0
to 7.8.3
.dependency
@babel/plugin-transform-block-scoped-functions was updated from 7.8.0
to 7.8.3
.dependency
@babel/plugin-transform-block-scoping was updated from 7.8.0
to 7.8.3
.This version is covered by your current version range and after updating it in your project the build failed.
This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.
babel7 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
1.20.1
to 1.20.2
.This version is covered by your current version range and after updating it in your project the build failed.
rollup is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
2019-08-25
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
12.0.2
to 12.0.3
.This version is covered by your current version range and after updating it in your project the build failed.
@types/yargs is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
2.5.0
to 2.6.0
.This version is covered by your current version range and after updating it in your project the build failed.
update-notifier is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 10 commits.
622ee5f
2.6.0
ad8ed1b
Suggest yarn when installed with yarn (#132)
5f06620
Exit the update check process if it does not respond after 30s (#156)
79e89ad
Fix failing test (#155)
c8faa84
Add distTag
option (#151)
14632e4
Add failing test for #153 (#154)
aafd8a0
Require Node.js 8
0d49f51
Add Tidelift mention in the readme
8df01b3
Fix docs position of shouldNotifyInNpmScript
(#143)
d371834
Docs: isGlobal option does not default to true (#142)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
13.2.2
to 13.2.4
.This version is covered by your current version range and after updating it in your project the build failed.
yargs is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
The new version differs by 14 commits.
a6e67f1
chore(release): 13.2.4
fc13476
chore: update standard-verison dependency
bf46813
fix(i18n): rename unclear 'implication failed' to 'missing dependent arguments' (#1317)
a3a5d05
docs: fix a broken link to MS Terminology Search (#1341)
b4f8018
build: add .versionrc that hides test/build
0c39183
chore(release): 13.2.3
08e0746
chore: update deps (#1340)
843e939
docs: make --no-
boolean prefix easier to find in the docs (#1338)
84cac07
docs: restore removed changelog of v13.2.0 (#1337)
b20db65
fix(deps): upgrade cliui for compatibility with latest chalk. (#1330)
c294d1b
test: accept differently formatted output (#1327)
ac3f10c
chore: move .hbs templates into .js to facilitate webpacking (#1320)
0295132
fix: address issues with dutch translation (#1316)
9f2468e
doc: clarify parserConfiguration object structure (#1309)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
8.1.0
to 8.1.1
.This version is covered by your current version range and after updating it in your project the build failed.
lint-staged is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 7 commits.
d5e738d
fix: Fix configuration validation and allow specifying custom renderers (#572)
406a0c0
chore: Revert "chore: pin cosmiconfig to 5.0.6" (#571)
adfc1d4
docs(readme): Add example for environment variables (#564)
73e04d7
chore: Use unmock
to get rid of mock hoisting (#563)
ac8cdf1
docs: Remove comment about hunks support (#553)
352ab8c
docs: Update for JetBrains support (#552)
30576d6
chore: Upgrade semantic-release to latest (#548)
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
This seems like a tiny issue, but I thought I'd report it. When both Versa and Ionic emulators are set to certain battery levels, they report a different battery level to the emulator.
Setting level 29 reports 28. (See screen shot. )
Setting level 57 reports 56.
Setting level 58 reports 57.
I have verified all other battery values are correct.
In my code I am using these lines to derive the battery level:
var batlvl = Math.floor(battery.chargeLevel);
powerRow.text = batlvl;
So it could be some kind of round-off error. I also attempted to remove the Math.floor() function but received the same results. Again, not a critical issue, but something that should be documented. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.