Skip to content

Commit 9c8d948

Browse files
committed
feat: v0.1.0
1 parent 3236bc2 commit 9c8d948

22 files changed

+1963
-107
lines changed

.eslintrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
extends: ['prettier'],
3+
plugins: ['prettier'],
4+
rules: {
5+
'prettier/prettier': ['error'],
6+
},
7+
}

.github/FUNDING.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
# These are supported funding model platforms
2-
31
github: [surmon-china]
4-
custom: ['https://surmon.me/sponsor']
2+
custom: ['https://paypal.me/surmon', 'https://surmon.me/sponsor']

.gitignore

+6-101
Original file line numberDiff line numberDiff line change
@@ -1,106 +1,11 @@
1-
# Created by .ignore support plugin (hsz.mobi)
2-
3-
# Logs
4-
logs
1+
.DS_Store
2+
.cache
3+
node_modules
54
*.log
6-
npm-debug.log*
7-
yarn-debug.log*
8-
yarn-error.log*
9-
10-
# vscode
5+
.idea
116
.vscode
12-
13-
# test
14-
test.*
15-
16-
# Runtime data
17-
pids
18-
*.pid
19-
*.seed
20-
*.pid.lock
21-
22-
# Directory for instrumented libs generated by jscoverage/JSCover
23-
lib-cov
24-
25-
# Coverage directory used by tools like istanbul
26-
coverage
27-
28-
# nyc test coverage
29-
.nyc_output
30-
31-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
32-
.grunt
33-
34-
# Bower dependency directory (https://bower.io/)
35-
bower_components
36-
37-
# node-waf configuration
38-
.lock-wscript
39-
40-
# Compiled binary addons (https://nodejs.org/api/addons.html)
41-
build/Release
42-
43-
# Dependency directories
44-
node_modules/
45-
jspm_packages/
46-
47-
# TypeScript v1 declaration files
48-
typings/
49-
50-
# Optional npm cache directory
51-
.npm
527
package-lock.json
8+
npm-debug.log
539

54-
# Optional eslint cache
55-
.eslintcache
56-
57-
# Optional REPL history
58-
.node_repl_history
59-
60-
# Output of 'npm pack'
61-
*.tgz
62-
63-
# Yarn Integrity file
64-
.yarn-integrity
65-
66-
# dotenv environment variables file
67-
.env
68-
69-
# parcel-bundler cache (https://parceljs.org/)
70-
.cache
71-
72-
# Vuniversal dev cache
73-
.vun
74-
# Vuniversal build output
10+
# output
7511
dist
76-
77-
# vuepress build output
78-
.vuepress/dist
79-
80-
# Serverless directories
81-
.serverless
82-
83-
# IDE
84-
.idea
85-
86-
# DS_Store
87-
.DS_Store
88-
89-
# PWA
90-
sw.*
91-
92-
# ecosystem
93-
ecosystem.config.js
94-
95-
# syndication
96-
public/sitemap.xml
97-
public/rss.xml
98-
99-
# analytics
100-
public/scripts/analytics.js
101-
102-
# barrages
103-
data/barrages.json
104-
105-
# Redis
106-
dump.rdb

.prettierrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"tabWidth": 2,
3+
"semi": false,
4+
"singleQuote": true,
5+
"printWidth": 88,
6+
"endOfLine": "auto"
7+
}

CHANEGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
### v0.1.0 (2021-07-26)
6+
7+
- lifecycle API.
8+
- hooks API.
9+
- watch API.
10+
- support SSR.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Surmon
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)