Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 8d3b006

Browse files
committed
build: update dependencies and configs
1 parent ef560d4 commit 8d3b006

File tree

42 files changed

+595
-397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+595
-397
lines changed

package.json

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,25 @@
2121
}
2222
},
2323
"lint-staged": {
24-
"*.{js,ts,vue}": [
25-
"eslint --fix"
26-
],
27-
"*.{json,md,yml}": [
28-
"prettier --write"
29-
],
30-
"package.json": [
31-
"sort-package-json"
32-
]
24+
"*.{js,ts,vue}": "eslint --fix",
25+
"*.{json,md,yml}": "prettier --write",
26+
"package.json": "sort-package-json"
3327
},
3428
"prettier": "prettier-config-vuepress",
3529
"devDependencies": {
36-
"@commitlint/cli": "^8.3.5",
37-
"@commitlint/config-conventional": "^8.3.4",
30+
"@commitlint/cli": "^9.1.2",
31+
"@commitlint/config-conventional": "^9.1.2",
3832
"@types/jest": "^24.0.18",
39-
"eslint": "^6.4.0",
33+
"eslint": "^7.8.0",
4034
"eslint-config-vuepress": "^2.2.0",
41-
"eslint-config-vuepress-typescript": "^1.1.4",
35+
"eslint-config-vuepress-typescript": "^1.3.0",
4236
"husky": "^4.2.5",
4337
"jest": "^24.9.0",
4438
"jest-serializer-vue": "^2.0.2",
4539
"lerna": "^3.16.4",
4640
"lint-staged": "^10.2.2",
4741
"prettier": "^2.0.5",
48-
"prettier-config-vuepress": "^1.0.0",
42+
"prettier-config-vuepress": "^1.1.0",
4943
"rimraf": "^3.0.2",
5044
"sort-package-json": "^1.42.2",
5145
"ts-jest": "^24.1.0",

packages/vuepress-mergeable/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"contributors": [
2121
"meteorlxy <meteor.lxy@foxmail.com>"
2222
],
23+
"main": "lib/index.js",
24+
"types": "lib/index.d.ts",
2325
"files": [
2426
"lib"
2527
],
26-
"main": "lib/index.js",
27-
"types": "lib/index.d.ts",
2828
"scripts": {
29-
"build": "rimraf lib && tsc -p tsconfig.json",
29+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3030
"lint": "eslint --ext .ts src"
3131
},
3232
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-clean-urls/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"contributors": [
2222
"meteorlxy <meteor.lxy@foxmail.com>"
2323
],
24+
"main": "lib/index.js",
25+
"types": "lib/index.d.ts",
2426
"files": [
2527
"lib"
2628
],
27-
"main": "lib/index.js",
28-
"types": "lib/index.d.ts",
2929
"scripts": {
30-
"build": "rimraf lib && tsc -p tsconfig.json",
30+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3131
"lint": "eslint --ext .ts src"
3232
}
3333
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-container/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
"lib"
2828
],
2929
"scripts": {
30-
"build": "rimraf lib && tsc -p tsconfig.json",
30+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3131
"lint": "eslint --ext .ts src test"
3232
},
3333
"dependencies": {
34-
"markdown-it-container": "^2.0.0",
35-
"@vuepress/shared-utils": "^1.2.0"
34+
"@vuepress/shared-utils": "^1.2.0",
35+
"markdown-it-container": "^2.0.0"
3636
}
3737
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-dehydrate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"lib"
3030
],
3131
"scripts": {
32-
"build": "rimraf lib && tsc -p tsconfig.json",
32+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3333
"lint": "eslint --ext .ts,.vue src test"
3434
},
3535
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-medium-zoom/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
},
2020
"license": "MIT",
2121
"author": "meteorlxy <meteor.lxy@foxmail.com>",
22+
"main": "lib/index.js",
23+
"types": "lib/index.d.ts",
2224
"files": [
2325
"lib",
2426
"styles"
2527
],
26-
"main": "lib/index.js",
27-
"types": "lib/index.d.ts",
2828
"scripts": {
29-
"build": "rimraf lib && tsc -p tsconfig.json",
29+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3030
"lint": "eslint --ext .ts src"
3131
},
3232
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-named-chunks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"lib"
2828
],
2929
"scripts": {
30-
"build": "rimraf lib && tsc -p tsconfig.json",
30+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3131
"lint": "eslint --ext .ts src"
3232
},
3333
"devDependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-nprogress/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"styles"
2525
],
2626
"scripts": {
27-
"build": "rimraf lib && tsc -p tsconfig.json",
27+
"build": "rimraf lib && tsc -p tsconfig.build.json",
2828
"lint": "eslint --ext .ts src"
2929
},
3030
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-redirect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"lib"
2929
],
3030
"scripts": {
31-
"build": "rimraf lib && tsc -p tsconfig.json",
31+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3232
"lint": "eslint --ext .ts src"
3333
},
3434
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-serve/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"lib"
2929
],
3030
"scripts": {
31-
"build": "rimraf lib && tsc -p tsconfig.json",
31+
"build": "rimraf lib && tsc -p tsconfig.build.json",
3232
"lint": "eslint --ext .ts src"
3333
},
3434
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-smooth-scroll/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
},
1919
"license": "MIT",
2020
"author": "meteorlxy <meteor.lxy@foxmail.com>",
21+
"main": "lib/index.js",
22+
"types": "lib/index.d.ts",
2123
"files": [
2224
"lib",
2325
"styles"
2426
],
25-
"main": "lib/index.js",
26-
"types": "lib/index.d.ts",
2727
"scripts": {
28-
"build": "rimraf lib && tsc -p tsconfig.json",
28+
"build": "rimraf lib && tsc -p tsconfig.build.json",
2929
"lint": "eslint --ext .ts src"
3030
},
3131
"dependencies": {
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-table-of-contents/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lib"
2525
],
2626
"scripts": {
27-
"build": "rimraf lib && tsc -p tsconfig.json",
27+
"build": "rimraf lib && tsc -p tsconfig.build.json",
2828
"lint": "eslint --ext .ts src"
2929
}
3030
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": "./src",
5+
"outDir": "./lib"
6+
},
7+
"include": ["./src"]
8+
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"compilerOptions": {
4-
"rootDir": "./src",
5-
"outDir": "./lib"
6-
},
7-
"include": ["./src"]
3+
"include": ["./src", "./test"]
84
}

packages/vuepress-plugin-typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lib"
2424
],
2525
"scripts": {
26-
"build": "rimraf lib && tsc -p tsconfig.json",
26+
"build": "rimraf lib && tsc -p tsconfig.build.json",
2727
"lint": "eslint --ext .ts,.vue src test"
2828
},
2929
"dependencies": {

0 commit comments

Comments
 (0)