Skip to content

Commit 7eedd31

Browse files
authored
chore: 发布 0.8.3 版本
2 parents 9a688d7 + 7ca4e80 commit 7eedd31

File tree

46 files changed

+344
-326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+344
-326
lines changed

.github/workflows/node.js.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on: [push]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version: [10.x, 12.x, 14.x]
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- run: npm i
21+
- run: npm run lint
22+
- run: npm run build
23+
- run: npm run dev

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
node-version: 12
2121
- run: npm i
22-
- run: npm lint
22+
- run: npm run lint
2323
- run: npm run build
2424
- run: npm run dev
2525

.travis.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ language: node_js
44
node_js:
55
- lts/*
66

7+
branches:
8+
only:
9+
- develop
10+
711
jobs:
812
include:
913
- name: "Push Compile"
10-
if: type = push AND branch = develop
14+
if: type = push
1115
install: yarn install
1216
before_script:
1317
- export TZ='Asia/Shanghai'
@@ -17,15 +21,9 @@ jobs:
1721
- yarn dev
1822
- yarn build
1923
after_success:
20-
- git config --global user.name "Deployment Bot"
21-
- git config --global user.email "[email protected]"
24+
- git config --global user.name "Juzi"
25+
- git config --global user.email "[email protected]"
2226
- git add -A
2327
- "git commit -m 'build: Travis CI automatic compilation'"
28+
- git pull --rebase
2429
- git push "https://juzi214032:${GITHUB_TOKEN}@github.com/TaleLin/lin-ui" HEAD:develop
25-
- name: "Check Compile"
26-
if: type = pull_request OR (type = push AND branch = master)
27-
before_install: export TZ='Asia/Shanghai'
28-
install: yarn install
29-
script:
30-
- yarn dev
31-
- yarn build

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 TaleLin
3+
Copyright (c) 2020 TaleLin
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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<div align="center">
2727

28-
⚡️ 文档网站: http://doc.mini.7yue.pro/
28+
⚡️ 文档网站: http://doc.mini.talelin.com
2929
<br/>
3030
🔥 教程地址: [https://talelin.com](https://talelin.com/#course)
3131

@@ -68,7 +68,7 @@ Lin UI 是基于 **微信小程序原生语法** 实现的组件库。遵循简
6868
## 快速上手
6969

7070
Lin UI 致力于给小程序开发者提供愉悦的开发体验。
71-
> 在开始之前,推荐先学习微信官方的[小程序开发文档](https://developers.weixin.qq.com/miniprogram/dev/index.html?t=18101612),并正确安装和配置了 Node.js v8或以上。 同时,我们假设你已了解关于 HTML、CSS 和 JavaScript 的初级知识,并且已经熟悉并阅读了[小程序自定义组件](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/)
71+
> 在开始之前,推荐先学习微信官方的[小程序开发文档](https://developers.weixin.qq.com/miniprogram/dev/index.html?t=18101612),并正确安装和配置了 Node.js v12或以上。 同时,我们假设你已了解关于 HTML、CSS 和 JavaScript 的初级知识,并且已经熟悉并阅读了[小程序自定义组件](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/)
7272
7373
## 安装
7474

commitlint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ module.exports = {
1010
'always',
1111
[
1212
'EsLint',
13+
'Github',
1314
'VuePress',
1415
'package.json',
16+
'License',
1517
'TravisCI',
18+
'GithubAction',
1619
'Husky',
1720
'README',
1821
'util',

dist/album/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/combined-tabs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/icon/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/icon/index.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<view class="l-class l-class-self l-self-class l-icon {{ name === '' ? '' : 'l-icon-' + name }}" style="{{ size ? 'font-size:'+size+'rpx;':''}}{{ color ? 'color:' + color+';' : '' }}"/>
1+
<view class="l-class l-icon {{ name === '' ? '' : 'l-icon-' + name }}" style="{{ size ? 'font-size:'+size+'rpx;':''}}{{ color ? 'color:' + color+';' : '' }}"/>

0 commit comments

Comments
 (0)