Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4ae35a4

Browse files
chore: automate some publish stuffs
1 parent b6ce31c commit 4ae35a4

File tree

12 files changed

+1010
-323
lines changed

12 files changed

+1010
-323
lines changed

‎.editorconfig‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ trim_trailing_whitespace = true
1010

1111
[*.yml]
1212
indent_size = 2
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

‎.lintstagedrc‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"*.vue": "lint",
3+
"*.{ts,js}": "eslint",
4+
"*.css": "stylelint",
5+
"*.scss": "stylelint --syntax=scss"
6+
}

‎.markdownlint.json‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"MD013": false,
3-
"MD024": false,
4-
"MD036": false
2+
"MD013": false
53
}

‎LICENSE‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Luca Iaconelli
3+
Copyright (c) Luca Iaconelli <lucabelli@msn.com> (https://lucaiaconelli.it)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

‎_config.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
theme:
1+
theme: jekyll-theme-cayman

‎commitlint.config.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: [ '@commitlint/config-conventional' ],
3+
};

‎husky.config.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
hooks: {
3+
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
4+
'pre-commit': 'lint-staged',
5+
},
6+
};

‎jsconfig.json‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"~/*": ["./*"],
6+
"@/*": ["./*"],
7+
"~~/*": ["./*"],
8+
"@@/*": ["./*"]
9+
}
10+
},
11+
"exclude": ["node_modules", ".nuxt", "dist", "docs"]
12+
}

‎package.json‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,16 @@
3434
"stylelint-fix": "stylelint ./src/**/*.scss --fix",
3535
"lint": "yarn eslint && yarn stylelint",
3636
"lint-fix": "yarn eslint-fix",
37-
"precommit": "yarn lint"
37+
"precommit": "yarn lint",
38+
"prerelease": "yarn lint && yarn build",
39+
"release": "standard-version && git push --follow-tags && yarn publish"
3840
},
3941
"dependencies": {
4042
"vue": "^2.6.11"
4143
},
4244
"devDependencies": {
45+
"@commitlint/cli": "^11.0.0",
46+
"@commitlint/config-conventional": "^11.0.0",
4347
"@nuxtjs/eslint-config": "^2.0.0",
4448
"@vue/cli-plugin-babel": "^4.1.2",
4549
"@vue/cli-plugin-eslint": "^4.1.2",
@@ -60,9 +64,10 @@
6064
"eslint-plugin-unicorn": "^15.0.1",
6165
"eslint-plugin-vue": "^6.1.2",
6266
"github-markdown-css": "^3.0.1",
63-
"highlight.js": "^10.4.1",
64-
"lint-staged": "^9.5.0",
65-
"modern-normalize": "^0.6.0",
67+
"highlight.js": "^10.6.0",
68+
"lint-staged": "^10.5.4",
69+
"markdownlint": "^0.23.0",
70+
"modern-normalize": "^1.0.0",
6671
"node-sass": "^4.13.0",
6772
"postcss-combine-duplicated-selectors": "^8.1.0",
6873
"postcss-import": "^12.0.1",
@@ -74,6 +79,7 @@
7479
"prettier-eslint": "^9.0.1",
7580
"prettier-stylelint": "^0.4.2",
7681
"sass-loader": "^8.0.0",
82+
"standard-version": "^9.1.0",
7783
"stylelint": "^12.0.1",
7884
"stylelint-config-rational-order": "^0.1.2",
7985
"stylelint-config-sass-guidelines": "^6.2.0",

‎renovate.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@vuejs"
4+
]
5+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /