keycloakify 11.8.39 → 11.8.40
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/bin/786.index.js +4 -0
- package/bin/97.index.js +4 -0
- package/package.json +1 -1
- package/src/bin/update-kc-gen.ts +5 -0
- package/vite-plugin/index.js +4 -0
package/bin/786.index.js
CHANGED
@@ -469,6 +469,10 @@ async function command(params) {
|
|
469
469
|
const hasLoginTheme = buildContext.implementedThemeTypes.login.isImplemented;
|
470
470
|
const hasAccountTheme = buildContext.implementedThemeTypes.account.isImplemented;
|
471
471
|
const hasAdminTheme = buildContext.implementedThemeTypes.admin.isImplemented;
|
472
|
+
if (!hasLoginTheme && !hasAccountTheme && !hasAdminTheme) {
|
473
|
+
await fs_promises__WEBPACK_IMPORTED_MODULE_0__.unlink(filePath);
|
474
|
+
return;
|
475
|
+
}
|
472
476
|
let newContent = [
|
473
477
|
``,
|
474
478
|
`/* eslint-disable */`,
|
package/bin/97.index.js
CHANGED
@@ -1268,6 +1268,10 @@ async function command(params) {
|
|
1268
1268
|
const hasLoginTheme = buildContext.implementedThemeTypes.login.isImplemented;
|
1269
1269
|
const hasAccountTheme = buildContext.implementedThemeTypes.account.isImplemented;
|
1270
1270
|
const hasAdminTheme = buildContext.implementedThemeTypes.admin.isImplemented;
|
1271
|
+
if (!hasLoginTheme && !hasAccountTheme && !hasAdminTheme) {
|
1272
|
+
await fs_promises__WEBPACK_IMPORTED_MODULE_0__.unlink(filePath);
|
1273
|
+
return;
|
1274
|
+
}
|
1271
1275
|
let newContent = [
|
1272
1276
|
``,
|
1273
1277
|
`/* eslint-disable */`,
|
package/package.json
CHANGED
package/src/bin/update-kc-gen.ts
CHANGED
@@ -34,6 +34,11 @@ export async function command(params: { buildContext: BuildContext }) {
|
|
34
34
|
const hasAccountTheme = buildContext.implementedThemeTypes.account.isImplemented;
|
35
35
|
const hasAdminTheme = buildContext.implementedThemeTypes.admin.isImplemented;
|
36
36
|
|
37
|
+
if (!hasLoginTheme && !hasAccountTheme && !hasAdminTheme) {
|
38
|
+
await fs.unlink(filePath);
|
39
|
+
return;
|
40
|
+
}
|
41
|
+
|
37
42
|
let newContent = [
|
38
43
|
``,
|
39
44
|
`/* eslint-disable */`,
|
package/vite-plugin/index.js
CHANGED
@@ -1853,6 +1853,10 @@ async function command(params) {
|
|
1853
1853
|
const hasLoginTheme = buildContext.implementedThemeTypes.login.isImplemented;
|
1854
1854
|
const hasAccountTheme = buildContext.implementedThemeTypes.account.isImplemented;
|
1855
1855
|
const hasAdminTheme = buildContext.implementedThemeTypes.admin.isImplemented;
|
1856
|
+
if (!hasLoginTheme && !hasAccountTheme && !hasAdminTheme) {
|
1857
|
+
await fs_promises__WEBPACK_IMPORTED_MODULE_0__.unlink(filePath);
|
1858
|
+
return;
|
1859
|
+
}
|
1856
1860
|
let newContent = [
|
1857
1861
|
``,
|
1858
1862
|
`/* eslint-disable */`,
|