Commit Graph

395 Commits

Author SHA1 Message Date
Jack Kavanagh
b168e73225
bump: node 18.18.2 electron 28 (#6926)
* node 18.18.2 electron 28

* bump node-libcurl

* mergeASARs false

* bump playwright

* playwright beta

* playwright alpha

* fix test
2023-12-21 11:13:36 +01:00
Jack Kavanagh
add58d78f8
bump electron 27 (#6274)
* bump

* lock file

* update node-libcurl to electron 26

* lock file

* use stable

* bump electron to 26.3.0

* bump node-libcurl to 2.3.6-20 (curl 8.4.0)

* bump electron 27

* package-lock update

* electron bump to 27.0.2

* rm custom certificate url parsing

* update url matches cert host

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-10-25 16:16:23 +00:00
Jack Kavanagh
f9bd4ff82a
fix: http request loading indicator (#6265)
* flatten url bar

* flattening continued

* more flat

* more more flat

* fix lint

* flatten network send into one call

* unpack send everywhere

* remove send with settgins

* fix types

* fix bug in download

* contain interpolation and modal

* abstract render try catch

* send action

* extract to file

* remove plugin ignore code

* remove unused

* unpack misc functions

* less misc functions

* readd inso tests

* split test runs

* fix test

* fix test

* fix test

* use workspace pathing

* remove check-engine

* add tech debt list
2023-08-13 12:30:04 +02:00
Jack Kavanagh
175921e40d
Chore/fix-install-warnings (#6243)
* gql

* lock file

* upgrade jwt-auith to httplease-asap

* upgrade vite dep

* bump ts eslint parser

* match gql versions

* fix test

* fix package
2023-08-10 13:37:37 +02:00
Filipe Freire
001a88af11
setup new versioning for release-start (#6244)
* setup new versioning for release-start

* delete bump version
2023-08-10 11:04:28 +02:00
Filipe Freire
9800ad5aee
chore: use npm workspaces (herecles) (#6193)
* chore: use npm workspaces

* edit workspaces

* fix

* fix

* force workspace order

* fix lock?

* define max_old_space_size on CI

* rm unnecessary bootstrap

* fix

* cleanup package.json

* bump vite and re-add build to bootstrap

* define paths on tsconfig

* fix some things

* add mocha to vite config

* bump mocha

* remove tsconfigs and project refs

* cache npm install

* fixed types

* assing repo root

* merge lint configs

* fix clean

* fix tests

* setup node

* lockfile

* fix bump

* fix lint markdown

* temporary disable inso tests

* dont use rimraf

* simplify clean

* fix version

* lockfile

* inso build

* fix lint

* lock file

* remove cleans

* remove unused

* tslib hack

* redownload node-libcurl

* rm version from scripts

* fix extrainfo bug

* use npm version

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2023-08-10 00:14:16 +02:00
Jack Kavanagh
b19f69a5c6
Bump/typescript-5 (#6238)
* bump packages

* lockfiles

* fix some types

* fix some bs
2023-08-08 19:05:24 +02:00
Jack Kavanagh
8db34fd7ce
Bump/security (#6139)
* xmldom and protobuf

* bumps

* lock files

* bumps

* remove mkdirp

* fix test

* fix test

* set yaml version

* github flake

* send request bumps

* remove fs-extra

* lockfiles

* update playwright

* fix plugin install

* remove console logs

* fix fetch

* suppress fetch errors

* add typings to insomnia fetch

* remove console logs
2023-07-12 12:14:18 +02:00
Jack Kavanagh
1d46100f01
Bump/linters (#6128)
* bump linters

* lockfiles

* sort imports

* auto fix import sort order

* fix lint errors

* markdown
2023-07-10 23:54:42 +02:00
Jack Kavanagh
bd0aaf3717
concurrently can silent fail (#6099) 2023-07-05 16:06:57 +02:00
Filipe Freire
27bd68efde
chore: bump lerna v6 (#6096)
* chore: bump lerna v6

* edit
2023-07-05 13:22:52 +02:00
Jack Kavanagh
f8c8d93508
Bump/pre-update-modules (#6087)
* bump deps

* lockfiles

* revert oidc bump

* remove dep

* refresh lock files

* refresh insomnia app lock file

* fix test

* more lock files
2023-07-05 08:57:13 +00:00
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