From bc5a58f599a6293905f3f53a66a7fc0338aae296 Mon Sep 17 00:00:00 2001 From: Opender Singh Date: Tue, 7 Dec 2021 07:06:44 +1300 Subject: [PATCH 1/7] change alpha to beta for npm dist --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5808a1c4a..57dca7b54 100644 --- a/package.json +++ b/package.json @@ -16,10 +16,10 @@ "lint:markdown": "markdownlint-cli2 \"**/*.md\" \"#**/node_modules\"", "lint:fix": "lerna run lint:fix --stream --no-bail", "bootstrap": "npm install && lerna bootstrap && lerna run --stream bootstrap", - "version": "lerna version --exact --preid alpha", + "version": "lerna version --exact --preid beta", "version:all": "npm run version -- --force-publish", "version:dry": "npm run version -- --no-git-tag-version", - "release": "lerna publish from-git --pre-dist-tag alpha --no-verify-access --yes", + "release": "lerna publish from-git --pre-dist-tag beta --no-verify-access --yes", "clean": "lerna run clean --parallel --stream && lerna clean --yes && rimraf node_modules", "test": "lerna run --stream --parallel test", "inso-start": "npm start --prefix packages/insomnia-inso", From 4cdad1069dab8ed1ee55685519eacb95fafbd007 Mon Sep 17 00:00:00 2001 From: Opender Singh Date: Tue, 7 Dec 2021 07:07:04 +1300 Subject: [PATCH 2/7] bump app version --- packages/insomnia-app/config/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/insomnia-app/config/config.json b/packages/insomnia-app/config/config.json index 2154918d6..a600aca1e 100644 --- a/packages/insomnia-app/config/config.json +++ b/packages/insomnia-app/config/config.json @@ -1,5 +1,5 @@ { - "version": "2021.6.0", + "version": "2021.7.0-beta.0", "name": "insomnia", "executableName": "insomnia", "appId": "com.insomnia.app", From f1284ed4696a9330a098d870015c82838be49f72 Mon Sep 17 00:00:00 2001 From: Opender Singh Date: Tue, 7 Dec 2021 07:11:47 +1300 Subject: [PATCH 3/7] version packages lib@2.4.1-beta.1 --- lerna.json | 2 +- packages/insomnia-app/package-lock.json | 2 +- packages/insomnia-app/package.json | 44 +++++++++---------- packages/insomnia-common/package-lock.json | 2 +- packages/insomnia-common/package.json | 2 +- .../insomnia-components/package-lock.json | 2 +- packages/insomnia-components/package.json | 2 +- packages/insomnia-config/package-lock.json | 2 +- packages/insomnia-config/package.json | 4 +- packages/insomnia-cookies/package-lock.json | 2 +- packages/insomnia-cookies/package.json | 2 +- packages/insomnia-importers/package-lock.json | 2 +- packages/insomnia-importers/package.json | 2 +- packages/insomnia-inso/package-lock.json | 2 +- packages/insomnia-inso/package.json | 28 ++++++------ .../insomnia-send-request/package-lock.json | 2 +- packages/insomnia-send-request/package.json | 10 ++--- .../insomnia-smoke-test/package-lock.json | 2 +- packages/insomnia-smoke-test/package.json | 2 +- packages/insomnia-xpath/package-lock.json | 2 +- packages/insomnia-xpath/package.json | 4 +- packages/openapi-2-kong/package-lock.json | 2 +- packages/openapi-2-kong/package.json | 2 +- .../insomnia-plugin-base64/package-lock.json | 2 +- plugins/insomnia-plugin-base64/package.json | 2 +- .../package-lock.json | 2 +- .../insomnia-plugin-cookie-jar/package.json | 4 +- .../package-lock.json | 2 +- .../insomnia-plugin-core-themes/package.json | 2 +- .../insomnia-plugin-file/package-lock.json | 2 +- plugins/insomnia-plugin-file/package.json | 2 +- .../insomnia-plugin-hash/package-lock.json | 2 +- plugins/insomnia-plugin-hash/package.json | 2 +- .../package-lock.json | 2 +- plugins/insomnia-plugin-jsonpath/package.json | 2 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../package.json | 4 +- .../package-lock.json | 2 +- .../insomnia-plugin-kong-portal/package.json | 4 +- plugins/insomnia-plugin-now/package-lock.json | 2 +- plugins/insomnia-plugin-now/package.json | 2 +- .../insomnia-plugin-prompt/package-lock.json | 2 +- plugins/insomnia-plugin-prompt/package.json | 2 +- .../insomnia-plugin-request/package-lock.json | 2 +- plugins/insomnia-plugin-request/package.json | 4 +- .../package-lock.json | 2 +- plugins/insomnia-plugin-response/package.json | 4 +- .../insomnia-plugin-uuid/package-lock.json | 2 +- plugins/insomnia-plugin-uuid/package.json | 2 +- 51 files changed, 97 insertions(+), 97 deletions(-) diff --git a/lerna.json b/lerna.json index 75253061d..cda77269d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "tagVersionPrefix": "lib@", - "version": "2.4.0", + "version": "2.4.1-beta.1", "includeMergedTags": true, "command": { "version": { diff --git a/packages/insomnia-app/package-lock.json b/packages/insomnia-app/package-lock.json index 1c06a551f..b56f61477 100644 --- a/packages/insomnia-app/package-lock.json +++ b/packages/insomnia-app/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-app", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-app/package.json b/packages/insomnia-app/package.json index 4358eaf4a..d4b8e3221 100644 --- a/packages/insomnia-app/package.json +++ b/packages/insomnia-app/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "2.4.0", + "version": "2.4.1-beta.1", "name": "insomnia-app", "homepage": "https://konghq.com", "description": "The Collaborative API Design Tool", @@ -101,30 +101,30 @@ "html-entities": "^1.2.0", "httpsnippet": "^1.23.0", "iconv-lite": "^0.4.15", - "insomnia-common": "2.4.0", - "insomnia-components": "2.4.0", - "insomnia-config": "2.4.0", - "insomnia-cookies": "2.4.0", - "insomnia-importers": "2.4.0", - "insomnia-plugin-base64": "2.4.0", - "insomnia-plugin-cookie-jar": "2.4.0", - "insomnia-plugin-core-themes": "2.4.0", - "insomnia-plugin-file": "2.4.0", - "insomnia-plugin-hash": "2.4.0", - "insomnia-plugin-jsonpath": "2.4.0", - "insomnia-plugin-kong-declarative-config": "2.4.0", - "insomnia-plugin-kong-kubernetes-config": "2.4.0", - "insomnia-plugin-kong-portal": "2.4.0", - "insomnia-plugin-now": "2.4.0", + "insomnia-common": "2.4.1-beta.1", + "insomnia-components": "2.4.1-beta.1", + "insomnia-config": "2.4.1-beta.1", + "insomnia-cookies": "2.4.1-beta.1", + "insomnia-importers": "2.4.1-beta.1", + "insomnia-plugin-base64": "2.4.1-beta.1", + "insomnia-plugin-cookie-jar": "2.4.1-beta.1", + "insomnia-plugin-core-themes": "2.4.1-beta.1", + "insomnia-plugin-file": "2.4.1-beta.1", + "insomnia-plugin-hash": "2.4.1-beta.1", + "insomnia-plugin-jsonpath": "2.4.1-beta.1", + "insomnia-plugin-kong-declarative-config": "2.4.1-beta.1", + "insomnia-plugin-kong-kubernetes-config": "2.4.1-beta.1", + "insomnia-plugin-kong-portal": "2.4.1-beta.1", + "insomnia-plugin-now": "2.4.1-beta.1", "insomnia-plugin-os": "2.4.0", - "insomnia-plugin-prompt": "2.4.0", - "insomnia-plugin-request": "2.4.0", - "insomnia-plugin-response": "2.4.0", - "insomnia-plugin-uuid": "2.4.0", + "insomnia-plugin-prompt": "2.4.1-beta.1", + "insomnia-plugin-request": "2.4.1-beta.1", + "insomnia-plugin-response": "2.4.1-beta.1", + "insomnia-plugin-uuid": "2.4.1-beta.1", "insomnia-prettify": "2.4.0", "insomnia-testing": "2.4.0", "insomnia-url": "2.4.0", - "insomnia-xpath": "2.4.0", + "insomnia-xpath": "2.4.1-beta.1", "isomorphic-git": "^1.8.1", "js-yaml": "^3.14.1", "jshint": "^2.11.1", @@ -143,7 +143,7 @@ "nunjucks": "^3.2.0", "oauth-1.0a": "^2.2.2", "objectpath": "^2.0.0", - "openapi-2-kong": "2.4.0", + "openapi-2-kong": "2.4.1-beta.1", "papaparse": "^5.2.0", "pdfjs-dist": "^2.5.207", "prettier": "2.4.1", diff --git a/packages/insomnia-common/package-lock.json b/packages/insomnia-common/package-lock.json index 0fea2b002..abae3242a 100644 --- a/packages/insomnia-common/package-lock.json +++ b/packages/insomnia-common/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-common", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-common/package.json b/packages/insomnia-common/package.json index 4524c847e..b7d895b25 100644 --- a/packages/insomnia-common/package.json +++ b/packages/insomnia-common/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-common", - "version": "2.4.0", + "version": "2.4.1-beta.1", "homepage": "https://insomnia.rest", "description": "Top-level entities and utilities for Insomnia", "author": "Kong ", diff --git a/packages/insomnia-components/package-lock.json b/packages/insomnia-components/package-lock.json index 46d922e23..a7f150a9b 100644 --- a/packages/insomnia-components/package-lock.json +++ b/packages/insomnia-components/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-components", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-components/package.json b/packages/insomnia-components/package.json index 5ca021127..2e91a3ae6 100644 --- a/packages/insomnia-components/package.json +++ b/packages/insomnia-components/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-components", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia UI component library", "license": "MIT", diff --git a/packages/insomnia-config/package-lock.json b/packages/insomnia-config/package-lock.json index dcd520c95..49c07801f 100644 --- a/packages/insomnia-config/package-lock.json +++ b/packages/insomnia-config/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-config", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-config/package.json b/packages/insomnia-config/package.json index 8a45b5e02..1dc68ad4e 100644 --- a/packages/insomnia-config/package.json +++ b/packages/insomnia-config/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-config", - "version": "2.4.0", + "version": "2.4.1-beta.1", "homepage": "https://insomnia.rest", "description": "Configuration for Insomnia", "author": "Kong ", @@ -29,7 +29,7 @@ "dependencies": { "@apideck/better-ajv-errors": "^0.2.6", "ajv": "^8.6.2", - "insomnia-common": "2.4.0" + "insomnia-common": "2.4.1-beta.1" }, "devDependencies": { "jest": "^26.6.3", diff --git a/packages/insomnia-cookies/package-lock.json b/packages/insomnia-cookies/package-lock.json index 92a8accc6..2b5a647d3 100644 --- a/packages/insomnia-cookies/package-lock.json +++ b/packages/insomnia-cookies/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-cookies", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-cookies/package.json b/packages/insomnia-cookies/package.json index a689b0e45..b96d5221b 100644 --- a/packages/insomnia-cookies/package.json +++ b/packages/insomnia-cookies/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-cookies", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Cookie utilities", "license": "MIT", diff --git a/packages/insomnia-importers/package-lock.json b/packages/insomnia-importers/package-lock.json index 802693bfb..b82b8b1f4 100644 --- a/packages/insomnia-importers/package-lock.json +++ b/packages/insomnia-importers/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-importers", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-importers/package.json b/packages/insomnia-importers/package.json index be5b93cd1..dfc67ed0a 100755 --- a/packages/insomnia-importers/package.json +++ b/packages/insomnia-importers/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-importers", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Various data importers for Insomnia", "license": "MIT", diff --git a/packages/insomnia-inso/package-lock.json b/packages/insomnia-inso/package-lock.json index 8bd404e68..feeebc8c0 100644 --- a/packages/insomnia-inso/package-lock.json +++ b/packages/insomnia-inso/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-inso", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-inso/package.json b/packages/insomnia-inso/package.json index c4f55c424..204b572dd 100644 --- a/packages/insomnia-inso/package.json +++ b/packages/insomnia-inso/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-inso", - "version": "2.4.0", + "version": "2.4.1-beta.1", "homepage": "https://insomnia.rest", "description": "A CLI for Insomnia - The Collaborative API Design Tool", "author": "Kong ", @@ -73,24 +73,24 @@ "consola": "^2.15.0", "cosmiconfig": "^6.0.0", "enquirer": "^2.3.6", - "insomnia-plugin-base64": "2.4.0", - "insomnia-plugin-cookie-jar": "2.4.0", - "insomnia-plugin-core-themes": "2.4.0", - "insomnia-plugin-file": "2.4.0", - "insomnia-plugin-hash": "2.4.0", - "insomnia-plugin-jsonpath": "2.4.0", - "insomnia-plugin-now": "2.4.0", + "insomnia-plugin-base64": "2.4.1-beta.1", + "insomnia-plugin-cookie-jar": "2.4.1-beta.1", + "insomnia-plugin-core-themes": "2.4.1-beta.1", + "insomnia-plugin-file": "2.4.1-beta.1", + "insomnia-plugin-hash": "2.4.1-beta.1", + "insomnia-plugin-jsonpath": "2.4.1-beta.1", + "insomnia-plugin-now": "2.4.1-beta.1", "insomnia-plugin-os": "2.4.0", - "insomnia-plugin-prompt": "2.4.0", - "insomnia-plugin-request": "2.4.0", - "insomnia-plugin-response": "2.4.0", - "insomnia-plugin-uuid": "2.4.0", - "insomnia-send-request": "2.4.0", + "insomnia-plugin-prompt": "2.4.1-beta.1", + "insomnia-plugin-request": "2.4.1-beta.1", + "insomnia-plugin-response": "2.4.1-beta.1", + "insomnia-plugin-uuid": "2.4.1-beta.1", + "insomnia-send-request": "2.4.1-beta.1", "insomnia-testing": "2.4.0", "lodash.flattendeep": "^4.4.0", "mkdirp": "^1.0.4", "nedb": "^1.8.0", - "openapi-2-kong": "2.4.0", + "openapi-2-kong": "2.4.1-beta.1", "ramda": "^0.27.1", "ramda-adjunct": "^2.33.0", "string-argv": "^0.3.1", diff --git a/packages/insomnia-send-request/package-lock.json b/packages/insomnia-send-request/package-lock.json index d1acc588b..f453cb63f 100644 --- a/packages/insomnia-send-request/package-lock.json +++ b/packages/insomnia-send-request/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-send-request", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-send-request/package.json b/packages/insomnia-send-request/package.json index eab942013..3fedb07e2 100644 --- a/packages/insomnia-send-request/package.json +++ b/packages/insomnia-send-request/package.json @@ -1,7 +1,7 @@ { "name": "insomnia-send-request", "license": "Apache-2.0", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "main": "dist/index.js", "types": "dist/send-request/index.d.ts", @@ -18,9 +18,9 @@ "hkdf": "0.0.2", "html-entities": "^1.3.1", "httpsnippet": "^1.22.0", - "insomnia-common": "2.4.0", - "insomnia-config": "2.4.0", - "insomnia-importers": "2.4.0", + "insomnia-common": "2.4.1-beta.1", + "insomnia-config": "2.4.1-beta.1", + "insomnia-importers": "2.4.1-beta.1", "insomnia-testing": "2.4.0", "isomorphic-git": "^1.5.0", "jshint": "^2.11.1", @@ -35,7 +35,7 @@ "node-libcurl": "2.3.3", "nunjucks": "^3.2.1", "oauth-1.0a": "^2.2.6", - "openapi-2-kong": "2.4.0", + "openapi-2-kong": "2.4.1-beta.1", "ramda": "^0.27.1", "ramda-adjunct": "^2.33.0", "tough-cookie": "^4.0.0", diff --git a/packages/insomnia-smoke-test/package-lock.json b/packages/insomnia-smoke-test/package-lock.json index 362b6d0fa..27e6cf46e 100644 --- a/packages/insomnia-smoke-test/package-lock.json +++ b/packages/insomnia-smoke-test/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-smoke-test", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-smoke-test/package.json b/packages/insomnia-smoke-test/package.json index 9c5bcce01..d5adfc878 100644 --- a/packages/insomnia-smoke-test/package.json +++ b/packages/insomnia-smoke-test/package.json @@ -11,7 +11,7 @@ "bugs": { "url": "https://github.com/kong/insomnia/issues" }, - "version": "2.4.0", + "version": "2.4.1-beta.1", "scripts": { "bootstrap": "npm run build", "lint": "eslint . --ext .js,.ts,.tsx", diff --git a/packages/insomnia-xpath/package-lock.json b/packages/insomnia-xpath/package-lock.json index 037a39ccb..8b88837b9 100644 --- a/packages/insomnia-xpath/package-lock.json +++ b/packages/insomnia-xpath/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-xpath", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/insomnia-xpath/package.json b/packages/insomnia-xpath/package.json index e476d4fc3..436a99e07 100644 --- a/packages/insomnia-xpath/package.json +++ b/packages/insomnia-xpath/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-xpath", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Query XML using XPath", "license": "MIT", @@ -32,7 +32,7 @@ "@types/xmldom": "0.1.30" }, "dependencies": { - "insomnia-cookies": "2.4.0", + "insomnia-cookies": "2.4.1-beta.1", "xmldom": "^0.5.0", "xpath": "0.0.27" }, diff --git a/packages/openapi-2-kong/package-lock.json b/packages/openapi-2-kong/package-lock.json index 5dfeb850e..360579cf4 100644 --- a/packages/openapi-2-kong/package-lock.json +++ b/packages/openapi-2-kong/package-lock.json @@ -1,6 +1,6 @@ { "name": "openapi-2-kong", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/openapi-2-kong/package.json b/packages/openapi-2-kong/package.json index 86f47f959..fabdc3159 100644 --- a/packages/openapi-2-kong/package.json +++ b/packages/openapi-2-kong/package.json @@ -1,7 +1,7 @@ { "name": "openapi-2-kong", "license": "Apache-2.0", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/plugins/insomnia-plugin-base64/package-lock.json b/plugins/insomnia-plugin-base64/package-lock.json index 96877c9b5..4d11f03b3 100644 --- a/plugins/insomnia-plugin-base64/package-lock.json +++ b/plugins/insomnia-plugin-base64/package-lock.json @@ -1,5 +1,5 @@ { "name": "insomnia-plugin-base64", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1 } diff --git a/plugins/insomnia-plugin-base64/package.json b/plugins/insomnia-plugin-base64/package.json index 4fc99b584..49b02a55f 100644 --- a/plugins/insomnia-plugin-base64/package.json +++ b/plugins/insomnia-plugin-base64/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-base64", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia base64 template tag", "license": "MIT", diff --git a/plugins/insomnia-plugin-cookie-jar/package-lock.json b/plugins/insomnia-plugin-cookie-jar/package-lock.json index 36e465569..b43476145 100644 --- a/plugins/insomnia-plugin-cookie-jar/package-lock.json +++ b/plugins/insomnia-plugin-cookie-jar/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-cookie-jar", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-cookie-jar/package.json b/plugins/insomnia-plugin-cookie-jar/package.json index 1797463bd..f405f9357 100644 --- a/plugins/insomnia-plugin-cookie-jar/package.json +++ b/plugins/insomnia-plugin-cookie-jar/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-cookie-jar", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "contributors": [ { @@ -27,7 +27,7 @@ "test": "jest --silent" }, "dependencies": { - "insomnia-cookies": "2.4.0" + "insomnia-cookies": "2.4.1-beta.1" }, "gitHead": "e46bf021cf4b4379e31d2b2d9025d476d6839fa1" } diff --git a/plugins/insomnia-plugin-core-themes/package-lock.json b/plugins/insomnia-plugin-core-themes/package-lock.json index a4ba5e2ea..fd877e6e3 100644 --- a/plugins/insomnia-plugin-core-themes/package-lock.json +++ b/plugins/insomnia-plugin-core-themes/package-lock.json @@ -1,5 +1,5 @@ { "name": "insomnia-plugin-core-themes", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1 } diff --git a/plugins/insomnia-plugin-core-themes/package.json b/plugins/insomnia-plugin-core-themes/package.json index 7a84f1474..03db3734a 100644 --- a/plugins/insomnia-plugin-core-themes/package.json +++ b/plugins/insomnia-plugin-core-themes/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-core-themes", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia core themes", "license": "MIT", diff --git a/plugins/insomnia-plugin-file/package-lock.json b/plugins/insomnia-plugin-file/package-lock.json index 0ea1bb524..ab5d58120 100644 --- a/plugins/insomnia-plugin-file/package-lock.json +++ b/plugins/insomnia-plugin-file/package-lock.json @@ -1,5 +1,5 @@ { "name": "insomnia-plugin-file", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1 } diff --git a/plugins/insomnia-plugin-file/package.json b/plugins/insomnia-plugin-file/package.json index 1f0d2d784..fea160731 100644 --- a/plugins/insomnia-plugin-file/package.json +++ b/plugins/insomnia-plugin-file/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-file", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia file templte tag", "license": "MIT", diff --git a/plugins/insomnia-plugin-hash/package-lock.json b/plugins/insomnia-plugin-hash/package-lock.json index 41810b6e0..490ae1ec2 100644 --- a/plugins/insomnia-plugin-hash/package-lock.json +++ b/plugins/insomnia-plugin-hash/package-lock.json @@ -1,5 +1,5 @@ { "name": "insomnia-plugin-hash", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1 } diff --git a/plugins/insomnia-plugin-hash/package.json b/plugins/insomnia-plugin-hash/package.json index 4f50a1102..e1d3b315c 100644 --- a/plugins/insomnia-plugin-hash/package.json +++ b/plugins/insomnia-plugin-hash/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-hash", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia hash template tag", "license": "MIT", diff --git a/plugins/insomnia-plugin-jsonpath/package-lock.json b/plugins/insomnia-plugin-jsonpath/package-lock.json index b94a266dc..770ec5ba2 100644 --- a/plugins/insomnia-plugin-jsonpath/package-lock.json +++ b/plugins/insomnia-plugin-jsonpath/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-jsonpath", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-jsonpath/package.json b/plugins/insomnia-plugin-jsonpath/package.json index d56811325..faec1e3d2 100644 --- a/plugins/insomnia-plugin-jsonpath/package.json +++ b/plugins/insomnia-plugin-jsonpath/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-jsonpath", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Template tag to pull data from JSON strings", "license": "MIT", diff --git a/plugins/insomnia-plugin-kong-declarative-config/package-lock.json b/plugins/insomnia-plugin-kong-declarative-config/package-lock.json index 2be5f1df0..b1bb5a595 100644 --- a/plugins/insomnia-plugin-kong-declarative-config/package-lock.json +++ b/plugins/insomnia-plugin-kong-declarative-config/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-kong-declarative-config", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-kong-declarative-config/package.json b/plugins/insomnia-plugin-kong-declarative-config/package.json index 8fe89e620..89d6677ef 100644 --- a/plugins/insomnia-plugin-kong-declarative-config/package.json +++ b/plugins/insomnia-plugin-kong-declarative-config/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-kong-declarative-config", - "version": "2.4.0", + "version": "2.4.1-beta.1", "main": "index.js", "author": "Kong ", "license": "Apache-2.0", @@ -18,7 +18,7 @@ "unlisted": true }, "dependencies": { - "openapi-2-kong": "2.4.0", + "openapi-2-kong": "2.4.1-beta.1", "yaml": "^1.8.3" }, "gitHead": "d91e6735a76295166545a42c170328da4ab70dd3" diff --git a/plugins/insomnia-plugin-kong-kubernetes-config/package-lock.json b/plugins/insomnia-plugin-kong-kubernetes-config/package-lock.json index e58a0b24c..f14158fd2 100644 --- a/plugins/insomnia-plugin-kong-kubernetes-config/package-lock.json +++ b/plugins/insomnia-plugin-kong-kubernetes-config/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-kong-kubernetes-config", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-kong-kubernetes-config/package.json b/plugins/insomnia-plugin-kong-kubernetes-config/package.json index 650442a08..963547198 100644 --- a/plugins/insomnia-plugin-kong-kubernetes-config/package.json +++ b/plugins/insomnia-plugin-kong-kubernetes-config/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-kong-kubernetes-config", - "version": "2.4.0", + "version": "2.4.1-beta.1", "main": "index.js", "author": "Kong ", "license": "Apache-2.0", @@ -18,7 +18,7 @@ "unlisted": true }, "dependencies": { - "openapi-2-kong": "2.4.0", + "openapi-2-kong": "2.4.1-beta.1", "yaml": "^1.8.3" }, "gitHead": "d91e6735a76295166545a42c170328da4ab70dd3" diff --git a/plugins/insomnia-plugin-kong-portal/package-lock.json b/plugins/insomnia-plugin-kong-portal/package-lock.json index 6f4a3dba8..8a0443337 100644 --- a/plugins/insomnia-plugin-kong-portal/package-lock.json +++ b/plugins/insomnia-plugin-kong-portal/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-kong-portal", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-kong-portal/package.json b/plugins/insomnia-plugin-kong-portal/package.json index a67d523d6..f7a7b1511 100644 --- a/plugins/insomnia-plugin-kong-portal/package.json +++ b/plugins/insomnia-plugin-kong-portal/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-kong-portal", - "version": "2.4.0", + "version": "2.4.1-beta.1", "main": "dist/index.js", "author": "Kong ", "license": "Apache-2.0", @@ -31,7 +31,7 @@ "@babel/preset-flow": "^7.9.0", "@babel/preset-react": "^7.9.4", "autobind-decorator": "^2.4.0", - "insomnia-components": "2.4.0", + "insomnia-components": "2.4.1-beta.1", "react": "^16.8.3", "react-dom": "^16.8.3", "styled-components": "^4.4.1", diff --git a/plugins/insomnia-plugin-now/package-lock.json b/plugins/insomnia-plugin-now/package-lock.json index 2aa93cafa..0ac2aa822 100644 --- a/plugins/insomnia-plugin-now/package-lock.json +++ b/plugins/insomnia-plugin-now/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-now", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-now/package.json b/plugins/insomnia-plugin-now/package.json index 7b9c51a36..070ed6bfd 100644 --- a/plugins/insomnia-plugin-now/package.json +++ b/plugins/insomnia-plugin-now/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-now", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia now template tag", "license": "MIT", diff --git a/plugins/insomnia-plugin-prompt/package-lock.json b/plugins/insomnia-plugin-prompt/package-lock.json index 55dc61c78..de5d5b85f 100644 --- a/plugins/insomnia-plugin-prompt/package-lock.json +++ b/plugins/insomnia-plugin-prompt/package-lock.json @@ -1,5 +1,5 @@ { "name": "insomnia-plugin-prompt", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1 } diff --git a/plugins/insomnia-plugin-prompt/package.json b/plugins/insomnia-plugin-prompt/package.json index 38d33d907..202a9d4df 100644 --- a/plugins/insomnia-plugin-prompt/package.json +++ b/plugins/insomnia-plugin-prompt/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-prompt", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia prompt template tag", "license": "MIT", diff --git a/plugins/insomnia-plugin-request/package-lock.json b/plugins/insomnia-plugin-request/package-lock.json index 15f273895..3e4d30eb4 100644 --- a/plugins/insomnia-plugin-request/package-lock.json +++ b/plugins/insomnia-plugin-request/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-request", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-request/package.json b/plugins/insomnia-plugin-request/package.json index 6249c9720..cc9c4e2e9 100644 --- a/plugins/insomnia-plugin-request/package.json +++ b/plugins/insomnia-plugin-request/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-request", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia request template tag", "license": "MIT", @@ -21,7 +21,7 @@ "test": "jest --silent" }, "dependencies": { - "insomnia-cookies": "2.4.0", + "insomnia-cookies": "2.4.1-beta.1", "insomnia-url": "2.4.0" }, "gitHead": "d91e6735a76295166545a42c170328da4ab70dd3" diff --git a/plugins/insomnia-plugin-response/package-lock.json b/plugins/insomnia-plugin-response/package-lock.json index 7079cc19c..7c73a0bc2 100644 --- a/plugins/insomnia-plugin-response/package-lock.json +++ b/plugins/insomnia-plugin-response/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-response", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-response/package.json b/plugins/insomnia-plugin-response/package.json index 577c33277..47bf0f5e0 100644 --- a/plugins/insomnia-plugin-response/package.json +++ b/plugins/insomnia-plugin-response/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-response", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia response template tag", "license": "MIT", @@ -22,7 +22,7 @@ }, "dependencies": { "iconv-lite": "^0.4.19", - "insomnia-xpath": "2.4.0", + "insomnia-xpath": "2.4.1-beta.1", "jsonpath-plus": "^6.0.1" }, "gitHead": "e46bf021cf4b4379e31d2b2d9025d476d6839fa1" diff --git a/plugins/insomnia-plugin-uuid/package-lock.json b/plugins/insomnia-plugin-uuid/package-lock.json index 951fe2858..d71e5b390 100644 --- a/plugins/insomnia-plugin-uuid/package-lock.json +++ b/plugins/insomnia-plugin-uuid/package-lock.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-uuid", - "version": "2.4.0", + "version": "2.4.1-beta.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/plugins/insomnia-plugin-uuid/package.json b/plugins/insomnia-plugin-uuid/package.json index c15a4f4c6..875f93dd0 100644 --- a/plugins/insomnia-plugin-uuid/package.json +++ b/plugins/insomnia-plugin-uuid/package.json @@ -1,6 +1,6 @@ { "name": "insomnia-plugin-uuid", - "version": "2.4.0", + "version": "2.4.1-beta.1", "author": "Kong ", "description": "Insomnia uuid template tag", "license": "MIT", From 050a4d949e9321058119102a592600d27853a022 Mon Sep 17 00:00:00 2001 From: Opender Singh Date: Wed, 8 Dec 2021 16:11:04 +1300 Subject: [PATCH 4/7] cookie modal works again (#4282) --- .../app/ui/components/modals/cookies-modal.tsx | 11 +++++++---- .../app/ui/components/panes/response-pane.tsx | 3 --- .../ui/components/viewers/response-cookies-viewer.tsx | 6 +++--- .../insomnia-app/app/ui/components/wrapper-debug.tsx | 8 ++------ packages/insomnia-app/app/ui/components/wrapper.tsx | 9 ++------- packages/insomnia-app/app/ui/containers/app.tsx | 10 ++-------- 6 files changed, 16 insertions(+), 31 deletions(-) diff --git a/packages/insomnia-app/app/ui/components/modals/cookies-modal.tsx b/packages/insomnia-app/app/ui/components/modals/cookies-modal.tsx index 548556b9f..f9e352c42 100644 --- a/packages/insomnia-app/app/ui/components/modals/cookies-modal.tsx +++ b/packages/insomnia-app/app/ui/components/modals/cookies-modal.tsx @@ -14,6 +14,7 @@ import { ModalBody } from '../base/modal-body'; import { ModalFooter } from '../base/modal-footer'; import { ModalHeader } from '../base/modal-header'; import { CookieList, CookieListProps } from '../cookie-list'; +import { showModal } from '.'; interface Props extends ModalProps { handleShowModifyCookieModal: CookieListProps['handleShowModifyCookieModal']; @@ -28,7 +29,7 @@ interface State { } @autoBindMethodsForReact(AUTOBIND_CFG) -class CookiesModalInternal extends PureComponent { +class CookiesModal extends PureComponent { modal: Modal | null = null; filterInput: HTMLInputElement | null = null; @@ -206,10 +207,12 @@ class CookiesModalInternal extends PureComponent { } } -const CookiesModalFCRF: ForwardRefRenderFunction> = (props, ref) => { +const CookiesModalFCRF: ForwardRefRenderFunction> = (props, ref) => { const { handleRender } = useNunjucks(); - return ; + return ; }; -export const CookiesModal = forwardRef(CookiesModalFCRF); +export const CookiesModalFC = forwardRef(CookiesModalFCRF); + +export const showCookiesModal = () => showModal(CookiesModal); diff --git a/packages/insomnia-app/app/ui/components/panes/response-pane.tsx b/packages/insomnia-app/app/ui/components/panes/response-pane.tsx index a39859b05..d513cebc8 100644 --- a/packages/insomnia-app/app/ui/components/panes/response-pane.tsx +++ b/packages/insomnia-app/app/ui/components/panes/response-pane.tsx @@ -36,7 +36,6 @@ import { PlaceholderResponsePane } from './placeholder-response-pane'; interface Props { handleSetFilter: (filter: string) => void; - showCookiesModal: Function; handleSetPreviewMode: Function; handleSetActiveResponse: Function; handleDeleteResponses: Function; @@ -242,7 +241,6 @@ export class ResponsePane extends PureComponent { requestVersions, response, responses, - showCookiesModal, } = this.props; if (!request) { @@ -353,7 +351,6 @@ export class ResponsePane extends PureComponent { handleShowRequestSettings={handleShowRequestSettings} cookiesSent={response.settingSendCookies} cookiesStored={response.settingStoreCookies} - showCookiesModal={showCookiesModal} headers={cookieHeaders} /> diff --git a/packages/insomnia-app/app/ui/components/viewers/response-cookies-viewer.tsx b/packages/insomnia-app/app/ui/components/viewers/response-cookies-viewer.tsx index 1547aef4f..ad00d1d8e 100644 --- a/packages/insomnia-app/app/ui/components/viewers/response-cookies-viewer.tsx +++ b/packages/insomnia-app/app/ui/components/viewers/response-cookies-viewer.tsx @@ -3,9 +3,9 @@ import React, { PureComponent } from 'react'; import { Cookie } from 'tough-cookie'; import { AUTOBIND_CFG } from '../../../common/constants'; +import { showCookiesModal } from '../modals/cookies-modal'; interface Props { - showCookiesModal: Function; cookiesSent?: boolean | null; cookiesStored?: boolean | null; headers: any[]; @@ -33,7 +33,7 @@ export class ResponseCookiesViewer extends PureComponent { } render() { - const { headers, showCookiesModal, cookiesSent, cookiesStored } = this.props; + const { headers, cookiesSent, cookiesStored } = this.props; const notifyNotStored = !cookiesStored && headers.length; let noticeMessage: string | null = null; @@ -65,7 +65,7 @@ export class ResponseCookiesViewer extends PureComponent { {!headers.length ? this.renderRow(null, -1) : headers.map(this.renderRow)}

-

diff --git a/packages/insomnia-app/app/ui/components/wrapper-debug.tsx b/packages/insomnia-app/app/ui/components/wrapper-debug.tsx index 9474a27e6..42bb28036 100644 --- a/packages/insomnia-app/app/ui/components/wrapper-debug.tsx +++ b/packages/insomnia-app/app/ui/components/wrapper-debug.tsx @@ -10,6 +10,7 @@ import { isCollection, isDesign } from '../../models/workspace'; import { EnvironmentsDropdown } from './dropdowns/environments-dropdown'; import { SyncDropdown } from './dropdowns/sync-dropdown'; import { ErrorBoundary } from './error-boundary'; +import { showCookiesModal } from './modals/cookies-modal'; import { PageLayout } from './page-layout'; import { GrpcRequestPane } from './panes/grpc-request-pane'; import { GrpcResponsePane } from './panes/grpc-response-pane'; @@ -37,7 +38,6 @@ interface Props { handleSetActiveResponse: Function; handleSetPreviewMode: Function; handleSetResponseFilter: (filter: string) => void; - handleShowCookiesModal: Function; handleShowRequestSettingsModal: Function; handleSidebarSort: (sortOrder: SortOrder) => void; handleUpdateRequestAuthentication: (r: Request, auth: RequestAuthentication) => Promise; @@ -94,7 +94,6 @@ export class WrapperDebug extends PureComponent { handleChangeEnvironment, handleRequestCreate, handleRequestGroupCreate, - handleShowCookiesModal, handleSidebarSort, } = this.props; const { @@ -131,8 +130,7 @@ export class WrapperDebug extends PureComponent { environmentHighlightColorStyle={settings.environmentHighlightColorStyle} hotKeyRegistry={settings.hotKeyRegistry} /> - {/* @ts-expect-error -- TSCONVERSION onClick event doesn't matter */} -