Publish types for custom middleware and task developers
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- tooling
調査の方向性
Review the public APIs in the UI5 tooling packages named in the issue, especially @ui5/fs and @ui5/builder, alongside the documented Resource and DuplexCollection APIs. Identify the types needed by custom tasks and middlewares; done means consumers can import maintained TypeScript types instead of defining local declarations.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
We as the maintainer of the in SAP Fiori tools and the Open UX tools (https://github.com/SAP/open-ux-tools) develop multiple custom tasks and middlewares. Our development language of choice is typescript, however, there are no types available for the API that is to be implemented by custom tasks and middlewares.
Describe the solution you'd like
It would be great if all the required types are part of the UI5 tooling packages @ui5/fs, @ui5/builder and so on, so that I can import the types in my modules and have all the comforts of using a fully typed language.
Describe alternatives you've considered
The best alternative so far is to read your documentation and manually define the types in a separate .d.ts file e.g.
declare module '@ui5/fs' {
/**
* https://sap.github.io/ui5-tooling/api/module-@ui5_fs.Resource.html
*/
export class Resource {
/**
* Gets the resources path
*/
getPath(): string;
/**
* Gets a buffer with the resource content.
*/
getBuffer(): Promise<Buffer>;
}
/**
* https://sap.github.io/ui5-tooling/api/module-@ui5_fs.DuplexCollection.html
*/
export class DuplexCollection {
/**
*
*/
byGlob(virPattern: string | string[], options?: object): Promise<Resource[]>;
}
}
but that is of course not a good solution since we now need to make sure that our types stay in sync with your development.
Additional context
No.
- 主要言語
- JavaScript
- スター
- 510
- フォーク
- 80
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UI5/cli のほかの issue
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesオープンmodule/ui5-builder module/ui5-fs module/ui5-project
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
module/ui5-project
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0再び着手できるかも @flovogt が 116 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンroadmap
UI5/cli#1485 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
build excludes from application project are not applied to dependencies再び着手できるかも @flovogt が 90 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
UI5/cli#1446 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
help provided
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
bug confirmed issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
open-webui/open-webui#35507 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
beginner-friendly category:tests community enhancement first-timers-only good first issue help wanted low hanging fruit micro-contribution type: task up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
Berserk-hub150/skillhawk#300 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Fei2411/DeepSeek-Bot#2896 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
area:ui P2 status:blocked
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sunososobro-hub/cloudball#1234 ·
メンテナーはふだん 1 日以内に返信