@modern-js/runtime 2.12.0 → 2.13.0

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @modern-js/runtime
2
2
 
3
+ ## 2.13.0
4
+
5
+ ### Patch Changes
6
+
7
+ - cad9676: fix(runtime): compile react-router to ensure the compatibility
8
+
9
+ fix(runtime): 通过编译 react-router 来保证对低版本浏览器的兼容性
10
+
11
+ - e9b1656: fix: plugin config hook can not get bundlerType, so we can't set babelConfig correctly in ssr plugin
12
+ fix: 插件的 config 钩子不能获得 bundlerType,所以我们在 ssr 插件不能正确的设置 babelConfig
13
+ - 4d413c4: docs: add prefetch docs
14
+ docs: 添加 prefetch 的文档
15
+ - 4220c0e: feat: support global props in createApp and pass garfish props in
16
+ feat: createApp 支持全局属性,garfish 通过这个方式透传 garfish props
17
+ - Updated dependencies [78431f4]
18
+ - @modern-js/plugin@2.13.0
19
+ - @modern-js/types@2.13.0
20
+ - @modern-js/utils@2.13.0
21
+
3
22
  ## 2.12.0
4
23
 
5
24
  ### Patch Changes
@@ -50,7 +50,10 @@ const getInitialContext = (runner) => ({
50
50
  isBrowser: true,
51
51
  routeManifest: typeof window !== "undefined" && window[import_constants.ROUTE_MANIFEST]
52
52
  });
53
- const createApp = ({ plugins }) => {
53
+ const createApp = ({
54
+ plugins,
55
+ props: globalProps
56
+ }) => {
54
57
  const appRuntime = import_plugin.runtime.clone();
55
58
  appRuntime.usePlugin(...plugins);
56
59
  return (App) => {
@@ -94,7 +97,8 @@ const createApp = ({ plugins }) => {
94
97
  }
95
98
  );
96
99
  }
97
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_runtimeContext.RuntimeReactContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(App2, { ...props }) });
100
+ const mergedProps = { ...props, ...globalProps };
101
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_runtimeContext.RuntimeReactContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(App2, { ...mergedProps }) });
98
102
  };
99
103
  return (0, import_hoist_non_react_statics.default)(WrapComponent, App2);
100
104
  }
