@baseplate-dev/plugin-auth 0.6.16 → 0.6.17
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/CHANGELOG.md +16 -0
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +12 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +4 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +8 -0
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js} +22 -22
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-BfSk5vRC.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js} +2 -2
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DZIcwf2B.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js} +2 -2
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js} +1709 -1716
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js} +110 -109
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js} +2 -3
- package/dist/web/assets/{arduino-BP2nYunF.js → arduino-BXtgMpyb.js} +2 -2
- package/dist/web/assets/auth-BxAE0rgh.js +1 -0
- package/dist/web/assets/{c-C7Ey31hW.js → c-6gdx-Hqg.js} +3 -3
- package/dist/web/assets/{clike-D9YNFwtw.js → clike-Ds9lUsCq.js} +2 -2
- package/dist/web/assets/{common-BvU-7KsV.js → common-ByxS61u8.js} +8 -6
- package/dist/web/assets/{common-B-NI9TR-.js → common-CKl_XlvH.js} +3 -3
- package/dist/web/assets/{common-BBriDRRy.js → common-TDf_PrjX.js} +3 -3
- package/dist/web/assets/{common-23-wvKrM.js → common-UpVCKZeW.js} +8 -6
- package/dist/web/assets/{common-DBBUvtGu.js → common-crSwCD36.js} +3 -3
- package/dist/web/assets/{common-eFh2vwGb.js → common-iHaemino.js} +3 -3
- package/dist/web/assets/{cpp-_RjA_yNA.js → cpp-DRYAY5P6.js} +2 -2
- package/dist/web/assets/{csharp-0LZzOc6Q.js → csharp-RJBSoHJ6.js} +2 -2
- package/dist/web/assets/{dist-SBfmsOB2.js → dist-CrLSslv6.js} +2 -2
- package/dist/web/assets/{dist-BjxypexQ.js → dist-DY7ZXvq4.js} +14 -22
- package/dist/web/assets/{get-auth-plugin-definition-x8oAsN1R.js → get-auth-plugin-definition-kDCtXq_6.js} +2 -2
- package/dist/web/assets/{go-CzER04EZ.js → go-D9nlw8GJ.js} +2 -2
- package/dist/web/assets/{hostInit-Bay0Y9UX.js → hostInit-Cruek6c6.js} +2 -2
- package/dist/web/assets/{java-HAvRESj1.js → java-Asfw0WtJ.js} +2 -2
- package/dist/web/assets/{javascript-BVAr0eZH.js → javascript-fpnGEVws.js} +2 -2
- package/dist/web/assets/{kotlin-DkCMjTKK.js → kotlin-zNWfDPVY.js} +2 -2
- package/dist/web/assets/{markdown-_2_uVr2L.js → markdown-ewV-vLcZ.js} +2 -2
- package/dist/web/assets/{markup-BVZ8HhdW.js → markup-D2krQlDZ.js} +2 -2
- package/dist/web/assets/{markup-templating-BDIRuVJH.js → markup-templating-c_XBo6vX.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-0-dfed0275.js +35 -0
- package/dist/web/assets/mf-entry-bootstrap-1-5275674a.js +35 -0
- package/dist/web/assets/{mf-entry-bootstrap-0-659c976f.js → mf-entry-bootstrap-2-39fb9255.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-3-49e64336.js +35 -0
- package/dist/web/assets/{model-utils-dNFTOjqi.js → model-utils-C0WDb_Ec.js} +3 -3
- package/dist/web/assets/{models-CKab4MTC.js → models-BZmCbizK.js} +3 -3
- package/dist/web/assets/{models-BpslIbU7.js → models-DSvs_3bA.js} +3 -3
- package/dist/web/assets/{objectivec-DPgB68It.js → objectivec-PkUOhxeb.js} +2 -2
- package/dist/web/assets/{php-JTON0zp9.js → php-CfWLJZIj.js} +2 -2
- package/dist/web/assets/{plugin-definition-8Exesd6T.js → plugin-definition-CYj29S3q.js} +3 -3
- package/dist/web/assets/{plugin-definition-ChBrbazJ.js → plugin-definition-DOMmPL2Z.js} +3 -3
- package/dist/web/assets/{rolldown-runtime-FZ4Itg2g.js → rolldown-runtime-7_rZTKki.js} +1 -1
- package/dist/web/assets/{ruby-BoFHz67P.js → ruby-BlM93DKO.js} +2 -2
- package/dist/web/assets/{styles-Cc26Bbxc.css → styles-DIj1cIPB.css} +119 -1
- package/dist/web/assets/{styles-Cuq4wgvD.js → styles-yjbHBTlw.js} +6 -6
- package/dist/web/assets/{typescript-CDkIWcT8.js → typescript-C5BVqltI.js} +2 -2
- package/dist/web/assets/{virtualExposes-BwIds34r.js → virtualExposes-CbPBmicF.js} +1 -1
- package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js} +5 -5
- package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js} +15 -15
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js} +15 -15
- package/dist/web/assets/{vite-preload-helper-iIio8xkS.js → vite-preload-helper-ARKYL6bp.js} +5 -1
- package/dist/web/assets/{web-DNrWXjpS.js → web-1eTcxMhf.js} +3 -3
- package/dist/web/assets/{web-BgWG7dYl.js → web-CDAKPPK9.js} +11 -11
- package/dist/web/assets/{web-BZd3bM0n.js → web-CXAHKjIY.js} +16 -16
- package/dist/web/assets/{web-CnB-sqCR.js → web-D0MSKfyv.js} +20 -19
- package/dist/web/assets/{web-CXHw8SK7.js → web-DbeAaDTV.js} +10 -10
- package/dist/web/assets/{web-DHv2aVpi.js → web-VqBA3jxZ.js} +10 -10
- package/dist/web/assets/{web-D_H-MoGI.js → web-miDovYk_.js} +3 -3
- package/dist/web/assets/{workerBundle-GFUata9j.js → workerBundle-BjsY-uXx.js} +2 -2
- package/dist/web/index.html +5 -2
- package/dist/web/remoteEntry.js +1 -1
- package/dist/web/remoteEntry.ssr.js +2 -2
- package/package.json +34 -37
- package/dist/web/assets/auth-8qJtXAgU.js +0 -1
- package/dist/web/assets/index-qso1IsKy.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as __mf_2, C as __mf_267, D as __mf_57, E as __mf_272, G as useFormState, I as create, M as __mf_78, N as __mf_81, O as __mf_73, P as __mf_82, Q as __mf_1, W as useForm, _t as
|
|
2
|
-
import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, rt as createPluginSpec, t as ModelUtils } from "./model-utils-
|
|
1
|
+
import { $ as __mf_2, C as __mf_267, D as __mf_57, E as __mf_272, G as useFormState, I as create, M as __mf_78, N as __mf_81, O as __mf_73, P as __mf_82, Q as __mf_1, W as useForm, _t as __mf_38, a as __mf_141, b as __mf_19, dt as __mf_28, ft as __mf_30, gt as __mf_37, ht as __mf_34, k as __mf_75, n as __mf_1$1, nt as __mf_13, t as __mf_0, tt as __mfDefaultExport, ut as __mf_25, w as __mf_27, x as __mf_2$1, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js";
|
|
2
|
+
import { O as isEqual, S as createFieldMapSpec, f as withPlaceholderSlots, n as FeatureUtils, rt as createPluginSpec, t as ModelUtils } from "./model-utils-C0WDb_Ec.js";
|
|
3
3
|
//#region ../../packages/project-builder-lib/dist/web/components/definition-diff-alert.js
|
|
4
4
|
var CHANGE_TYPE_BADGE_VARIANT = {
|
|
5
5
|
added: "default",
|
|
@@ -89,8 +89,8 @@ function createCreateOption$1(value) {
|
|
|
89
89
|
}
|
|
90
90
|
function FeatureComboboxField({ canCreate, value, ...rest }) {
|
|
91
91
|
const { definition } = useProjectDefinition();
|
|
92
|
-
const [searchQuery, setSearchQuery] =
|
|
93
|
-
const featureOptions =
|
|
92
|
+
const [searchQuery, setSearchQuery] = __mf_38(value ? FeatureUtils.getFeatureById(definition, value)?.name : "");
|
|
93
|
+
const featureOptions = __mf_34(() => {
|
|
94
94
|
const baseFeatures = definition.features.map((feature) => ({
|
|
95
95
|
label: feature.name,
|
|
96
96
|
value: feature.id,
|
|
@@ -139,8 +139,8 @@ function createCreateOption(value) {
|
|
|
139
139
|
}
|
|
140
140
|
function ModelComboboxField({ canCreate, value, ...rest }) {
|
|
141
141
|
const { definition } = useProjectDefinition();
|
|
142
|
-
const [searchQuery, setSearchQuery] =
|
|
143
|
-
const modelOptions =
|
|
142
|
+
const [searchQuery, setSearchQuery] = __mf_38("");
|
|
143
|
+
const modelOptions = __mf_34(() => {
|
|
144
144
|
const baseModels = definition.models.map((model) => ({
|
|
145
145
|
label: model.name,
|
|
146
146
|
value: model.id
|
|
@@ -178,7 +178,7 @@ function ModelComboboxFieldController({ name, control, ...rest }) {
|
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region ../../packages/project-builder-lib/dist/web/contexts/error-handler.js
|
|
180
180
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
181
|
-
var ErrorHandlerContext =
|
|
181
|
+
var ErrorHandlerContext = __mf_13(null);
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region ../../packages/project-builder-lib/dist/web/hooks/use-blocker-dialog.js
|
|
184
184
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
@@ -201,7 +201,7 @@ var useBlockerDialogState = create((set) => ({
|
|
|
201
201
|
function useBlockBeforeContinue() {
|
|
202
202
|
const hasActiveBlockers = useBlockerDialogState((state) => state.activeBlockers.length > 0);
|
|
203
203
|
const clearRequestedBlockers = useBlockerDialogState((state) => state.clearRequestedBlockers);
|
|
204
|
-
|
|
204
|
+
__mf_28(() => () => {
|
|
205
205
|
clearRequestedBlockers();
|
|
206
206
|
}, [clearRequestedBlockers]);
|
|
207
207
|
const requestBlocker = useBlockerDialogState((state) => state.requestBlocker);
|
|
@@ -211,10 +211,10 @@ function useBlockBeforeContinue() {
|
|
|
211
211
|
return requestBlocker;
|
|
212
212
|
}
|
|
213
213
|
function useBlockerDialog(options) {
|
|
214
|
-
const id =
|
|
214
|
+
const id = __mf_30();
|
|
215
215
|
const addBlocker = useBlockerDialogState((state) => state.addBlocker);
|
|
216
216
|
const removeBlocker = useBlockerDialogState((state) => state.removeBlocker);
|
|
217
|
-
|
|
217
|
+
__mf_28(() => {
|
|
218
218
|
if (options.disableBlock) return;
|
|
219
219
|
addBlocker({
|
|
220
220
|
disableBlock: options.disableBlock,
|
|
@@ -260,7 +260,7 @@ function useBlockDirtyFormNavigate(formState, reset) {
|
|
|
260
260
|
//#region ../../packages/project-builder-lib/dist/web/hooks/use-block-unsaved-changes-navigate.js
|
|
261
261
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
262
262
|
function useBlockUnsavedChangesNavigate({ control, reset, onSubmit }) {
|
|
263
|
-
const isDirtyRef =
|
|
263
|
+
const isDirtyRef = __mf_37(false);
|
|
264
264
|
const formState = useFormState({ control });
|
|
265
265
|
isDirtyRef.current = formState.isDirty;
|
|
266
266
|
useBlockerDialog({
|
|
@@ -285,7 +285,7 @@ function useBlockUnsavedChangesNavigate({ control, reset, onSubmit }) {
|
|
|
285
285
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
286
286
|
function useDefinitionSchema(schemaCreator) {
|
|
287
287
|
const { definitionSchemaParserContext } = useProjectDefinition();
|
|
288
|
-
return
|
|
288
|
+
return __mf_34(() => {
|
|
289
289
|
if ("slotDefinition" in schemaCreator) return withPlaceholderSlots(schemaCreator)(definitionSchemaParserContext);
|
|
290
290
|
return schemaCreator(definitionSchemaParserContext);
|
|
291
291
|
}, [definitionSchemaParserContext, schemaCreator]);
|
|
@@ -294,7 +294,7 @@ function useDefinitionSchema(schemaCreator) {
|
|
|
294
294
|
//#region ../../packages/project-builder-lib/dist/web/hooks/use-error-handler.js
|
|
295
295
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
296
296
|
function useErrorHandler() {
|
|
297
|
-
const context =
|
|
297
|
+
const context = __mf_25(ErrorHandlerContext);
|
|
298
298
|
if (!context) throw new Error("useErrorHandler must be used within an ErrorHandlerContext");
|
|
299
299
|
return context;
|
|
300
300
|
}
|
|
@@ -306,8 +306,8 @@ function useResettableForm(props) {
|
|
|
306
306
|
const { reset, formState } = formProps;
|
|
307
307
|
const { isDirty } = formState;
|
|
308
308
|
const { updatedExternally } = useProjectDefinition();
|
|
309
|
-
const oldValues =
|
|
310
|
-
|
|
309
|
+
const oldValues = __mf_37(void 0);
|
|
310
|
+
__mf_28(() => {
|
|
311
311
|
if (oldValues.current && !isEqual(oldValues.current.oldDefaultValues, props?.defaultValues)) {
|
|
312
312
|
reset(props?.defaultValues);
|
|
313
313
|
if (isDirty && updatedExternally) __mf_267.warning("Contents were updated externally so form was reset!");
|
|
@@ -407,4 +407,4 @@ function setUndefinedIfEmpty(value) {
|
|
|
407
407
|
//#endregion
|
|
408
408
|
export { DefinitionDiffAlert, ErrorHandlerContext, FeatureComboboxField, FeatureComboboxFieldController, ModelComboboxField, ModelComboboxFieldController, ProjectDefinitionContext, adminCrudActionWebSpec, adminCrudColumnWebSpec, adminCrudInputWebSpec, createAdminCrudActionWebConfig, createAdminCrudColumnWebConfig, createAdminCrudInputWebConfig, createModelTransformerWebConfig, createWebAppSettingsWebConfig, entityTypeUrlWebSpec, modelTransformerWebSpec, setUndefinedIfEmpty, useBlockBeforeContinue, useBlockDirtyFormNavigate, useBlockUnsavedChangesNavigate, useBlockerDialog, useBlockerDialogState, useDefinitionSchema, useErrorHandler, useProjectDefinition, useResettableForm, webAppSchemaExtensionWebSpec };
|
|
409
409
|
|
|
410
|
-
//# sourceMappingURL=web-
|
|
410
|
+
//# sourceMappingURL=web-CXAHKjIY.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $ as __mf_2, A as __mf_76, K as useWatch, L as MdAdd, M as __mf_78, N as __mf_81, O as __mf_73, Q as __mf_1, R as MdDeleteOutline, T as __mf_270, U as useFieldArray$1, W as useForm, Z as __mf_0, _ as __mf_180, _t as
|
|
2
|
-
import { n as __mf_92, t as __mf_13 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-
|
|
3
|
-
import { c as __mf_189, d as __mf_233, f as __mf_26, n as __mf_142, o as __mf_17, p as __mf_263, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-
|
|
4
|
-
import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition-
|
|
5
|
-
import { a as __mf_26$1, i as __mf_25, n as __mf_20, o as __mf_3, r as __mf_23 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
6
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
7
|
-
//#region ../../node_modules/.pnpm/@hookform+lenses@0.8.1_react-hook-form@7.71.1_react@19.
|
|
1
|
+
import { $ as __mf_2, A as __mf_76, K as useWatch, L as MdAdd, M as __mf_78, N as __mf_81, O as __mf_73, Q as __mf_1, R as MdDeleteOutline, T as __mf_270, U as useFieldArray$1, W as useForm, Z as __mf_0, _ as __mf_180, _t as __mf_38, b as __mf_19, d as __mf_172, f as __mf_173, ft as __mf_30, g as __mf_179, h as __mf_178, ht as __mf_34, i as __mf_124, j as __mf_77, k as __mf_75, l as __mf_170, m as __mf_177, n as __mf_1$1, p as __mf_176, r as __mf_116, t as __mf_0$1, u as __mf_171, v as __mf_181, w as __mf_27, x as __mf_2$1, y as __mf_185, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, z as MdEdit } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js";
|
|
2
|
+
import { n as __mf_92, t as __mf_13 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js";
|
|
3
|
+
import { c as __mf_189, d as __mf_233, f as __mf_26, n as __mf_142, o as __mf_17, p as __mf_263, y as __mf_59 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js";
|
|
4
|
+
import { n as createAuthRoleSchema, r as createDefaultAuthRoles, t as createAuthPluginDefinitionSchema } from "./plugin-definition-CYj29S3q.js";
|
|
5
|
+
import { a as __mf_26$1, i as __mf_25, n as __mf_20, o as __mf_3, r as __mf_23 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js";
|
|
6
|
+
import { n as a, t as AuthConfigTabs } from "./styles-yjbHBTlw.js";
|
|
7
|
+
//#region ../../node_modules/.pnpm/@hookform+lenses@0.8.1_react-hook-form@7.71.1_react@19.2.8/node_modules/@hookform/lenses/dist/rhf/index.js
|
|
8
8
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
9
9
|
function useFieldArray(props) {
|
|
10
10
|
const original = useFieldArray$1(props);
|
|
11
11
|
return {
|
|
12
|
-
fields:
|
|
12
|
+
fields: __mf_34(() => {
|
|
13
13
|
if (!props.getTransformer) return original.fields;
|
|
14
14
|
return original.fields.map(props.getTransformer);
|
|
15
15
|
}, [original.fields, props.getTransformer]),
|
|
@@ -47,15 +47,16 @@ function useFieldArray(props) {
|
|
|
47
47
|
//#region src/auth/core/components/role-editor-form/role-dialog.tsx
|
|
48
48
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
49
49
|
function RoleDialog({ open, onOpenChange, role, isNew = false, onSave }) {
|
|
50
|
+
const authRoleSchema = __mf_23(createAuthRoleSchema);
|
|
50
51
|
const { control, handleSubmit } = useForm({
|
|
51
|
-
resolver: a(
|
|
52
|
+
resolver: a(authRoleSchema),
|
|
52
53
|
values: role
|
|
53
54
|
});
|
|
54
55
|
const onSubmit = handleSubmit((data) => {
|
|
55
56
|
onSave(data);
|
|
56
57
|
onOpenChange?.(false);
|
|
57
58
|
});
|
|
58
|
-
const formId =
|
|
59
|
+
const formId = __mf_30();
|
|
59
60
|
return /* @__PURE__ */ __mf_1(__mf_73, {
|
|
60
61
|
open,
|
|
61
62
|
onOpenChange,
|
|
@@ -81,14 +82,14 @@ function RoleDialog({ open, onOpenChange, role, isNew = false, onSave }) {
|
|
|
81
82
|
placeholder: "Describe this role's purpose"
|
|
82
83
|
})]
|
|
83
84
|
}),
|
|
84
|
-
/* @__PURE__ */ __mf_2(__mf_77, { children: [/* @__PURE__ */ __mf_1(__mf_27
|
|
85
|
+
/* @__PURE__ */ __mf_2(__mf_77, { children: [/* @__PURE__ */ __mf_1(__mf_27, {
|
|
85
86
|
type: "button",
|
|
86
87
|
variant: "outline",
|
|
87
88
|
onClick: () => {
|
|
88
89
|
onOpenChange?.(false);
|
|
89
90
|
},
|
|
90
91
|
children: "Cancel"
|
|
91
|
-
}), /* @__PURE__ */ __mf_2(__mf_27
|
|
92
|
+
}), /* @__PURE__ */ __mf_2(__mf_27, {
|
|
92
93
|
form: formId,
|
|
93
94
|
type: "submit",
|
|
94
95
|
children: [isNew ? "Add" : "Update", " Role"]
|
|
@@ -106,8 +107,8 @@ function RoleEditorForm({ className, control }) {
|
|
|
106
107
|
control,
|
|
107
108
|
name: "roles"
|
|
108
109
|
});
|
|
109
|
-
const [roleToEdit, setRoleToEdit] =
|
|
110
|
-
const [isEditing, setIsEditing] =
|
|
110
|
+
const [roleToEdit, setRoleToEdit] = __mf_38();
|
|
111
|
+
const [isEditing, setIsEditing] = __mf_38(false);
|
|
111
112
|
const roles = useWatch({
|
|
112
113
|
control,
|
|
113
114
|
name: "roles"
|
|
@@ -148,7 +149,7 @@ function RoleEditorForm({ className, control }) {
|
|
|
148
149
|
})] }), /* @__PURE__ */ __mf_2(__mf_171, { children: [role.builtIn && /* @__PURE__ */ __mf_1(__mf_19, {
|
|
149
150
|
variant: "secondary",
|
|
150
151
|
children: "Default Role"
|
|
151
|
-
}), !role.builtIn && /* @__PURE__ */ __mf_2(__mf_0, { children: [/* @__PURE__ */ __mf_1(__mf_27
|
|
152
|
+
}), !role.builtIn && /* @__PURE__ */ __mf_2(__mf_0, { children: [/* @__PURE__ */ __mf_1(__mf_27, {
|
|
152
153
|
variant: "ghost",
|
|
153
154
|
size: "icon",
|
|
154
155
|
title: "Edit",
|
|
@@ -158,7 +159,7 @@ function RoleEditorForm({ className, control }) {
|
|
|
158
159
|
setIsEditing(true);
|
|
159
160
|
},
|
|
160
161
|
children: /* @__PURE__ */ __mf_1(MdEdit, {})
|
|
161
|
-
}), /* @__PURE__ */ __mf_1(__mf_27
|
|
162
|
+
}), /* @__PURE__ */ __mf_1(__mf_27, {
|
|
162
163
|
variant: "ghostDestructive",
|
|
163
164
|
size: "icon",
|
|
164
165
|
title: "Delete",
|
|
@@ -175,7 +176,7 @@ function RoleEditorForm({ className, control }) {
|
|
|
175
176
|
isNew: roleToEdit ? !roles.some((r) => r.id === roleToEdit.id) : true,
|
|
176
177
|
onSave: handleSaveRole
|
|
177
178
|
}),
|
|
178
|
-
/* @__PURE__ */ __mf_2(__mf_27
|
|
179
|
+
/* @__PURE__ */ __mf_2(__mf_27, {
|
|
179
180
|
variant: "secondary",
|
|
180
181
|
size: "sm",
|
|
181
182
|
onClick: () => {
|
|
@@ -201,7 +202,7 @@ function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave })
|
|
|
201
202
|
const authPluginDefinitionSchema = __mf_23(createAuthPluginDefinitionSchema);
|
|
202
203
|
const availableImplementations = __mf_189(schemaParserContext.pluginStore, metadata.key);
|
|
203
204
|
const defaultImplementation = availableImplementations.find((i) => i.fullyQualifiedName === "@baseplate-dev/plugin-auth:local-auth") ?? availableImplementations[0];
|
|
204
|
-
const defaultValues =
|
|
205
|
+
const defaultValues = __mf_34(() => {
|
|
205
206
|
if (pluginMetadata?.config) return pluginMetadata.config;
|
|
206
207
|
const defaultAuthFeatureRef = __mf_17.getFeatureIdByNameOrDefault(definition, "accounts/auth");
|
|
207
208
|
const defaultAccountsFeatureRef = __mf_17.getFeatureIdByNameOrDefault(definition, "accounts/users");
|
|
@@ -354,4 +355,4 @@ var web_default = __mf_142({
|
|
|
354
355
|
//#endregion
|
|
355
356
|
export { web_default as default };
|
|
356
357
|
|
|
357
|
-
//# sourceMappingURL=web-
|
|
358
|
+
//# sourceMappingURL=web-D0MSKfyv.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as __mf_2, Q as __mf_1, S as __mf_234, _ as __mf_180, g as __mf_179, h as __mf_178, ht as
|
|
2
|
-
import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-
|
|
3
|
-
import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
4
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
5
|
-
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-
|
|
6
|
-
import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-
|
|
1
|
+
import { $ as __mf_2, Q as __mf_1, S as __mf_234, _ as __mf_180, g as __mf_179, h as __mf_178, ht as __mf_34, m as __mf_177, o as __mf_145, p as __mf_176, r as __mf_116, v as __mf_181, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js";
|
|
2
|
+
import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js";
|
|
3
|
+
import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-yjbHBTlw.js";
|
|
5
|
+
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-kDCtXq_6.js";
|
|
6
|
+
import { n as createLocalAuthPluginDefinitionSchema, t as createLocalAuthPartialDefinition } from "./models-BZmCbizK.js";
|
|
7
7
|
//#region src/local-auth/core/components/local-auth-definition-editor.tsx
|
|
8
8
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
9
9
|
function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
|
|
@@ -14,7 +14,7 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
14
14
|
label: role.name,
|
|
15
15
|
value: role.id
|
|
16
16
|
}));
|
|
17
|
-
const defaultValues =
|
|
17
|
+
const defaultValues = __mf_34(() => {
|
|
18
18
|
if (pluginMetadata?.config) return pluginMetadata.config;
|
|
19
19
|
return {
|
|
20
20
|
additionalUserAdminRoles: [],
|
|
@@ -30,8 +30,8 @@ function LocalAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSav
|
|
|
30
30
|
if (!authFeature) throw new Error(`Auth feature not found for ref: ${authDefinition.authFeatureRef}`);
|
|
31
31
|
const accountsFeature = definition.features.find((f) => f.id === authDefinition.accountsFeatureRef);
|
|
32
32
|
if (!accountsFeature) throw new Error(`Accounts feature not found for ref: ${authDefinition.accountsFeatureRef}`);
|
|
33
|
-
const partialDef =
|
|
34
|
-
const diff =
|
|
33
|
+
const partialDef = __mf_34(() => createLocalAuthPartialDefinition(authFeature.name, accountsFeature.name), [authFeature.name, accountsFeature.name]);
|
|
34
|
+
const diff = __mf_34(() => __mf_167(definitionContainer.schema, definitionContainer.definition, partialDef), [definitionContainer, partialDef]);
|
|
35
35
|
const onSubmit = handleSubmit((data) => saveDefinitionWithFeedback((draftConfig) => {
|
|
36
36
|
const updatedData = { ...data };
|
|
37
37
|
__mf_55(definitionContainer, partialDef)(draftConfig);
|
|
@@ -115,4 +115,4 @@ var web_default = __mf_142({
|
|
|
115
115
|
//#endregion
|
|
116
116
|
export { web_default as default };
|
|
117
117
|
|
|
118
|
-
//# sourceMappingURL=web-
|
|
118
|
+
//# sourceMappingURL=web-DbeAaDTV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as __mf_2, Q as __mf_1, _ as __mf_180, g as __mf_179, h as __mf_178, ht as
|
|
2
|
-
import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-
|
|
3
|
-
import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
4
|
-
import { n as a, t as AuthConfigTabs } from "./styles-
|
|
5
|
-
import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-
|
|
6
|
-
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-
|
|
1
|
+
import { $ as __mf_2, Q as __mf_1, _ as __mf_180, g as __mf_179, h as __mf_178, ht as __mf_34, m as __mf_177, o as __mf_145, p as __mf_176, r as __mf_116, v as __mf_181, yt as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js";
|
|
2
|
+
import { a as __mf_167, d as __mf_233, f as __mf_26, g as __mf_55, n as __mf_142, o as __mf_17, p as __mf_263 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js";
|
|
3
|
+
import { a as __mf_26$1, i as __mf_25, n as __mf_20, r as __mf_23, t as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js";
|
|
4
|
+
import { n as a, t as AuthConfigTabs } from "./styles-yjbHBTlw.js";
|
|
5
|
+
import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-DSvs_3bA.js";
|
|
6
|
+
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-kDCtXq_6.js";
|
|
7
7
|
//#region src/better-auth/core/components/better-auth-definition-editor.tsx
|
|
8
8
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
9
9
|
function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSave }) {
|
|
@@ -14,7 +14,7 @@ function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSa
|
|
|
14
14
|
label: role.name,
|
|
15
15
|
value: role.id
|
|
16
16
|
}));
|
|
17
|
-
const defaultValues =
|
|
17
|
+
const defaultValues = __mf_34(() => {
|
|
18
18
|
if (pluginMetadata?.config) return pluginMetadata.config;
|
|
19
19
|
return { additionalUserAdminRoles: [] };
|
|
20
20
|
}, [pluginMetadata?.config]);
|
|
@@ -27,8 +27,8 @@ function BetterAuthDefinitionEditor({ definition: pluginMetadata, metadata, onSa
|
|
|
27
27
|
if (!authFeature) throw new Error(`Auth feature not found for ref: ${authDefinition.authFeatureRef}`);
|
|
28
28
|
const accountsFeature = definition.features.find((f) => f.id === authDefinition.accountsFeatureRef);
|
|
29
29
|
if (!accountsFeature) throw new Error(`Accounts feature not found for ref: ${authDefinition.accountsFeatureRef}`);
|
|
30
|
-
const partialDef =
|
|
31
|
-
const diff =
|
|
30
|
+
const partialDef = __mf_34(() => createBetterAuthPartialDefinition(authFeature.name, accountsFeature.name), [authFeature.name, accountsFeature.name]);
|
|
31
|
+
const diff = __mf_34(() => __mf_167(definitionContainer.schema, definitionContainer.definition, partialDef), [definitionContainer, partialDef]);
|
|
32
32
|
const onSubmit = handleSubmit((data) => saveDefinitionWithFeedback((draftConfig) => {
|
|
33
33
|
const updatedData = { ...data };
|
|
34
34
|
__mf_55(definitionContainer, partialDef)(draftConfig);
|
|
@@ -103,4 +103,4 @@ var web_default = __mf_142({
|
|
|
103
103
|
//#endregion
|
|
104
104
|
export { web_default as default };
|
|
105
105
|
|
|
106
|
-
//# sourceMappingURL=web-
|
|
106
|
+
//# sourceMappingURL=web-VqBA3jxZ.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-
|
|
2
|
-
import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-
|
|
1
|
+
import { l as __mf_22, n as __mf_142 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js";
|
|
2
|
+
import { c as __mf_8, s as __mf_7 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js";
|
|
3
3
|
import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
|
|
4
4
|
//#region src/local-auth/admin/web.ts
|
|
5
5
|
var web_default = __mf_142({
|
|
@@ -43,4 +43,4 @@ var web_default = __mf_142({
|
|
|
43
43
|
//#endregion
|
|
44
44
|
export { web_default as default };
|
|
45
45
|
|
|
46
|
-
//# sourceMappingURL=web-
|
|
46
|
+
//# sourceMappingURL=web-miDovYk_.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/react-diff-viewer-continued@4.4.0_@types+react@19.
|
|
1
|
+
//#region ../../node_modules/.pnpm/react-diff-viewer-continued@4.4.0_@types+react@19.2.18_react-dom@19.2.8_react@19.2.8_supports-color@10.2.2/node_modules/react-diff-viewer-continued/lib/esm/src/workerBundle.js
|
|
2
2
|
/**
|
|
3
3
|
* Bundled worker code as a string.
|
|
4
4
|
* This allows us to create a Blob URL at runtime without needing a separate file.
|
|
@@ -7,4 +7,4 @@ var WORKER_CODE = "\"use strict\";(()=>{var hr=Object.defineProperty;var mr=(i,n
|
|
|
7
7
|
//#endregion
|
|
8
8
|
export { WORKER_CODE };
|
|
9
9
|
|
|
10
|
-
//# sourceMappingURL=workerBundle-
|
|
10
|
+
//# sourceMappingURL=workerBundle-BjsY-uXx.js.map
|
package/dist/web/index.html
CHANGED
|
@@ -15,8 +15,11 @@
|
|
|
15
15
|
<meta charset="UTF-8" />
|
|
16
16
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
17
17
|
<title>React Remote</title>
|
|
18
|
-
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-
|
|
19
|
-
|
|
18
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-dfed0275.js"></script>
|
|
19
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-1-5275674a.js"></script>
|
|
20
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-2-39fb9255.js"></script>
|
|
21
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-3-49e64336.js"></script>
|
|
22
|
+
<link rel="modulepreload" crossorigin href="./assets/hostInit-Cruek6c6.js"><link rel="modulepreload" crossorigin href="./remoteEntry.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js"></head>
|
|
20
23
|
|
|
21
24
|
<body>
|
|
22
25
|
<div id="root"></div>
|
package/dist/web/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as init, t as getExposes } from "./assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-
|
|
1
|
+
import { n as init, t as getExposes } from "./assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js";
|
|
2
2
|
export { getExposes as get, init };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as __vitePreload } from "./assets/vite-preload-helper-
|
|
1
|
+
import { t as __vitePreload } from "./assets/vite-preload-helper-ARKYL6bp.js";
|
|
2
2
|
import { init as init$1 } from "@module-federation/runtime";
|
|
3
3
|
//#region virtual:mf-REMOTE_ENTRY_SSR_ID:__mfe_internal__plugin-auth__remoteEntry_js
|
|
4
4
|
var exposesMapPromise;
|
|
5
5
|
async function getExposesMap() {
|
|
6
|
-
exposesMapPromise ??= __vitePreload(() => import("./assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-
|
|
6
|
+
exposesMapPromise ??= __vitePreload(() => import("./assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js").then((mod) => mod.default ?? mod), [], import.meta.url);
|
|
7
7
|
return exposesMapPromise;
|
|
8
8
|
}
|
|
9
9
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baseplate-dev/plugin-auth",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.17",
|
|
4
4
|
"description": "Contains the auth plugin for Baseplate",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"authentication",
|
|
@@ -11,17 +11,12 @@
|
|
|
11
11
|
"typescript"
|
|
12
12
|
],
|
|
13
13
|
"homepage": "https://www.baseplate.dev",
|
|
14
|
+
"license": "MPL-2.0",
|
|
15
|
+
"author": "Half Dome Labs LLC",
|
|
14
16
|
"repository": {
|
|
15
17
|
"type": "git",
|
|
16
18
|
"url": "https://github.com/halfdomelabs/baseplate"
|
|
17
19
|
},
|
|
18
|
-
"license": "MPL-2.0",
|
|
19
|
-
"author": "Half Dome Labs LLC",
|
|
20
|
-
"type": "module",
|
|
21
|
-
"imports": {
|
|
22
|
-
"#src/*": "./dist/*"
|
|
23
|
-
},
|
|
24
|
-
"main": "dist/index.js",
|
|
25
20
|
"files": [
|
|
26
21
|
"README.md",
|
|
27
22
|
"LICENSE",
|
|
@@ -30,44 +25,52 @@
|
|
|
30
25
|
"!dist/**/*.map",
|
|
31
26
|
"!dist/**/*.tsbuildinfo"
|
|
32
27
|
],
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "dist/index.js",
|
|
30
|
+
"imports": {
|
|
31
|
+
"#src/*": "./dist/*"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public",
|
|
35
|
+
"provenance": true
|
|
36
|
+
},
|
|
33
37
|
"dependencies": {
|
|
34
38
|
"@hookform/lenses": "^0.8.1",
|
|
35
39
|
"@hookform/resolvers": "^5.2.2",
|
|
36
|
-
"@tanstack/react-router": "^1.
|
|
37
|
-
"react": "^19.
|
|
38
|
-
"react-dom": "^19.
|
|
40
|
+
"@tanstack/react-router": "^1.168.23",
|
|
41
|
+
"react": "^19.2.8",
|
|
42
|
+
"react-dom": "^19.2.8",
|
|
39
43
|
"react-hook-form": "^7.71.1",
|
|
40
|
-
"react-icons": "^5.
|
|
44
|
+
"react-icons": "^5.7.0",
|
|
41
45
|
"zod": "~4.3.6",
|
|
42
|
-
"@baseplate-dev/core-generators": "0.6.
|
|
43
|
-
"@baseplate-dev/fastify-generators": "0.6.
|
|
44
|
-
"@baseplate-dev/plugin-email": "0.6.
|
|
45
|
-
"@baseplate-dev/plugin-queue": "0.6.
|
|
46
|
-
"@baseplate-dev/plugin-rate-limit": "0.6.
|
|
47
|
-
"@baseplate-dev/project-builder-lib": "0.6.
|
|
48
|
-
"@baseplate-dev/react-generators": "0.6.
|
|
49
|
-
"@baseplate-dev/sync": "0.6.
|
|
50
|
-
"@baseplate-dev/ui-components": "0.6.
|
|
51
|
-
"@baseplate-dev/utils": "0.6.
|
|
46
|
+
"@baseplate-dev/core-generators": "0.6.17",
|
|
47
|
+
"@baseplate-dev/fastify-generators": "0.6.17",
|
|
48
|
+
"@baseplate-dev/plugin-email": "0.6.17",
|
|
49
|
+
"@baseplate-dev/plugin-queue": "0.6.17",
|
|
50
|
+
"@baseplate-dev/plugin-rate-limit": "0.6.17",
|
|
51
|
+
"@baseplate-dev/project-builder-lib": "0.6.17",
|
|
52
|
+
"@baseplate-dev/react-generators": "0.6.17",
|
|
53
|
+
"@baseplate-dev/sync": "0.6.17",
|
|
54
|
+
"@baseplate-dev/ui-components": "0.6.17",
|
|
55
|
+
"@baseplate-dev/utils": "0.6.17"
|
|
52
56
|
},
|
|
53
57
|
"devDependencies": {
|
|
54
58
|
"@module-federation/vite": "1.17.0",
|
|
55
|
-
"@tailwindcss/vite": "4.3.
|
|
59
|
+
"@tailwindcss/vite": "4.3.3",
|
|
56
60
|
"@types/node": "^24.12.0",
|
|
57
|
-
"@types/react": "^19.
|
|
58
|
-
"@types/react-dom": "^19.
|
|
59
|
-
"@vitejs/plugin-react": "6.0.
|
|
61
|
+
"@types/react": "^19.2.18",
|
|
62
|
+
"@types/react-dom": "^19.2.4",
|
|
63
|
+
"@vitejs/plugin-react": "6.0.5",
|
|
60
64
|
"concurrently": "10.0.4",
|
|
61
65
|
"cpx2": "9.0.0",
|
|
62
66
|
"eslint": "^9.39.5",
|
|
63
67
|
"nodemon": "3.1.14",
|
|
64
68
|
"oxlint": "1.76.0",
|
|
65
|
-
"
|
|
66
|
-
"tailwindcss": "4.3.1",
|
|
69
|
+
"tailwindcss": "4.3.3",
|
|
67
70
|
"typescript": "6.0.3",
|
|
68
|
-
"vite": "8.
|
|
69
|
-
"vitest": "4.1.
|
|
70
|
-
"@baseplate-dev/tools": "0.6.
|
|
71
|
+
"vite": "8.2.0",
|
|
72
|
+
"vitest": "4.1.10",
|
|
73
|
+
"@baseplate-dev/tools": "0.6.17"
|
|
71
74
|
},
|
|
72
75
|
"engines": {
|
|
73
76
|
"node": "^24.0.0"
|
|
@@ -75,10 +78,6 @@
|
|
|
75
78
|
"volta": {
|
|
76
79
|
"extends": "../../package.json"
|
|
77
80
|
},
|
|
78
|
-
"publishConfig": {
|
|
79
|
-
"access": "public",
|
|
80
|
-
"provenance": true
|
|
81
|
-
},
|
|
82
81
|
"scripts": {
|
|
83
82
|
"build": "concurrently pnpm:build:*",
|
|
84
83
|
"build:static": "cpx \"src/**/{templates/**,static/**,plugin.json}\" \"dist/\" --clean",
|
|
@@ -86,8 +85,6 @@
|
|
|
86
85
|
"build:vite": "vite build",
|
|
87
86
|
"clean": "rm -rf ./dist",
|
|
88
87
|
"lint": "oxlint && eslint .",
|
|
89
|
-
"prettier:check": "prettier --check .",
|
|
90
|
-
"prettier:write": "prettier -w -l .",
|
|
91
88
|
"test": "vitest --passWithNoTests",
|
|
92
89
|
"tsc:watch": "tsc -p tsconfig.build.json --preserveWatchOutput -w",
|
|
93
90
|
"typecheck": "tsc --noEmit",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./get-auth-plugin-definition-x8oAsN1R.js";
|