-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: remove magic exports support (#6895)
Co-authored-by: Matt Brophy <matt@brophy.org>
- Loading branch information
1 parent
4a72db6
commit 9a6417c
Showing
18 changed files
with
38 additions
and
514 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,19 @@ | ||
--- | ||
"remix": major | ||
"@remix-run/cloudflare": major | ||
"@remix-run/dev": major | ||
"@remix-run/node": major | ||
"@remix-run/react": major | ||
"@remix-run/server-runtime": major | ||
"@remix-run/testing": major | ||
--- | ||
|
||
Removed support for "magic exports" from the `remix` package. This package can be removed from your `package.json` and you should update all imports to use the source `@remix-run/*` packages: | ||
|
||
```diff | ||
- import type { ActionArgs } from "remix"; | ||
- import { json, useLoaderData } from "remix"; | ||
+ import type { ActionArgs } from "@remix-run/node"; | ||
+ import { json } from "@remix-run/node"; | ||
+ import { useLoaderData } from "@remix-run/react"; | ||
``` |
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
28 changes: 0 additions & 28 deletions
28
packages/remix-dev/compiler/plugins/deprecatedRemixPackage.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.