10 Commits

Author SHA1 Message Date
Nazar Hussain
847837ed1c chore: migrate yarn 1 to pnpm (#8646)
**Motivation**

Use the latest package manager which is more aligned with multi-runtime
support.

**Description**

- Migrate yarn.lock file to pnpm-lock.yaml (`pnpm import`)
- Update the scripts to use pnpm 
- Update the workflows to use pnpm

**Steps to test or reproduce**

- Run all tests

**Useful commands migraiton**

| Yarn 1 | pnpm | 
|---|---| 
| yarn | pnpm install | 
| yarn add dep | pnpm add dep | 
| yarn workspace "@lodestar/config" add dep | pnpm add dep --filter
"@lodestar/config" |
| yarn workspace foreach run build | pnpm -r build |
2026-01-12 09:35:24 +07:00
Nazar Hussain
2ff1784005 chore: remove unused eslint directives (#7803)
**Motivation**

Remove any unused or inactive codebase.

**Description**

Remove all unused eslint directives as we are using `biome` now. 

**Steps to test or reproduce**

Run lint rules and all tests
2025-05-07 17:25:34 +02:00
Nazar Hussain
5c359f92dc deps: migrate to biomejs from eslint (#7108)
* Replace eslint with biomejs

* Update the inclusion of word

* Fix the formatting

* Update the lint task to do all checks

* Update biome rules from eslint config

* Replace eslint with biomejs

* Update the inclusion of word

* Fix the formatting

* Update the lint task to do all checks

* Update biome rules from eslint config

* Fix all lint issues

* Fix formatting

* Add extension recomendation for vscode

* Enable recommended rules

* Enable rule noUselessSwitchCase

* Enable rule noUselessConstructor

* Fix the types

* Fix unit tests

* Enforce import extensions

* Update the cli command

* Enforce useConsistentMemberAccessibility

* Update rules

* Fix rules

* Upgrade biomejs to latest version

* Update the rules

* Update and format the config file

* Fix types break during merge

* Fix unused check

* Add comment for explicit-return-type

* Remove eslint file

* Add _e objects for empty catch blocks

* Update formatter config

* Fix formatting
2024-10-10 12:43:36 -04:00
Phil Ngo
9116526790 chore: release script commit update for clarity (#6526)
* release script commit update for clarity

* Update scripts/release/create_rc.mjs

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
2024-03-12 09:50:59 -04:00
Phil Ngo
4857f4354f chore: update release script to bump packages commit conventionally (#6524)
update release script to commit conventionally
2024-03-08 11:15:48 -05:00
Cayman
d5c08e3ceb Allow new release create-rc based off stable branch (#5209) 2023-02-27 18:59:30 -05:00
tuyennhv
50ea6817e7 Avoid set-output in workflows (#5002) 2023-01-13 11:02:13 -05:00
Cayman
ebd668d474 Another fix for publish rc (#4099) 2022-06-01 11:08:01 -05:00
Cayman
06c852e89c Add bash assert_valid_rc script (#4096) 2022-06-01 13:52:19 +05:30
Lion - dapplion
510f3108e4 Adopt gitflow for Lodestar releases (#4071)
* Adopt gitflow for Lodestar releases

* Apply feedback

* Replace most mentions of `master` with `unstable`

* Tweak various parts of RELEASE.md

* Update CI

* Tweak dev release version handling

* Tweak workflow names

* Replace `nightly` with `dev`

* Replace `beta` with `rc`

* Fix publish for rc release and stable release only

* Remove stray "beta"

* Add code examples to RELEASE.md

* Clarify publish process

* Collapse 'Alternatives considered' section

* Move 'Details' header up one level

* Clarify publishing a release

* Tweak headings

* Fix hotfix section

* More clarifications

* Update examples in RELEASE.md

* More clarifications

* Fix formatting

* Run RELEASE.md through grammarly

* Change script name to release:publish

* Add create_rc script

* Add workflow_dispatch for create RC

* Add placeholder for other scripts

* Update RELEASE.md

* Update release create rc script

* Update script instructions

* create_rc script must not be run in CI

* Update release flow

* Add publish-rc workflow

* Apply suggestions from code review

Co-authored-by: Afr Schoe <58883403+q9f@users.noreply.github.com>

Co-authored-by: Cayman <caymannava@gmail.com>
Co-authored-by: Afr Schoe <58883403+q9f@users.noreply.github.com>
2022-05-30 10:22:00 -05:00