Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

renovate-config

Emela のプロジェクトで Renovate を使うための preset.Pome.toml の依存(Pome)を新しい版に上げる pull request を出させる.

{
  "extends": ["config:recommended", "github>emela-lang/renovate-config"]
}

すること

  • Pome.toml の [dependencies] と [dev-dependencies] から依存を拾う.値は版の文字列でも,version を持つ table でもよい
  • 新しい版は Pome proxy(https://pomes.emela.dev/<source path>/@v/list)から引く.proxy が返すのは,その Pome の版として取り込めるタグだけ(ほかの directory や major のタグは入らない)
  • /vN で終わらない source path は v1 までしか上げない.v2 以上は source path に /vN が付く別の Pome なので,版を変えるだけでは移れない
  • /vN で終わる source path は major を上げない
  • pull request に pome の label を付ける

Pome.lock

この preset が書き換えるのは Pome.toml だけ.Pome.lock の commit とハッシュは emela pome install でしか作れない.

emela-lang/setup-emela の pome-lock Action を Renovate の pull request で動かすと,lock を更新して push する.設定の例はそちらの README にある.

tests/ と examples/ の Pome

config:recommended は tests/,test/,examples/ の下を見ない.そこにある Pome.toml も上げるなら,ignorePaths を上書きする.

{
  "extends": ["config:recommended", "github>emela-lang/renovate-config"],
  "ignorePaths": ["**/node_modules/**"]
}

ライセンス

Apache License 2.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors