@zengenti/contensis-react-base 3.2.2 → 3.2.3-beta.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.
- package/README.md +1 -524
- package/cjs/contensis-react-base.js +0 -1
- package/cjs/contensis-react-base.js.map +1 -1
- package/esm/contensis-react-base.js +0 -1
- package/esm/contensis-react-base.js.map +1 -1
- package/models/redux/actions/index.d.ts +2 -2
- package/models/redux/selectors/index.d.ts +2 -2
- package/models/redux/store/injectors.d.ts +4 -4
- package/models/redux/types/index.d.ts +2 -2
- package/models/redux/types/navigation.d.ts +3 -3
- package/models/redux/types/version.d.ts +2 -2
- package/models/routing/components/Status.d.ts +2 -2
- package/models/routing/redux/types.d.ts +11 -11
- package/models/user/components/LoginForm.d.ts +5 -5
- package/models/user/components/LogoutForm.d.ts +3 -3
- package/models/user/redux/types.d.ts +21 -21
- package/models/util/CachedDeliveryApi.d.ts +5 -5
- package/models/util/ContensisDeliveryApi.d.ts +1 -0
- package/models/util/SSRContext.d.ts +9 -10
- package/models/util/json-mapper.d.ts +2 -2
- package/package.json +19 -24
|
@@ -4,6 +4,6 @@ declare namespace _default {
|
|
|
4
4
|
export { version };
|
|
5
5
|
}
|
|
6
6
|
export default _default;
|
|
7
|
-
import * as navigation from
|
|
7
|
+
import * as navigation from './navigation';
|
|
8
8
|
import * as routing from "../../routing/redux/actions";
|
|
9
|
-
import * as version from
|
|
9
|
+
import * as version from './version';
|
|
@@ -4,6 +4,6 @@ declare namespace _default {
|
|
|
4
4
|
export { version };
|
|
5
5
|
}
|
|
6
6
|
export default _default;
|
|
7
|
-
import * as navigation from
|
|
7
|
+
import * as navigation from './navigation';
|
|
8
8
|
import * as routing from "../../routing/redux/selectors";
|
|
9
|
-
import * as version from
|
|
9
|
+
import * as version from './version';
|
|
@@ -3,14 +3,14 @@ export function injectReducer({ key, reducer }: {
|
|
|
3
3
|
key: any;
|
|
4
4
|
reducer: any;
|
|
5
5
|
}, store?: import("../../../node_modules/redux").Store<import("../..").AppState, import("../../../node_modules/redux").Action<any>> & {
|
|
6
|
-
runSaga: <S extends import("redux-saga").Saga
|
|
6
|
+
runSaga: <S extends import("redux-saga").Saga>(saga: S, ...args: Parameters<S>) => import("redux-saga").Task;
|
|
7
7
|
close: () => void;
|
|
8
8
|
}): void;
|
|
9
9
|
export function injectSaga({ key, saga }: {
|
|
10
10
|
key: any;
|
|
11
11
|
saga: any;
|
|
12
12
|
}, store?: import("../../../node_modules/redux").Store<import("../..").AppState, import("../../../node_modules/redux").Action<any>> & {
|
|
13
|
-
runSaga: <S extends import("redux-saga").Saga
|
|
13
|
+
runSaga: <S extends import("redux-saga").Saga>(saga: S, ...args: Parameters<S>) => import("redux-saga").Task;
|
|
14
14
|
close: () => void;
|
|
15
15
|
}): void;
|
|
16
16
|
export function injectRedux({ key, reducer, saga }: {
|
|
@@ -18,7 +18,7 @@ export function injectRedux({ key, reducer, saga }: {
|
|
|
18
18
|
reducer: any;
|
|
19
19
|
saga: any;
|
|
20
20
|
}, store?: import("../../../node_modules/redux").Store<import("../..").AppState, import("../../../node_modules/redux").Action<any>> & {
|
|
21
|
-
runSaga: <S extends import("redux-saga").Saga
|
|
21
|
+
runSaga: <S extends import("redux-saga").Saga>(saga: S, ...args: Parameters<S>) => import("redux-saga").Task;
|
|
22
22
|
close: () => void;
|
|
23
23
|
}): void;
|
|
24
24
|
export function useInjectRedux({ key, reducer, saga }: {
|
|
@@ -26,6 +26,6 @@ export function useInjectRedux({ key, reducer, saga }: {
|
|
|
26
26
|
reducer: any;
|
|
27
27
|
saga: any;
|
|
28
28
|
}, store?: import("../../../node_modules/redux").Store<import("../..").AppState, import("../../../node_modules/redux").Action<any>> & {
|
|
29
|
-
runSaga: <S extends import("redux-saga").Saga
|
|
29
|
+
runSaga: <S extends import("redux-saga").Saga>(saga: S, ...args: Parameters<S>) => import("redux-saga").Task;
|
|
30
30
|
close: () => void;
|
|
31
31
|
}): void;
|
|
@@ -4,6 +4,6 @@ declare namespace _default {
|
|
|
4
4
|
export { version };
|
|
5
5
|
}
|
|
6
6
|
export default _default;
|
|
7
|
-
import * as navigation from
|
|
7
|
+
import * as navigation from './navigation';
|
|
8
8
|
import * as routing from "../../routing/redux/types";
|
|
9
|
-
import * as version from
|
|
9
|
+
import * as version from './version';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const GET_NODE_TREE:
|
|
2
|
-
export const SET_NODE_TREE:
|
|
3
|
-
export const GET_NODE_TREE_ERROR:
|
|
1
|
+
export const GET_NODE_TREE: "@NAVIGATION/_GET_NODE_TREE";
|
|
2
|
+
export const SET_NODE_TREE: "@NAVIGATION/_SET_NODE_TREE";
|
|
3
|
+
export const GET_NODE_TREE_ERROR: "@NAVIGATION/_GET_NODE_TREE_ERROR";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const SET_VERSION:
|
|
2
|
-
export const SET_VERSION_STATUS:
|
|
1
|
+
export const SET_VERSION: "@VERSION/SET_VERSION";
|
|
2
|
+
export const SET_VERSION_STATUS: "@VERSION/SET_VERSION_STATUS";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const Status: ({ code, children, }:
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export declare const Status: ({ code, children, }: PropsWithChildren<{
|
|
3
3
|
code: number;
|
|
4
4
|
}>) => JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare const GET_ENTRY
|
|
2
|
-
export declare const SET_ENTRY
|
|
3
|
-
export declare const SET_NODE
|
|
4
|
-
export declare const SET_ANCESTORS
|
|
5
|
-
export declare const SET_SIBLINGS
|
|
6
|
-
export declare const SET_ENTRY_ID
|
|
7
|
-
export declare const SET_SURROGATE_KEYS
|
|
8
|
-
export declare const SET_NAVIGATION_PATH
|
|
9
|
-
export declare const SET_TARGET_PROJECT
|
|
10
|
-
export declare const SET_ROUTE
|
|
11
|
-
export declare const UPDATE_LOADING_STATE
|
|
1
|
+
export declare const GET_ENTRY = "@ROUTING/_GET_ENTRY";
|
|
2
|
+
export declare const SET_ENTRY = "@ROUTING/_SET_ENTRY";
|
|
3
|
+
export declare const SET_NODE = "@ROUTING/_SET_NODE";
|
|
4
|
+
export declare const SET_ANCESTORS = "@ROUTING/_SET_ANCESTORS";
|
|
5
|
+
export declare const SET_SIBLINGS = "@ROUTING/_SET_SIBLINGS";
|
|
6
|
+
export declare const SET_ENTRY_ID = "@ROUTING/_SET_ENTRY_ID";
|
|
7
|
+
export declare const SET_SURROGATE_KEYS = "@ROUTING/_SET_SURROGATE_KEYS";
|
|
8
|
+
export declare const SET_NAVIGATION_PATH = "@ROUTING/_SET_NAVIGATION_PATH";
|
|
9
|
+
export declare const SET_TARGET_PROJECT = "@ROUTING/_SET_TARGET_PROJECT";
|
|
10
|
+
export declare const SET_ROUTE = "@ROUTING/_SET_ROUTE";
|
|
11
|
+
export declare const UPDATE_LOADING_STATE = "@ROUTING/_UPDATE_LOADING_STATE";
|
|
@@ -6,10 +6,10 @@ declare function LoginForm({ authenticationError, loading, loginUser }: {
|
|
|
6
6
|
}): JSX.Element;
|
|
7
7
|
declare namespace LoginForm {
|
|
8
8
|
namespace propTypes {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
let loginException: PropTypes.Requireable<boolean>;
|
|
10
|
+
let authenticationError: PropTypes.Requireable<boolean>;
|
|
11
|
+
let loading: PropTypes.Requireable<boolean>;
|
|
12
|
+
let loginUser: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
import PropTypes from
|
|
15
|
+
import PropTypes from 'prop-types';
|
|
@@ -5,8 +5,8 @@ declare function LogoutForm({ logoutUser, user }: {
|
|
|
5
5
|
}): JSX.Element;
|
|
6
6
|
declare namespace LogoutForm {
|
|
7
7
|
namespace propTypes {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
let logoutUser: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
|
+
let user: PropTypes.Requireable<object>;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
import PropTypes from
|
|
12
|
+
import PropTypes from 'prop-types';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export declare const VALIDATE_USER
|
|
2
|
-
export declare const SET_AUTHENTICATION_STATE
|
|
3
|
-
export declare const LOGIN_USER
|
|
4
|
-
export declare const LOGIN_SUCCESSFUL
|
|
5
|
-
export declare const LOGIN_FAILED
|
|
6
|
-
export declare const LOGOUT_USER
|
|
7
|
-
export declare const REGISTER_USER
|
|
8
|
-
export declare const REGISTER_USER_SUCCESS
|
|
9
|
-
export declare const REGISTER_USER_FAILED
|
|
10
|
-
export declare const REQUEST_USER_PASSWORD_RESET
|
|
11
|
-
export declare const RESET_USER_PASSWORD
|
|
12
|
-
export declare const REQUEST_USER_PASSWORD_RESET_SENDING
|
|
13
|
-
export declare const REQUEST_USER_PASSWORD_RESET_SUCCESS
|
|
14
|
-
export declare const REQUEST_USER_PASSWORD_RESET_ERROR
|
|
15
|
-
export declare const RESET_USER_PASSWORD_SENDING
|
|
16
|
-
export declare const RESET_USER_PASSWORD_SUCCESS
|
|
17
|
-
export declare const RESET_USER_PASSWORD_ERROR
|
|
18
|
-
export declare const CHANGE_USER_PASSWORD
|
|
19
|
-
export declare const CHANGE_USER_PASSWORD_SENDING
|
|
20
|
-
export declare const CHANGE_USER_PASSWORD_SUCCESS
|
|
21
|
-
export declare const CHANGE_USER_PASSWORD_ERROR
|
|
1
|
+
export declare const VALIDATE_USER = "@USER/VALIDATE_USER";
|
|
2
|
+
export declare const SET_AUTHENTICATION_STATE = "@USER/SET_AUTHENTICATION_STATE";
|
|
3
|
+
export declare const LOGIN_USER = "@USER/LOGIN_USER";
|
|
4
|
+
export declare const LOGIN_SUCCESSFUL = "@USER/LOGIN_SUCCESSFUL";
|
|
5
|
+
export declare const LOGIN_FAILED = "@USER/LOGIN_FAILED";
|
|
6
|
+
export declare const LOGOUT_USER = "@USER/LOGOUT_USER";
|
|
7
|
+
export declare const REGISTER_USER = "@USER/REGISTER_USER";
|
|
8
|
+
export declare const REGISTER_USER_SUCCESS = "@USER/REGISTER_USER_SUCCESS";
|
|
9
|
+
export declare const REGISTER_USER_FAILED = "@USER/REGISTER_USER_FAILED";
|
|
10
|
+
export declare const REQUEST_USER_PASSWORD_RESET = "@USER/REQUEST_USER_PASSWORD_RESET";
|
|
11
|
+
export declare const RESET_USER_PASSWORD = "@USER/RESET_USER_PASSWORD";
|
|
12
|
+
export declare const REQUEST_USER_PASSWORD_RESET_SENDING = "@USER/REQUEST_USER_PASSWORD_RESET_SENDING";
|
|
13
|
+
export declare const REQUEST_USER_PASSWORD_RESET_SUCCESS = "@USER/REQUEST_USER_PASSWORD_RESET_SUCCESS";
|
|
14
|
+
export declare const REQUEST_USER_PASSWORD_RESET_ERROR = "@USER/REQUEST_USER_PASSWORD_RESET_ERROR";
|
|
15
|
+
export declare const RESET_USER_PASSWORD_SENDING = "@USER/RESET_USER_PASSWORD_SENDING";
|
|
16
|
+
export declare const RESET_USER_PASSWORD_SUCCESS = "@USER/RESET_USER_PASSWORD_SUCCESS";
|
|
17
|
+
export declare const RESET_USER_PASSWORD_ERROR = "@USER/RESET_USER_PASSWORD_ERROR";
|
|
18
|
+
export declare const CHANGE_USER_PASSWORD = "@USER/CHANGE_USER_PASSWORD";
|
|
19
|
+
export declare const CHANGE_USER_PASSWORD_SENDING = "@USER/CHANGE_USER_PASSWORD_SENDING";
|
|
20
|
+
export declare const CHANGE_USER_PASSWORD_SUCCESS = "@USER/CHANGE_USER_PASSWORD_SUCCESS";
|
|
21
|
+
export declare const CHANGE_USER_PASSWORD_ERROR = "@USER/CHANGE_USER_PASSWORD_ERROR";
|
|
@@ -14,11 +14,11 @@ declare class CachedSearch {
|
|
|
14
14
|
searchUsingPost(query: Query, linkDepth?: number, project?: string): any;
|
|
15
15
|
get(id: string, linkDepth?: number, versionStatus?: VersionStatus, project?: string, fields?: string[]): Promise<import("contensis-delivery-api").Entry>;
|
|
16
16
|
getContentType(id: string, project?: string): Promise<import("contensis-core-api").ContentType>;
|
|
17
|
-
getRootNode(options: NodeGetRootOptions, versionStatus?: VersionStatus, project?: string): Promise<import("contensis-delivery-api").Node
|
|
18
|
-
getNode(options: Parameters<INodeOperations['get']>[0], project?: string): Promise<import("contensis-delivery-api").Node
|
|
19
|
-
getAncestors(options: Parameters<INodeOperations['getAncestors']>[0], project?: string): Promise<import("contensis-delivery-api").Node[]>;
|
|
20
|
-
getChildren(options: Parameters<INodeOperations['getChildren']>[0], project?: string): Promise<import("contensis-delivery-api").Node[]>;
|
|
21
|
-
getSiblings(options: Parameters<INodeOperations['getSiblings']>[0], project?: string): Promise<import("contensis-delivery-api").Node[]>;
|
|
17
|
+
getRootNode(options: NodeGetRootOptions, versionStatus?: VersionStatus, project?: string): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>>;
|
|
18
|
+
getNode(options: Parameters<INodeOperations['get']>[0], project?: string): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>>;
|
|
19
|
+
getAncestors(options: Parameters<INodeOperations['getAncestors']>[0], project?: string): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>[]>;
|
|
20
|
+
getChildren(options: Parameters<INodeOperations['getChildren']>[0], project?: string): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>[]>;
|
|
21
|
+
getSiblings(options: Parameters<INodeOperations['getSiblings']>[0], project?: string): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>[]>;
|
|
22
22
|
request<T extends () => Promise<any>>(key: string, execute: T): ReturnType<T>;
|
|
23
23
|
}
|
|
24
24
|
export declare const cachedSearch: CachedSearch;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
/// <reference types="qs" />
|
|
2
1
|
import { Request, Response } from 'express';
|
|
3
|
-
import
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
4
3
|
import { SSRContext as SSRContextType } from "../models";
|
|
5
4
|
/** SSRContextProvider allows us to hold and access request-scoped references
|
|
6
5
|
* throughout the component tree
|
|
7
6
|
*
|
|
8
7
|
* adding this in client side allows consumers to write universal code and use
|
|
9
8
|
* the same helpers and refs as in SSR */
|
|
10
|
-
export declare const SSRContextProvider: ({ children, request, response, }:
|
|
11
|
-
request?: Request
|
|
12
|
-
response?: Response
|
|
9
|
+
export declare const SSRContextProvider: ({ children, request, response, }: PropsWithChildren<{
|
|
10
|
+
request?: Request;
|
|
11
|
+
response?: Response;
|
|
13
12
|
}>) => JSX.Element;
|
|
14
13
|
export declare const useSSRContext: () => SSRContextType;
|
|
15
14
|
export declare const useDeliveryApi: () => {
|
|
@@ -21,10 +20,10 @@ export declare const useDeliveryApi: () => {
|
|
|
21
20
|
searchUsingPost(query: import("contensis-core-api").Query, linkDepth?: number, project?: string): any;
|
|
22
21
|
get(id: string, linkDepth?: number, versionStatus?: import("contensis-core-api").VersionStatus, project?: string | undefined, fields?: string[] | undefined): Promise<import("contensis-delivery-api").Entry>;
|
|
23
22
|
getContentType(id: string, project?: string | undefined): Promise<import("contensis-core-api").ContentType>;
|
|
24
|
-
getRootNode(options: import("contensis-delivery-api").NodeGetRootOptions, versionStatus?: import("contensis-core-api").VersionStatus, project?: string | undefined): Promise<import("contensis-delivery-api").Node
|
|
25
|
-
getNode(options: string | import("contensis-delivery-api").NodeGetByIdOptions | import("contensis-delivery-api").NodeGetByPathOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node
|
|
26
|
-
getAncestors(options: string | import("contensis-delivery-api").Node | import("contensis-delivery-api").NodeGetAncestorsOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node[]>;
|
|
27
|
-
getChildren(options: string | import("contensis-delivery-api").Node | import("contensis-delivery-api").NodeGetChildrenOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node[]>;
|
|
28
|
-
getSiblings(options: string | import("contensis-delivery-api").Node | import("contensis-delivery-api").NodeGetSiblingOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node[]>;
|
|
23
|
+
getRootNode(options: import("contensis-delivery-api").NodeGetRootOptions, versionStatus?: import("contensis-core-api").VersionStatus, project?: string | undefined): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>>;
|
|
24
|
+
getNode(options: string | import("contensis-delivery-api").NodeGetByIdOptions | import("contensis-delivery-api").NodeGetByPathOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>>;
|
|
25
|
+
getAncestors(options: string | import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry> | import("contensis-delivery-api").NodeGetAncestorsOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>[]>;
|
|
26
|
+
getChildren(options: string | import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry> | import("contensis-delivery-api").NodeGetChildrenOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>[]>;
|
|
27
|
+
getSiblings(options: string | import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry> | import("contensis-delivery-api").NodeGetSiblingOptions, project?: string | undefined): Promise<import("contensis-delivery-api").Node<import("contensis-delivery-api").Entry>[]>;
|
|
29
28
|
request<T extends () => Promise<any>>(key: string, execute: T): ReturnType<T>;
|
|
30
29
|
};
|
|
@@ -42,9 +42,9 @@ export declare const useEntryMapper: <S, T extends Mappers<S>>(entry: S, mappers
|
|
|
42
42
|
* a default mapper template, returns an empty object if no mapper template
|
|
43
43
|
* couild be applied.
|
|
44
44
|
*/
|
|
45
|
-
export declare const mapEntries: <S,
|
|
45
|
+
export declare const mapEntries: <S, Mappers extends {
|
|
46
46
|
[contentTypeId: string]: MappingTemplate<S>;
|
|
47
|
-
}>(entries: S[], mappers:
|
|
47
|
+
}>(entries: S[], mappers: Mappers, field?: string) => unknown[];
|
|
48
48
|
/**
|
|
49
49
|
* mapComposer mapping function to take a composer field from Delivery API along
|
|
50
50
|
* with mappers for each Composer Item "type" and return an array of mapped components
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zengenti/contensis-react-base",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3-beta.1",
|
|
4
4
|
"repository": "https://github.com/zengenti/contensis-react-base",
|
|
5
5
|
"license": "None",
|
|
6
6
|
"description": "Turbocharge your React web apps with Contensis. This package handles all dependencies for creating full featured web apps in React with Contensis and Site View. Routing is driven by Site View, Redux is used for global state management and server-side rendering (SSR) is handled for you. Also taking care of intricate hosting issues such as cache invalidation and supporting authenticated content where required.",
|
|
@@ -10,17 +10,14 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"start": "npm run roll:watch",
|
|
12
12
|
"debug:server": "npm start",
|
|
13
|
-
"build": "npm run clean:lib &&
|
|
13
|
+
"build": "npm run clean:lib && tspc && npm run copymodels && npm run roll:lib",
|
|
14
14
|
"build:lib": "npm i zengenti-search-package zengenti-forms-package && npm run build",
|
|
15
15
|
"roll:lib": "cross-env NODE_ENV=production rollup --bundleConfigAsCjs -c rollup/rollup.config.lib.js",
|
|
16
16
|
"roll:watch": "cross-env NODE_ENV=production rollup --bundleConfigAsCjs -c rollup/rollup.config.lib.js --watch",
|
|
17
17
|
"clean:lib": "rimraf ./models && rimraf ./esm && rimraf ./cjs",
|
|
18
18
|
"copymodels": "copyfiles --up 3 --follow \"./node_modules/zengenti-search-package/models/**/*\" models/search --verbose",
|
|
19
|
-
"changelog": "generate-changelog -x ci,chore --tag v3.2.0...",
|
|
20
19
|
"lint": "eslint ./src",
|
|
21
|
-
"lint:fix": "eslint --fix ./src"
|
|
22
|
-
"test": "jest -c ./config/jest.config.js --detectOpenHandles --forceExit",
|
|
23
|
-
"publish:test": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz"
|
|
20
|
+
"lint:fix": "eslint --fix ./src"
|
|
24
21
|
},
|
|
25
22
|
"keywords": [],
|
|
26
23
|
"author": "http://Zengenti.com",
|
|
@@ -34,6 +31,7 @@
|
|
|
34
31
|
"@babel/preset-env": "^7.25.4",
|
|
35
32
|
"@babel/preset-react": "^7.24.7",
|
|
36
33
|
"@babel/preset-typescript": "^7.24.7",
|
|
34
|
+
"@eslint/js": "^9.12.0",
|
|
37
35
|
"@loadable/babel-plugin": "^5.16.1",
|
|
38
36
|
"@rollup/plugin-alias": "^5.1.0",
|
|
39
37
|
"@rollup/plugin-babel": "^6.0.4",
|
|
@@ -41,6 +39,7 @@
|
|
|
41
39
|
"@rollup/plugin-json": "^6.1.0",
|
|
42
40
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
41
|
"@types/babel__core": "^7.20.5",
|
|
42
|
+
"@types/eslint__js": "^8.42.3",
|
|
44
43
|
"@types/events": "^3.0.0",
|
|
45
44
|
"@types/express": "^4.17.13",
|
|
46
45
|
"@types/isomorphic-fetch": "^0.0.36",
|
|
@@ -54,30 +53,26 @@
|
|
|
54
53
|
"@types/react-router-config": "^5.0.6",
|
|
55
54
|
"@types/react-router-dom": "^5.3.3",
|
|
56
55
|
"@types/webpack-env": "^1.17.0",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
58
|
-
"@typescript-eslint/parser": "^4.33.0",
|
|
59
56
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
60
57
|
"babel-plugin-styled-components": "^2.1.4",
|
|
61
58
|
"copyfiles": "^2.4.1",
|
|
62
59
|
"cross-env": "^7.0.3",
|
|
63
|
-
"eslint": "^
|
|
64
|
-
"eslint-config-prettier": "^
|
|
65
|
-
"eslint-import
|
|
66
|
-
"eslint-
|
|
67
|
-
"eslint-plugin-
|
|
68
|
-
"eslint-plugin-
|
|
69
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
70
|
-
"eslint-plugin-react": "^7.29.4",
|
|
71
|
-
"eslint-plugin-react-hooks": "^4.4.0",
|
|
60
|
+
"eslint": "^9.12.0",
|
|
61
|
+
"eslint-config-prettier": "^9.1.0",
|
|
62
|
+
"eslint-plugin-import": "^2.31.0",
|
|
63
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
64
|
+
"eslint-plugin-react": "^7.37.1",
|
|
65
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
72
66
|
"fs-extra": "^10.1.0",
|
|
73
|
-
"
|
|
74
|
-
"prettier": "^2.
|
|
67
|
+
"globals": "^15.11.0",
|
|
68
|
+
"prettier": "^2.8.8",
|
|
75
69
|
"rimraf": "^3.0.2",
|
|
76
70
|
"rollup": "^4.21.3",
|
|
77
71
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
78
|
-
"
|
|
79
|
-
"typescript": "
|
|
80
|
-
"typescript-
|
|
72
|
+
"ts-patch": "^3.2.1",
|
|
73
|
+
"typescript": "5.4",
|
|
74
|
+
"typescript-eslint": "^8.9.0",
|
|
75
|
+
"typescript-transform-paths": "^3.5.1",
|
|
81
76
|
"zengenti-forms-package": "git+https://gitlab+deploy-token-11:DRbTWzdaRzkjDWc_VixQ@gitlab.zengenti.com/zengenti-packages/forms.git#next",
|
|
82
77
|
"zengenti-search-package": "git+https://gitlab+deploy-token-5:XKRGRE1p2PrFAxnWwLNz@gitlab.zengenti.com/zengenti-packages/search.git#immer"
|
|
83
78
|
},
|
|
@@ -88,8 +83,8 @@
|
|
|
88
83
|
"app-root-path": "^3.0.0",
|
|
89
84
|
"await-to-js": "^3.0.0",
|
|
90
85
|
"chalk": "^4.1.2",
|
|
91
|
-
"contensis-delivery-api": "^1.
|
|
92
|
-
"contensis-management-api": "^2.
|
|
86
|
+
"contensis-delivery-api": "^1.5.0",
|
|
87
|
+
"contensis-management-api": "^2.2.0",
|
|
93
88
|
"custom-env": "^2.0.1",
|
|
94
89
|
"deep-equal": "^2.0.5",
|
|
95
90
|
"deepmerge": "^4.2.2",
|