@moontra/moonui-pro 3.4.4 → 3.4.5
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/next-config-plugin.mjs +3 -19
- package/package.json +1 -1
|
@@ -158,24 +158,8 @@ function withMoonUIProToken(nextConfig = {}) {
|
|
|
158
158
|
} else {
|
|
159
159
|
const licenseKey = getLicenseKeyFromEnv();
|
|
160
160
|
if (licenseKey) {
|
|
161
|
-
console.log("[MoonUI Next.js Plugin] License key found,
|
|
162
|
-
|
|
163
|
-
const path2 = __require("path");
|
|
164
|
-
try {
|
|
165
|
-
const postInstallPath = path2.join(__dirname, "../scripts/postinstall.cjs");
|
|
166
|
-
execSync(`node ${postInstallPath}`, {
|
|
167
|
-
env: { ...process.env },
|
|
168
|
-
stdio: "inherit"
|
|
169
|
-
});
|
|
170
|
-
token = resolveTokenSync();
|
|
171
|
-
if (token) {
|
|
172
|
-
console.log("[MoonUI Next.js Plugin] \u2713 Token generated successfully");
|
|
173
|
-
} else {
|
|
174
|
-
console.log("[MoonUI Next.js Plugin] \u26A0 Token generation attempted but token not found");
|
|
175
|
-
}
|
|
176
|
-
} catch (error) {
|
|
177
|
-
console.error("[MoonUI Next.js Plugin] Failed to generate token:", error.message);
|
|
178
|
-
}
|
|
161
|
+
console.log("[MoonUI Next.js Plugin] License key found, will attempt runtime generation...");
|
|
162
|
+
console.log("[MoonUI Next.js Plugin] \u2139 Token will be generated on first use (runtime fallback)");
|
|
179
163
|
} else {
|
|
180
164
|
console.log("[MoonUI Next.js Plugin] No license key found in environment");
|
|
181
165
|
console.log("[MoonUI Next.js Plugin] Set MOONUI_LICENSE_KEY to enable Pro features");
|
|
@@ -191,7 +175,7 @@ function withMoonUIProToken(nextConfig = {}) {
|
|
|
191
175
|
if (token) {
|
|
192
176
|
console.log("[MoonUI Next.js Plugin] \u2713 Token injected into NEXT_PUBLIC_MOONUI_PRO_TOKEN");
|
|
193
177
|
} else {
|
|
194
|
-
console.log("[MoonUI Next.js Plugin] Running without Pro
|
|
178
|
+
console.log("[MoonUI Next.js Plugin] Running without Pro token (will use runtime fallback)");
|
|
195
179
|
}
|
|
196
180
|
console.log("[MoonUI Next.js Plugin] === INITIALIZATION COMPLETE ===");
|
|
197
181
|
return enhancedConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|