Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
fix: issue with prod-lint in hopp-app on windows
Andrew Bastina6b91c435c2c
diff --git a/packages/hoppscotch-app/package.json b/packages/hoppscotch-app/package.jsonindex 26661ab07..4943f1593 100644--- a/packages/hoppscotch-app/package.json+++ b/packages/hoppscotch-app/package.json@@ -8,7 +8,7 @@"dev:gql-codegen": "graphql-codegen --config gql-codegen.yml --watch","build": "node --max_old_space_size=16384 ./node_modules/vite/bin/vite.js build","lint": "eslint src --ext .ts,.js,.vue --ignore-path .gitignore .",- "prod-lint": "HOPP_LINT_FOR_PROD=true pnpm run lint",+ "prod-lint": "cross-env HOPP_LINT_FOR_PROD=true pnpm run lint","lintfix": "eslint --fix src --ext .ts,.js,.vue --ignore-path .gitignore .","generate": "pnpm run build","preview": "vite preview",@@ -125,6 +125,7 @@"@vue/compiler-sfc": "^3.2.39","@vue/eslint-config-typescript": "^11.0.1","@vue/runtime-core": "^3.2.39",+ "cross-env": "^7.0.3","eslint": "^8.13.0","eslint-plugin-prettier": "^4.0.0","eslint-plugin-vue": "^9.4.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 9461cdac9..ac4326310 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -97,6 +97,7 @@ importers:acorn-walk: ^8.2.0axios: ^0.21.4buffer: ^6.0.3+ cross-env: ^7.0.3eslint: ^8.13.0eslint-plugin-prettier: ^4.0.0eslint-plugin-vue: ^9.4.0@@ -268,6 +269,7 @@ importers:'@vue/compiler-sfc': 3.2.39'@vue/eslint-config-typescript': 11.0.1_zvrtn3zflfg7w2p2u64ygwer7q'@vue/runtime-core': 3.2.39+ cross-env: 7.0.3eslint: 8.19.0eslint-plugin-prettier: [email protected]eslint-plugin-vue: [email protected]@@ -3068,8 +3070,8 @@ packages:vue-i18n:optional: truedependencies:- '@intlify/message-compiler': 9.3.0-beta.3- '@intlify/shared': 9.3.0-beta.3+ '@intlify/message-compiler': 9.3.0-beta.6+ '@intlify/shared': 9.3.0-beta.6jsonc-eslint-parser: 1.4.1source-map: 0.6.1vue-i18n: [email protected]@@ -3098,11 +3100,11 @@ packages:'@intlify/shared': 9.2.2source-map: 0.6.1- /@intlify/message-compiler/9.3.0-beta.3:- resolution: {integrity: sha512-j8OwToBQgs01RBMX4GCDNQfcnmw3AiDG3moKIONTrfXcf+1yt/rWznLTYH/DXbKcFMAFijFpCzMYjUmH1jVFYA==}+ /@intlify/message-compiler/9.3.0-beta.6:+ resolution: {integrity: sha512-3PJqRJoqvFHExA9DCkf7fZYKbvYne1tYQ0fptJAhUOZsELarh8wr4aPLKWCkQSRuutdrtZ/n5CcPgJgUmVthDw==}engines: {node: '>= 14'}dependencies:- '@intlify/shared': 9.3.0-beta.3+ '@intlify/shared': 9.3.0-beta.6source-map: 0.6.1dev: true@@ -3110,8 +3112,8 @@ packages:resolution: {integrity: sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q==}engines: {node: '>= 14'}- /@intlify/shared/9.3.0-beta.3:- resolution: {integrity: sha512-Z/0TU4GhFKRxKh+0RbwJExik9zz57gXYgxSYaPn7YQdkQ/pabSioCY/SXnYxQHL6HzULF5tmqarFm6glbGqKhw==}+ /@intlify/shared/9.3.0-beta.6:+ resolution: {integrity: sha512-ITA1R4tvJYwZXT5x6QCSwxcwQ4dU52zrzVm/EUbgsp8oWzYS1xexBrxyNM80PSQudYvL2rvcZJKQ7yBh7b0LkQ==}engines: {node: '>= 14'}dev: true@@ -3131,7 +3133,7 @@ packages:optional: truedependencies:'@intlify/bundle-utils': [email protected]- '@intlify/shared': 9.3.0-beta.3+ '@intlify/shared': 9.3.0-beta.6'@rollup/pluginutils': 4.2.1debug: 4.3.4fast-glob: 3.2.11@@ -5596,6 +5598,14 @@ packages:resolution: {integrity: sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==}dev: false+ /cross-env/7.0.3:+ resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==}+ engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'}+ hasBin: true+ dependencies:+ cross-spawn: 7.0.3+ dev: true+/cross-fetch/3.1.5:resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==}dependencies: