Load config from NPM package
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
Start by reading the current config-loading entry point and how the --config option is handled. Compare the proposed package-name and package.json forms, including scoped packages and nested config paths. Done means shared configurations can be resolved through the requested CLI and package.json syntax with behavior consistent with module resolution.
索引モデルが issue の本文から書いたものです。
説明
Sharing a preset across teams or packages is a great way to reduce complexity. It surprises me that PostCSS forces me to use a postcss.config.js file rather than giving me the option to point to a shared package.
Passing a package name instead of a simple path is easy to integrate with existing options. An intuitive command line syntax might look like this:
postcss --config myPackage
postcss --config myPackage/path/to/config.js
postcss --config @myOrg/myPackage/...
Although, the preferred option would clearly be referencing it in package.json:
"postcss": "myPackage"
"postcss": "@myOrg/myPackage/path/to/config.js"
"postcss": {
"config": "@myOrg/myPackage/path/to/config.js"
}
Prettier implements sharing configs quite beautifully with its package.json option.
To minimize friction for the user, the path string should optimally be resolved in the same way module paths are resolved in Parcel or Webpack.
- 主要言語
- JavaScript
- スター
- 661
- フォーク
- 76
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
postcss/postcss-load-config のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
postcss/postcss-load-config#266 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
postcss/postcss-load-config#248 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
postcss/postcss-load-config#225 · コメント 13 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
postcss/postcss-load-config#221 · コメント 4 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
postcss/postcss-load-config#212 · コメント 7 件 ·
postcss/postcss-load-config の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Forrest-Technologies/drover#1040 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
erkamyaman/rust-anything#702 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
erkamyaman/unslop-anything#231 ·
メンテナーはふだん 1 日以内に返信