@clerk/upgrade 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/app.js
CHANGED
|
@@ -103,7 +103,7 @@ export default function App({
|
|
|
103
103
|
})), !isEmpty(sdks) && fromVersion && toVersion && dir && isEmpty(ignore) && !configComplete && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, null, "Are there any files or directories you'd like to ignore? If so, you can add them below, separated by commas. We ignore \"node_modules\" and \".git\" by default."), /*#__PURE__*/React.createElement(Text, {
|
|
104
104
|
color: "gray"
|
|
105
105
|
}, "(globstar syntax supported)"), /*#__PURE__*/React.createElement(TextInput, {
|
|
106
|
-
placeholder: "**/public
|
|
106
|
+
placeholder: "**/public/**, **/docs/**",
|
|
107
107
|
defaultValue: ignore,
|
|
108
108
|
onSubmit: val => {
|
|
109
109
|
setIgnore(val.includes(',') ? val.split(/\s*,\s*/) : [].concat(val));
|
package/dist/cli.js
CHANGED
|
File without changes
|
|
@@ -22,7 +22,7 @@ export default authMiddleware({
|
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
export const config = {
|
|
25
|
-
matcher: ['/((?!.+\\.[\\w]+$|_next)
|
|
25
|
+
matcher: ['/((?!.+\\.[\\w]+$|_next).*)', '/', '/(api|trpc)(.*)'],
|
|
26
26
|
};
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -45,6 +45,6 @@ export default clerkMiddleware((auth, request) => {
|
|
|
45
45
|
});
|
|
46
46
|
|
|
47
47
|
export const config = {
|
|
48
|
-
matcher: ['/((
|
|
48
|
+
matcher: ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)'],
|
|
49
49
|
};
|
|
50
50
|
```
|