]> source.dussan.org Git - sonarqube.git/commitdiff
Add support for yarn format-* scripts on windows
authorphilippe-perrin-sonarsource <philippe.perrin@sonarsource.com>
Wed, 12 Jun 2019 08:15:16 +0000 (10:15 +0200)
committerSonarTech <sonartech@sonarsource.com>
Thu, 13 Jun 2019 18:21:14 +0000 (20:21 +0200)
server/sonar-docs/package.json
server/sonar-vsts/package.json
server/sonar-web/package.json

index fefe53c9881d1dc08ab70e99f58e5163a2f99815..9b36e9600b89499520f0033f551e61669869a018 100644 (file)
@@ -60,8 +60,8 @@
     "develop": "gatsby develop",
     "graphql-types": "gql-gen --url http://localhost:8000/___graphql --template typescript --out ./src/@types/graphql-types.d.ts",
     "test": "jest",
-    "format": "prettier --write --list-different 'src/**/*.{js,ts,tsx,css}'",
-    "format-check": "prettier --list-different 'src/**/*.{js,ts,tsx,css}'",
+    "format": "prettier --write --list-different \"src/**/*.{js,ts,tsx,css}\"",
+    "format-check": "prettier --list-different \"src/**/*.{js,ts,tsx,css}\"",
     "lint": "eslint --ext js,ts,tsx --quiet src",
     "lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src",
     "ts-check": "tsc --noEmit",
index ea40f80df720062d7777ac281810a36e01abe6d1..c38918dc0a182605d35b5137ecda998704ca9e58 100644 (file)
@@ -74,8 +74,8 @@
     "start": "node scripts/start.js",
     "build": "node scripts/build.js",
     "test": "jest --passWithNoTests",
-    "format": "prettier --write --list-different 'src/main/js/!(libs)/**/*.{js,ts,tsx,css}'",
-    "format-check": "prettier --list-different 'src/main/js/!(libs)/**/*.{js,ts,tsx,css}'",
+    "format": "prettier --write --list-different \"src/main/js/!(libs)/**/*.{js,ts,tsx,css}\"",
+    "format-check": "prettier --list-different \"src/main/js/!(libs)/**/*.{js,ts,tsx,css}\"",
     "lint": "eslint --ext js,ts,tsx --quiet src/main/js",
     "lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src/main/js",
     "ts-check": "tsc --noEmit",
index 4139065226d55fabe8aea2484f6e358baa8580a4..652397674a7d291b3c3102107df4b1f4b6af7f0b 100644 (file)
     "build": "node scripts/build.js",
     "build-release": "node scripts/build.js release",
     "test": "jest",
-    "format": "prettier --write --list-different 'src/main/js/**/*.{js,ts,tsx,css}'",
-    "format-check": "prettier --list-different 'src/main/js/**/*.{js,ts,tsx,css}'",
+    "format": "prettier --write --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
+    "format-check": "prettier --list-different \"src/main/js/**/*.{js,ts,tsx,css}\"",
     "lint": "eslint --ext js,ts,tsx --quiet src/main/js",
     "lint-report": "eslint --ext js,ts,tsx -f json -o eslint-report.json src/main/js",
     "ts-check": "tsc --noEmit",