@modern-js/plugin-testing 2.41.0 → 2.42.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/base/config/transformer/babelTransformer.js +8 -1
- package/dist/cjs/base/runJest.js +4 -0
- package/dist/cjs/cli/index.js +1 -1
- package/dist/esm/base/config/transformer/babelTransformer.js +8 -1
- package/dist/esm/base/runJest.js +4 -0
- package/dist/esm/cli/index.js +1 -1
- package/dist/esm-node/base/config/transformer/babelTransformer.js +8 -1
- package/dist/esm-node/base/runJest.js +4 -0
- package/dist/esm-node/cli/index.js +1 -1
- package/dist/types/base/config/index.d.ts +8 -8
- package/dist/types/base/config/patches/assetsModule.d.ts +1 -1
- package/dist/types/base/config/patches/filemock.d.ts +1 -1
- package/dist/types/base/config/patches/index.d.ts +1 -1
- package/dist/types/base/config/patches/transformer.d.ts +1 -1
- package/dist/types/base/config/resolver.d.ts +1 -1
- package/dist/types/base/config/testConfigOperator.d.ts +15 -15
- package/dist/types/base/config/transformer/babelTransformer.d.ts +1 -1
- package/dist/types/base/hook.d.ts +5 -5
- package/dist/types/base/index.d.ts +1 -1
- package/dist/types/base/runJest.d.ts +4 -4
- package/dist/types/base/types/index.d.ts +1 -1
- package/dist/types/base/utils.d.ts +3 -3
- package/dist/types/cli/bff/app.d.ts +1 -1
- package/dist/types/cli/bff/constant.d.ts +1 -1
- package/dist/types/cli/bff/index.d.ts +10 -16
- package/dist/types/cli/bff/mockAPI.d.ts +1 -1
- package/dist/types/cli/bff/setup.d.ts +1 -1
- package/dist/types/cli/bff/utils/index.d.ts +1 -1
- package/dist/types/cli/index.d.ts +4 -4
- package/dist/types/cli/test.d.ts +4 -4
- package/dist/types/constant.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/runtime-testing/app.d.ts +17 -17
- package/dist/types/runtime-testing/base.d.ts +1 -1
- package/dist/types/runtime-testing/bff.d.ts +1 -1
- package/dist/types/runtime-testing/customRender.d.ts +1 -1
- package/dist/types/runtime-testing/index.d.ts +1 -1
- package/dist/types/runtime-testing/reduck.d.ts +1 -1
- package/dist/types/runtime-testing/resolvePlugins.d.ts +4 -4
- package/package.json +12 -12
@@ -32,7 +32,9 @@ __export(babelTransformer_exports, {
|
|
32
32
|
});
|
33
33
|
module.exports = __toCommonJS(babelTransformer_exports);
|
34
34
|
var import_babel_jest = __toESM(require("babel-jest"));
|
35
|
+
var import_utils = require("@modern-js/utils");
|
35
36
|
var _babelJest_createTransformer;
|
37
|
+
const isNewJsx = (0, import_utils.isBeyondReact17)(process.cwd());
|
36
38
|
const babelTransformer = (_babelJest_createTransformer = import_babel_jest.default.createTransformer) === null || _babelJest_createTransformer === void 0 ? void 0 : _babelJest_createTransformer.call(import_babel_jest.default, {
|
37
39
|
presets: [
|
38
40
|
[
|
@@ -43,7 +45,12 @@ const babelTransformer = (_babelJest_createTransformer = import_babel_jest.defau
|
|
43
45
|
}
|
44
46
|
}
|
45
47
|
],
|
46
|
-
|
48
|
+
[
|
49
|
+
require.resolve("@babel/preset-react"),
|
50
|
+
{
|
51
|
+
runtime: isNewJsx ? "automatic" : "classic"
|
52
|
+
}
|
53
|
+
]
|
47
54
|
],
|
48
55
|
configFile: false,
|
49
56
|
babelrc: false
|
package/dist/cjs/base/runJest.js
CHANGED
@@ -52,6 +52,10 @@ const buildArgv = async (rawArgv, config) => {
|
|
52
52
|
if (config) {
|
53
53
|
result.config = JSON.stringify(config);
|
54
54
|
}
|
55
|
+
if (result.u === true) {
|
56
|
+
result.updateSnapshot = true;
|
57
|
+
delete result.u;
|
58
|
+
}
|
55
59
|
return result;
|
56
60
|
};
|
57
61
|
const readResultsAndExit = (result, globalConfig) => {
|
package/dist/cjs/cli/index.js
CHANGED
@@ -77,7 +77,7 @@ const testingPlugin = () => {
|
|
77
77
|
let testingExportsUtils;
|
78
78
|
return {
|
79
79
|
commands: ({ program }) => {
|
80
|
-
program.command("test").allowUnknownOption().usage("<regexForTestFiles> --[options]").action(async () => {
|
80
|
+
program.command("test").option("-u --updateSnapshot", "use this flag to re-record snapshots").option("--watch", "watch files for changes and rerun tests related to changed files").allowUnknownOption().usage("<regexForTestFiles> --[options]").action(async () => {
|
81
81
|
await (0, import_test.default)(api);
|
82
82
|
});
|
83
83
|
},
|
@@ -1,5 +1,7 @@
|
|
1
1
|
var _babelJest_createTransformer;
|
2
2
|
import babelJest from "babel-jest";
|
3
|
+
import { isBeyondReact17 } from "@modern-js/utils";
|
4
|
+
var isNewJsx = isBeyondReact17(process.cwd());
|
3
5
|
var babelTransformer = (_babelJest_createTransformer = babelJest.createTransformer) === null || _babelJest_createTransformer === void 0 ? void 0 : _babelJest_createTransformer.call(babelJest, {
|
4
6
|
presets: [
|
5
7
|
[
|
@@ -10,7 +12,12 @@ var babelTransformer = (_babelJest_createTransformer = babelJest.createTransform
|
|
10
12
|
}
|
11
13
|
}
|
12
14
|
],
|
13
|
-
|
15
|
+
[
|
16
|
+
require.resolve("@babel/preset-react"),
|
17
|
+
{
|
18
|
+
runtime: isNewJsx ? "automatic" : "classic"
|
19
|
+
}
|
20
|
+
]
|
14
21
|
],
|
15
22
|
configFile: false,
|
16
23
|
babelrc: false
|
package/dist/esm/base/runJest.js
CHANGED
package/dist/esm/cli/index.js
CHANGED
@@ -45,7 +45,7 @@ var testingPlugin = function() {
|
|
45
45
|
return {
|
46
46
|
commands: function(param) {
|
47
47
|
var program = param.program;
|
48
|
-
program.command("test").allowUnknownOption().usage("<regexForTestFiles> --[options]").action(/* @__PURE__ */ _async_to_generator(function() {
|
48
|
+
program.command("test").option("-u --updateSnapshot", "use this flag to re-record snapshots").option("--watch", "watch files for changes and rerun tests related to changed files").allowUnknownOption().usage("<regexForTestFiles> --[options]").action(/* @__PURE__ */ _async_to_generator(function() {
|
49
49
|
return _ts_generator(this, function(_state) {
|
50
50
|
switch (_state.label) {
|
51
51
|
case 0:
|
@@ -1,5 +1,7 @@
|
|
1
1
|
var _babelJest_createTransformer;
|
2
2
|
import babelJest from "babel-jest";
|
3
|
+
import { isBeyondReact17 } from "@modern-js/utils";
|
4
|
+
const isNewJsx = isBeyondReact17(process.cwd());
|
3
5
|
const babelTransformer = (_babelJest_createTransformer = babelJest.createTransformer) === null || _babelJest_createTransformer === void 0 ? void 0 : _babelJest_createTransformer.call(babelJest, {
|
4
6
|
presets: [
|
5
7
|
[
|
@@ -10,7 +12,12 @@ const babelTransformer = (_babelJest_createTransformer = babelJest.createTransfo
|
|
10
12
|
}
|
11
13
|
}
|
12
14
|
],
|
13
|
-
|
15
|
+
[
|
16
|
+
require.resolve("@babel/preset-react"),
|
17
|
+
{
|
18
|
+
runtime: isNewJsx ? "automatic" : "classic"
|
19
|
+
}
|
20
|
+
]
|
14
21
|
],
|
15
22
|
configFile: false,
|
16
23
|
babelrc: false
|
@@ -18,6 +18,10 @@ const buildArgv = async (rawArgv, config) => {
|
|
18
18
|
if (config) {
|
19
19
|
result.config = JSON.stringify(config);
|
20
20
|
}
|
21
|
+
if (result.u === true) {
|
22
|
+
result.updateSnapshot = true;
|
23
|
+
delete result.u;
|
24
|
+
}
|
21
25
|
return result;
|
22
26
|
};
|
23
27
|
const readResultsAndExit = (result, globalConfig) => {
|
@@ -41,7 +41,7 @@ const testingPlugin = () => {
|
|
41
41
|
let testingExportsUtils;
|
42
42
|
return {
|
43
43
|
commands: ({ program }) => {
|
44
|
-
program.command("test").allowUnknownOption().usage("<regexForTestFiles> --[options]").action(async () => {
|
44
|
+
program.command("test").option("-u --updateSnapshot", "use this flag to re-record snapshots").option("--watch", "watch files for changes and rerun tests related to changed files").allowUnknownOption().usage("<regexForTestFiles> --[options]").action(async () => {
|
45
45
|
await test(api);
|
46
46
|
});
|
47
47
|
},
|
@@ -9,12 +9,12 @@ declare const getJestUtils: (testConfig: TestConfig) => TestConfigOperator;
|
|
9
9
|
declare const patchConfig: (testOperator: TestConfigOperator) => Promise<JestConfigTypes.Config>;
|
10
10
|
export declare const DEFAULT_RESOLVER_PATH: string;
|
11
11
|
export type UserConfig = {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
source?: {
|
13
|
+
alias?: AliasOption;
|
14
|
+
};
|
15
|
+
testing?: TestConfig;
|
16
|
+
tools?: {
|
17
|
+
jest: JestConfig | ((config: JestConfig) => JestConfig);
|
18
|
+
};
|
19
19
|
};
|
20
|
-
export { getJestUtils, patchConfig };
|
20
|
+
export { getJestUtils, patchConfig };
|
@@ -2,4 +2,4 @@ import { TestConfigOperator } from '../testConfigOperator';
|
|
2
2
|
/**
|
3
3
|
* Merge config from testConfig.jest
|
4
4
|
*/
|
5
|
-
export declare const patchAssetsModule: (testOperator: TestConfigOperator) => void;
|
5
|
+
export declare const patchAssetsModule: (testOperator: TestConfigOperator) => void;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
declare const _default: "test-file-stub";
|
2
|
-
export default _default;
|
2
|
+
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { TestConfigOperator } from '../testConfigOperator';
|
2
|
-
export declare const applyPatches: (testConfig: TestConfigOperator) => Promise<void>;
|
2
|
+
export declare const applyPatches: (testConfig: TestConfigOperator) => Promise<void>;
|
@@ -2,4 +2,4 @@ import { TestConfigOperator } from '../testConfigOperator';
|
|
2
2
|
/**
|
3
3
|
* Map `TestConfig.transformer` to jest config
|
4
4
|
*/
|
5
|
-
export declare const patchTransformer: (testOperator: TestConfigOperator) => void;
|
5
|
+
export declare const patchTransformer: (testOperator: TestConfigOperator) => void;
|
@@ -1 +1 @@
|
|
1
|
-
export {};
|
1
|
+
export {};
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import type { JestConfig, TestConfig } from '@modern-js/types';
|
2
2
|
declare class TestConfigOperator {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
3
|
+
private _testConfig;
|
4
|
+
private _jestConfig;
|
5
|
+
private readonly userJestConfig?;
|
6
|
+
private readonly defaultTestConfig;
|
7
|
+
constructor(testConfig: TestConfig);
|
8
|
+
private initial;
|
9
|
+
get jestConfig(): JestConfig;
|
10
|
+
get testConfig(): TestConfig;
|
11
|
+
mergeJestConfig(sourceConfig: JestConfig): void;
|
12
|
+
setJestUserConfig(): void;
|
13
|
+
setJestConfig(sourceConfig: JestConfig, options?: {
|
14
|
+
force: boolean;
|
15
|
+
}): void;
|
16
|
+
getFinalConfig(): any;
|
17
17
|
}
|
18
|
-
export { TestConfigOperator };
|
18
|
+
export { TestConfigOperator };
|
@@ -1,2 +1,2 @@
|
|
1
1
|
declare const babelTransformer: any;
|
2
|
-
export default babelTransformer;
|
2
|
+
export default babelTransformer;
|
@@ -2,10 +2,10 @@ import { TestConfigOperator } from './config/testConfigOperator';
|
|
2
2
|
export declare const jestConfigHook: import("@modern-js/plugin").AsyncPipeline<TestConfigOperator, TestConfigOperator>;
|
3
3
|
export declare const afterTestHook: import("@modern-js/plugin").ParallelWorkflow<void, unknown>;
|
4
4
|
export declare const testingHooks: {
|
5
|
-
|
6
|
-
|
5
|
+
jestConfig: import("@modern-js/plugin").AsyncPipeline<TestConfigOperator, TestConfigOperator>;
|
6
|
+
afterTest: import("@modern-js/plugin").ParallelWorkflow<void, unknown>;
|
7
7
|
};
|
8
8
|
export type Hooks = {
|
9
|
-
|
10
|
-
|
11
|
-
};
|
9
|
+
jestConfig: typeof jestConfigHook;
|
10
|
+
afterTest: typeof afterTestHook;
|
11
|
+
};
|
@@ -19,8 +19,8 @@ export declare function runJest(config: Argv, pwd?: string): Promise<void>;
|
|
19
19
|
* Node API: run test
|
20
20
|
*/
|
21
21
|
export declare function runTest(api: PluginAPI<{
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
hooks: Hooks;
|
23
|
+
userConfig: UserConfig;
|
24
|
+
normalizedConfig: Required<UserConfig>;
|
25
25
|
}>, config: TestConfig, pwd?: string): Promise<void>;
|
26
|
-
export {};
|
26
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
export type { JestConfig, TestConfig } from '@modern-js/types';
|
1
|
+
export type { JestConfig, TestConfig } from '@modern-js/types';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
export declare const debug: any;
|
2
2
|
interface TSConfig {
|
3
|
-
|
4
|
-
|
3
|
+
extends?: string;
|
4
|
+
compilerOptions?: Record<string, any>;
|
5
5
|
}
|
6
6
|
/**
|
7
7
|
* Read `compilerOptions` in the current pwd's tsconfig.json file
|
8
8
|
*/
|
9
9
|
export declare const readCompilerOptions: (pwd?: string, filename?: string) => TSConfig['compilerOptions'];
|
10
10
|
export declare const getModuleNameMapper: (alias: any) => any;
|
11
|
-
export {};
|
11
|
+
export {};
|
@@ -6,4 +6,4 @@ export declare const isInHandler: () => boolean;
|
|
6
6
|
declare const createApp: (pwd: string, config: any, plugins: InternalPlugins, routes: any[]) => Promise<(req: import("http").IncomingMessage, res: import("http").ServerResponse, next?: (() => void) | undefined) => void>;
|
7
7
|
declare const getApp: () => (req: import("http").IncomingMessage, res: import("http").ServerResponse, next?: (() => void) | undefined) => void;
|
8
8
|
declare const closeServer: () => Promise<void>;
|
9
|
-
export { createApp, getApp, closeServer };
|
9
|
+
export { createApp, getApp, closeServer };
|
@@ -1 +1 @@
|
|
1
|
-
export declare const bff_info_key = "modern_bff_info";
|
1
|
+
export declare const bff_info_key = "modern_bff_info";
|
@@ -3,21 +3,15 @@ import { InternalPlugins } from '@modern-js/types';
|
|
3
3
|
import { UserConfig } from '../../base/config';
|
4
4
|
import { TestConfigOperator } from '../../base';
|
5
5
|
import type { Hooks } from '../../base/hook';
|
6
|
-
export declare const setJestConfigForBFF: ({
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}: {
|
13
|
-
pwd: string;
|
14
|
-
userConfig: any;
|
15
|
-
plugins: InternalPlugins;
|
16
|
-
routes: any[];
|
17
|
-
utils: TestConfigOperator;
|
6
|
+
export declare const setJestConfigForBFF: ({ pwd, userConfig, plugins, routes, utils, }: {
|
7
|
+
pwd: string;
|
8
|
+
userConfig: any;
|
9
|
+
plugins: InternalPlugins;
|
10
|
+
routes: any[];
|
11
|
+
utils: TestConfigOperator;
|
18
12
|
}) => Promise<void>;
|
19
13
|
export declare const testingBffPlugin: () => CliPlugin<{
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}>;
|
14
|
+
hooks: Hooks;
|
15
|
+
userConfig: UserConfig;
|
16
|
+
normalizedConfig: Required<UserConfig>;
|
17
|
+
}>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
declare const _default: (mockApiInfosByFile: Record<string, any[]>) => void;
|
2
|
-
export default _default;
|
2
|
+
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
export {};
|
1
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
export declare const isBFFProject: (pwd: string) => boolean;
|
1
|
+
export declare const isBFFProject: (pwd: string) => boolean;
|
@@ -5,8 +5,8 @@ import type { UserConfig } from '../base/config';
|
|
5
5
|
export declare const mergeUserJestConfig: (testUtils: TestConfigOperator) => void;
|
6
6
|
export declare const getJestTransformEsModulesRegStr: () => string;
|
7
7
|
export declare const testingPlugin: () => CliPlugin<{
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
hooks: Hooks;
|
9
|
+
userConfig: UserConfig;
|
10
|
+
normalizedConfig: Required<UserConfig>;
|
11
11
|
}>;
|
12
|
-
export default testingPlugin;
|
12
|
+
export default testingPlugin;
|
package/dist/types/cli/test.d.ts
CHANGED
@@ -2,8 +2,8 @@ import type { PluginAPI } from '@modern-js/core';
|
|
2
2
|
import { Hooks } from '../base/hook';
|
3
3
|
import { UserConfig } from '../base/config';
|
4
4
|
declare const test: (api: PluginAPI<{
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
hooks: Hooks;
|
6
|
+
userConfig: UserConfig;
|
7
|
+
normalizedConfig: Required<UserConfig>;
|
8
8
|
}>) => Promise<void>;
|
9
|
-
export default test;
|
9
|
+
export default test;
|
package/dist/types/constant.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const MODERNJS_CONFIG_KEY = "__modernjs_config__";
|
1
|
+
export declare const MODERNJS_CONFIG_KEY = "__modernjs_config__";
|
package/dist/types/index.d.ts
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { UserConfig } from '@modern-js/core';
|
3
3
|
interface CreateAppProps {
|
4
|
-
|
5
|
-
|
4
|
+
entry?: string;
|
5
|
+
children?: React.ReactElement;
|
6
6
|
}
|
7
7
|
declare class ModernRuntime {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
8
|
+
private options;
|
9
|
+
constructor(options: UserConfig<{
|
10
|
+
userConfig: {
|
11
|
+
runtime?: any;
|
12
|
+
runtimeByEntries?: any;
|
13
|
+
};
|
14
|
+
}>);
|
15
|
+
init(options: UserConfig<{
|
16
|
+
userConfig: {
|
17
|
+
runtime?: any;
|
18
|
+
runtimeByEntries?: any;
|
19
|
+
};
|
20
|
+
}>): void;
|
21
|
+
createApp(props?: CreateAppProps): React.ComponentType<any>;
|
22
22
|
}
|
23
23
|
declare const _default: ModernRuntime;
|
24
|
-
export default _default;
|
24
|
+
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as renderApp } from './customRender';
|
2
|
-
export * from '@testing-library/react';
|
2
|
+
export * from '@testing-library/react';
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export * from './base';
|
2
|
-
export * from './reduck';
|
2
|
+
export * from './reduck';
|
@@ -2,4 +2,4 @@ import { createStore as originCreateStore } from '@modern-js-reduck/store';
|
|
2
2
|
export declare const effects: () => (context: import("@modern-js-reduck/store/dist/types/types/plugin").PluginContext) => import("@modern-js-reduck/store/dist/types/types/plugin").PluginLifeCycle;
|
3
3
|
export declare const immer: () => (context: import("@modern-js-reduck/store/dist/types/types/plugin").PluginContext) => import("@modern-js-reduck/store/dist/types/types/plugin").PluginLifeCycle;
|
4
4
|
export declare const autoActions: () => (context: import("@modern-js-reduck/store/dist/types/types/plugin").PluginContext) => import("@modern-js-reduck/store/dist/types/types/plugin").PluginLifeCycle;
|
5
|
-
export declare const createStore: typeof originCreateStore;
|
5
|
+
export declare const createStore: typeof originCreateStore;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { NormalizedConfig } from '@modern-js/core';
|
2
2
|
export default function resolvePlugins(features: NormalizedConfig<{
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}>['runtime']): any[];
|
3
|
+
normalizedConfig: {
|
4
|
+
runtime: any;
|
5
|
+
};
|
6
|
+
}>['runtime']): any[];
|
package/package.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
"modern",
|
16
16
|
"modern.js"
|
17
17
|
],
|
18
|
-
"version": "2.
|
18
|
+
"version": "2.42.1",
|
19
19
|
"jsnext:source": "./src/cli/index.ts",
|
20
20
|
"types": "./dist/types/cli/index.d.ts",
|
21
21
|
"main": "./dist/cjs/cli/index.js",
|
@@ -131,16 +131,17 @@
|
|
131
131
|
"ts-jest": "^29.1.0",
|
132
132
|
"yargs": "^17.0.1",
|
133
133
|
"@swc/helpers": "0.5.3",
|
134
|
-
"@modern-js/babel-compiler": "2.
|
135
|
-
"@modern-js/
|
136
|
-
"@modern-js/
|
137
|
-
"@modern-js/types": "2.
|
138
|
-
"@modern-js/
|
134
|
+
"@modern-js/babel-compiler": "2.42.1",
|
135
|
+
"@modern-js/prod-server": "2.42.1",
|
136
|
+
"@modern-js/utils": "2.42.1",
|
137
|
+
"@modern-js/types": "2.42.1",
|
138
|
+
"@modern-js/plugin": "2.42.1",
|
139
|
+
"@modern-js/bff-core": "2.42.1"
|
139
140
|
},
|
140
141
|
"peerDependencies": {
|
141
142
|
"react": ">=17",
|
142
143
|
"react-dom": ">=17",
|
143
|
-
"@modern-js/runtime": "^2.
|
144
|
+
"@modern-js/runtime": "^2.42.1"
|
144
145
|
},
|
145
146
|
"peerDependenciesMeta": {
|
146
147
|
"@modern-js/runtime": {
|
@@ -155,11 +156,10 @@
|
|
155
156
|
"@types/node": "^14",
|
156
157
|
"@types/yargs": "^17.0.2",
|
157
158
|
"typescript": "^5",
|
158
|
-
"@modern-js/core": "2.
|
159
|
-
"@modern-js/runtime": "2.
|
160
|
-
"@
|
161
|
-
"@scripts/
|
162
|
-
"@scripts/jest-config": "2.41.0"
|
159
|
+
"@modern-js/core": "2.42.1",
|
160
|
+
"@modern-js/runtime": "2.42.1",
|
161
|
+
"@scripts/build": "2.42.1",
|
162
|
+
"@scripts/jest-config": "2.42.1"
|
163
163
|
},
|
164
164
|
"sideEffects": false,
|
165
165
|
"publishConfig": {
|