Skip to content

Commit

Permalink
Packages: Minor tweaks to the configuration of packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo committed Jul 11, 2018
1 parent 230a7c8 commit 46e2c2d
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 10 deletions.
11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,11 @@
"@wordpress/scripts": "file:packages/scripts",
"autoprefixer": "8.2.0",
"babel-eslint": "8.0.3",
"babel-loader": "7.1.4",
"babel-loader": "8.0.0-beta.4",
"chalk": "2.4.1",
"check-node-version": "3.1.1",
"codecov": "3.0.2",
"concurrently": "3.5.0",
"core-js": "2.5.3",
"cross-env": "3.2.4",
"deep-freeze": "0.0.1",
"doctrine": "2.1.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/babel-plugin-import-jsx-pragma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,19 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"files": [
"build",
"build-module"
],
"main": "build/index.js",
"module": "build-module/index.js",
"devDependencies": {
"@babel/core": "7.0.0-beta.52",
"@babel/plugin-syntax-jsx": "^7.0.0-beta.52"
},
"peerDependencies": {
"@babel/core": "^7.0.0-beta.52"
},
"publishConfig": {
"access": "public"
}
Expand Down
7 changes: 7 additions & 0 deletions packages/babel-plugin-makepot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"files": [
"build",
"build-module"
],
"main": "build/index.js",
"module": "build-module/index.js",
"dependencies": {
Expand All @@ -28,6 +32,9 @@
"@babel/core": "7.0.0-beta.52",
"@babel/traverse": "^7.0.0-beta.52"
},
"peerDependencies": {
"@babel/core": "^7.0.0-beta.52"
},
"publishConfig": {
"access": "public"
}
Expand Down
9 changes: 8 additions & 1 deletion packages/babel-preset-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
"type": "git",
"url": "https://github.com/WordPress/gutenberg.git"
},
"files": [
"build",
"build-module"
],
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
Expand All @@ -29,7 +33,10 @@
"@babel/preset-env": "^7.0.0-beta.52",
"@babel/runtime": "^7.0.0-beta.52",
"@wordpress/browserslist-config": "file:../browserslist-config",
"babel-core": "7.0.0-bridge.0"
"babel-core": "^7.0.0-bridge.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0-beta.50"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/custom-templated-path-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"files": [
"build",
"build-module"
],
"main": "build/index.js",
"module": "build-module/index.js",
"dependencies": {
Expand Down
6 changes: 4 additions & 2 deletions packages/jest-preset-default/jest-preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/.*/build/",
"<rootDir>/.*/build-module/",
"<rootDir>/packages/.*/benchmark/"
"<rootDir>/.*/build-module/"
],
"moduleNameMapper": {
"\\.(scss|css)$": "<rootDir>/node_modules/@wordpress/jest-preset-default/scripts/style-mock.js"
Expand All @@ -22,5 +21,8 @@
"**/test/*.js"
],
"timers": "fake",
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"verbose": true
}
4 changes: 4 additions & 0 deletions packages/library-export-default-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"files": [
"build",
"build-module"
],
"main": "build/index.js",
"dependencies": {
"lodash": "4.17.10",
Expand Down
4 changes: 4 additions & 0 deletions packages/postcss-themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"files": [
"build",
"build-module"
],
"main": "build/index.js",
"dependencies": {
"postcss": "^6.0.16"
Expand Down
6 changes: 6 additions & 0 deletions test/unit/jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"(blocks|components|editor|utils|edit-post|viewport|core-blocks|nux)/**/*.js",
"packages/**/*.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/.*/build/",
"<rootDir>/.*/build-module/",
"<rootDir>/packages/.*/benchmark/"
],
"moduleNameMapper": {
"@wordpress\\/(blocks|components|editor|utils|edit-post|viewport|core-blocks|nux)$": "$1",
"@wordpress\\/(.*)$": "packages/$1/src"
Expand Down

0 comments on commit 46e2c2d

Please sign in to comment.