Skip to content

Commit

Permalink
Scripts: Add WordPress folder to the list of ignores in configs (Word…
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Sep 3, 2019
1 parent 40e4a7c commit 6e85a0b
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 1 deletion.
1 change: 0 additions & 1 deletion .stylelintignore

This file was deleted.

2 changes: 2 additions & 0 deletions packages/e2e-tests/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module.exports = {
'expect-puppeteer',
],
testPathIgnorePatterns: [
'/node_modules/',
'/wordpress/',
'e2e-tests/specs/performance.test.js',
],
};
6 changes: 6 additions & 0 deletions packages/jest-preset-default/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Master

### Bug Fixes

- Add `wordpress` folder to the list of ignored paths ([#17296](https://github.com/WordPress/gutenberg/pull/17296)).

## 5.0.0 (2019-08-29)

### Breaking Changes
Expand Down
4 changes: 4 additions & 0 deletions packages/jest-preset-default/jest-preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"**/test/*.[jt]s",
"**/?(*.)test.[jt]s"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/wordpress/"
],
"timers": "fake",
"transform": {
"^.+\\.[jt]sx?$": "<rootDir>/node_modules/babel-jest"
Expand Down
4 changes: 4 additions & 0 deletions packages/scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Add the new `env` family of scripts [(#17004](https://github.com/WordPress/gutenberg/pull/17004/)).

### Bug Fixes

- Add `wordpress` folder to the list of ignored paths in all applicable config files ([#17296](https://github.com/WordPress/gutenberg/pull/17296)).

## 4.0.0 (2019-08-29)

### Breaking Changes
Expand Down
1 change: 1 addition & 0 deletions packages/scripts/config/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build
node_modules
wordpress
1 change: 1 addition & 0 deletions packages/scripts/config/.npmpackagejsonlintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# By default, all `node_modules` are ignored.

build
wordpress
1 change: 1 addition & 0 deletions packages/scripts/config/.stylelintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# By default, all `node_modules` are ignored.

build
wordpress
4 changes: 4 additions & 0 deletions packages/scripts/config/jest-e2e.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const jestE2EConfig = {
'**/specs/**/*.[jt]s',
'**/?(*.)spec.[jt]s',
],
testPathIgnorePatterns: [
'/node_modules/',
'/wordpress/',
],
};

if ( ! hasBabelConfig() ) {
Expand Down
1 change: 1 addition & 0 deletions test/native/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = {
],
testPathIgnorePatterns: [
'/node_modules/',
'/wordpress/',
'/__device-tests__/',
],
testURL: 'http://localhost/',
Expand Down
1 change: 1 addition & 0 deletions test/unit/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = {
'/\.git/',
'/node_modules/',
'/packages/e2e-tests',
'/wordpress/',
'<rootDir>/.*/build/',
'<rootDir>/.*/build-module/',
'<rootDir>/.+\.native\.js$',
Expand Down

0 comments on commit 6e85a0b

Please sign in to comment.