`tns preview` does not handle custom binary files
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- cli
調査の方向性
lib/services/livesync/playground/preview-app-files-service.ts の65行目付近にあるファイルタイプのチェックから始め、tns preview コマンドのパラメーターがどのように定義されているかを追ってください。バイナリとして扱う必要がある追加の拡張子を指定できる方法を追加し、それらのファイルがbase64でエンコードされたコンテンツとして同期されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
The tns preview command syncs files based on their file extension. If the file is binary it should be sent as base64 encoded file. Currently the check is based on a third party dependency istextorbinary
https://github.com/NativeScript/nativescript-cli/blob/8722364da49c9950e65d79014e66d3a17a59d0ce/lib/services/livesync/playground/preview-app-files-service.ts#L65
This lib only supports a limited set of binary extensions
https://github.com/bevry/binaryextensions/blob/master/source/index.json
Describe the solution you'd like
Add a parameter to the command to allow adding additional extensions that must be handled as binary.
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/nativescript-cli のほかの issue
-
in-progress
NativeScript/nativescript-cli#6140 · コメント 2 件 · 担当者 1 名 ·
-
NativeScript/nativescript-cli#6090 · 担当者 1 名 ·
-
in progress
NativeScript/nativescript-cli#6015 · リアクション 1 件 · 担当者 1 名 ·
-
question
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
NativeScript/nativescript-cli#5992 · コメント 5 件 ·
-
feature-pending-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NativeScript/nativescript-cli#5975 ·
NativeScript/nativescript-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Seeed-Studio/wiki-documents#5655 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
Edit: CW+ オープンchannels:edit check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
01 type: bug 30 needs: triage 99 tag: UX Accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
quarto-dev/quarto-cli#14915 ·