* bump node, electron, libcurl
* bump electron-builder
* stub performance, because inso imports react
* bump @types/node
* match up builder versions
* Disable consent prompts for oidc server
* bump electron and libcurl to latest
* waitForCookies for oauth tests
* Bump NodeJS to 16.13.0
* removes node 14 hack for BufferEncoding
* Replace oidc-provider html interaction pages with a simple html form
* make document cookie wait explicit
Co-authored-by: David Marby <david@dmarby.se>
* Update default electron-builder targetgs
* Allow setting a build ref
Changes the default version to `0.0.1-dev+unknown`, so that build/packaging can be easily ran locally without setting any environment variables.
* Adds recurring release workflow
New workflow that'll pre-bake artifacts when there's changes on PRs or on develop.
Artifacts can be used for all platforms to test out a PR or latest develop without the need to build locally.
Co-Authored-By: David Marby <david@dmarby.se>
* Make recurring flow independent from Test flow
Co-Authored-By: David Marby <david@dmarby.se>
* Use setup-node@v2
Co-Authored-By: David Marby <david@dmarby.se>
* Update .github/workflows/release-recurring.yml
Co-authored-by: David Marby <david@dmarby.se>
* It's always the single quotes 🙏😚
* Use bash shell
* Disable fail-fast
* Add cancel-in-progress setting to recurring releases
If someone pushes a new commit, triggering a new recurring job on a PR or develop, we cancel ongoing workflow.
Co-Authored-By: David Marby <david@dmarby.se>
* Change concurrency setting to workflow level
Co-Authored-By: David Marby <david@dmarby.se>
Co-authored-by: David Marby <david@dmarby.se>
* Update TypeScript version.
This makes the TypeScript version match across other codebases, to
facilitate better code sharing.
* Fix TS errors after update.
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* removes (unused and unwanted) husky scripts
might as well, it's only taking up space for nothing in our node_modules
* adds `lerna run clean` to main clean script
we didn't have `clean` scripts in the packages before, but now that we do, it makes sense to.... hahah... _use them_.
Note that it's important that we run the package scripts first, because otherwise after the rimraf (which is now at the end) there's no `lerna` left to call.
* adds missing clean script to insomnia-components
although it looks like there are other changes at first glance, there shouldn't be any behavioral differences now except the fact that build will always generate SVGs (which, was an oversight/bug that it wasn't before). We need this to occur so that when we clean it removes the things that were built, and when we build it replaces those same things.
* adds a postclean script to insomnia-app like every other package
I'll be honest, I'm not entirely sure what the reason is for having `postclean` scripts in every package with (mostly) `rimraf dist` (i.e. instead of just including that in the main clean script at the end), but that's clearly the convention - so for now I'm just following it
* removes references to old build artifact location
well, except for the .gitignore. I guess I could remove it from the .gitignore, commit it, commit deleting it, which would clear it from everyone's projects... but I'll just leave it there for a bit in the .gitignore. hopefully people either start fresh or run `clean` from the root every once in a while, which will clean this up.
After a few weeks or months we can remove these two references (in the package.json.clean and .gitignore) altogether if we feel like it.
* removes unused reference in config to build artifact
I searched high and low for every place I could find that consumes this file and none of them seem to use this field anyway. And even if they did, it's wrong. In fact, it's been wrong for a while I'd guess because (relative to the root, if that's what it was intended to mean).
As far as I can tell this was added c6a7c4d682 (diff-6918d2464ad7fb0f3e985d8587ce0c4218eeba6c6dea60c58642251f4db99ecb)
So I even checked out that commit and looked at all usages of that file at that time and it was, there too, unused (so far as I can tell). Appears to be a case of wishful thinking that it'd be useful for something, not sure.