Skip to content

Commit 7563db6

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

96 files changed

Lines changed: 189 additions & 189 deletions

File tree

Some content is hidden

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

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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"

0 commit comments

Comments
 (0)