Skip to content

Commit

Permalink
Restructure is-shallow-equal
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Mar 11, 2020
1 parent 47c9522 commit b38bb21
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions .npmpackagejsonlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
packages/is-shallow-equal/*/package.json
2 changes: 2 additions & 0 deletions packages/is-shallow-equal/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
benchmark
test
3 changes: 3 additions & 0 deletions packages/is-shallow-equal/arrays/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"main": "../src/arrays.js"
}
3 changes: 3 additions & 0 deletions packages/is-shallow-equal/objects/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"main": "../src/objects.js"
}
8 changes: 1 addition & 7 deletions packages/is-shallow-equal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,7 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"files": [
"arrays.js",
"index.js",
"objects.js",
"build-types"
],
"main": "index.js",
"main": "src/index.js",
"types": "build-types",
"sideEffects": false,
"dependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/is-shallow-equal/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": ".",
"rootDir": "src",
"declarationDir": "build-types"
},
"files": [ "arrays.js", "index.js", "objects.js" ]
"include": [ "src/**/*" ]
}

0 comments on commit b38bb21

Please sign in to comment.