Skip to content

Commit

Permalink
Improve is-shallow-equal structure
Browse files Browse the repository at this point in the history
- No package.json hack
- No package.json lint ignore
- Publish via files field
  • Loading branch information
sirreal committed Mar 21, 2020
1 parent ea4f17b commit 4ed5b58
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .npmpackagejsonlintignore

This file was deleted.

2 changes: 0 additions & 2 deletions packages/is-shallow-equal/.npmignore

This file was deleted.

1 change: 1 addition & 0 deletions packages/is-shallow-equal/arrays.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require( './lib/arrays.js' );
3 changes: 0 additions & 3 deletions packages/is-shallow-equal/arrays/package.json

This file was deleted.

1 change: 1 addition & 0 deletions packages/is-shallow-equal/objects.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require( './lib/objects.js' );
3 changes: 0 additions & 3 deletions packages/is-shallow-equal/objects/package.json

This file was deleted.

6 changes: 6 additions & 0 deletions packages/is-shallow-equal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"files": [
"lib",
"build-types",
"*.js",
"*.md"
],
"main": "lib/index.js",
"types": "build-types",
"sideEffects": false,
Expand Down

0 comments on commit 4ed5b58

Please sign in to comment.