@dashadmin/dash-boilerplate 1.3.21 → 1.3.23
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/package.json +23 -32
- package/src/index.ts +0 -84
package/package.json
CHANGED
|
@@ -1,67 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashadmin/dash-boilerplate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.23",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"lint": "eslint --ext .ts,.tsx .",
|
|
9
|
-
"format": "pnpm prettier --write .",
|
|
10
|
-
"typecheck": "tsc --noEmit",
|
|
11
|
-
"build": "rm -rf dist && node ../dash-build/compile.mjs && vite build"
|
|
12
|
-
},
|
|
13
7
|
"dependencies": {
|
|
14
8
|
"@emotion/react": "latest",
|
|
15
9
|
"@emotion/styled": "latest",
|
|
16
10
|
"@mui/material": "^7.3.10",
|
|
17
|
-
"@dashadmin/dash-admin-state": "workspace:*",
|
|
18
|
-
"@dashadmin/dash-auth": "workspace:*",
|
|
19
|
-
"@dashadmin/dash-auto-admin": "workspace:*",
|
|
20
|
-
"@dashadmin/dash-axios-hook": "workspace:*",
|
|
21
|
-
"@dashadmin/dash-constants": "workspace:*",
|
|
22
|
-
"@dashadmin/dash-utils": "workspace:*",
|
|
23
11
|
"numeral": "^2.0.6",
|
|
24
12
|
"react": "latest",
|
|
25
13
|
"react-admin": "5.14.7",
|
|
26
14
|
"react-dom": "latest",
|
|
27
15
|
"react-error-boundary": "^4.0.0",
|
|
28
16
|
"react-redux": "latest",
|
|
29
|
-
"@dashadmin/dash-admin": "
|
|
17
|
+
"@dashadmin/dash-admin-state": "1.3.23",
|
|
18
|
+
"@dashadmin/dash-auth": "1.3.23",
|
|
19
|
+
"@dashadmin/dash-auto-admin": "1.3.23",
|
|
20
|
+
"@dashadmin/dash-axios-hook": "1.3.23",
|
|
21
|
+
"@dashadmin/dash-utils": "1.3.23",
|
|
22
|
+
"@dashadmin/dash-constants": "1.3.23",
|
|
23
|
+
"@dashadmin/dash-admin": "1.3.23"
|
|
30
24
|
},
|
|
31
25
|
"devDependencies": {
|
|
32
26
|
"@types/node": "latest",
|
|
33
27
|
"@types/numeral": "^2.0.5",
|
|
34
28
|
"@types/react": "latest",
|
|
35
29
|
"@types/react-dom": "latest",
|
|
36
|
-
"@dashadmin/dash-eslint": "workspace:*",
|
|
37
|
-
"@dashadmin/dash-prettier": "workspace:*",
|
|
38
|
-
"@dashadmin/dash-tsconfig": "workspace:*",
|
|
39
30
|
"typescript": "latest",
|
|
40
31
|
"vite": "^5.2.0",
|
|
41
|
-
"rollup": "^4.0.0"
|
|
32
|
+
"rollup": "^4.0.0",
|
|
33
|
+
"@dashadmin/dash-eslint": "1.3.23",
|
|
34
|
+
"@dashadmin/dash-prettier": "1.3.23",
|
|
35
|
+
"@dashadmin/dash-tsconfig": "1.3.23"
|
|
42
36
|
},
|
|
43
37
|
"publishConfig": {
|
|
44
38
|
"name": "@dashadmin/dash-boilerplate",
|
|
45
|
-
"access": "public"
|
|
46
|
-
"main": "dist/index.js",
|
|
47
|
-
"exports": {
|
|
48
|
-
".": {
|
|
49
|
-
"import": "./dist/index.js"
|
|
50
|
-
},
|
|
51
|
-
"./src/*": {
|
|
52
|
-
"import": "./dist/*.js"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
39
|
+
"access": "public"
|
|
55
40
|
},
|
|
56
41
|
"files": [
|
|
57
42
|
"dist"
|
|
58
43
|
],
|
|
59
44
|
"exports": {
|
|
60
45
|
".": {
|
|
61
|
-
"import": "./
|
|
46
|
+
"import": "./dist/index.js"
|
|
62
47
|
},
|
|
63
48
|
"./src/*": {
|
|
64
|
-
"import": "./
|
|
49
|
+
"import": "./dist/*.js"
|
|
65
50
|
}
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"lint": "eslint --ext .ts,.tsx .",
|
|
54
|
+
"format": "pnpm prettier --write .",
|
|
55
|
+
"typecheck": "tsc --noEmit",
|
|
56
|
+
"build": "rm -rf dist && node ../dash-build/compile.mjs && vite build"
|
|
66
57
|
}
|
|
67
|
-
}
|
|
58
|
+
}
|
package/src/index.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* dash-boilerplate
|
|
3
|
-
*
|
|
4
|
-
* Shared boilerplate code for Dash lightweight applications.
|
|
5
|
-
* Provides i18n, theming, components, and utilities for both
|
|
6
|
-
* public and private app flows.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
// i18n module
|
|
10
|
-
export {
|
|
11
|
-
createSimpleI18nProvider,
|
|
12
|
-
I18nBridgeProviderLight,
|
|
13
|
-
useI18nBridgeLight,
|
|
14
|
-
useBridgedLocalesLight,
|
|
15
|
-
useBridgedChangeLocaleLight,
|
|
16
|
-
useBridgedLocaleLight,
|
|
17
|
-
useTranslateLight,
|
|
18
|
-
I18nBridgeContext,
|
|
19
|
-
} from './i18n';
|
|
20
|
-
export type {
|
|
21
|
-
SimpleI18nProvider,
|
|
22
|
-
LocaleDefinition,
|
|
23
|
-
TranslationMessages,
|
|
24
|
-
TranslationsMap,
|
|
25
|
-
I18nBridgeProviderLightProps,
|
|
26
|
-
CreateSimpleI18nProviderOptions,
|
|
27
|
-
} from './i18n';
|
|
28
|
-
|
|
29
|
-
// Components module
|
|
30
|
-
export {
|
|
31
|
-
GlobalSmallLoader,
|
|
32
|
-
GlobalLoaderHtmlMarkup,
|
|
33
|
-
injectCriticalStyles,
|
|
34
|
-
CustomErrorBoundary,
|
|
35
|
-
AppWrapperLight,
|
|
36
|
-
// Default fallback components
|
|
37
|
-
DefaultInitializationErrorFallback,
|
|
38
|
-
DefaultAppLoadErrorFallback,
|
|
39
|
-
createLazyAppLoader,
|
|
40
|
-
} from './components';
|
|
41
|
-
export type {
|
|
42
|
-
GlobalSmallLoaderProps,
|
|
43
|
-
CustomErrorBoundaryProps,
|
|
44
|
-
AppWrapperLightProps,
|
|
45
|
-
DefaultErrorFallbackProps,
|
|
46
|
-
DefaultLoadingFallbackProps,
|
|
47
|
-
CreateLazyAppLoaderOptions,
|
|
48
|
-
} from './components';
|
|
49
|
-
|
|
50
|
-
// Theme module
|
|
51
|
-
export {
|
|
52
|
-
DashThemeProviderLight,
|
|
53
|
-
useDashThemeContextLight,
|
|
54
|
-
DashThemeContext,
|
|
55
|
-
} from './theme';
|
|
56
|
-
export type {
|
|
57
|
-
DashThemeContextType,
|
|
58
|
-
DashThemeProviderLightProps,
|
|
59
|
-
} from './theme';
|
|
60
|
-
|
|
61
|
-
// Utils module
|
|
62
|
-
export {
|
|
63
|
-
useInitializeReduxFromPersisted,
|
|
64
|
-
useLogoutEventListener,
|
|
65
|
-
useAppInitialization,
|
|
66
|
-
usePendingRedirect,
|
|
67
|
-
useUrlLocaleDetection,
|
|
68
|
-
usePathnameTracker,
|
|
69
|
-
useEarlyThemeInit,
|
|
70
|
-
initializeThemeEarly,
|
|
71
|
-
syncElectronStore,
|
|
72
|
-
// Electron store utilities
|
|
73
|
-
syncElectronStoreToLocalStorage,
|
|
74
|
-
isElectron,
|
|
75
|
-
getElectronStoreValue,
|
|
76
|
-
setElectronStoreValue,
|
|
77
|
-
// CSS Variable utilities
|
|
78
|
-
getCssVariableNumber,
|
|
79
|
-
getCssVariableString,
|
|
80
|
-
getLayoutDimensionsFromCss,
|
|
81
|
-
createDefaultPanelSettings,
|
|
82
|
-
DEFAULT_LAYOUT_DIMENSIONS,
|
|
83
|
-
} from './utils';
|
|
84
|
-
export type { AppInitializationResult, LayoutDimensions, PanelSettingsOptions } from './utils';
|