13 Commits

Author SHA1 Message Date
Andrew Tatomyr
8d3d99045a chore: update issue template and add changesets validation, improve benchmark output (#1679) 2024-08-28 12:44:50 +03:00
Andrew Tatomyr
a4adc7a175 chore: update contributing guide (#1606) 2024-07-05 16:32:47 +03:00
Andrew Tatomyr
2bfef43b8a chore: update test script and the corresponding pipelines (#1593)
* chore: update test script and the corresponding pipelines

* update the coverage threshold
2024-06-21 19:39:57 +08:00
Oleksiy Kachynskyy
4cf08db490 feat: update push and push-status commands (#1481)
* feat(bh): make 'project' and 'domain' required for push command (CMS)

* chore: add OutputFormat type for 'format' parameter for push-status command

* feat: add 'format' parameter for 'push-status'
command

* feat: add 'markdown' to OutputFormat type

* feat: make domain not required for push-status

* refactor: simplify `handlePushStatus` function

* feat: add json format for push-status command

* feat: remove `async` from printPushStatus

* feat: improve printing json summary and exit with error

* feat: add 'format' option to cli push command

* feat: add push metadata to json output

* feat: add return data for push and pushStatus commands

* feat: update push status command

* tests: add new unit tests for push status

* refactor: remove json format for "push" and "push-status" commands

* feat: add "ignore-deployment-failures" option

* chore: replace "satisfies" with "as"

* chore: add changeset

* feat: add onTimeOutExceeded callback

* Apply suggestions from code review

Co-authored-by: Lorna Jane Mitchell <github@lornajane.net>

* Apply suggestions from code review

Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
Co-authored-by: Roman Sainchuk <albuman32@gmail.com>

* chore: update return type for commandHandler

* tests: use expect.rejects instead of catching errors

* feat: rename 'ignore-deployment-failures' to 'continue-on-deployment-failures'

* feat: add onConditionNotMet callback

* tests: add unit tests

* chore: add comments

* refactor: rename "wait" to "pause" and move to utils

* refactor: change import type

* refactor: add explicit array length check

* fix: add correct wrapper type for argv params

* feat: update types for push status API

* chore: add "unit:watch" script to package.json

* test: fix unit tests

* tests: add tests for "onRetry" and "max-execution-time" parameters

* chore: restore museum.yaml

* feat: update API types for PushResponse

* refactor: rename "continue-on-deployment-failures" to "continue-on-deploy-failures"

* feat: update interface for `onRetry` function

* feat: remove "instanceof Promise" check

* refactor: reorder imports

* feat: increase maxExecutionTime to 20 min

---------

Co-authored-by: Lorna Jane Mitchell <github@lornajane.net>
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
Co-authored-by: Roman Sainchuk <albuman32@gmail.com>
2024-04-25 14:42:45 +03:00
dianacheung
210f4f1931 fix: correct contribute documentation preview locally (#1532) (#1533)
Co-authored-by: Diana Cheung <18452752+dianacheung@users.noreply.github.com>
2024-04-22 10:02:45 +01:00
Andrew Tatomyr
617ccff63f docs: update contributing guide (#1494) 2024-03-21 10:18:33 +02:00
Andrew Tatomyr
1c3f7099c4 docs: describe reverting a release (#1465) 2024-03-06 19:34:23 +02:00
Andrew Tatomyr
f017e56dcb chore: use real opanapi file in an example for clarity (#1454) 2024-02-29 11:44:57 +02:00
Andrew Tatomyr
356821b91b chore: require changeset or label (#1428) 2024-02-13 18:25:36 +02:00
Andrew Tatomyr
0a65c35fd4 chore: update contributing guide and the PR template (#1402)
Co-authored-by: Lorna Jane Mitchell <github@lornajane.net>
2024-01-25 11:12:50 +02:00
Andrew Tatomyr
6bcf554661 chore: add codeowners and update contributing guide (#1388) 2024-01-10 14:58:11 +02:00
Andrew Tatomyr
d44ad9ee53 feat: resolve refs in config (#1345)
Co-authored-by: IhorKarpiuk <ihor.karpiuk@redocly.com>
2023-12-21 15:32:09 +02:00
Lorna Jane Mitchell
afb5d9425f docs: Update docs tooling and checks (#1330)
* fix: Remove github token with incorrect access

* docs: Improve uninstall CTA in migration guide

* fix: Update checkout action version for vale

* docs: Vale reports errors in any edited file

* docs: Update to make Vale happy

* docs: Markdownlint fixes

* fix: Remove sync actions as this integration is no longer used

* core: Add markdownlint config and github action

Uses rules from https://github.com/Redocly/marketing-site-portal/pull/1142

* chore: Move contributing file to top level

* chore: Add markdown to the file types that we want prettier to operate on

* fix: Make files fit prettier rules, ignore LICENSE since we can't change that

* chore: Combine docs-related workflows into one for simplicity

* docs: Add instructions for running the CLI docs standalone from this repo

* chore: Add changeset, this docs change is quite large

* Update .changeset/bright-steaks-walk.md

Co-authored-by: Ihor Karpiuk <106662428+IgorKarpiuk@users.noreply.github.com>

---------

Co-authored-by: Ihor Karpiuk <106662428+IgorKarpiuk@users.noreply.github.com>
2023-11-20 16:00:32 +00:00