Skip to content

Commit

Permalink
chore(depcheck): cleanup depcheck ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored and rexxars committed Feb 14, 2024
1 parent a2c08ee commit ac8fdc3
Show file tree
Hide file tree
Showing 31 changed files with 63 additions and 242 deletions.
3 changes: 3 additions & 0 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/eslint-config-studio", "dotenv-flow", "esbuild", "esbuild-register"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"clean:deps": "rimraf packages/@sanity/*/node_modules packages/*/node_modules node_modules perf/tests/node_modules perf/studio/node_modules",
"check:deps-updates": "npx npm-check-updates --workspaces --root -m",
"check:versions": "node -r esbuild-register scripts/normalizeDependencyVersions.ts",
"depcheck": "lerna exec \"node -r esbuild-register \\$LERNA_ROOT_PATH/scripts/depcheck.ts\" --no-bail --parallel",
"depcheck": "lerna exec depcheck --no-bail --parallel",
"deploy:movies": "yarn build && cd examples/movies-studio && sanity deploy",
"deploy:test": "yarn build && cd dev/test-studio && sanity deploy",
"dev": "yarn start",
Expand Down
3 changes: 0 additions & 3 deletions packages/@sanity/block-tools/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/block-tools/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils", "react"]
}
33 changes: 0 additions & 33 deletions packages/@sanity/cli/.depcheckignore.json

This file was deleted.

20 changes: 20 additions & 0 deletions packages/@sanity/cli/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"ignores": [
"@sanity/pkg-utils",
"sanity",
"@sanity/icons",
"pluralize-esm",
"vite",
"@portabletext/toolkit",
"react",
"@sanity/ui",
"lodash.get",
"@portabletext/types",
"slug",
"@sanity/asset-utils",
"styled-components",
"sanity-plugin-hotspot-array",
"react-icons",
"react-barcode"
]
}
3 changes: 0 additions & 3 deletions packages/@sanity/diff/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/diff/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils"]
}
3 changes: 0 additions & 3 deletions packages/@sanity/migrate/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/migrate/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils"]
}
3 changes: 0 additions & 3 deletions packages/@sanity/mutator/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/mutator/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils"]
}
3 changes: 0 additions & 3 deletions packages/@sanity/portable-text-editor/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/portable-text-editor/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils", "ws", "@types/jest"]
}
3 changes: 0 additions & 3 deletions packages/@sanity/schema/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/schema/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils"]
}
19 changes: 0 additions & 19 deletions packages/@sanity/types/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/types/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils", "react", "_self_"]
}
3 changes: 0 additions & 3 deletions packages/@sanity/util/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/util/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils"]
}
3 changes: 0 additions & 3 deletions packages/@sanity/vision/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/@sanity/vision/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils"]
}
3 changes: 0 additions & 3 deletions packages/create-sanity/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/create-sanity/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/cli"]
}
4 changes: 0 additions & 4 deletions packages/groq/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/groq/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils"]
}
10 changes: 0 additions & 10 deletions packages/sanity/.depcheckignore.json

This file was deleted.

3 changes: 3 additions & 0 deletions packages/sanity/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["@sanity/pkg-utils", "globby", "sanity"]
}
3 changes: 3 additions & 0 deletions perf/.depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignores": ["sanity"]
}
3 changes: 0 additions & 3 deletions perf/tests/.depcheckignore.json

This file was deleted.

145 changes: 0 additions & 145 deletions scripts/depcheck.ts

This file was deleted.

0 comments on commit ac8fdc3

Please sign in to comment.