@sqrzro/addons 4.0.0-alpha.6 → 4.0.0-alpha.9
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
class MissingConfigError extends Error {
|
|
2
2
|
constructor(name) {
|
|
3
|
-
super(
|
|
3
|
+
super(
|
|
4
|
+
`The config for addon \`${name}\` appears to be missing. Please make sure you have set it up using \`registerAddons\` in your root layout or API route.`
|
|
5
|
+
);
|
|
4
6
|
this.name = 'MissingConfigError';
|
|
5
7
|
}
|
|
6
8
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqrzro/addons",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-alpha.
|
|
4
|
+
"version": "4.0.0-alpha.9",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "ISC",
|
|
@@ -26,9 +26,7 @@
|
|
|
26
26
|
"next": "^16.1.6"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"
|
|
30
|
-
"typescript": "^5.9.3",
|
|
31
|
-
"@sqrzro/prettier-config": "^4.0.0-alpha.3"
|
|
29
|
+
"typescript": "^5.9.3"
|
|
32
30
|
},
|
|
33
31
|
"scripts": {
|
|
34
32
|
"build": "tsc",
|