Skip to content

Commit

Permalink
fix: wrap ignore pattern in quotes (#23176)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts authored Apr 16, 2020
1 parent 52d352f commit 7563db6
Show file tree
Hide file tree
Showing 96 changed files with 189 additions and 189 deletions.
4 changes: 2 additions & 2 deletions packages/babel-plugin-remove-graphql-queries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"graphql": "^14.1.1"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-preset-gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__ --ignore **/utils/path-serializer.ts --extensions \".ts,.js\"",
"build": "babel src --out-dir . --ignore \"**/__tests__\" --ignore \"**/utils/path-serializer.ts\" --extensions \".ts,.js\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__ --ignore **/utils/path-serializer.ts --extensions \".ts,.js\""
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --ignore \"**/utils/path-serializer.ts\" --extensions \".ts,.js\""
},
"devDependencies": {
"@babel/cli": "^7.8.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-codemods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "A collection of codemod scripts for use with JSCodeshift that help migrate to newer versions of Gatsby.",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"directory": "packages/gatsby-core-utils"
},
"scripts": {
"build": "babel src --out-dir dist/ --ignore **/__tests__ --ignore **/__mocks__ --extensions \".ts\"",
"build": "babel src --out-dir dist/ --ignore \"**/__tests__\" --ignore \"**/__mocks__\" --extensions \".ts\"",
"typegen": "tsc --emitDeclarationOnly --declaration --declarationDir dist/",
"prepare": "cross-env NODE_ENV=production npm run build && npm run typegen",
"watch": "babel -w src --out-dir dist/ --ignore **/__tests__ --extensions \".ts\""
"watch": "babel -w src --out-dir dist/ --ignore \"**/__tests__\" --extensions \".ts\""
},
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
},
"readme": "README.md",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-graphiql-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"build:app": "webpack --config ./src/app/webpack.config.js",
"build:babel": "babel src/index.js --out-dir . --ignore **/__tests__",
"build:babel": "babel src/index.js --out-dir . --ignore \"**/__tests__\"",
"build": "npm-run-all --parallel build:app build:babel",
"prepare": "cross-env NODE_ENV=production npm run build",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"directory": "packages/gatsby-image"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"directory": "packages/gatsby-link"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"types": "index.d.ts",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-page-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Gatsby library that helps creating pages",
"main": "dist/index.js",
"scripts": {
"build": "babel src --out-dir dist/ --ignore **/__tests__",
"watch": "babel -w src --out-dir dist/ --ignore **/__tests__",
"build": "babel src --out-dir dist/ --ignore \"**/__tests__\"",
"watch": "babel -w src --out-dir dist/ --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-benchmark-reporting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"uuid": "^3.4.0"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-canonical-urls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"directory": "packages/gatsby-plugin-canonical-urls"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-catch-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"directory": "packages/gatsby-plugin-catch-links"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-coffeescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"directory": "packages/gatsby-plugin-coffeescript"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-create-client-paths/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"directory": "packages/gatsby-plugin-create-client-paths"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-cxs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"directory": "packages/gatsby-plugin-cxs"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"directory": "packages/gatsby-plugin-emotion"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-facebook-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"directory": "packages/gatsby-plugin-facebook-analytics"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
"directory": "packages/gatsby-plugin-feed"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Provides drop-in support for Flow by adding @babel/preset-flow.",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-fullstory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Plugin to add the tracking code for Fullstory.com",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-glamor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"directory": "packages/gatsby-plugin-glamor"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"directory": "packages/gatsby-plugin-google-analytics"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-gtag/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"directory": "packages/gatsby-plugin-google-gtag"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-google-tagmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"directory": "packages/gatsby-plugin-google-tagmanager"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-guess-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Gatsby plugin providing drop-in integration with Guess.js to enabling using machine learning and analytics data to power prefetching",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-jss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"directory": "packages/gatsby-plugin-jss"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Reimplements the behavior of layout components in gatsby@1, which was removed in version 2.",
"main": "index.js",
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"watch": "babel -w src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-less/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"directory": "packages/gatsby-plugin-less"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__,theme-test.js",
"build": "babel src --out-dir . --ignore \"**/__tests__,theme-test.js\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__,theme-test.js"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__,theme-test.js\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-lodash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"directory": "packages/gatsby-plugin-lodash"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-manifest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"directory": "packages/gatsby-plugin-manifest"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-netlify-cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"directory": "packages/gatsby-plugin-netlify-cms"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
"directory": "packages/gatsby-plugin-netlify"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-nprogress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"directory": "packages/gatsby-plugin-nprogress"
},
"scripts": {
"build": "babel src --out-dir . --ignore **/__tests__",
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__"
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
},
"engines": {
"node": ">=10.13.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"scripts": {
"build": "npm run build:src && npm run build:sw-append",
"build:src": "babel src --out-dir . --ignore **/__tests__,src/sw-append.js",
"build:src": "babel src --out-dir . --ignore \"**/__tests__,src/sw-append.js\"",
"build:sw-append": "cpx -v src/sw-append.js .",
"prepare": "cross-env NODE_ENV=production npm run build",
"watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch"
Expand Down
Loading

0 comments on commit 7563db6

Please sign in to comment.