@dr.pogodin/react-utils 1.42.1 → 1.43.1
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,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Initialization of client-side environment.
|
|
3
3
|
*/
|
|
4
|
-
import { type BuildInfoT } from 'utils/isomorphy/buildInfo';
|
|
4
|
+
import { type BuildInfoT } from '../shared/utils/isomorphy/buildInfo';
|
|
5
5
|
declare global {
|
|
6
6
|
interface Window {
|
|
7
7
|
__DEV_BUILD_INFO__: BuildInfoT | undefined;
|
|
@@ -4,7 +4,7 @@ import type * as ServerFactoryM from './server';
|
|
|
4
4
|
declare const server: typeof ServerFactoryM | null;
|
|
5
5
|
declare const client: typeof ClientM.default | undefined;
|
|
6
6
|
export { type AsyncCollectionT, type AsyncCollectionLoaderT, type AsyncDataEnvelopeT, type AsyncDataLoaderT, type ForceT, type UseAsyncDataOptionsT, type UseAsyncDataResT, type UseGlobalStateResT, type ValueOrInitializerT, getGlobalState, GlobalStateProvider, newAsyncDataEnvelope, useAsyncCollection, useAsyncData, useGlobalState, withGlobalStateType, } from '@dr.pogodin/react-global-state';
|
|
7
|
-
export * from 'components';
|
|
7
|
+
export * from './shared/components';
|
|
8
8
|
export { type BeforeRenderResT, type BeforeRenderT, type ConfigT, type ServerSsrContext, type ServerT, } from './server';
|
|
9
|
-
export { type Listener, type Theme, config, Barrier, Emitter, isomorphy, getSsrContext, Semaphore, splitComponent, themed, ThemeProvider, time, webpack, withRetries, } from 'utils';
|
|
9
|
+
export { type Listener, type Theme, config, Barrier, Emitter, isomorphy, getSsrContext, Semaphore, splitComponent, themed, ThemeProvider, time, webpack, withRetries, } from './shared/utils';
|
|
10
10
|
export { client, server };
|
|
@@ -5,8 +5,8 @@ import type { Request, RequestHandler } from 'express';
|
|
|
5
5
|
import type { ComponentType } from 'react';
|
|
6
6
|
import winston from 'winston';
|
|
7
7
|
import { SsrContext } from '@dr.pogodin/react-global-state';
|
|
8
|
-
import { type BuildInfoT } from 'utils/isomorphy/buildInfo';
|
|
9
|
-
import type { ChunkGroupsT, SsrContextT } from 'utils/globalState';
|
|
8
|
+
import { type BuildInfoT } from '../shared/utils/isomorphy/buildInfo';
|
|
9
|
+
import type { ChunkGroupsT, SsrContextT } from '../shared/utils/globalState';
|
|
10
10
|
import type { Configuration } from 'webpack';
|
|
11
11
|
interface LogMethodI {
|
|
12
12
|
(level: string, message: string, ...meta: unknown[]): void;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Just an aggregation of all exported components into a single module.
|
|
3
3
|
*/
|
|
4
|
-
export * from '
|
|
5
|
-
export { default as Button, BaseButton } from '
|
|
6
|
-
export { default as Checkbox } from '
|
|
7
|
-
export { default as Input } from '
|
|
8
|
-
export { default as Link } from '
|
|
9
|
-
export { default as PageLayout } from '
|
|
10
|
-
export { default as MetaTags } from '
|
|
11
|
-
export { default as Modal, BaseModal } from '
|
|
12
|
-
export { default as NavLink } from '
|
|
13
|
-
export { default as Throbber } from '
|
|
14
|
-
export { default as WithTooltip } from '
|
|
15
|
-
export { default as YouTubeVideo } from '
|
|
4
|
+
export * from './selectors';
|
|
5
|
+
export { default as Button, BaseButton } from './Button';
|
|
6
|
+
export { default as Checkbox } from './Checkbox';
|
|
7
|
+
export { default as Input } from './Input';
|
|
8
|
+
export { default as Link } from './Link';
|
|
9
|
+
export { default as PageLayout } from './PageLayout';
|
|
10
|
+
export { default as MetaTags } from './MetaTags';
|
|
11
|
+
export { default as Modal, BaseModal } from './Modal';
|
|
12
|
+
export { default as NavLink } from './NavLink';
|
|
13
|
+
export { default as Throbber } from './Throbber';
|
|
14
|
+
export { default as WithTooltip } from './WithTooltip';
|
|
15
|
+
export { default as YouTubeVideo } from './YouTubeVideo';
|
|
16
16
|
export { default as TextArea } from './TextArea';
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.43.1",
|
|
3
3
|
"bin": {
|
|
4
4
|
"react-utils-build": "bin/build.js",
|
|
5
5
|
"react-utils-setup": "bin/setup.js"
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"stylelint": "^16.18.0",
|
|
111
111
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
112
112
|
"supertest": "^7.1.0",
|
|
113
|
-
"tsc-alias": "^1.8.
|
|
113
|
+
"tsc-alias": "^1.8.13",
|
|
114
114
|
"tstyche": "^3.5.0",
|
|
115
115
|
"typed-scss-modules": "^8.1.1",
|
|
116
116
|
"typescript": "^5.8.3",
|