@@ -38,6 +38,14 @@ var cli_default = () => ({
38
38
  );
39
39
  return {
40
40
  source: {
41
+ include: [
42
+ // react-router v6 is no longer support ie 11
43
+ // so we need to compile these packages to ensure the compatibility
44
+ // https://github.com/remix-run/react-router/commit/f6df0697e1b2064a2b3a12e8b39577326fdd945b
45
+ /node_modules\/react-router/,
46
+ /node_modules\/react-router-dom/,
47
+ /node_modules\/@remix-run\/router/
48
+ ],
41
49
  alias: {
42
50
  "@modern-js/runtime/plugins": pluginsExportsUtils.getPath()
43
51
  }
@@ -27,8 +27,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
  var PrefetchLink_exports = {};
29
29
  __export(PrefetchLink_exports, {
30
- PrefetchLink: () => Link,
31
- PrefetchNavLink: () => NavLink,
30
+ Link: () => Link,
31
+ NavLink: () => NavLink,
32
32
  composeEventHandlers: () => composeEventHandlers
33
33
  });
34
34
  module.exports = __toCommonJS(PrefetchLink_exports);
@@ -200,7 +200,7 @@ const NavLink = createPrefetchLink(import_react_router_dom.NavLink);
200
200
  NavLink.displayName = "NavLink";
201
201
  // Annotate the CommonJS export names for ESM import in node:
202
202
  0 && (module.exports = {
203
- PrefetchLink,
204
- PrefetchNavLink,
203
+ Link,
204
+ NavLink,
205
205
  composeEventHandlers
206
206
  });
@@ -22,13 +22,11 @@ __export(runtime_exports, {
22
22
  BrowserRouter: () => import_react_router_dom.BrowserRouter,
23
23
  Form: () => import_react_router_dom.Form,
24
24
  HashRouter: () => import_react_router_dom.HashRouter,
25
- Link: () => import_react_router_dom.Link,
25
+ Link: () => import_PrefetchLink.Link,
26
26
  MemoryRouter: () => import_react_router_dom.MemoryRouter,
27
- NavLink: () => import_react_router_dom.NavLink,
27
+ NavLink: () => import_PrefetchLink.NavLink,
28
28
  Navigate: () => import_react_router_dom.Navigate,
29
29
  Outlet: () => import_react_router_dom.Outlet,
30
- PrefetchLink: () => import_PrefetchLink.PrefetchLink,
31
- PrefetchNavLink: () => import_PrefetchLink.PrefetchNavLink,
32
30
  Route: () => import_react_router_dom.Route,
33
31
  Router: () => import_react_router_dom.Router,
34
32
  RouterProvider: () => import_react_router_dom.RouterProvider,
@@ -98,8 +96,6 @@ var runtime_default = import_plugin.routerPlugin;
98
96
  NavLink,
99
97
  Navigate,
100
98
  Outlet,
101
- PrefetchLink,
102
- PrefetchNavLink,
103
99
  Route,
104
100
  Router,
105
101
  RouterProvider,
@@ -61,8 +61,7 @@ var cli_default = () => ({
61
61
  appContext.internalDirectory,
62
62
  "plugins"
63
63
  );
64
- const { builder } = api.useAppContext();
65
- const bundlerType = (builder == null ? void 0 : builder.context.bundlerType) || "webpack";
64
+ const { bundlerType = "webpack" } = api.useAppContext();
66
65
  const babelConfig = bundlerType === "webpack" ? (config) => {
67
66
  var _a, _b;
68
67
  (_a = config.plugins) == null ? void 0 : _a.push(
@@ -230,7 +230,7 @@ var getInitialContext = function(runner) {
230
230
  };
231
231
  };
232
232
  var createApp = function(param) {
233
- var plugins = param.plugins;
233
+ var plugins = param.plugins, globalProps = param.props;
234
234
  var _appRuntime;
235
235
  var appRuntime = runtime.clone();
236
236
  (_appRuntime = appRuntime).usePlugin.apply(_appRuntime, _toConsumableArray(plugins));
@@ -276,9 +276,10 @@ var createApp = function(param) {
276
276
  }
277
277
  });
278
278
  }
279
+ var mergedProps = _objectSpread({}, props, globalProps);
279
280
  return /* @__PURE__ */ jsx(RuntimeReactContext.Provider, {
280
281
  value: contextValue,
281
- children: /* @__PURE__ */ jsx(App2, _objectSpread({}, props))
282
+ children: /* @__PURE__ */ jsx(App2, _objectSpread({}, mergedProps))
282
283
  });
283
284
  };
284
285
  return hoistNonReactStatics(WrapComponent, App2);
@@ -68,6 +68,14 @@ var cli_default = function() {
68
68
  pluginsExportsUtils = createRuntimeExportsUtils(appContext.internalDirectory, "plugins");
69
69
  return {
70
70
  source: {
71
+ include: [
72
+ // react-router v6 is no longer support ie 11
73
+ // so we need to compile these packages to ensure the compatibility
74
+ // https://github.com/remix-run/react-router/commit/f6df0697e1b2064a2b3a12e8b39577326fdd945b
75
+ /node_modules\/react-router/,
76
+ /node_modules\/react-router-dom/,
77
+ /node_modules\/@remix-run\/router/
78
+ ],
71
79
  alias: {
72
80
  "@modern-js/runtime/plugins": pluginsExportsUtils.getPath()
73
81
  }
@@ -444,4 +444,4 @@ var Link = createPrefetchLink(RouterLink);
444
444
  Link.displayName = "Link";
445
445
  var NavLink = createPrefetchLink(RouterNavLink);
446
446
  NavLink.displayName = "NavLink";
447
- export { Link as PrefetchLink, NavLink as PrefetchNavLink, composeEventHandlers };
447
+ export { Link, NavLink, composeEventHandlers };
@@ -2,7 +2,7 @@ import { routerPlugin } from "./plugin";
2
2
  var runtime_default = routerPlugin;
3
3
  import { modifyRoutes } from "./plugin";
4
4
  export * from "./withRouter";
5
- import { PrefetchLink, PrefetchNavLink } from "./PrefetchLink";
6
- import { createBrowserRouter, createHashRouter, createMemoryRouter, RouterProvider, BrowserRouter, HashRouter, MemoryRouter, Router, Await, Form, Link, NavLink, Navigate, Outlet, Route, Routes, ScrollRestoration, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit, createRoutesFromChildren, createRoutesFromElements, createSearchParams, generatePath, isRouteErrorResponse, matchPath, matchRoutes, renderMatches, resolvePath } from "react-router-dom";
5
+ import { Link, NavLink } from "./PrefetchLink";
6
+ import { createBrowserRouter, createHashRouter, createMemoryRouter, RouterProvider, BrowserRouter, HashRouter, MemoryRouter, Router, Await, Form, Navigate, Outlet, Route, Routes, ScrollRestoration, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit, createRoutesFromChildren, createRoutesFromElements, createSearchParams, generatePath, isRouteErrorResponse, matchPath, matchRoutes, renderMatches, resolvePath } from "react-router-dom";
7
7
  import { defer, json, redirect } from "@modern-js/utils/universal/remix-router";
8
- export { Await, BrowserRouter, Form, HashRouter, Link, MemoryRouter, NavLink, Navigate, Outlet, PrefetchLink, PrefetchNavLink, Route, Router, RouterProvider, Routes, ScrollRestoration, createBrowserRouter, createHashRouter, createMemoryRouter, createRoutesFromChildren, createRoutesFromElements, createSearchParams, runtime_default as default, defer, generatePath, isRouteErrorResponse, json, matchPath, matchRoutes, modifyRoutes, redirect, renderMatches, resolvePath, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit };
8
+ export { Await, BrowserRouter, Form, HashRouter, Link, MemoryRouter, NavLink, Navigate, Outlet, Route, Router, RouterProvider, Routes, ScrollRestoration, createBrowserRouter, createHashRouter, createMemoryRouter, createRoutesFromChildren, createRoutesFromElements, createSearchParams, runtime_default as default, defer, generatePath, isRouteErrorResponse, json, matchPath, matchRoutes, modifyRoutes, redirect, renderMatches, resolvePath, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit };
@@ -110,8 +110,7 @@ var cli_default = function() {
110
110
  config: function config() {
111
111
  var appContext = api.useAppContext();
112
112
  pluginsExportsUtils = createRuntimeExportsUtils(appContext.internalDirectory, "plugins");
113
- var builder = api.useAppContext().builder;
114
- var bundlerType = (builder === null || builder === void 0 ? void 0 : builder.context.bundlerType) || "webpack";
113
+ var _api_useAppContext = api.useAppContext(), _api_useAppContext_bundlerType = _api_useAppContext.bundlerType, bundlerType = _api_useAppContext_bundlerType === void 0 ? "webpack" : _api_useAppContext_bundlerType;
115
114
  var babelConfig = bundlerType === "webpack" ? function(config) {
116
115
  var _config_plugins;
117
116
  (_config_plugins = config.plugins) === null || _config_plugins === void 0 ? void 0 : _config_plugins.push(path.join(__dirname, "./babel-plugin-ssr-loader-id"));
@@ -18,7 +18,10 @@ const getInitialContext = (runner) => ({
18
18
  isBrowser: true,
19
19
  routeManifest: typeof window !== "undefined" && window[ROUTE_MANIFEST]
20
20
  });
21
- const createApp = ({ plugins }) => {
21
+ const createApp = ({
22
+ plugins,
23
+ props: globalProps
24
+ }) => {
22
25
  const appRuntime = runtime.clone();
23
26
  appRuntime.usePlugin(...plugins);
24
27
  return (App) => {
@@ -62,7 +65,8 @@ const createApp = ({ plugins }) => {
62
65
  }
63
66
  );
64
67
  }
65
- return /* @__PURE__ */ jsx(RuntimeReactContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx(App2, { ...props }) });
68
+ const mergedProps = { ...props, ...globalProps };
69
+ return /* @__PURE__ */ jsx(RuntimeReactContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx(App2, { ...mergedProps }) });
66
70
  };
67
71
  return hoistNonReactStatics(WrapComponent, App2);
68
72
  }
@@ -21,6 +21,14 @@ var cli_default = () => ({
21
21
  );
22
22
  return {
23
23
  source: {
24
+ include: [
25
+ // react-router v6 is no longer support ie 11
26
+ // so we need to compile these packages to ensure the compatibility
27
+ // https://github.com/remix-run/react-router/commit/f6df0697e1b2064a2b3a12e8b39577326fdd945b
28
+ /node_modules\/react-router/,
29
+ /node_modules\/react-router-dom/,
30
+ /node_modules\/@remix-run\/router/
31
+ ],
24
32
  alias: {
25
33
  "@modern-js/runtime/plugins": pluginsExportsUtils.getPath()
26
34
  }
@@ -172,7 +172,7 @@ Link.displayName = "Link";
172
172
  const NavLink = createPrefetchLink(RouterNavLink);
173
173
  NavLink.displayName = "NavLink";
174
174
  export {
175
- Link as PrefetchLink,
176
- NavLink as PrefetchNavLink,
175
+ Link,
176
+ NavLink,
177
177
  composeEventHandlers
178
178
  };
@@ -2,7 +2,7 @@ import { routerPlugin } from "./plugin";
2
2
  var runtime_default = routerPlugin;
3
3
  import { modifyRoutes } from "./plugin";
4
4
  export * from "./withRouter";
5
- import { PrefetchLink, PrefetchNavLink } from "./PrefetchLink";
5
+ import { Link, NavLink } from "./PrefetchLink";
6
6
  import {
7
7
  createBrowserRouter,
8
8
  createHashRouter,
@@ -14,8 +14,6 @@ import {
14
14
  Router,
15
15
  Await,
16
16
  Form,
17
- Link,
18
- NavLink,
19
17
  Navigate,
20
18
  Outlet,
21
19
  Route,
@@ -69,8 +67,6 @@ export {
69
67
  NavLink,
70
68
  Navigate,
71
69
  Outlet,
72
- PrefetchLink,
73
- PrefetchNavLink,
74
70
  Route,
75
71
  Router,
76
72
  RouterProvider,
@@ -36,8 +36,7 @@ var cli_default = () => ({
36
36
  appContext.internalDirectory,
37
37
  "plugins"
38
38
  );
39
- const { builder } = api.useAppContext();
40
- const bundlerType = (builder == null ? void 0 : builder.context.bundlerType) || "webpack";
39
+ const { bundlerType = "webpack" } = api.useAppContext();
41
40
  const babelConfig = bundlerType === "webpack" ? (config) => {
42
41
  var _a, _b;
43
42
  (_a = config.plugins) == null ? void 0 : _a.push(
@@ -5,9 +5,11 @@ import { RuntimeContext, TRuntimeContext } from '../runtimeContext';
5
5
  import { Plugin } from './plugin';
6
6
  export type CreateAppOptions = {
7
7
  plugins: Plugin[];
8
+ props?: any;
8
9
  };
9
10
  export declare const createApp: ({
10
- plugins
11
+ plugins,
12
+ props: globalProps
11
13
  }: CreateAppOptions) => (App?: React.ComponentType<any>) => React.ComponentType<any>;
12
14
  type BootStrap<T = unknown> = (App: React.ComponentType, id: string | HTMLElement | RuntimeContext, root?: any, ReactDOM?: {
13
15
  render?: Renderer;
@@ -19,12 +19,12 @@ export declare function composeEventHandlers<EventType extends React.SyntheticEv
19
19
  */
20
20
 
21
21
  type PrefetchBehavior = 'intent' | 'render' | 'none';
22
- export interface PrefetchLinkProps extends RouterLinkProps {
22
+ export interface LinkProps extends RouterLinkProps {
23
23
  prefetch?: PrefetchBehavior;
24
24
  }
25
- export interface PrefetchNavLinkProps extends RouterNavLinkProps {
25
+ export interface NavLinkProps extends RouterNavLinkProps {
26
26
  prefetch?: PrefetchBehavior;
27
27
  }
28
- declare const Link: React.ForwardRefExoticComponent<PrefetchLinkProps & React.RefAttributes<HTMLAnchorElement>>;
29
- declare const NavLink: React.ForwardRefExoticComponent<PrefetchNavLinkProps & React.RefAttributes<HTMLAnchorElement>>;
30
- export { Link as PrefetchLink, NavLink as PrefetchNavLink };
28
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
29
+ declare const NavLink: React.ForwardRefExoticComponent<NavLinkProps & React.RefAttributes<HTMLAnchorElement>>;
30
+ export { Link, NavLink };
@@ -4,8 +4,8 @@ export type { SingleRouteConfig, RouterConfig };
4
4
  export default routerPlugin;
5
5
  export { modifyRoutes } from './plugin';
6
6
  export * from './withRouter';
7
- export { PrefetchLink, PrefetchNavLink } from './PrefetchLink';
8
- export type { PrefetchLinkProps, PrefetchNavLinkProps } from './PrefetchLink';
9
- export type { FormEncType, FormMethod, GetScrollRestorationKeyFunction, ParamKeyValuePair, SubmitOptions, URLSearchParamsInit, FetcherWithComponents, BrowserRouterProps, HashRouterProps, HistoryRouterProps, LinkProps, NavLinkProps, FormProps, ScrollRestorationProps, SubmitFunction, ActionFunction, ActionFunctionArgs, AwaitProps, unstable_Blocker, unstable_BlockerFunction, DataRouteMatch, DataRouteObject, Fetcher, Hash, IndexRouteObject, IndexRouteProps, JsonFunction, LayoutRouteProps, LoaderFunction, LoaderFunctionArgs, Location, MemoryRouterProps, NavigateFunction, NavigateOptions, NavigateProps, Navigation, Navigator, NonIndexRouteObject, OutletProps, Params, ParamParseKey, Path, PathMatch, Pathname, PathPattern, PathRouteProps, RedirectFunction, RelativeRoutingType, RouteMatch, RouteObject, RouteProps, RouterProps, RouterProviderProps, RoutesProps, Search, ShouldRevalidateFunction, To } from 'react-router-dom';
10
- export { createBrowserRouter, createHashRouter, createMemoryRouter, RouterProvider, BrowserRouter, HashRouter, MemoryRouter, Router, Await, Form, Link, NavLink, Navigate, Outlet, Route, Routes, ScrollRestoration, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit, createRoutesFromChildren, createRoutesFromElements, createSearchParams, generatePath, isRouteErrorResponse, matchPath, matchRoutes, renderMatches, resolvePath } from 'react-router-dom';
7
+ export { Link, NavLink } from './PrefetchLink';
8
+ export type { LinkProps, NavLinkProps } from './PrefetchLink';
9
+ export type { FormEncType, FormMethod, GetScrollRestorationKeyFunction, ParamKeyValuePair, SubmitOptions, URLSearchParamsInit, FetcherWithComponents, BrowserRouterProps, HashRouterProps, HistoryRouterProps, FormProps, ScrollRestorationProps, SubmitFunction, ActionFunction, ActionFunctionArgs, AwaitProps, unstable_Blocker, unstable_BlockerFunction, DataRouteMatch, DataRouteObject, Fetcher, Hash, IndexRouteObject, IndexRouteProps, JsonFunction, LayoutRouteProps, LoaderFunction, LoaderFunctionArgs, Location, MemoryRouterProps, NavigateFunction, NavigateOptions, NavigateProps, Navigation, Navigator, NonIndexRouteObject, OutletProps, Params, ParamParseKey, Path, PathMatch, Pathname, PathPattern, PathRouteProps, RedirectFunction, RelativeRoutingType, RouteMatch, RouteObject, RouteProps, RouterProps, RouterProviderProps, RoutesProps, Search, ShouldRevalidateFunction, To } from 'react-router-dom';
10
+ export { createBrowserRouter, createHashRouter, createMemoryRouter, RouterProvider, BrowserRouter, HashRouter, MemoryRouter, Router, Await, Form, Navigate, Outlet, Route, Routes, ScrollRestoration, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit, createRoutesFromChildren, createRoutesFromElements, createSearchParams, generatePath, isRouteErrorResponse, matchPath, matchRoutes, renderMatches, resolvePath } from 'react-router-dom';
11
11
  export { defer, json, redirect } from '@modern-js/utils/universal/remix-router';
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.12.0",
14
+ "version": "2.13.0",
15
15
  "engines": {
16
16
  "node": ">=14.17.6"
17
17
  },
@@ -158,9 +158,9 @@
158
158
  "react-side-effect": "^2.1.1",
159
159
  "redux-logger": "^3.0.6",
160
160
  "styled-components": "^5.3.1",
161
- "@modern-js/plugin": "2.12.0",
162
- "@modern-js/types": "2.12.0",
163
- "@modern-js/utils": "2.12.0"
161
+ "@modern-js/plugin": "2.13.0",
162
+ "@modern-js/types": "2.13.0",
163
+ "@modern-js/utils": "2.13.0"
164
164
  },
165
165
  "peerDependencies": {
166
166
  "react": ">=17",
@@ -181,11 +181,11 @@
181
181
  "react-dom": "^18",
182
182
  "ts-jest": "^29.0.5",
183
183
  "typescript": "^4",
184
- "@modern-js/app-tools": "2.12.0",
185
- "@modern-js/core": "2.12.0",
186
- "@modern-js/server-core": "2.12.0",
187
- "@scripts/build": "2.12.0",
188
- "@scripts/jest-config": "2.12.0"
184
+ "@modern-js/app-tools": "2.13.0",
185
+ "@modern-js/core": "2.13.0",
186
+ "@modern-js/server-core": "2.13.0",
187
+ "@scripts/build": "2.13.0",
188
+ "@scripts/jest-config": "2.13.0"
189
189
  },
190
190
  "sideEffects": false,
191
191
  "modernConfig": {},