@modern-js/plugin-testing 2.0.0-beta.7 → 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,27 @@
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
+
3
25
  ## 2.0.0-beta.7
4
26
 
5
27
  ### 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 declare type UserConfig = {
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 declare type Hooks = {
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
- declare type Argv = Omit<Config.Argv, '_' | '$0'>;
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-beta.7",
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-beta.7",
111
- "@modern-js/utils": "2.0.0-beta.7",
112
- "@modern-js/babel-preset-app": "2.0.0-beta.7",
113
- "@modern-js/plugin": "2.0.0-beta.7",
114
- "@modern-js/prod-server": "2.0.0-beta.7"
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-beta.7"
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-beta.7",
137
- "@modern-js/runtime": "2.0.0-beta.7",
138
- "@modern-js/bff-core": "2.0.0-beta.7",
139
- "@modern-js/types": "2.0.0-beta.7",
140
- "@scripts/build": "2.0.0-beta.7",
141
- "@scripts/jest-config": "2.0.0-beta.7"
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": {},