Commit Graph

432 Commits

Author SHA1 Message Date
Jack Kavanagh
0fcd514f2e Bump-vite-v6 (#8608)
* v6

* fix
2025-04-17 12:38:21 -07:00
yaoweiprc
7ef0daf5c1 Improve WSDL import [INS-4291] (#8314)
Improve WSDL import
* Use the feature of apiconnect-wsdl library to import the wsdl files which reference other xsd files.
Patch the npm package apiconnect-wsdl to remove the limits for generating SOAP request samples.

* show detailed error for each convertor when importing, remove unused generic type

* fix review issues
2025-04-17 16:17:02 +08:00
Jack Kavanagh
a6cfebec3e Add-playwright-linting-to-smoke-tests (#8614)
* add smoke lint

* add pw lint

* configure

* autofix

* fixed errors

* fix lint
2025-04-15 17:04:31 +02:00
Jack Kavanagh
3baeb86490 bump ts 5.8 (#8618) 2025-04-15 14:45:54 +02:00
Jack Kavanagh
b30978e33b Full-prettier-run (#8605)
* prettier

* remove markdown linting
2025-04-11 13:37:19 +02:00
Jack Kavanagh
ed001e0c98 Prettier pass 3 (#8586)
* first pass

* use mjs

* 120

* single quote

* consistent quotes

* fix on save

* ancestors

* add recommended

* make vscode integration work

* remove prettier runtime dep

* use esm
2025-04-11 13:11:34 +02:00
Jack Kavanagh
c8c2fcc8a3 renamed sdk to scripting-environment (#8604)
* renamed sdk to scripting-environment

* lock file
2025-04-10 17:03:10 +02:00
Curry Yang
76b8cbe517 chore: simplify scripts in package.json (#8598)
* chore: remove unuse scripts in package.json

* chore: delete build:app and use build instead
2025-04-09 14:16:44 +02:00
Jack Kavanagh
b429feb2f2 Eslint-v9 (#8578)
* autofix recommended

* first pass

* autofix

* fixed lint errors

* pin ts
2025-04-03 16:15:03 +00:00
Jack Kavanagh
ed81844130 eslint: remove unused disabled rules (#8571)
* remove unused disabled rules

* bump plugins

* bump tslint and ignore new rules

* fix exception

* remove unused plugins

* remove config helpers

* remove unused dep
2025-04-02 16:18:21 +02:00
Filipe Freire
3f86211139 chore: bump electron 35 [INS-5154] (#8490)
* chore: bump electron 35 [no-ticket]

* fix: build.ts poiting to node 22

* fix: update types

* fix: comment out inso build.ts node version check

* fix: bump npx pkg

* skip flakey tests

* bump timeout

* use glob instead of regex

* fix windows inconsistency

* revert experiemental changes

* fix: revert timeout

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2025-03-20 10:53:34 +01:00
yaoweiprc
cd1625a213 Solve the bug related to importing multiple workspaces in one file [INS-5077] (#8442)
* Solve the bug that it imports all resources to all workspaces when there are multiple workspaces in one imported file

* add smoke test

* Apply suggestions from code review

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* Use import-from-clipboard instead of import-from-file in smoke test

---------

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2025-03-18 12:03:11 +00:00
Jack Kavanagh
3ff0d34c62 Bump-electron-33 (#8285)
* update flake

* bump node and electron versions

* bump libcurl

* package-lock

* libcurl 2.33.3

* fix types

* bump libcurl 2.33.4

* fix electron breaking change webUtils

* oops

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2025-01-10 16:44:20 +01:00
Jack Kavanagh
b5cb3d376f chore: Package json bumps (#8030) 2024-10-01 01:38:40 +02:00
James Gatz
873721c591 update typescript and lib to 2023 (#8022)
* update typescript and lib to 2023

* fix type check

* make key thing uniform

* fix types

* fix types some more

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-09-27 15:52:34 +02:00
Jack Kavanagh
ccf577b9df Bump/electron-31 (#7884)
* bump required node version

* bump node-libcurl

* npm i

* update npmrc

* fix

* proper fix of package-lock

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-08-30 22:57:18 +02:00
Jack Kavanagh
2ffbecf192 only minify in prod (#7879) 2024-08-28 13:27:11 +00:00
yaoweiprc
039a5bee76 import postman data dump at once (#7834) 2024-08-23 11:18:04 +08:00
Jack Kavanagh
fc5699e5f3 inso cli dx improvements (#7776)
* clean up github artifacts flow

* add console output test

* add timeline

* prepare test harness

* fix lint

* move test

* set shell to false
2024-07-30 13:29:45 +02:00
Jack Kavanagh
e2b466a0cd Vitest-2 app package (#7757)
* vitest insomnia-inso

* remove skipped logs

* vitest insomnia config

* remove jest

* mocks?

* remove globalBeforeEach smell

* 110 left

* 38 failing

* 34

* 30

* 26

* 3 to go

* fix tests

* fix type checks

* delete send-request

* fix lint

* test runner hack for now

* remove duplicate snapshots

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-26 16:56:56 +02:00
Jack Kavanagh
ecba036fe3 vitest (#7754)
* vitest
- testing package

* remove jest and tidy

* sdk tests pass

* remove tsconfig

* vitest insomnia-inso

* snapshots

* clean up

* remove skipped logs

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-25 13:37:15 +01:00
Jack Kavanagh
44642a49e9 remove send-request (#7731)
* remove send-request

* move types

* fix type-checks

* remove pointless const

* handle react in inso unit test

* remove
2024-07-18 15:06:28 +02:00
Jack Kavanagh
8c729ecae7 inso fifth pass (#7601)
* extract lint and export logic

* add test and update doc

* some thoughts

* add test each

* notes

* comments

* add more cases

* improve types, flatten send request

* collection runner poc

* verbose

* flatten

* add bail

* stabilise pathing

* add test

* fix type check

* improve testing experience

* fix tests

* tidy up package.json

* tidy up package and test.yml

* remove old smoke test

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
2024-07-09 13:06:55 +01:00
Jack Kavanagh
72edb6a0a6 Inso-third-pass (#7588)
* inline utils and clean outputs

* improving the log output

* dx

* fix tests abstract path

* return early

* flatten options and utils

* flatten logger

* add export file and git examples

* flatten cli.ts

* use await api and flatten

* flatten cli

* fix test
2024-06-26 11:52:20 +02:00
Jack Kavanagh
2ff059f7a2 remove oas 2 kong (#7503)
* remove oas 2 kong

* remove old test
2024-06-11 10:38:09 +01:00
Jack Kavanagh
50965a4483 Bump/electron-30 (#7354)
* bump node

* bump electron

* pin node v

* bump libcurl

* fix lock

* use stable

* types

* latest electron
2024-06-05 16:20:56 +02:00
Hexxa
2d9e2da52e chore(pre-req script): move all sdk files to sdk workspace - INS-3379 (#7255)
* feat: move script sdk to one workspace and update importing paths

* test: add jest config for enabling tests

* fix: failed to build package because of missing .node loader
2024-04-12 22:24:14 +08:00
Jack Kavanagh
a15e649602 bump node and electron versions (#7203)
* bump versions

* node 20.9

* remove node-externals and use plugin workaround for ms pkgs

* external send-request

* bump electron latest
2024-04-11 12:49:58 +00:00
Jack Kavanagh
4c82c8ce75 minor bumps (#7243) 2024-04-05 17:42:41 +02:00
Jack Kavanagh
5a2cd8fd9c Bump/minors-and-types (#7234)
* bump minors and types

* lock

* fix types

* windback

* yaml-source-map pins to yaml 1.6.0

* swagger css path

* fix tests

* fix type

* fix o2k tests

* fix markdown

* fix smoke tests
2024-04-04 14:48:56 +02:00
Jack Kavanagh
112a1c8060 feat: append to timelines (#7070)
* working pass

* fix tests

* fix await issue with streams

* fix test

* fix mockbin test

* move to main

* inso cli test
2024-02-07 18:51:10 +01:00
Insomnia
51b9ef76e9 🚀 8.6.1 (#7014)
* Bump app version to 8.6.1

* feat(unit-tests): Unit test reordering (#7020)

* re-orderable test suites

* re-orderable tests

* fix ts

* Use db methods for sorting

* sort suites and unit tests in inso

* fix suite rename

* Fixes https://github.com/Kong/insomnia/issues/7011 (#7012)

* Fixes https://github.com/Kong/insomnia/issues/7009 (#7010)

* chore: edit changelog process [INS-3456] (#7001)

* fix(workspace): Add default name for when creating a workspace (#7046)

* Add default name for when creating a design/collection

* workspace update and creation

* fix filter history keys not being valid selectors (#7040)

* remove invalid wide css prop (#7041)

* feat(environment): update environments icons (#7050)

* update environments icons

* fix workspace name

* fix one line editor being scrollable (#7059)

* change 8.0 to 8 (#7061)

* Cleanup page containers and add hint container in the page (#7060)

* feat(pane-tabs): Consistent styles for tabs (#7062)

* response/request pane tab counts

* tab dropdown colors

* fix updates to db leading to errors in loader fetchers (#7033)

* feat(command-palette): add button to open the command palette (#7064)

* add button for quick search

* update button styles in project

* make it look good with gh stars

* fix ts issue

* changelog

---------

Co-authored-by: Jack Kavanagh <3679927+jackkav@users.noreply.github.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Jeroen Van den Berghe <vandenberghe.jeroen@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-02-06 12:16:54 +00:00
Jack Kavanagh
b5ecd5c261 Remove/changelog-stuff (#7036)
* cleanup

* lock
2024-01-31 13:22:06 +01:00
Jack Kavanagh
4ab203a1e1 Bump/esbuild (#7035)
* esbuild 18

* lock

* esbuild 19

* lockfile

* update esbuild watcher
2024-01-31 12:21:18 +01:00
Jack Kavanagh
e300b61324 bump eslint (#7026) 2024-01-29 13:49:20 +01:00
Jack Kavanagh
dd791fe349 Bump/jest-29 (#7027)
* bump jest pkgs

* fix tests
2024-01-29 13:49:07 +01:00
Jack Kavanagh
9a1545c964 feat: mock second pass (#7022)
* fall back hidden request

* redirect after add new route

* add session id

* remove custom HAR types

* remove any type hack

* fix tests

* fix tests

* fix test

* add mock server export

* clean console

* test request clean up

* list routes on imports

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-01-29 13:00:24 +01:00
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