mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-10 12:47:49 +00:00
feat: push command (#234)
* feat: wip push command * chore: rebase to new structure * chore: handle cli push arguments * chore: get signed url; upload file to s3; create hash from files; * chore: upsert logic * upsert + version logic updated * chore: multiple sign & upload files * chore: improve destination arg validation * chore: execution time * fix: added isAuthorized client logic * chore: extended upload files logic * chore: default branch logic * fix: naming and other corrections * fix: destination arg regexp updated * chore: check the existence of the organization * fix: file path to s3 upload * chore: refactor gathering files to upload * fix: path resolve for root * chore: add files output * chore: fix files output * chore: simplify findConfig * fix: bundle definition before pushing * fix: upload all related files to plugins * fix: ignore file & naming corrections * fix: bundling definition * chore: minor cleanup Co-authored-by: romanhotsiy <gotsijroman@gmail.com>
This commit is contained in:
@@ -192,8 +192,7 @@ describe('collect refs', () => {
|
||||
|
||||
expect(resolvedRefs).toBeDefined();
|
||||
|
||||
expect(Array.from(resolvedRefs.keys()).map((ref) => ref.substring(cwd.length + 1)))
|
||||
.toMatchInlineSnapshot(`
|
||||
expect(Array.from(resolvedRefs.keys()).map((ref) => ref.substring(cwd.length + 1))).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
"openapi-with-back.yaml::./schemas/type-a.yaml#/",
|
||||
"openapi-with-back.yaml::./schemas/type-b.yaml#/",
|
||||
|
||||
Reference in New Issue
Block a user