From c741727b96cfecb067a82313586b8065077e37d8 Mon Sep 17 00:00:00 2001
From: Anna Antonenko <portasynthinca3@gmail.com>
Date: Tue, 5 Nov 2024 13:53:24 +0300
Subject: [PATCH] I am own the JS (#3982)

* fix: js app template
* i am own the js
* farewell
---
 .github/CODEOWNERS                                     | 10 +++++-----
 .../system/js_app/packages/create-fz-app/package.json  |  2 +-
 .../packages/create-fz-app/template/tsconfig.json      |  3 ++-
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index aab3ff3531..dcf964addc 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -36,7 +36,7 @@
 /applications/services/power_settings_app/ @skotopes @DrZlo13 @hedger @gsurkov @gornekich
 
 /applications/system/storage_move_to_sd/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov
-/applications/system/js_app/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov
+/applications/system/js_app/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov @portasynthinca3
 
 /applications/debug/unit_tests/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov @gornekich @Astrrra @Skorpionm
 
@@ -49,8 +49,8 @@
 /applications/main/infrared/resources/ @skotopes @DrZlo13 @hedger @gsurkov
 
 # Documentation
-/documentation/ @skotopes @DrZlo13 @hedger @gsurkov @drunkbatya
-/scripts/toolchain/ @skotopes @DrZlo13 @hedger @gsurkov @drunkbatya
+/documentation/ @skotopes @DrZlo13 @hedger @gsurkov
+/scripts/toolchain/ @skotopes @DrZlo13 @hedger @gsurkov
 
 # Lib
 /lib/stm32wb_copro/ @skotopes @DrZlo13 @hedger @gsurkov @gornekich
@@ -59,11 +59,11 @@
 /lib/lfrfid/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov
 /lib/libusb_stm32/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov
 /lib/mbedtls/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov
-/lib/mjs/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov
+/lib/mjs/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov @portasynthinca3
 /lib/nanopb/ @skotopes @DrZlo13 @hedger @gsurkov @nminaylov
 /lib/nfc/ @skotopes @DrZlo13 @hedger @gsurkov @gornekich @Astrrra
 /lib/one_wire/ @skotopes @DrZlo13 @hedger @gsurkov
 /lib/subghz/ @skotopes @DrZlo13 @hedger @gsurkov @Skorpionm
 
 # CI/CD
-/.github/workflows/ @skotopes @DrZlo13 @hedger @gsurkov @drunkbatya
+/.github/workflows/ @skotopes @DrZlo13 @hedger @gsurkov
diff --git a/applications/system/js_app/packages/create-fz-app/package.json b/applications/system/js_app/packages/create-fz-app/package.json
index 2164233965..7778104e20 100644
--- a/applications/system/js_app/packages/create-fz-app/package.json
+++ b/applications/system/js_app/packages/create-fz-app/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@flipperdevices/create-fz-app",
-  "version": "0.1.0",
+  "version": "0.1.1",
   "description": "Template package for JS apps Flipper Zero",
   "bin": "index.js",
   "type": "module",
diff --git a/applications/system/js_app/packages/create-fz-app/template/tsconfig.json b/applications/system/js_app/packages/create-fz-app/template/tsconfig.json
index c7b83cd5d3..1e6fc60180 100644
--- a/applications/system/js_app/packages/create-fz-app/template/tsconfig.json
+++ b/applications/system/js_app/packages/create-fz-app/template/tsconfig.json
@@ -5,13 +5,14 @@
         "module": "CommonJS",
         "noLib": true,
         "target": "ES2015",
+        "types": [],
     },
     "files": [
         "./node_modules/@flipperdevices/fz-sdk/global.d.ts",
     ],
     "include": [
         "./**/*.ts",
-        "./**/*.js"
+        "./**/*.js",
     ],
     "exclude": [
         "./node_modules/**/*",