Skip to content

Conversation

@erunion
Copy link
Member

@erunion erunion commented Jul 15, 2022

🧰 Changes

This updates our fork of HTTPSnippet to the latest work upstream. Beyond the overall Typescript rewrite that happened there not much else has changed:

  • Snippets look better and no longer have unnecessarily quoted object keys or double quotes when we can use single in the following targets and clients:
    • JS → XHR
    • JS → jQuery
    • JS → fetch
    • Node → native
    • Node → unirest
  • Axios (JS + Node)
    • The axios imports to be consistent with how the rest of the snippet looks.
  • Axios (Node-only changes)
    • axios .then() and .catch() thenables are now on their own lines.

🧬 QA & Testing

All normal and integration tests should be passing!

dimitropoulos and others added 21 commits April 26, 2022 08:30
see Kong#248 and the commits therein for more context.  Essentially:
- the original client fixtures were unchanged, which hopefully means the 
- all source code is now in strict mode TypeScript
- tests are now all in jest
- the file structure was reorganized so that everything for a particular client is in one place
- the CLI is updated and now using yargs
- all dependencies were updated and some (i.e. `format.utils`) were able to be removed entirely
- more work left to do (including CI with GitHub Actions, for example), but this is a start
)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* Add Github Build Workflow (#250)

* Edit job name

* Replace install with ci on GH workflow

* Add matrix with major node versions (14, 16, 18)

* Disable fail-fast

* Remove node v14 from build GH action
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
…257)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* Remove travis links

* Update README.md

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
@erunion erunion added enhancement New feature or request refactor Issues about tackling technical debt labels Jul 15, 2022
@erunion erunion marked this pull request as ready for review July 16, 2022 23:07
@erunion erunion merged commit df6d56d into main Jul 16, 2022
@erunion erunion deleted the feat/update-to-upstream branch July 16, 2022 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Issues about tackling technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants