-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
3,583 additions
and
5,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
module.exports = { | ||
extends: '@akijoey', | ||
rules: { | ||
'no-undef': 0 | ||
globals: { | ||
hexo: 'readonly' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": ["github>akijoey/devkit//.github/renovate"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Build | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- uses: actions/setup-node@main | ||
- run: yarn --frozen-lockfile | ||
- run: yarn test | ||
- run: yarn release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node_modules | ||
coverage | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install commitlint --edit $1 | ||
npx devkit lint:commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install lint-staged | ||
npx devkit lint:staged |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# hexo-theme-lotus | ||
# hexo-theme-mapleaf | ||
|
||
[![npm][npm-image]][npm-url] | ||
[![build][build-image]][build-url] | ||
[![license][license-image]][license-url] | ||
|
||
A fantastic hexo theme. | ||
|
||
## Installation | ||
## Install | ||
|
||
`$ npm i hexo-theme-lotus` | ||
`$ npm i hexo-theme-mapleaf` | ||
|
||
## License | ||
|
||
[MIT][license-url] © AkiJoey | ||
|
||
[npm-image]: https://img.shields.io/npm/v/hexo-theme-lotus | ||
[npm-url]: https://www.npmjs.com/package/hexo-theme-lotus | ||
[build-image]: https://www.travis-ci.org/akijoey/hexo-theme-lotus.svg?branch=master | ||
[build-url]: https://www.travis-ci.org/akijoey/hexo-theme-lotus | ||
[license-image]: https://img.shields.io/github/license/akijoey/hexo-theme-lotus | ||
[license-url]: https://github.com/akijoey/hexo-theme-lotus/blob/master/LICENSE | ||
[npm-image]: https://img.shields.io/npm/v/hexo-theme-mapleaf | ||
[npm-url]: https://www.npmjs.com/package/hexo-theme-mapleaf | ||
[build-image]: https://img.shields.io/github/workflow/status/akijoey/hexo-theme-mapleaf/Build | ||
[build-url]: https://github.com/akijoey/hexo-theme-mapleaf/actions/workflows/build.yml | ||
[license-image]: https://img.shields.io/github/license/akijoey/hexo-theme-mapleaf | ||
[license-url]: https://github.com/akijoey/hexo-theme-mapleaf/blob/main/LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,31 @@ | ||
{ | ||
"name": "hexo-theme-lotus", | ||
"version": "0.0.1", | ||
"name": "hexo-theme-mapleaf", | ||
"version": "1.0.0", | ||
"description": "A fantastic hexo theme.", | ||
"scripts": { | ||
"lint": "dev-scripts lint", | ||
"test": "dev-scripts test", | ||
"format": "dev-scripts format", | ||
"prepare": "dev-scripts hook" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/akijoey/hexo-theme-lotus.git" | ||
}, | ||
"keywords": [ | ||
"hexo", | ||
"theme" | ||
], | ||
"repository": "github:akijoey/hexo-theme-mapleaf", | ||
"homepage": "https://github.com/akijoey/hexo-theme-mapleaf#readme", | ||
"bugs": "https://github.com/akijoey/hexo-theme-mapleaf/issues", | ||
"author": "AkiJoey <akijoey@akijoey.com> (https://akijoey.com)", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/akijoey/hexo-theme-lotus/issues" | ||
"scripts": { | ||
"lint": "devkit lint", | ||
"test": "devkit test", | ||
"format": "devkit format", | ||
"prepare": "devkit prepare", | ||
"release": "devkit release" | ||
}, | ||
"homepage": "https://github.com/akijoey/hexo-theme-lotus#readme", | ||
"dependencies": { | ||
"hexo-renderer-pug": "^1.0.0", | ||
"hexo-renderer-rollup": "^0.0.4", | ||
"hexo-renderer-stylus": "^2.0.1" | ||
"hexo-renderer-pug": "^3.0.0", | ||
"hexo-renderer-rollup": "^1.0.0", | ||
"hexo-renderer-stylus": "^2.1.0", | ||
"mapleaf": "^1.2.0", | ||
"starcasket": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@akijoey/dev-scripts": "^1.0.4", | ||
"stylelint-plugin-stylus": "^0.11.0" | ||
}, | ||
"prettier": "@akijoey/prettier-config", | ||
"commitlint": { | ||
"extends": "@akijoey/commitlint-config" | ||
}, | ||
"lint-staged": { | ||
"*.js": "dev-scripts lint:script", | ||
"*.styl": "dev-scripts lint:style", | ||
"*.{js,styl,json,yml,md}": "dev-scripts format" | ||
"@akijoey/devkit": "latest" | ||
} | ||
} |
Oops, something went wrong.