Skip to content

Commit 7563db6

Browse files
authored
fix: wrap ignore pattern in quotes (#23176)
1 parent 52d352f commit 7563db6

File tree

96 files changed

+189
-189
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+189
-189
lines changed

packages/babel-plugin-remove-graphql-queries/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"graphql": "^14.1.1"
2222
},
2323
"scripts": {
24-
"build": "babel src --out-dir . --ignore **/__tests__",
24+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
2525
"prepare": "cross-env NODE_ENV=production npm run build",
26-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
26+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
2727
},
2828
"engines": {
2929
"node": ">=10.13.0"

packages/babel-preset-gatsby/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
"license": "MIT",
3030
"main": "index.js",
3131
"scripts": {
32-
"build": "babel src --out-dir . --ignore **/__tests__ --ignore **/utils/path-serializer.ts --extensions \".ts,.js\"",
32+
"build": "babel src --out-dir . --ignore \"**/__tests__\" --ignore \"**/utils/path-serializer.ts\" --extensions \".ts,.js\"",
3333
"prepare": "cross-env NODE_ENV=production npm run build",
34-
"watch": "babel -w src --out-dir . --ignore **/__tests__ --ignore **/utils/path-serializer.ts --extensions \".ts,.js\""
34+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --ignore \"**/utils/path-serializer.ts\" --extensions \".ts,.js\""
3535
},
3636
"devDependencies": {
3737
"@babel/cli": "^7.8.4",

packages/gatsby-codemods/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "A collection of codemod scripts for use with JSCodeshift that help migrate to newer versions of Gatsby.",
55
"main": "index.js",
66
"scripts": {
7-
"build": "babel src --out-dir . --ignore **/__tests__",
8-
"watch": "babel -w src --out-dir . --ignore **/__tests__",
7+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
8+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
99
"prepare": "cross-env NODE_ENV=production npm run build"
1010
},
1111
"keywords": [

packages/gatsby-core-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"directory": "packages/gatsby-core-utils"
1717
},
1818
"scripts": {
19-
"build": "babel src --out-dir dist/ --ignore **/__tests__ --ignore **/__mocks__ --extensions \".ts\"",
19+
"build": "babel src --out-dir dist/ --ignore \"**/__tests__\" --ignore \"**/__mocks__\" --extensions \".ts\"",
2020
"typegen": "tsc --emitDeclarationOnly --declaration --declarationDir dist/",
2121
"prepare": "cross-env NODE_ENV=production npm run build && npm run typegen",
22-
"watch": "babel -w src --out-dir dist/ --ignore **/__tests__ --extensions \".ts\""
22+
"watch": "babel -w src --out-dir dist/ --ignore \"**/__tests__\" --extensions \".ts\""
2323
},
2424
"bugs": {
2525
"url": "https://github.com/gatsbyjs/gatsby/issues"

packages/gatsby-cypress/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
},
3636
"readme": "README.md",
3737
"scripts": {
38-
"build": "babel src --out-dir . --ignore **/__tests__",
38+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3939
"prepare": "cross-env NODE_ENV=production npm run build",
40-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
40+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4141
},
4242
"engines": {
4343
"node": ">=10.13.0"

packages/gatsby-graphiql-explorer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"build:app": "webpack --config ./src/app/webpack.config.js",
8-
"build:babel": "babel src/index.js --out-dir . --ignore **/__tests__",
8+
"build:babel": "babel src/index.js --out-dir . --ignore \"**/__tests__\"",
99
"build": "npm-run-all --parallel build:app build:babel",
1010
"prepare": "cross-env NODE_ENV=production npm run build",
1111
"test": "echo \"Error: no test specified\" && exit 1",

packages/gatsby-image/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"directory": "packages/gatsby-image"
3333
},
3434
"scripts": {
35-
"build": "babel src --out-dir . --ignore **/__tests__",
35+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3636
"prepare": "cross-env NODE_ENV=production npm run build",
37-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
37+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3838
},
3939
"engines": {
4040
"node": ">=10.13.0"

packages/gatsby-link/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
"directory": "packages/gatsby-link"
3737
},
3838
"scripts": {
39-
"build": "babel src --out-dir . --ignore **/__tests__",
39+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
4040
"prepare": "cross-env NODE_ENV=production npm run build",
41-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
41+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4242
},
4343
"types": "index.d.ts",
4444
"engines": {

packages/gatsby-page-utils/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Gatsby library that helps creating pages",
55
"main": "dist/index.js",
66
"scripts": {
7-
"build": "babel src --out-dir dist/ --ignore **/__tests__",
8-
"watch": "babel -w src --out-dir dist/ --ignore **/__tests__",
7+
"build": "babel src --out-dir dist/ --ignore \"**/__tests__\"",
8+
"watch": "babel -w src --out-dir dist/ --ignore \"**/__tests__\"",
99
"prepare": "cross-env NODE_ENV=production npm run build"
1010
},
1111
"keywords": [

packages/gatsby-plugin-benchmark-reporting/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"uuid": "^3.4.0"
2323
},
2424
"scripts": {
25-
"build": "babel src --out-dir . --ignore **/__tests__",
25+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
2626
"prepare": "cross-env NODE_ENV=production npm run build",
27-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
27+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
2828
},
2929
"engines": {
3030
"node": ">=10.13.0"

packages/gatsby-plugin-canonical-urls/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"directory": "packages/gatsby-plugin-canonical-urls"
3232
},
3333
"scripts": {
34-
"build": "babel src --out-dir . --ignore **/__tests__",
34+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3535
"prepare": "cross-env NODE_ENV=production npm run build",
36-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
36+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3737
},
3838
"engines": {
3939
"node": ">=10.13.0"

packages/gatsby-plugin-catch-links/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"directory": "packages/gatsby-plugin-catch-links"
3333
},
3434
"scripts": {
35-
"build": "babel src --out-dir . --ignore **/__tests__",
35+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3636
"prepare": "cross-env NODE_ENV=production npm run build",
37-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
37+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3838
},
3939
"engines": {
4040
"node": ">=10.13.0"

packages/gatsby-plugin-coffeescript/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"directory": "packages/gatsby-plugin-coffeescript"
4040
},
4141
"scripts": {
42-
"build": "babel src --out-dir . --ignore **/__tests__",
42+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
4343
"prepare": "cross-env NODE_ENV=production npm run build",
44-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
44+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4545
},
4646
"engines": {
4747
"node": ">=10.13.0"

packages/gatsby-plugin-create-client-paths/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
"directory": "packages/gatsby-plugin-create-client-paths"
3232
},
3333
"scripts": {
34-
"build": "babel src --out-dir . --ignore **/__tests__",
34+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3535
"prepare": "cross-env NODE_ENV=production npm run build",
36-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
36+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3737
},
3838
"engines": {
3939
"node": ">=10.13.0"

packages/gatsby-plugin-cxs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"directory": "packages/gatsby-plugin-cxs"
3535
},
3636
"scripts": {
37-
"build": "babel src --out-dir . --ignore **/__tests__",
37+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3838
"prepare": "cross-env NODE_ENV=production npm run build",
39-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
39+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4040
},
4141
"engines": {
4242
"node": ">=10.13.0"

packages/gatsby-plugin-emotion/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
"directory": "packages/gatsby-plugin-emotion"
3737
},
3838
"scripts": {
39-
"build": "babel src --out-dir . --ignore **/__tests__",
39+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
4040
"prepare": "cross-env NODE_ENV=production npm run build",
41-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
41+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4242
},
4343
"engines": {
4444
"node": ">=10.13.0"

packages/gatsby-plugin-facebook-analytics/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"directory": "packages/gatsby-plugin-facebook-analytics"
3434
},
3535
"scripts": {
36-
"build": "babel src --out-dir . --ignore **/__tests__",
36+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3737
"prepare": "cross-env NODE_ENV=production npm run build",
38-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
38+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3939
},
4040
"engines": {
4141
"node": ">=10.13.0"

packages/gatsby-plugin-feed/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
"directory": "packages/gatsby-plugin-feed"
3939
},
4040
"scripts": {
41-
"build": "babel src --out-dir . --ignore **/__tests__",
41+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
4242
"prepare": "cross-env NODE_ENV=production npm run build",
43-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
43+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4444
},
4545
"engines": {
4646
"node": ">=10.13.0"

packages/gatsby-plugin-flow/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Provides drop-in support for Flow by adding @babel/preset-flow.",
55
"main": "index.js",
66
"scripts": {
7-
"build": "babel src --out-dir . --ignore **/__tests__",
8-
"watch": "babel -w src --out-dir . --ignore **/__tests__",
7+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
8+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
99
"prepare": "cross-env NODE_ENV=production npm run build"
1010
},
1111
"keywords": [

packages/gatsby-plugin-fullstory/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Plugin to add the tracking code for Fullstory.com",
55
"main": "index.js",
66
"scripts": {
7-
"build": "babel src --out-dir . --ignore **/__tests__",
8-
"watch": "babel -w src --out-dir . --ignore **/__tests__",
7+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
8+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
99
"prepare": "cross-env NODE_ENV=production npm run build"
1010
},
1111
"keywords": [

packages/gatsby-plugin-glamor/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"directory": "packages/gatsby-plugin-glamor"
3434
},
3535
"scripts": {
36-
"build": "babel src --out-dir . --ignore **/__tests__",
36+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3737
"prepare": "cross-env NODE_ENV=production npm run build",
38-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
38+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3939
},
4040
"engines": {
4141
"node": ">=10.13.0"

packages/gatsby-plugin-google-analytics/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
"directory": "packages/gatsby-plugin-google-analytics"
3737
},
3838
"scripts": {
39-
"build": "babel src --out-dir . --ignore **/__tests__",
39+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
4040
"prepare": "cross-env NODE_ENV=production npm run build",
41-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
41+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4242
},
4343
"engines": {
4444
"node": ">=10.13.0"

packages/gatsby-plugin-google-gtag/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"directory": "packages/gatsby-plugin-google-gtag"
3535
},
3636
"scripts": {
37-
"build": "babel src --out-dir . --ignore **/__tests__",
37+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3838
"prepare": "cross-env NODE_ENV=production npm run build",
39-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
39+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4040
},
4141
"engines": {
4242
"node": ">=10.13.0"

packages/gatsby-plugin-google-tagmanager/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"directory": "packages/gatsby-plugin-google-tagmanager"
3434
},
3535
"scripts": {
36-
"build": "babel src --out-dir . --ignore **/__tests__",
36+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3737
"prepare": "cross-env NODE_ENV=production npm run build",
38-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
38+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3939
},
4040
"engines": {
4141
"node": ">=10.13.0"

packages/gatsby-plugin-guess-js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Gatsby plugin providing drop-in integration with Guess.js to enabling using machine learning and analytics data to power prefetching",
55
"main": "index.js",
66
"scripts": {
7-
"build": "babel src --out-dir . --ignore **/__tests__",
8-
"watch": "babel -w src --out-dir . --ignore **/__tests__",
7+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
8+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
99
"prepare": "cross-env NODE_ENV=production npm run build"
1010
},
1111
"keywords": [

packages/gatsby-plugin-jss/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"directory": "packages/gatsby-plugin-jss"
3434
},
3535
"scripts": {
36-
"build": "babel src --out-dir . --ignore **/__tests__",
36+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3737
"prepare": "cross-env NODE_ENV=production npm run build",
38-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
38+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3939
},
4040
"engines": {
4141
"node": ">=10.13.0"

packages/gatsby-plugin-layout/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Reimplements the behavior of layout components in gatsby@1, which was removed in version 2.",
55
"main": "index.js",
66
"scripts": {
7-
"build": "babel src --out-dir . --ignore **/__tests__",
8-
"watch": "babel -w src --out-dir . --ignore **/__tests__",
7+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
8+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\"",
99
"prepare": "cross-env NODE_ENV=production npm run build"
1010
},
1111
"keywords": [

packages/gatsby-plugin-less/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
"directory": "packages/gatsby-plugin-less"
3535
},
3636
"scripts": {
37-
"build": "babel src --out-dir . --ignore **/__tests__,theme-test.js",
37+
"build": "babel src --out-dir . --ignore \"**/__tests__,theme-test.js\"",
3838
"prepare": "cross-env NODE_ENV=production npm run build",
39-
"watch": "babel -w src --out-dir . --ignore **/__tests__,theme-test.js"
39+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__,theme-test.js\""
4040
},
4141
"engines": {
4242
"node": ">=10.13.0"

packages/gatsby-plugin-lodash/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
"directory": "packages/gatsby-plugin-lodash"
3434
},
3535
"scripts": {
36-
"build": "babel src --out-dir . --ignore **/__tests__",
36+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3737
"prepare": "cross-env NODE_ENV=production npm run build",
38-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
38+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3939
},
4040
"engines": {
4141
"node": ">=10.13.0"

packages/gatsby-plugin-manifest/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"directory": "packages/gatsby-plugin-manifest"
4040
},
4141
"scripts": {
42-
"build": "babel src --out-dir . --ignore **/__tests__",
42+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
4343
"prepare": "cross-env NODE_ENV=production npm run build",
44-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
44+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4545
},
4646
"engines": {
4747
"node": ">=10.13.0"

packages/gatsby-plugin-netlify-cms/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
"directory": "packages/gatsby-plugin-netlify-cms"
4848
},
4949
"scripts": {
50-
"build": "babel src --out-dir . --ignore **/__tests__",
50+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
5151
"prepare": "cross-env NODE_ENV=production npm run build",
52-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
52+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
5353
},
5454
"engines": {
5555
"node": ">=10.13.0"

packages/gatsby-plugin-netlify/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
"directory": "packages/gatsby-plugin-netlify"
4444
},
4545
"scripts": {
46-
"build": "babel src --out-dir . --ignore **/__tests__",
46+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
4747
"prepare": "cross-env NODE_ENV=production npm run build",
48-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
48+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
4949
},
5050
"engines": {
5151
"node": ">=10.13.0"

packages/gatsby-plugin-nprogress/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"directory": "packages/gatsby-plugin-nprogress"
3333
},
3434
"scripts": {
35-
"build": "babel src --out-dir . --ignore **/__tests__",
35+
"build": "babel src --out-dir . --ignore \"**/__tests__\"",
3636
"prepare": "cross-env NODE_ENV=production npm run build",
37-
"watch": "babel -w src --out-dir . --ignore **/__tests__"
37+
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\""
3838
},
3939
"engines": {
4040
"node": ">=10.13.0"

packages/gatsby-plugin-offline/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
},
4444
"scripts": {
4545
"build": "npm run build:src && npm run build:sw-append",
46-
"build:src": "babel src --out-dir . --ignore **/__tests__,src/sw-append.js",
46+
"build:src": "babel src --out-dir . --ignore \"**/__tests__,src/sw-append.js\"",
4747
"build:sw-append": "cpx -v src/sw-append.js .",
4848
"prepare": "cross-env NODE_ENV=production npm run build",
4949
"watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch"

0 commit comments

Comments
 (0)