From 8fe72d0686d6b20570c3abb0cd8d1e12e5f3bf80 Mon Sep 17 00:00:00 2001 From: Erez Rokah Date: Thu, 18 Jul 2019 23:59:31 +0300 Subject: [PATCH] chore(scripts): espace commands arguments that use a glob matching pattern (#2435) --- package.json | 4 ++-- packages/netlify-cms-app/package.json | 2 +- packages/netlify-cms-backend-bitbucket/package.json | 2 +- packages/netlify-cms-backend-git-gateway/package.json | 2 +- packages/netlify-cms-backend-test/package.json | 2 +- packages/netlify-cms-default-exports/package.json | 2 +- packages/netlify-cms-lib-auth/package.json | 2 +- packages/netlify-cms-lib-util/package.json | 2 +- packages/netlify-cms-media-library-cloudinary/package.json | 2 +- packages/netlify-cms-media-library-uploadcare/package.json | 2 +- packages/netlify-cms-ui-default/package.json | 2 +- packages/netlify-cms-widget-boolean/package.json | 2 +- packages/netlify-cms-widget-date/package.json | 2 +- packages/netlify-cms-widget-datetime/package.json | 2 +- packages/netlify-cms-widget-file/package.json | 2 +- packages/netlify-cms-widget-image/package.json | 2 +- packages/netlify-cms-widget-list/package.json | 2 +- packages/netlify-cms-widget-map/package.json | 2 +- packages/netlify-cms-widget-markdown/package.json | 2 +- packages/netlify-cms-widget-number/package.json | 2 +- packages/netlify-cms-widget-object/package.json | 2 +- packages/netlify-cms-widget-relation/package.json | 2 +- packages/netlify-cms-widget-select/package.json | 2 +- packages/netlify-cms-widget-string/package.json | 2 +- packages/netlify-cms-widget-text/package.json | 2 +- 25 files changed, 26 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 9b00d9ad..1e975eed 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build-preview:lerna": "lerna run build-preview", "build:demo": "run-s build build:demo:copy", "build:demo:copy": "ncp packages/netlify-cms/dist dev-test/dist/", - "clean": "rimraf packages/*/dist dev-test/dist", + "clean": "rimraf \"packages/*/dist\" dev-test/dist", "clean:lerna": "lerna clean --yes", "reset": "run-s clean clean:lerna", "test": "run-s clean lint test:unit", @@ -27,7 +27,7 @@ "test:e2e:exec-dev": "cypress open", "test:e2e:run": "start-test test:e2e:serve 8080 test:e2e:exec", "test:e2e:run-ci": "start-test test:e2e:serve 8080 test:e2e:exec-ci", - "lint": "run-p -c --aggregate-output lint:*", + "lint": "run-p -c --aggregate-output \"lint:*\"", "lint-quiet": "run-p -c --aggregate-output \"lint:* -- --quiet\"", "lint:css": "stylelint --ignore-path .gitignore \"{packages/**/*.{css,js},website/**/*.css}\"", "lint:js": "eslint --color --ignore-path .gitignore \"{{packages,scripts,website}/**/,}*.js\"", diff --git a/packages/netlify-cms-app/package.json b/packages/netlify-cms-app/package.json index dceb4492..990a437e 100644 --- a/packages/netlify-cms-app/package.json +++ b/packages/netlify-cms-app/package.json @@ -9,7 +9,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "keywords": [ "netlify", diff --git a/packages/netlify-cms-backend-bitbucket/package.json b/packages/netlify-cms-backend-bitbucket/package.json index b1a40fb5..2d676b3d 100644 --- a/packages/netlify-cms-backend-bitbucket/package.json +++ b/packages/netlify-cms-backend-bitbucket/package.json @@ -17,7 +17,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "js-base64": "^2.5.1", diff --git a/packages/netlify-cms-backend-git-gateway/package.json b/packages/netlify-cms-backend-git-gateway/package.json index 3aee76ca..8a517f93 100644 --- a/packages/netlify-cms-backend-git-gateway/package.json +++ b/packages/netlify-cms-backend-git-gateway/package.json @@ -18,7 +18,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "gotrue-js": "^0.9.24", diff --git a/packages/netlify-cms-backend-test/package.json b/packages/netlify-cms-backend-test/package.json index 89e788ea..e5cf744d 100644 --- a/packages/netlify-cms-backend-test/package.json +++ b/packages/netlify-cms-backend-test/package.json @@ -16,7 +16,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "@emotion/core": "^10.0.9", diff --git a/packages/netlify-cms-default-exports/package.json b/packages/netlify-cms-default-exports/package.json index 571530f9..5c69d982 100644 --- a/packages/netlify-cms-default-exports/package.json +++ b/packages/netlify-cms-default-exports/package.json @@ -17,7 +17,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "@emotion/core": "^10.0.9", diff --git a/packages/netlify-cms-lib-auth/package.json b/packages/netlify-cms-lib-auth/package.json index c03f3cfb..d4a48a72 100644 --- a/packages/netlify-cms-lib-auth/package.json +++ b/packages/netlify-cms-lib-auth/package.json @@ -18,7 +18,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "immutable": "^3.7.6", diff --git a/packages/netlify-cms-lib-util/package.json b/packages/netlify-cms-lib-util/package.json index 8227b98f..524599ae 100644 --- a/packages/netlify-cms-lib-util/package.json +++ b/packages/netlify-cms-lib-util/package.json @@ -14,7 +14,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "js-sha256": "^0.9.0", diff --git a/packages/netlify-cms-media-library-cloudinary/package.json b/packages/netlify-cms-media-library-cloudinary/package.json index f3bb6378..a4b9f963 100644 --- a/packages/netlify-cms-media-library-cloudinary/package.json +++ b/packages/netlify-cms-media-library-cloudinary/package.json @@ -22,7 +22,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "netlify-cms-lib-util": "^2.1.3-beta.0" diff --git a/packages/netlify-cms-media-library-uploadcare/package.json b/packages/netlify-cms-media-library-uploadcare/package.json index d04bba58..f28b23a9 100644 --- a/packages/netlify-cms-media-library-uploadcare/package.json +++ b/packages/netlify-cms-media-library-uploadcare/package.json @@ -20,7 +20,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "uploadcare-widget": "^3.7.0", diff --git a/packages/netlify-cms-ui-default/package.json b/packages/netlify-cms-ui-default/package.json index 970356c5..7dfb7c94 100644 --- a/packages/netlify-cms-ui-default/package.json +++ b/packages/netlify-cms-ui-default/package.json @@ -14,7 +14,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "react-aria-menubutton": "^6.0.0", diff --git a/packages/netlify-cms-widget-boolean/package.json b/packages/netlify-cms-widget-boolean/package.json index 3e0d795a..67213bcf 100644 --- a/packages/netlify-cms-widget-boolean/package.json +++ b/packages/netlify-cms-widget-boolean/package.json @@ -18,7 +18,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "@emotion/core": "^10.0.9", diff --git a/packages/netlify-cms-widget-date/package.json b/packages/netlify-cms-widget-date/package.json index 6b575ff8..6753eafd 100644 --- a/packages/netlify-cms-widget-date/package.json +++ b/packages/netlify-cms-widget-date/package.json @@ -19,7 +19,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "react-datetime": "^2.16.3" diff --git a/packages/netlify-cms-widget-datetime/package.json b/packages/netlify-cms-widget-datetime/package.json index ef24280e..a0b31aaf 100644 --- a/packages/netlify-cms-widget-datetime/package.json +++ b/packages/netlify-cms-widget-datetime/package.json @@ -20,7 +20,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "@emotion/core": "^10.0.9", diff --git a/packages/netlify-cms-widget-file/package.json b/packages/netlify-cms-widget-file/package.json index 1779cdd9..93652f45 100644 --- a/packages/netlify-cms-widget-file/package.json +++ b/packages/netlify-cms-widget-file/package.json @@ -20,7 +20,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "common-tags": "^1.8.0" diff --git a/packages/netlify-cms-widget-image/package.json b/packages/netlify-cms-widget-image/package.json index c6bc7d13..ea5000f8 100644 --- a/packages/netlify-cms-widget-image/package.json +++ b/packages/netlify-cms-widget-image/package.json @@ -20,7 +20,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "@emotion/core": "^10.0.9", diff --git a/packages/netlify-cms-widget-list/package.json b/packages/netlify-cms-widget-list/package.json index 370b2ca2..29063a96 100644 --- a/packages/netlify-cms-widget-list/package.json +++ b/packages/netlify-cms-widget-list/package.json @@ -19,7 +19,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "react-sortable-hoc": "^1.0.0" diff --git a/packages/netlify-cms-widget-map/package.json b/packages/netlify-cms-widget-map/package.json index b0cdb6e6..6f9165e4 100644 --- a/packages/netlify-cms-widget-map/package.json +++ b/packages/netlify-cms-widget-map/package.json @@ -19,7 +19,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "@emotion/core": "^10.0.9", diff --git a/packages/netlify-cms-widget-markdown/package.json b/packages/netlify-cms-widget-markdown/package.json index 5f9053d8..94d3a6a7 100644 --- a/packages/netlify-cms-widget-markdown/package.json +++ b/packages/netlify-cms-widget-markdown/package.json @@ -19,7 +19,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "is-hotkey": "^0.1.4", diff --git a/packages/netlify-cms-widget-number/package.json b/packages/netlify-cms-widget-number/package.json index 015ef09e..7a95280b 100644 --- a/packages/netlify-cms-widget-number/package.json +++ b/packages/netlify-cms-widget-number/package.json @@ -18,7 +18,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "netlify-cms-ui-default": "^2.6.0", diff --git a/packages/netlify-cms-widget-object/package.json b/packages/netlify-cms-widget-object/package.json index 22c32bc2..5e6158cb 100644 --- a/packages/netlify-cms-widget-object/package.json +++ b/packages/netlify-cms-widget-object/package.json @@ -20,7 +20,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "@emotion/core": "^10.0.9", diff --git a/packages/netlify-cms-widget-relation/package.json b/packages/netlify-cms-widget-relation/package.json index 16dbc503..9378875e 100644 --- a/packages/netlify-cms-widget-relation/package.json +++ b/packages/netlify-cms-widget-relation/package.json @@ -19,7 +19,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "react-select": "^2.4.2" diff --git a/packages/netlify-cms-widget-select/package.json b/packages/netlify-cms-widget-select/package.json index cfba85df..8435e64d 100644 --- a/packages/netlify-cms-widget-select/package.json +++ b/packages/netlify-cms-widget-select/package.json @@ -20,7 +20,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "immutable": "^3.7.6", diff --git a/packages/netlify-cms-widget-string/package.json b/packages/netlify-cms-widget-string/package.json index 618b3db6..86f3137a 100644 --- a/packages/netlify-cms-widget-string/package.json +++ b/packages/netlify-cms-widget-string/package.json @@ -18,7 +18,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "peerDependencies": { "netlify-cms-ui-default": "^2.6.0", diff --git a/packages/netlify-cms-widget-text/package.json b/packages/netlify-cms-widget-text/package.json index dfe58adc..c0c33876 100644 --- a/packages/netlify-cms-widget-text/package.json +++ b/packages/netlify-cms-widget-text/package.json @@ -21,7 +21,7 @@ "scripts": { "develop": "yarn build:esm --watch", "build": "cross-env NODE_ENV=production webpack", - "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore **/__tests__ --root-mode upward" + "build:esm": "cross-env NODE_ENV=esm babel src --out-dir dist/esm --ignore \"**/__tests__\" --root-mode upward" }, "dependencies": { "react-textarea-autosize": "^7.1.0"