Commit Graph

321 Commits

Author SHA1 Message Date
Opender Singh
88ed96fc47 merge release branch with develop and resolve conflicts 2021-05-25 09:30:09 +12:00
Opender Singh
be59ef1e3b
GH release workflow improvements (#3406) 2021-05-21 08:43:07 +12:00
Opender Singh
456ff71709 remove --force-publish 2021-05-20 13:03:05 +12:00
Dimitri Mitropoulos
a060562697
Fixes clean scripts (#3400)
* 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.
2021-05-19 09:56:10 -04:00
David Marby
59498ce28b Add back --force-publish 2021-05-19 14:50:17 +02:00
Opender Singh
2c6f8d9198 add --no-verify-access flag 2021-05-19 09:19:37 +12:00
Opender Singh
e8035146dc add --yes to publish 2021-05-19 08:50:06 +12:00
Opender Singh
a200e5da3c don't force publish everything 2021-05-18 15:56:30 +12:00
Dimitri Mitropoulos
5dad243ad9
Fix CI Intermittent failures (#3376)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-13 15:30:15 +12:00
Dimitri Mitropoulos
78c4a18f0b
makes all package.json author fields consistent (#3338)
* makes all package.json author fields consistent

* adds Preston Alvarado as a contributor per review feedback.
2021-05-12 08:31:07 -04:00
Dimitri Mitropoulos
5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00
Opender Singh
da155e16ab chore: update script 2021-04-29 08:50:08 +12:00
Opender Singh
69d7514095
Tags for all of the plugins! (#3328)
* feat: add tags to regular plugins

* feat: plugin support for request validator plugins

* feat: add tags to security plugins

* feat: security plugins detecting the expected property

* chore: don't force publish and bump version

* publish npm packages lib@2.2.35-beta.4
2021-04-28 08:14:49 +12:00
Bruno Fusieger
1ea4b4b81f
Fix license metadata (#3233)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-04-23 08:21:22 +12:00
Opender Singh
6ed44f041a chore: publish all 2021-04-22 11:01:16 +12:00
Opender Singh
07bfd858d9 chore: remove force publish 2021-04-22 10:01:53 +12:00
Opender Singh
046bb3973a chore: remove --no-private 2021-04-22 10:01:09 +12:00
Opender Singh
b77dd0b5f7 chore: force-publish versions (for now) 2021-04-22 09:42:39 +12:00
Opender Singh
62f06ca421
Use exact versions and allow publishing of beta NPM packages (#3310) 2021-04-22 08:29:29 +12:00
Opender Singh
26fb78ab99
Remove Core and Designer specific cases (#3034) 2021-02-03 12:19:22 +13:00
Opender Singh
fa4306c5d8
Introduce E2E tests for inso run test (#2917) 2020-12-08 13:03:06 +13:00
Opender Singh
2392c8117a
E2E test to install and consume a plugin (#2847) 2020-11-25 15:26:00 +13:00
Opender Singh
8a6c5cc9b3
Run tests for builds vs packages using env variable (#2660) 2020-09-25 08:14:54 +12:00
Opender Singh
3c345d4be1
Mock server for e2e tests using Prism (#2544)
Co-authored-by: David Marby <david@dmarby.se>
2020-08-25 10:13:29 +12:00
Opender Singh
deaded4674
Add e2e Core tests to PR workflow (#2536)
Co-authored-by: David Marby <david@dmarby.se>
2020-08-25 08:40:40 +12:00
Opender Singh
2b74221549
Add preinstall step to check node version (#2507) 2020-08-13 09:12:31 +12:00
moumni
fa314e5deb
Update root package.json (#2501)
Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-11 11:46:07 +12:00
Opender Singh
fc934698ed
Fix webpack file watching, remove styled-components from insomnia-components bundle (#2497)
* Reinstall webpack...

* Reinstall webpack...

* set styled-components as an external

* Remove script
2020-08-11 07:12:53 +12:00
Opender Singh
cb991ba956
Revert "Fix app reloading and insomnia-components in watch mode" (#2496)
This reverts commit 971134fae2.
2020-08-07 08:49:45 +12:00
Opender Singh
971134fae2
Fix app reloading and insomnia-components in watch mode (#2493)
* Fix fsevents

* Add node_env for netlify
2020-08-07 08:48:49 +12:00
Mike Ellan
784357f089
Sidebar code mirror interactions (#2433)
* Lifting path clicked up to sidebar root

* Abstracting out path click to story (and app)

* Adding click to scroll, updating sidebar components

* Scroll fix for sidebar

* Cleaning up log

* PR feedback

* PR Feedback, fix schemas & request body rendering

* PR feedback & cleanup

* Prop value checking, selection positioning

* Pulling remote import

* Styled components into insomnia-app, obj destructuring, typing

* Refactoring item path mapping

* Abstracting the mapping of specs for position, bumping down styled components version.

* Directly passing ... rest args initial work

* Pulling logs, removing array concatenation

* Pulling click handler out of render method

* Rolling position mapping into scroll positining method

* Opening up type, could be number/string/array

* Update package-lock.json

* Grabbing height from window, typing API vars, checking path

* Creating scroll method dedicated to design mode

* Moving typing of spec related content to Props def.

* Type checking on sections, invalid section component
2020-08-03 13:57:12 -04:00
Gregory Schier
93c91ebdbe
Upgrade Electron (#2403)
* Upgrade Electron to 8, bump Node version, fix font-manager

* Specify nodeIntegration as true

* Get <webview> working again

* Get <webview> working again

* Electron 9.0

* Escape parens in plugin install exec path (newer Electron added them)

* Bump versions for first alpha

* Electron 9.1

* Convert all Electron APIs that switched from callback to Promise

* Fix send-and-download feature

* Remove user-agent override hack for OAuth 2 login window

* Bump alpha version

* Fix issue regarding chokidar

* Add package-lock.json

* Upgrade chokidar because @babel/cli uses an older incompatible version of fsevents

* Fix source maps

* Read .nvmrc in GitHub actions

* Address remaining PR feedback
2020-07-27 22:18:26 -07:00
Gregory Schier
b7c11e468a Only insomnia-app tests for pre-release 2020-07-02 12:42:42 -07:00
Opender Singh
24630e1873 Fix github workflow 2020-07-02 11:52:49 +12:00
Opender Singh
b99228d080 Rename insomnia-cli to insomnia-inso 2020-07-02 11:28:05 +12:00
Gregory Schier
487047f843
Add test:pre-release script that excludes CLI tests (#2332)
* Add test:pre-release script that excludes CLI tests

* Less repetition
2020-06-30 13:54:38 -07:00
Opender Singh
1d10a42851
Upgrade husky and eslint (#2306)
* hopefully

* Update

* Update

* Fix

* Update
2020-06-19 05:48:09 +12:00
Opender Singh
65105da797
The One With Hooks (#2286)
* Add

* Update

* Remove extra peer dep

* Remove extra peer dep undo

* Undo stuff

* Convert two components (validation)

* Undo packed dep change

* Fix for react-dom alias to @hot-loader/react-dom (#2292)

Co-authored-by: Gregory Schier <gschier1990@gmail.com>
2020-06-13 16:56:15 +12:00
Opender Singh
f38bf20e13
Headless CLI POC (#2258) 2020-06-12 11:44:12 +12:00
Gregory Schier
418be4c495
Add back fsevents (#2270) 2020-06-09 17:31:41 -07:00
Gregory Schier
2d74e15c54 Fix rimraf recursion on fsevent 2020-05-28 14:41:51 -07:00
Gregory Schier
4387381fd1
Upgrade node-libcurl (#2223)
* deps: bump node-libcurl to latest prerelease version

* Add .npmrc, bump Electron to 3.1.13, remove electron-rebuild

* Minor tweaks

* package locks

* Bump version

* Switch to font-manager and fix fsevents rimraf

* Try generating npmrc inside build/

* Try uninstall of fsevents instead

* Bump

* Try npm env vars

* Extra .npmrc

* Try npm env vars in all CI

* Fix insomnia-cookies dependencies

* Fix typo

* Loosen nvmrc version

* Remove npm uninstalls

* Build outside of Docker

* Remove Docker, build all on GH Actions

* Bump Core version

* Disable Snapcraft for now

* Bump

* Disable snap for Designer too

* Update product name for Core

* Update test.yml

* Remove Travis file

* Make userData folder explicit and add Curl types

* Remove old Kong icon

* Remove curl.js adapter

* Revert productName

* Fix release date

* Try remove windows build tools from CI

* Add comment about Snap deploys

* Remove the pane border on Windows (no longer necessary)

Co-authored-by: Jonathan Cardoso Machado <me@jonathancardoso.com>
2020-05-28 10:09:51 -07:00
Opender Singh
443d6df08d
Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
Opender Singh
b75fe624fa
Bug in restoring code-folds (#2114) 2020-05-06 08:36:25 +12:00
Gregory Schier
4cb8e34aef Rename some old things 2020-04-26 14:08:50 -07:00
Gregory Schier
c6a7c4d682 Initial designer merge 2020-04-26 13:33:39 -07:00
Gregory Schier
7bc219422e
Update Babel and ESLint and fix all related errors (#2032)
* Update Babel and ESLint and fix all related errors

* Update babel-jest
2020-04-09 10:32:19 -07:00
Gregory Schier
c20166fc27 Move change-case dependency to proper place 2020-04-07 11:00:57 -07:00
Pocket7878
9f05035e49
feature: Generate Variable Name from SecuritySchemas name parameter. (#1978) 2020-04-03 16:50:50 -07:00
Gregory Schier
6200c9e8c7
Add workspace action plugins and expose context.data helpers (#1901) 2020-01-20 13:07:07 -05:00