-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FL-3918] Full-fledged JS SDK + npm packages #3963
Conversation
Compiled f7 firmware for commit |
…irmware into portasynthinca3/3918-js-packages
EDIT: to be done later. |
PVS-Studio report for commit |
i had similar issue, we still have applications/external folder and many apps have screenshots. this is what i did, allows to exclude some folders from images linting: |
What's new
@flipperdevices/fz-sdk
(contains the SDK, i.e. API typings and helper tooling),@flipperdevices/create-fz-app
(interactive JS project creation wizard). These packages will be published manually by me if/when this pull request is merged.var
andconst
keyword support in the interpreterObject.defineProperty
stubVerification
npx @flipperdevices/create-fz-app@latest
cd applications/system/js_app/packages && npm exec ./create-fz-app
. This will fail at the "Installing packages" step, which is expected if the package has not yet been published. Then,cd my-flip-app
and change the version specifier inpackage.json
for thefz-sdk
package from^0.1
tolink:../fz-sdk
npm start
Checklist (For Reviewer)