fix: issue with prod-lint in hopp-app on windows

This commit is contained in:
Andrew Bastin
2022-09-30 19:06:20 +05:30
parent 938f940f90
commit a6b91c435c
2 changed files with 20 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
"dev:gql-codegen": "graphql-codegen --config gql-codegen.yml --watch", "dev:gql-codegen": "graphql-codegen --config gql-codegen.yml --watch",
"build": "node --max_old_space_size=16384 ./node_modules/vite/bin/vite.js build", "build": "node --max_old_space_size=16384 ./node_modules/vite/bin/vite.js build",
"lint": "eslint src --ext .ts,.js,.vue --ignore-path .gitignore .", "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 .", "lintfix": "eslint --fix src --ext .ts,.js,.vue --ignore-path .gitignore .",
"generate": "pnpm run build", "generate": "pnpm run build",
"preview": "vite preview", "preview": "vite preview",
@@ -125,6 +125,7 @@
"@vue/compiler-sfc": "^3.2.39", "@vue/compiler-sfc": "^3.2.39",
"@vue/eslint-config-typescript": "^11.0.1", "@vue/eslint-config-typescript": "^11.0.1",
"@vue/runtime-core": "^3.2.39", "@vue/runtime-core": "^3.2.39",
"cross-env": "^7.0.3",
"eslint": "^8.13.0", "eslint": "^8.13.0",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^9.4.0", "eslint-plugin-vue": "^9.4.0",

26
pnpm-lock.yaml generated
View File

@@ -97,6 +97,7 @@ importers:
acorn-walk: ^8.2.0 acorn-walk: ^8.2.0
axios: ^0.21.4 axios: ^0.21.4
buffer: ^6.0.3 buffer: ^6.0.3
cross-env: ^7.0.3
eslint: ^8.13.0 eslint: ^8.13.0
eslint-plugin-prettier: ^4.0.0 eslint-plugin-prettier: ^4.0.0
eslint-plugin-vue: ^9.4.0 eslint-plugin-vue: ^9.4.0
@@ -268,6 +269,7 @@ importers:
'@vue/compiler-sfc': 3.2.39 '@vue/compiler-sfc': 3.2.39
'@vue/eslint-config-typescript': 11.0.1_zvrtn3zflfg7w2p2u64ygwer7q '@vue/eslint-config-typescript': 11.0.1_zvrtn3zflfg7w2p2u64ygwer7q
'@vue/runtime-core': 3.2.39 '@vue/runtime-core': 3.2.39
cross-env: 7.0.3
eslint: 8.19.0 eslint: 8.19.0
eslint-plugin-prettier: 4.2.1_eslint@8.19.0 eslint-plugin-prettier: 4.2.1_eslint@8.19.0
eslint-plugin-vue: 9.4.0_eslint@8.19.0 eslint-plugin-vue: 9.4.0_eslint@8.19.0
@@ -3068,8 +3070,8 @@ packages:
vue-i18n: vue-i18n:
optional: true optional: true
dependencies: dependencies:
'@intlify/message-compiler': 9.3.0-beta.3 '@intlify/message-compiler': 9.3.0-beta.6
'@intlify/shared': 9.3.0-beta.3 '@intlify/shared': 9.3.0-beta.6
jsonc-eslint-parser: 1.4.1 jsonc-eslint-parser: 1.4.1
source-map: 0.6.1 source-map: 0.6.1
vue-i18n: 9.2.2_vue@3.2.37 vue-i18n: 9.2.2_vue@3.2.37
@@ -3098,11 +3100,11 @@ packages:
'@intlify/shared': 9.2.2 '@intlify/shared': 9.2.2
source-map: 0.6.1 source-map: 0.6.1
/@intlify/message-compiler/9.3.0-beta.3: /@intlify/message-compiler/9.3.0-beta.6:
resolution: {integrity: sha512-j8OwToBQgs01RBMX4GCDNQfcnmw3AiDG3moKIONTrfXcf+1yt/rWznLTYH/DXbKcFMAFijFpCzMYjUmH1jVFYA==} resolution: {integrity: sha512-3PJqRJoqvFHExA9DCkf7fZYKbvYne1tYQ0fptJAhUOZsELarh8wr4aPLKWCkQSRuutdrtZ/n5CcPgJgUmVthDw==}
engines: {node: '>= 14'} engines: {node: '>= 14'}
dependencies: dependencies:
'@intlify/shared': 9.3.0-beta.3 '@intlify/shared': 9.3.0-beta.6
source-map: 0.6.1 source-map: 0.6.1
dev: true dev: true
@@ -3110,8 +3112,8 @@ packages:
resolution: {integrity: sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q==} resolution: {integrity: sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q==}
engines: {node: '>= 14'} engines: {node: '>= 14'}
/@intlify/shared/9.3.0-beta.3: /@intlify/shared/9.3.0-beta.6:
resolution: {integrity: sha512-Z/0TU4GhFKRxKh+0RbwJExik9zz57gXYgxSYaPn7YQdkQ/pabSioCY/SXnYxQHL6HzULF5tmqarFm6glbGqKhw==} resolution: {integrity: sha512-ITA1R4tvJYwZXT5x6QCSwxcwQ4dU52zrzVm/EUbgsp8oWzYS1xexBrxyNM80PSQudYvL2rvcZJKQ7yBh7b0LkQ==}
engines: {node: '>= 14'} engines: {node: '>= 14'}
dev: true dev: true
@@ -3131,7 +3133,7 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@intlify/bundle-utils': 3.2.1_vue-i18n@9.2.2 '@intlify/bundle-utils': 3.2.1_vue-i18n@9.2.2
'@intlify/shared': 9.3.0-beta.3 '@intlify/shared': 9.3.0-beta.6
'@rollup/pluginutils': 4.2.1 '@rollup/pluginutils': 4.2.1
debug: 4.3.4 debug: 4.3.4
fast-glob: 3.2.11 fast-glob: 3.2.11
@@ -5596,6 +5598,14 @@ packages:
resolution: {integrity: sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==} resolution: {integrity: sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==}
dev: false 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: /cross-fetch/3.1.5:
resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==} resolution: {integrity: sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==}
dependencies: dependencies: