@modern-js/plugin-testing 2.0.0-beta.6 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,48 @@
|
|
1
1
|
# @modern-js/plugin-testing
|
2
2
|
|
3
|
+
## 2.0.0
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- dda38c9c3e: chore: v2
|
8
|
+
|
9
|
+
### Patch Changes
|
10
|
+
|
11
|
+
- Updated dependencies [c9e800d39a]
|
12
|
+
- Updated dependencies [edd1cfb1af]
|
13
|
+
- Updated dependencies [6bda14ed71]
|
14
|
+
- Updated dependencies [dda38c9c3e]
|
15
|
+
- Updated dependencies [8b8e1bb571]
|
16
|
+
- Updated dependencies [ffb2ed4]
|
17
|
+
- Updated dependencies [bbe4c4ab64]
|
18
|
+
- @modern-js/runtime@2.0.0
|
19
|
+
- @modern-js/prod-server@2.0.0
|
20
|
+
- @modern-js/utils@2.0.0
|
21
|
+
- @modern-js/babel-preset-app@2.0.0
|
22
|
+
- @modern-js/babel-compiler@2.0.0
|
23
|
+
- @modern-js/plugin@2.0.0
|
24
|
+
|
25
|
+
## 2.0.0-beta.7
|
26
|
+
|
27
|
+
### Major Changes
|
28
|
+
|
29
|
+
- dda38c9c3e: chore: v2
|
30
|
+
|
31
|
+
### Patch Changes
|
32
|
+
|
33
|
+
- Updated dependencies [c9e800d39a]
|
34
|
+
- Updated dependencies [edd1cfb1af]
|
35
|
+
- Updated dependencies [6bda14ed71]
|
36
|
+
- Updated dependencies [dda38c9c3e]
|
37
|
+
- Updated dependencies [8b8e1bb571]
|
38
|
+
- Updated dependencies [bbe4c4ab64]
|
39
|
+
- @modern-js/runtime@2.0.0-beta.7
|
40
|
+
- @modern-js/prod-server@2.0.0-beta.7
|
41
|
+
- @modern-js/utils@2.0.0-beta.7
|
42
|
+
- @modern-js/babel-preset-app@2.0.0-beta.7
|
43
|
+
- @modern-js/babel-compiler@2.0.0-beta.7
|
44
|
+
- @modern-js/plugin@2.0.0-beta.7
|
45
|
+
|
3
46
|
## 2.0.0-beta.6
|
4
47
|
|
5
48
|
### Major Changes
|
@@ -123,7 +123,7 @@ declare const patchConfig: (testOperator: TestConfigOperator) => Promise<Partial
|
|
123
123
|
watchPlugins: (string | [string, Record<string, unknown>])[];
|
124
124
|
}>>;
|
125
125
|
export declare const DEFAULT_RESOLVER_PATH: string;
|
126
|
-
export
|
126
|
+
export type UserConfig = {
|
127
127
|
source?: {
|
128
128
|
alias?: AliasOption;
|
129
129
|
};
|
@@ -5,7 +5,7 @@ export declare const testingHooks: {
|
|
5
5
|
jestConfig: import("@modern-js/plugin").AsyncPipeline<TestConfigOperator, TestConfigOperator>;
|
6
6
|
afterTest: import("@modern-js/plugin").ParallelWorkflow<void, unknown>;
|
7
7
|
};
|
8
|
-
export
|
8
|
+
export type Hooks = {
|
9
9
|
jestConfig: typeof jestConfigHook;
|
10
10
|
afterTest: typeof afterTestHook;
|
11
11
|
};
|
@@ -10,7 +10,7 @@ import type { PluginAPI } from '@modern-js/core';
|
|
10
10
|
import { UserConfig } from './config';
|
11
11
|
import { TestConfig } from './types';
|
12
12
|
import type { Hooks } from './hook';
|
13
|
-
|
13
|
+
type Argv = Omit<Config.Argv, '_' | '$0'>;
|
14
14
|
/**
|
15
15
|
* Node API: execute jest
|
16
16
|
*/
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "2.0.0
|
14
|
+
"version": "2.0.0",
|
15
15
|
"jsnext:source": "./src/cli/index.ts",
|
16
16
|
"types": "./dist/types/cli/index.d.ts",
|
17
17
|
"main": "./dist/js/node/cli/index.js",
|
@@ -107,16 +107,16 @@
|
|
107
107
|
"jest": "^27.0.6",
|
108
108
|
"ts-jest": "^27.0.4",
|
109
109
|
"yargs": "^17.0.1",
|
110
|
-
"@modern-js/babel-compiler": "2.0.0
|
111
|
-
"@modern-js/utils": "2.0.0
|
112
|
-
"@modern-js/babel-preset-app": "2.0.0
|
113
|
-
"@modern-js/plugin": "2.0.0
|
114
|
-
"@modern-js/prod-server": "2.0.0
|
110
|
+
"@modern-js/babel-compiler": "2.0.0",
|
111
|
+
"@modern-js/utils": "2.0.0",
|
112
|
+
"@modern-js/babel-preset-app": "2.0.0",
|
113
|
+
"@modern-js/plugin": "2.0.0",
|
114
|
+
"@modern-js/prod-server": "2.0.0"
|
115
115
|
},
|
116
116
|
"peerDependencies": {
|
117
117
|
"react": ">=17",
|
118
118
|
"react-dom": ">=17",
|
119
|
-
"@modern-js/runtime": "^2.0.0
|
119
|
+
"@modern-js/runtime": "^2.0.0"
|
120
120
|
},
|
121
121
|
"peerDependenciesMeta": {
|
122
122
|
"@modern-js/runtime": {
|
@@ -133,12 +133,12 @@
|
|
133
133
|
"@jest/types": "^27.0.6",
|
134
134
|
"jest": "^27",
|
135
135
|
"typescript": "^4",
|
136
|
-
"@modern-js/core": "2.0.0
|
137
|
-
"@modern-js/types": "2.0.0
|
138
|
-
"@modern-js/runtime": "2.0.0
|
139
|
-
"@
|
140
|
-
"@
|
141
|
-
"@scripts/
|
136
|
+
"@modern-js/core": "2.0.0",
|
137
|
+
"@modern-js/types": "2.0.0",
|
138
|
+
"@modern-js/runtime": "2.0.0",
|
139
|
+
"@modern-js/bff-core": "2.0.0",
|
140
|
+
"@scripts/build": "2.0.0",
|
141
|
+
"@scripts/jest-config": "2.0.0"
|
142
142
|
},
|
143
143
|
"sideEffects": false,
|
144
144
|
"modernConfig": {},
|