chore: lerna

This commit is contained in:
Anthony Fu 2020-08-12 19:42:30 +08:00
commit f7c8146857
6 changed files with 13 additions and 15 deletions

View File

@ -6,12 +6,10 @@
"private": true, "private": true,
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"lint": "lerna run lint", "version": "lerna publish --conventional-commits"
"lint:fix": "lerna run lint -- -- --fix",
"release": "lerna publish --conventional-commits --graph-type all -y"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "workspace:*", "@antfu/eslint-config": "*",
"eslint": "^7.6.0", "eslint": "^7.6.0",
"lerna": "^3.22.1", "lerna": "^3.22.1",
"typescript": "^3.9.7" "typescript": "^3.9.7"

View File

@ -16,7 +16,7 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-vue": "workspace:*", "@antfu/eslint-config-vue": "*",
"@antfu/eslint-config-react": "workspace:*" "@antfu/eslint-config-react": "*"
} }
} }

View File

@ -19,7 +19,7 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "workspace:*", "@antfu/eslint-config-ts": "*",
"eslint-plugin-react": "^7.20.5" "eslint-plugin-react": "^7.20.5"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,7 +17,7 @@
"typescript": ">=3.9" "typescript": ">=3.9"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-basic": "workspace:*", "@antfu/eslint-config-basic": "*",
"@typescript-eslint/eslint-plugin": "3.6.1", "@typescript-eslint/eslint-plugin": "3.6.1",
"@typescript-eslint/parser": "^3.9.0" "@typescript-eslint/parser": "^3.9.0"
} }

View File

@ -16,7 +16,7 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "workspace:*", "@antfu/eslint-config-ts": "*",
"eslint-plugin-vue": "7.0.0-alpha.10" "eslint-plugin-vue": "7.0.0-alpha.10"
} }
} }

View File

@ -6,7 +6,7 @@ importers:
lerna: 3.22.1 lerna: 3.22.1
typescript: 3.9.7 typescript: 3.9.7
specifiers: specifiers:
'@antfu/eslint-config': 'workspace:*' '@antfu/eslint-config': '*'
eslint: ^7.6.0 eslint: ^7.6.0
lerna: ^3.22.1 lerna: ^3.22.1
typescript: ^3.9.7 typescript: ^3.9.7
@ -15,8 +15,8 @@ importers:
'@antfu/eslint-config-react': 'link:../react' '@antfu/eslint-config-react': 'link:../react'
'@antfu/eslint-config-vue': 'link:../vue' '@antfu/eslint-config-vue': 'link:../vue'
specifiers: specifiers:
'@antfu/eslint-config-react': 'workspace:*' '@antfu/eslint-config-react': '*'
'@antfu/eslint-config-vue': 'workspace:*' '@antfu/eslint-config-vue': '*'
packages/basic: packages/basic:
dependencies: dependencies:
eslint-config-standard: 14.1.1_852544c994842eaa2dbc35fff65e8cbc eslint-config-standard: 14.1.1_852544c994842eaa2dbc35fff65e8cbc
@ -45,7 +45,7 @@ importers:
eslint: 7.6.0 eslint: 7.6.0
typescript: 3.9.7 typescript: 3.9.7
specifiers: specifiers:
'@antfu/eslint-config-ts': 'workspace:*' '@antfu/eslint-config-ts': '*'
eslint: ^7.6.0 eslint: ^7.6.0
eslint-plugin-react: ^7.20.5 eslint-plugin-react: ^7.20.5
typescript: ^3.9.7 typescript: ^3.9.7
@ -55,7 +55,7 @@ importers:
'@typescript-eslint/eslint-plugin': 3.6.1_@typescript-eslint+parser@3.9.0 '@typescript-eslint/eslint-plugin': 3.6.1_@typescript-eslint+parser@3.9.0
'@typescript-eslint/parser': 3.9.0 '@typescript-eslint/parser': 3.9.0
specifiers: specifiers:
'@antfu/eslint-config-basic': 'workspace:*' '@antfu/eslint-config-basic': '*'
'@typescript-eslint/eslint-plugin': 3.6.1 '@typescript-eslint/eslint-plugin': 3.6.1
'@typescript-eslint/parser': ^3.9.0 '@typescript-eslint/parser': ^3.9.0
packages/vue: packages/vue:
@ -63,7 +63,7 @@ importers:
'@antfu/eslint-config-ts': 'link:../typescript' '@antfu/eslint-config-ts': 'link:../typescript'
eslint-plugin-vue: 7.0.0-alpha.10 eslint-plugin-vue: 7.0.0-alpha.10
specifiers: specifiers:
'@antfu/eslint-config-ts': 'workspace:*' '@antfu/eslint-config-ts': '*'
eslint-plugin-vue: 7.0.0-alpha.10 eslint-plugin-vue: 7.0.0-alpha.10
lockfileVersion: 5.1 lockfileVersion: 5.1
packages: packages: