-
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.
add outline/solid upgrade error scripts
- Loading branch information
1 parent
45f7f3f
commit f508658
Showing
7 changed files
with
72 additions
and
2 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
* | ||
!.gitignore | ||
!package.json | ||
!outline | ||
!solid |
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,16 @@ | ||
let proxy = new Proxy( | ||
{}, | ||
{ | ||
get: (obj, property) => { | ||
if (property === '__esModule') { | ||
return {} | ||
} | ||
|
||
throw new Error( | ||
`You\'re trying to import \`@heroicons/react/outline/${property}\` from Heroicons v1 but have installed Heroicons v2. Install \`@heroicons/react@v1\` to resolve this error.` | ||
) | ||
}, | ||
} | ||
) | ||
|
||
module.exports = proxy |
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 |
---|---|---|
|
@@ -11,7 +11,9 @@ | |
}, | ||
"files": [ | ||
"20", | ||
"24" | ||
"24", | ||
"solid", | ||
"outline" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
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,16 @@ | ||
let proxy = new Proxy( | ||
{}, | ||
{ | ||
get: (obj, property) => { | ||
if (property === '__esModule') { | ||
return {} | ||
} | ||
|
||
throw new Error( | ||
`You\'re trying to import \`@heroicons/react/solid/${property}\` from Heroicons v1 but have installed Heroicons v2. Install \`@heroicons/react@v1\` to resolve this error.` | ||
) | ||
}, | ||
} | ||
) | ||
|
||
module.exports = proxy |
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,16 @@ | ||
let proxy = new Proxy( | ||
{}, | ||
{ | ||
get: (obj, property) => { | ||
if (property === '__esModule') { | ||
return {} | ||
} | ||
|
||
throw new Error( | ||
`You\'re trying to import \`@heroicons/vue/outline/${property}\` from Heroicons v1 but have installed Heroicons v2. Install \`@heroicons/vue@v1\` to resolve this error.` | ||
) | ||
}, | ||
} | ||
) | ||
|
||
module.exports = proxy |
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 |
---|---|---|
|
@@ -11,7 +11,9 @@ | |
}, | ||
"files": [ | ||
"20", | ||
"24" | ||
"24", | ||
"outline", | ||
"solid" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
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,16 @@ | ||
let proxy = new Proxy( | ||
{}, | ||
{ | ||
get: (obj, property) => { | ||
if (property === '__esModule') { | ||
return {} | ||
} | ||
|
||
throw new Error( | ||
`You\'re trying to import \`@heroicons/vue/solid/${property}\` from Heroicons v1 but have installed Heroicons v2. Install \`@heroicons/vue@v1\` to resolve this error.` | ||
) | ||
}, | ||
} | ||
) | ||
|
||
module.exports = proxy |