mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Fix stupid bug
This commit is contained in:
parent
274a772d2b
commit
d6b496a243
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "insomnia",
|
"name": "insomnia",
|
||||||
"version": "3.2.9",
|
"version": "3.3.1",
|
||||||
"productName": "Insomnia",
|
"productName": "Insomnia",
|
||||||
"longName": "Insomnia REST Client",
|
"longName": "Insomnia REST Client",
|
||||||
"description": "A simple and beautiful REST API client",
|
"description": "A simple and beautiful REST API client",
|
||||||
|
@ -22,6 +22,7 @@ class ResponsePane extends Component {
|
|||||||
_getResponse (request) {
|
_getResponse (request) {
|
||||||
if (!request) {
|
if (!request) {
|
||||||
this.setState({response: null});
|
this.setState({response: null});
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
db.responseGetLatestByParentId(request._id).then(response => {
|
db.responseGetLatestByParentId(request._id).then(response => {
|
||||||
|
20
package.json
20
package.json
@ -15,10 +15,10 @@
|
|||||||
"hot-server": "babel-node ./webpack/server.js",
|
"hot-server": "babel-node ./webpack/server.js",
|
||||||
"dev": "concurrently --kill-others \"npm run hot-server\" \"npm run start-hot\"",
|
"dev": "concurrently --kill-others \"npm run hot-server\" \"npm run start-hot\"",
|
||||||
"build": "bash scripts/build.sh",
|
"build": "bash scripts/build.sh",
|
||||||
"package": "npm run package-mac && npm run package-win && npm run package-linux",
|
"package": "rm -rf dist && npm run package-mac && npm run package-win && npm run package-linux",
|
||||||
"package-mac": "node node_modules/electron-builder/out/build-cli.js --publish=never --x64 --mac",
|
"package-mac": "rm -rf dist/mac && node node_modules/electron-builder/out/build-cli.js --publish=never --x64 --mac",
|
||||||
"package-win": "node node_modules/electron-builder/out/build-cli.js --publish=never --x64 --win",
|
"package-win": "rm -rf dist/win* && node node_modules/electron-builder/out/build-cli.js --publish=never --x64 --win",
|
||||||
"package-linux": "node node_modules/electron-builder/out/build-cli.js --publish=never --x64 --linux",
|
"package-linux": "rm -rf dist/linux && rm -f dist/*.AppImage && rm -f dist/*.deb && node node_modules/electron-builder/out/build-cli.js --publish=never --x64 --linux",
|
||||||
"build-n-package": "npm run build && npm run package",
|
"build-n-package": "npm run build && npm run package",
|
||||||
"build-n-package-win": "npm run build && npm run package-win",
|
"build-n-package-win": "npm run build && npm run package-win",
|
||||||
"build-n-package-mac": "npm run build && npm run package-mac",
|
"build-n-package-mac": "npm run build && npm run package-mac",
|
||||||
@ -27,17 +27,17 @@
|
|||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "com.insomnia.app",
|
"appId": "com.insomnia.app",
|
||||||
"app-category-type": "public.app-category.developer-tools",
|
"category": "public.app-category.developer-tools",
|
||||||
"compression": "normal",
|
"compression": "normal",
|
||||||
"win": {
|
"win": {
|
||||||
"iconUrl": "https://trello-logos.s3.amazonaws.com/06507f4661a7bb6375a8cf5beeaa48be/170.png",
|
"iconUrl": "https://trello-logos.s3.amazonaws.com/06507f4661a7bb6375a8cf5beeaa48be/170.png",
|
||||||
"icon": "build/icon.ico",
|
"icon": "build/icon.ico",
|
||||||
"loadingGif": "build/install-spinner.gif",
|
"loadingGif": "build/install-spinner.gif",
|
||||||
"remoteReleases": "https://s3.amazonaws.com/builds-insomnia-rest/win",
|
"remoteReleases": "https://s3.amazonaws.com/builds-insomnia-rest/win",
|
||||||
"msi": true
|
"msi": false
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"synopsis": "A simple and beautiful REST API client",
|
"synopsis": "",
|
||||||
"target": [
|
"target": [
|
||||||
"AppImage",
|
"AppImage",
|
||||||
"deb"
|
"deb"
|
||||||
@ -62,7 +62,7 @@
|
|||||||
"node-localstorage": "^1.3.0",
|
"node-localstorage": "^1.3.0",
|
||||||
"nunjucks": "git@github.com:gschier/nunjucks.git#80485468cd577f1a1a8067bedf6c5bfa878712ea",
|
"nunjucks": "git@github.com:gschier/nunjucks.git#80485468cd577f1a1a8067bedf6c5bfa878712ea",
|
||||||
"raven": "^0.12.1",
|
"raven": "^0.12.1",
|
||||||
"react": "^15.2.0",
|
"react": "^15.3.1",
|
||||||
"react-dnd": "^2.1.4",
|
"react-dnd": "^2.1.4",
|
||||||
"react-dnd-html5-backend": "^2.1.2",
|
"react-dnd-html5-backend": "^2.1.2",
|
||||||
"react-dom": "^15.1.0",
|
"react-dom": "^15.1.0",
|
||||||
@ -89,9 +89,7 @@
|
|||||||
"concurrently": "^2.0.0",
|
"concurrently": "^2.0.0",
|
||||||
"cross-env": "^2.0.0",
|
"cross-env": "^2.0.0",
|
||||||
"css-loader": "^0.23.1",
|
"css-loader": "^0.23.1",
|
||||||
"devtron": "^1.3.0",
|
"electron-builder": "^6.3.5",
|
||||||
"electron-builder": "^5.34.1",
|
|
||||||
"electron-packager": "^7.7.0",
|
|
||||||
"electron-prebuilt": "~1.2.8",
|
"electron-prebuilt": "~1.2.8",
|
||||||
"elm": "^0.17.1",
|
"elm": "^0.17.1",
|
||||||
"elm-hot-loader": "^0.3.3",
|
"elm-hot-loader": "^0.3.3",
|
||||||
|
0
scripts/sentry-release.sh
Normal file → Executable file
0
scripts/sentry-release.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user