Skip to content

Commit 21f009f

Browse files
committed
update settings
1 parent e1f9e7e commit 21f009f

File tree

5 files changed

+1106
-2557
lines changed

5 files changed

+1106
-2557
lines changed

.github/workflow/build-lint.yml renamed to .github/workflows/build-lint.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
name: CI
2+
13
on:
2-
- push
3-
- pull_request
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
48

59
jobs:
610
cache-and-install:

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"lint:css": "stylelint src/**/*.scss --custom-syntax postcss-scss",
2727
"lint:all": "yarn lint && yarn lint:css",
2828
"prepare": "husky install",
29-
"format": "prettier --write \"src/**/*.vue\" \"src/**/*.scss\""
29+
"format": "prettier --write \"src/**/*.vue\" \"src/**/*.scss\"",
30+
"clean": "pnpm format && pnpm lint:all"
3031
},
3132
"husky": {
3233
"hooks": {
@@ -48,9 +49,11 @@
4849
},
4950
"devDependencies": {
5051
"@rollup/plugin-beep": "^1.0.2",
52+
"@rollup/plugin-buble": "^1.0.2",
53+
"@rollup/plugin-commonjs": "^24.0.1",
5154
"@rollup/plugin-node-resolve": "^15.0.1",
5255
"@rollup/plugin-sucrase": "^5.0.1",
53-
"@rollup/plugin-typescript": "^11.0.0",
56+
"@rollup/plugin-terser": "^0.4.0",
5457
"@typescript-eslint/eslint-plugin": "^5.50.0",
5558
"@typescript-eslint/parser": "^5.50.0",
5659
"@vitejs/plugin-vue": "^4.0.0",
@@ -63,11 +66,8 @@
6366
"postcss-html": "^1.5.0",
6467
"postcss-scss": "^4.0.6",
6568
"rollup": "^3.12.0",
66-
"rollup-plugin-buble": "^0.19.8",
67-
"rollup-plugin-commonjs": "^10.1.0",
6869
"rollup-plugin-postcss": "^4.0.2",
6970
"rollup-plugin-scss": "^4.0.0",
70-
"rollup-plugin-terser": "^7.0.2",
7171
"rollup-plugin-vue": "^6.0.0",
7272
"sass": "^1.57.1",
7373
"stylelint": "^14.16.1",

0 commit comments

Comments
 (0)