Git Product home page Git Product logo

fitbit-sdk-toolchain's People

Contributors

badescuga avatar catalinamocanu avatar catalinmarculet avatar corhere avatar dependabot[bot] avatar dodgerblue avatar gmaniak avatar greenkeeper[bot] avatar hexxeh avatar jtupiter avatar npclaudiu avatar sergiomorchon avatar stefanrm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fitbit-sdk-toolchain's Issues

Inbox files as iterable

Inbox files as iterable

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);
}

An in-range update of rollup is breaking the build 🚨

The dependency rollup was updated from 1.27.6 to 1.27.7.

🚨 View failing branch.

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.

Status Details
  • coverage/coveralls: First build on greenkeeper/rollup-1.27.7 at 71.903% (Details).
  • Travis CI - Branch: The build errored.

Release Notes for v1.27.7

2019-12-01

Bug Fixes

  • Fix a scenario where a reassignments to computed properties were not tracked (#3267)

Pull Requests

Commits

The new version differs by 4 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/lodash is breaking the build 🚨

The devDependency @types/lodash was updated from 4.14.140 to 4.14.141.

🚨 View failing branch.

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.

Status Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Feature Request: css variables (custom propeties)

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!

Incompatibility with Node 17

Hi, currently trying to run npx fitbit-build on Node 17 fails with an error because of the following:

const tslibPackage = require('tslib/package.json');
const tslibPath = require.resolve(`tslib/${tslibPackage.module}`);
The issue seems to be with the exports field in tslib's 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.

feature request: fitbit-install

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

feature request

I would like there to be a fitbit-install just like there is a fitbit-build

why?

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.

An in-range update of @types/lodash is breaking the build 🚨

The devDependency @types/lodash was updated from 4.14.120 to 4.14.121.

🚨 View failing branch.

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.

Status Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Transform with Babel in advance of JerryScript ES2015 partial support

  1. Actually, we are transpiling and generating helpers with TypeScript.
  2. Nowdays, the state of the art is to split linting, type checking, transpilation and bundling into different tools/steps. Here we are mixing type-checking and transpilation.
    1.1. This is important because the used JS engine, jerryscript, supports not just full ECMAScript 5.1, but also some interesting features of ES2015 (you can se them listed in the release notes).

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.

JerryScript support of ES2015 features

Use Babel + JerryScript following https://github.com/jerryscript-project/jerryscript/tree/v2.1.0/tools/babel

No Build Folder on MacOS

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?

An in-range update of rollup is breaking the build 🚨

The dependency rollup was updated from 1.15.6 to 1.16.0.

🚨 View failing branch.

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.

Status Details
  • coverage/coveralls: First build on greenkeeper/rollup-1.16.0 at 53.858% (Details).
  • Travis CI - Branch: The build failed.

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of prettier is breaking the build 🚨

The devDependency prettier was updated from 1.18.2 to 1.19.0.

🚨 View failing branch.

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.

Status Details
  • coverage/coveralls: First build on greenkeeper/prettier-1.19.0 at 71.861% (Details).
  • Travis CI - Branch: The build failed.

Release Notes for Prettier 1.19: Long awaited Vue option, TypeScript 3.7 and new JavaScript features

diff

🔗 Release Notes

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

"TypeError: Cannot read property 'text' of undefined" during build

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

Run npx-fitbit without machine ID

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?

An in-range update of @types/jest is breaking the build 🚨

The devDependency @types/jest was updated from 24.0.9 to 24.0.10.

🚨 View failing branch.

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.

Status Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Versa 2 seems not to display gradient rectangles

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.

An in-range update of rollup is breaking the build 🚨

The dependency rollup was updated from 1.4.2 to 1.5.0.

🚨 View failing branch.

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.

Status Details

Release Notes for v1.5.0

2019-03-07

Features

  • Allow resolving to a different id while marking it as external at the same time (#2734)

Pull Requests

Commits

The new version differs by 3 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of prettier is breaking the build 🚨

The devDependency prettier was updated from 1.17.1 to 1.18.0.

🚨 View failing branch.

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.

Status Details
  • coverage/coveralls: First build on greenkeeper/prettier-1.18.0 at 71.299% (Details).
  • Travis CI - Branch: The build failed.

Release Notes for 1.18.0

🔗 Release Notes

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Feature Request: Mira: BT API

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.

An in-range update of io-ts is breaking the build 🚨

The dependency io-ts was updated from 1.5.2 to 1.5.3.

🚨 View failing branch.

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.

Status Details

Release Notes for 1.5.3
  • Bug Fix
    • missing context info while decoding an intersection, fix #246 (@gcanti)
  • Experimental
    • add intermediary interfaces, closes #165 (@gcanti)
      • 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
  • Polish
  • Deprecation
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

The dependency rollup was updated from 1.14.2 to 1.14.3.

🚨 View failing branch.

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.

Status Details

Release Notes for v1.14.3

2019-06-06

Bug Fixes

  • Generate correct external imports when importing from a directory that would be above the root of the current working directory (#2902)

Pull Requests

Commits

The new version differs by 4 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of babel7 is breaking the build 🚨

There have been updates to the babel7 monorepo:

    • The dependency @babel/core was updated from 7.7.7 to 7.8.0.

🚨 View failing branch.

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.

Status Details
  • coverage/coveralls: First build on greenkeeper/monorepo.babel7-20200114024258 at 72.772% (Details).
  • Travis CI - Branch: The build failed.

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

The dependency rollup was updated from 1.20.1 to 1.20.2.

🚨 View failing branch.

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.

Status Details
  • coverage/coveralls: First build on greenkeeper/rollup-1.20.2 at 72.235% (Details).
  • Travis CI - Branch: The build errored.

Release Notes for v1.20.2

2019-08-25

Bug Fixes

  • Avoid an issue where circular namespace reexports would crash Rollup (#3074)

Pull Requests

Commits

The new version differs by 3 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Action required: Greenkeeper could not be activated 🚨

🚨 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.

An in-range update of @types/yargs is breaking the build 🚨

The devDependency @types/yargs was updated from 12.0.2 to 12.0.3.

🚨 View failing branch.

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.

Status Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of update-notifier is breaking the build 🚨

The dependency update-notifier was updated from 2.5.0 to 2.6.0.

🚨 View failing branch.

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.

Status Details

Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of yargs is breaking the build 🚨

The dependency yargs was updated from 13.2.2 to 13.2.4.

🚨 View failing branch.

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.

Status Details

Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of lint-staged is breaking the build 🚨

The devDependency lint-staged was updated from 8.1.0 to 8.1.1.

🚨 View failing branch.

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.

Status Details

Release Notes for v8.1.1

8.1.1 (2019-01-28)

Bug Fixes

  • Fix configuration validation and allow specifying custom renderers (#572) (d5e738d), closes #567
Commits

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

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Possible Battery Level reporting error in emulator (low priority)

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!

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.