Skip to content

Commit a192091

Browse files
authored
chore: bump jest version (#5)
* chore: bump jest version * fix: jest import
1 parent 0462ee1 commit a192091

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

packages/build-scripts/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.1.28
4+
5+
- [feat] bump jest version
6+
7+
## 0.1.27
8+
9+
- [fix] compatible with undefined modeConfig
10+
311
## 0.1.26
412

513
- [feat] support merge modeConfig with userConfig

packages/build-scripts/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alib/build-scripts",
3-
"version": "0.1.27",
3+
"version": "0.1.28",
44
"license": "MIT",
55
"description": "scripts core",
66
"main": "lib/index.js",
@@ -31,7 +31,7 @@
3131
"deepmerge": "^4.0.0",
3232
"detect-port": "^1.3.0",
3333
"fs-extra": "^8.1.0",
34-
"jest": "^24.9.0",
34+
"jest": "^26.4.2",
3535
"json5": "^2.1.3",
3636
"lodash": "^4.17.15",
3737
"npmlog": "^4.1.2",
@@ -43,7 +43,7 @@
4343
},
4444
"devDependencies": {
4545
"@types/fs-extra": "^8.0.1",
46-
"@types/jest": "^24.0.23",
46+
"@types/jest": "^26.0.10",
4747
"@types/json5": "^0.0.30",
4848
"@types/lodash": "^4.14.147",
4949
"@types/npmlog": "^4.1.2",

packages/build-scripts/src/commands/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import jest from 'jest';
1+
import * as jest from 'jest';
22
import chalk from 'chalk';
33
import Context, { IContextOptions } from '../core/Context';
44

packages/template-plugin/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
# README
1+
# build-plugin-template
2+
3+
plugin template for build-scripts plugin
4+
5+
## Usage
6+
7+
```bash
8+
$ npm init npm-template build-plugin-xxx build-plugin-template
9+
```

0 commit comments

Comments
 (0)