-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up files, exports, dependencies (#4974)
* install and configure knip * remove unused exports * remove export keyword from unused exports * remove unused files * clean up dependencies * tag deprecated aliases * organize core exports * re-export actor-specific ActorRef types * remove outdated changeset * restore david's scripts * remove knip entries for examples and templates * remove tslib * upgrade knip and simplify config * move svelte-jester to root package.json * upgrade knip to latest * add xstate-svelte/test/tsconfig.json to knip workspaces config
- Loading branch information
1 parent
ccaeb44
commit 536cde6
Showing
27 changed files
with
326 additions
and
1,208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
"workspaces": { | ||
".": { | ||
"entry": ["scripts/*.js"], | ||
"project": ["scripts/*.js"] | ||
}, | ||
"packages/xstate-svelte": { | ||
"typescript": "test/tsconfig.json" | ||
} | ||
}, | ||
"ignore": [ | ||
// used for `#is-development` conditional import | ||
"packages/**/{true,false}.ts", | ||
// file acts as a type test | ||
"packages/xstate-svelte/test/interpreterAsReadable.svelte" | ||
], | ||
"ignoreBinaries": ["svelte-check", "docs:build"], | ||
"ignoreDependencies": [ | ||
"@xstate-repo/jest-utils", | ||
"@xstate-repo/jest-utils/setup", | ||
"synckit", | ||
// package.json#exports aren't added as entry points, because `dist/` is .gitignored | ||
"react", | ||
"xstate", | ||
"@types/ws" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.