@pkg-nec/babel-jest 30.4.1 → 30.4.3

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # babel-jest
1
+ # @pkg-nec/babel-jest
2
2
 
3
- [Babel](https://github.com/babel/babel) [jest](https://github.com/jestjs/jest) plugin
3
+ [Babel](https://github.com/babel/babel) [Jest](https://github.com/pkg-nec/jest) plugin
4
4
 
5
5
  ## Usage
6
6
 
@@ -10,7 +10,7 @@ If you are already using `@pkg-nec/jest-cli`, add `@pkg-nec/babel-jest` and it w
10
10
  yarn add --dev @pkg-nec/babel-jest @babel/core
11
11
  ```
12
12
 
13
- If you would like to write your own preprocessor, uninstall and delete babel-jest and set the [config.transform](https://jestjs.io/docs/configuration#transform-object-string-string) option to your preprocessor.
13
+ If you would like to write your own preprocessor, uninstall and delete @pkg-nec/babel-jest and set the [config.transform](https://jestjs.io/docs/configuration#transform-object-string-string) option to your preprocessor.
14
14
 
15
15
  ## Setup
16
16
 
@@ -22,7 +22,7 @@ By default, it loads your existing Babel configuration (if any)
22
22
 
23
23
  ```json
24
24
  "transform": {
25
- "\\.[jt]sx?$": "babel-jest"
25
+ "\\.[jt]sx?$": "@pkg-nec/babel-jest"
26
26
  },
27
27
  ```
28
28
 
@@ -30,7 +30,7 @@ You can also pass further [babel options](https://babeljs.io/docs/options)
30
30
 
31
31
  ```json
32
32
  "transform": {
33
- "\\.[jt]sx?$": ["babel-jest", { "extends": "./babel.config.js", "plugins": ["babel-plugin-transform-import-meta"] }]
33
+ "\\.[jt]sx?$": ["@pkg-nec/babel-jest", { "extends": "./babel.config.js", "plugins": ["babel-plugin-transform-import-meta"] }]
34
34
  },
35
35
  ```
36
36
 
@@ -38,6 +38,6 @@ By default, `@pkg-nec/babel-jest` includes `@pkg-nec/babel-preset-jest`. In addi
38
38
 
39
39
  ```json
40
40
  "transform": {
41
- "\\.[jt]sx?$": ["babel-jest", { "excludeJestPreset": true }],
41
+ "\\.[jt]sx?$": ["@pkg-nec/babel-jest", { "excludeJestPreset": true }],
42
42
  }
43
43
  ```
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@pkg-nec/babel-jest",
3
3
  "description": "Jest plugin to use babel for transformation.",
4
- "version": "30.4.1",
4
+ "version": "30.4.3",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://github.com/jestjs/jest.git",
7
+ "url": "https://github.com/pkg-nec/jest.git",
8
8
  "directory": "packages/babel-jest"
9
9
  },
10
10
  "license": "MIT",
@@ -20,8 +20,8 @@
20
20
  "./package.json": "./package.json"
21
21
  },
22
22
  "dependencies": {
23
- "@pkg-nec/babel-preset-jest": "30.4.0",
24
- "@pkg-nec/jest-transform": "30.4.1",
23
+ "@pkg-nec/babel-preset-jest": "30.4.2",
24
+ "@pkg-nec/jest-transform": "30.4.2",
25
25
  "@types/babel__core": "^7.20.5",
26
26
  "babel-plugin-istanbul": "^7.0.1",
27
27
  "chalk": "^4.1.2",
@@ -29,9 +29,9 @@
29
29
  "slash": "^3.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@babel-8/core": "npm:@babel/core@8.0.0-rc.4",
32
+ "@babel-8/core": "npm:@babel/core@8.0.1",
33
33
  "@babel/core": "^7.27.4",
34
- "@pkg-nec/jest-test-utils": "30.4.1",
34
+ "@pkg-nec/jest-test-utils": "30.4.2",
35
35
  "@types/graceful-fs": "^4.1.9"
36
36
  },
37
37
  "peerDependencies": {