Skip to content

Commit d349719

Browse files
chore: cleanup
1 parent 51070d9 commit d349719

File tree

3 files changed

+217
-869
lines changed

3 files changed

+217
-869
lines changed

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
22
'*.{json,md,yml,css}': ['prettier --write'],
3-
'*.{js,ts}': ['eslint --fix'],
3+
'*.{js,ts}': ['eslint --fix', 'prettier --write'],
44
};

package.json

Lines changed: 5 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -41,45 +41,7 @@
4141
"test:ci": "yarn test:cli && yarn test:packages",
4242
"test:watch": "jest test/ packages/ --watch",
4343
"test:smoke": "smoketests/smoketests.sh",
44-
"publish:monorepo": "yarn build && yarn lerna-changelog && lerna publish -m \"chore: monorepo version update\" --canary --preid rc --dist-tag next"
45-
},
46-
"standard-version": {
47-
"types": [
48-
{
49-
"type": "feat",
50-
"section": "Features"
51-
},
52-
{
53-
"type": "fix",
54-
"section": "Bug Fixes"
55-
},
56-
{
57-
"type": "chore",
58-
"section": "Chores",
59-
"hidden": false
60-
},
61-
{
62-
"type": "docs",
63-
"section": "Documentation",
64-
"hidden": false
65-
},
66-
{
67-
"type": "style",
68-
"hidden": true
69-
},
70-
{
71-
"type": "refactor",
72-
"hidden": true
73-
},
74-
{
75-
"type": "perf",
76-
"hidden": true
77-
},
78-
{
79-
"type": "test",
80-
"hidden": true
81-
}
82-
]
44+
"publish:monorepo": "yarn build && lerna version --preid rc && lerna publish from-git --canary --preid rc --dist-tag next"
8345
},
8446
"config": {
8547
"commitizen": {
@@ -95,17 +57,16 @@
9557
"devDependencies": {
9658
"@babel/core": "^7.11.1",
9759
"@babel/preset-env": "^7.11.0",
98-
"@commitlint/cli": "^8.3.5",
99-
"@commitlint/config-lerna-scopes": "^9.1.1",
60+
"@commitlint/cli": "^11.0.0",
61+
"@commitlint/config-lerna-scopes": "^11.0.0",
10062
"@types/jest": "^25.1.4",
10163
"@types/node": "13.9.8",
10264
"@typescript-eslint/eslint-plugin": "^2.34.0",
10365
"@typescript-eslint/parser": "^2.34.0",
10466
"colorette": "^1.2.1",
105-
"commitlint": "^9.1.2",
106-
"commitlint-config-cz": "^0.13.1",
67+
"commitlint": "^11.0.0",
68+
"commitlint-config-cz": "^0.13.2",
10769
"concat-stream": "^2.0.0",
108-
"conventional-changelog-cli": "^2.1.0",
10970
"cz-customizable": "^6.3.0",
11071
"del-cli": "^3.0.1",
11172
"eslint": "^6.8.0",
@@ -121,7 +82,6 @@
12182
"jest-serializer-ansi": "^1.0.3",
12283
"jest-watch-typeahead": "^0.5.0",
12384
"lerna": "^3.22.1",
124-
"lerna-changelog": "^1.0.1",
12585
"lint-staged": "^10.2.11",
12686
"prettier": "^2.0.5",
12787
"readable-stream": "^3.6.0",

0 commit comments

Comments
 (0)