Commit Graph

383 Commits

Author SHA1 Message Date
Jack Kavanagh
c0e25d0490
Bump/electron-25 (#6081)
* bump

* lockfiles

* upgrade doc
2023-07-04 22:55:47 +02:00
Jack Kavanagh
ffbf2ee42f
Electron 23 upgrade (#5987)
* electron 23 bump

* lock files

* fix type
2023-06-29 18:02:02 +02:00
Jack Kavanagh
ac0dd5e4b3
use engines config in order to support nix-shell (#5521)
* add shell.nix

* use engines

* fix engine range

* fix
2023-01-05 13:17:34 +00:00
Jack Kavanagh
2bdd84ad22
make all packages private (#5339)
* make all packages private

* remove lerna json and publish scripts

* clean up npmignores

* remove major npm github ci logic
2022-10-27 17:55:30 +02:00
David Fluck
dbf597c2d8
INS-1785: Add Inso NPM package test (#5116)
* Add Inso NPM package test.

* PR changes

* Delete shell script.

* Rename script

* PR changes

* Try cross-env on test:bundled-inso to fix Windows

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-10-14 08:27:10 +00:00
Filipe Freire
5bba2e9545
[INS-2022] Initial exploration multiple test projects (#5244)
* Initial exploration multiple test projects

* Replace duplicate scenario with one to be filled in

* Simplify number of playwright project configs

* Fix testMatch setting on playwright config

* Edit github actions to distinguish between CI and Release runs
2022-10-11 08:56:12 +00:00
David Fluck
a3fa6ca87f
Revert "only build sr when used (#4772)" (#5075)
This reverts commit 70f8e7fbf9.
2022-08-15 14:15:30 -04:00
Dimitri Mitropoulos
26fe408344
remove nunjucks templating in experimental plugin themes (#4933)
* remove nunjucks usage from core themes

* adds package downloader script

* adds runtime validation for plugins still using nunjucks

* generateThemeCSS no longer needs to be async

* removes Nunjucks as valid type
2022-07-07 13:19:17 +00:00
John Chadwick
3234c05c6e
Enable noImplicitAny. (#4864)
* Enable noImplicitAny.

* extracts PreviewMode

* Update packages/insomnia/src/network/certificate-url-parse.ts

* Add missing type.

* un-any-ifies some of the modal onDone callbacks

easy enough.

* few more onDone, but the async ones this time

* Get rid of jsonlint any.

* adds noImplicitAny support for insomnia-smoke-test

* fixes playwright type error

* avoid full @ts-ignore in playwright

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-06-14 23:41:19 -04:00
Jack Kavanagh
70f8e7fbf9
only build sr when used (#4772) 2022-06-06 10:50:09 +00:00
Filipe Freire
0517a0c103
chore: Upgrade Spectral (new clean attempt) (#4834)
* Upgrade Spectral Dep (clean attempt)

* Add smoke test for OpenAPI import (INS-1425)

* Remove immer and unnecessary await
2022-06-03 11:44:54 +01:00
Mark Kim
5de30a42d2 add esbuild-runner back 2022-06-02 09:50:53 -04:00
Dimitri Mitropoulos
cc9f11be30
chore(build): move insomnia-inso to esbuild (#4806) 2022-05-25 09:58:28 -04:00
Dimitri Mitropoulos
8bc653388c
chore(deps) @jest/globals for insomnia (#4798) 2022-05-20 07:05:25 -04:00
Dimitri Mitropoulos
52393eccc0
chore(deps): upgrades jest to 28 (#4783) 2022-05-17 08:18:06 -04:00
David Marby
53466fc182
Switch to esbuild-runner for running changelog-image to avoid needing tsimportlib (#4742) 2022-05-02 10:25:55 +00:00
Jack Kavanagh
4a56db0560
remove unused deps (#4730)
* restore packages used in scripts

* package lock
2022-04-28 12:36:05 +00:00
Dimitri Mitropoulos
cced992115
Upgrades electron to 18.1.0 (#4643)
Co-authored-by: David Marby <david@dmarby.se>
2022-04-27 15:40:05 +00:00
Dimitri Mitropoulos
213e1dd1c8
rename insomnia-app/app to insomnia/src (#4491) 2022-04-20 17:42:19 +00:00
David Marby
864ac9f0c2 Fix bumping the app version 2022-04-20 17:14:33 +02:00
Jack Kavanagh
6e3e6ac102
remove packedDependencies and custom package script (#4704)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: David Marby <david@dmarby.se>
2022-04-20 13:49:07 +00:00
James Gatz
eb21506d40
️vite/esbuild (#4329)
* ️ vite

* replace webpack with esbuild in build script

* move build sr to esbuild

* esbuild send-request shim

* remove main externals

* fix lint

* remove webpack from insomnia-testing

* removes more webpack stuff

TODO after this PR: make debugging work again

* pin swagger-ui-react to version before esm change

* restore prepare script to build in bootstrap

* use default tsconfig for eslint and apply fixes

* bundle insomnia-components as cjs/esm

* makes ca_certs.ts pass linting

* builds types for insomnia-components

* improve build script for production

* skip typechecking insomnia-components

* separate package from build

* add electron to externals

* add preload bundling and fix build output

* exclude grpc/proto-loader from the bundle

* move node packages to commonjs

* don't bundle grpc since it's a node module

* fix content security error

* use vite lib mode for insomnia-components

* tidy up vite config and tsconfig options

* update package-locks

* use process.env. for static build time variables

* fix vscode debugging

Co-authored-by: jackkav <jackkav@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2022-04-18 17:27:39 +02:00
Dimitri Mitropoulos
7d8c303318
chore(deps): styled-components (#4669)
* upgrades styled-components

* lockfiles

* map styled-components to the insomnia-app node_modules to fix React version mismatch

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2022-04-08 15:47:39 +01:00
Dimitri Mitropoulos
9700e7bde8
Remove flow (and webpack) from portal plugin, replace with TS and ESBuild (#4650) 2022-04-04 12:17:01 +00:00
David Marby
0c1afbe48d
Add changelog-image generator (#4649) 2022-03-30 12:45:16 +00:00
Dimitri Mitropoulos
abea565f83
updates cross-env to latest (from prior: August 2016 version) (#4551) 2022-03-18 15:41:46 +00:00
Jack Kavanagh
4c657d4e5b
remove :smoke (#4597) 2022-03-16 09:36:41 +00:00
David Marby
0bfb097676
Fix lerna version bumps and release-recurring skipping, again (#4583) 2022-03-10 17:45:11 +00:00
David Marby
d3b4322bf2
Fix lerna version bumps and don't run release recurring for release PRs (#4576) 2022-03-10 16:58:42 +01:00
David Marby
50df8c1a93
Stop creating tags for lerna on release-start (#4573) 2022-03-10 12:37:17 +01:00
Filipe Freire
b3aa6b9cec
Easier Alpha/Beta/Stable releases (INS-1435) (#4516)
Co-authored-by: David Marby <david@dmarby.se>
2022-03-09 16:06:53 +01:00
Dimitri Mitropoulos
f86ee53ea2
updates type-fest to latest (#4552) 2022-03-08 18:05:21 -05:00
Jack Kavanagh
1f05683fad
Chore/upgrade-electron-17 (#4529)
* 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>
2022-03-07 13:10:35 +00:00
David Marby
1092940947
Remove storybook (#4535) 2022-03-01 13:52:10 +01:00
Jack Kavanagh
e768e05bfa
improve smoke test docs (#4421) 2022-02-18 12:47:41 +00:00
Filipe Freire
1160b4a09c
Recurring releases of insomnia app (INS-1429) (#4474)
* 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>
2022-02-10 15:32:33 +00:00
John Chadwick
15cc3d2099
Update TypeScript version. (#4463)
* 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>
2022-02-08 20:19:22 +00:00
Dimitri Mitropoulos
8f409a38fc
updates concurrently, lerna, eslint (#4428) 2022-02-02 11:21:25 -05:00
Jack Kavanagh
cfed59e45e
can run playwright against latest changes (#4367) 2022-01-19 11:06:28 +00:00
Opender Singh
dc4bc1ae48
Remove NPM build dependency for lerna packages (#4306) 2021-12-16 01:08:45 +01:00
Opender Singh
bc5a58f599 change alpha to beta for npm dist 2021-12-07 07:06:44 +13:00
Jack Kavanagh
28378dc3fd
spike: use babel preset typescript to transpile app (#4142)
* use babel-preset-typescript

* run type-check in release process
2021-11-03 08:06:52 +00:00
Opender Singh
096405fe15 add version all npm script 2021-10-21 22:08:17 +13:00
Opender Singh
054919cf24 convert to alpha tag 2021-10-15 11:17:47 +13:00
Opender Singh
c3465204aa
Rename "compress" terminology to "artifacts" to be more representative (#4091) 2021-10-12 21:23:25 +00:00
Opender Singh
3b7b505c74
Inso binaries codesign & notarize on macOS (#4082) 2021-10-12 13:10:09 +13:00
Opender Singh
615287ccfc
Create single inso executable using pkg (#4049)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-10-06 22:01:43 +00:00
Dimitri Mitropoulos
04a52f4867
INS-975 workaround: add immer directly (#4054)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-09-29 17:58:34 +00:00
Opender Singh
c7f07fd63e Merge branch 'release/2021.5.2' into develop 2021-09-01 09:51:26 +12:00
Opender Singh
ba459095e9 add back empty lines 2021-08-31 17:28:00 +12:00