Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0 #102

Merged
merged 69 commits into from
Nov 2, 2021
Merged

3.0 #102

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
d811c2c
update hooks
jljsj33 Nov 27, 2020
517eb45
fix lint
jljsj33 Nov 27, 2020
254e340
fix compile
jljsj33 Nov 27, 2020
243ede2
fix willUnmount
jljsj33 Nov 27, 2020
d288c9a
update ChildrenPlugin constructor
jljsj33 Nov 27, 2020
6140034
lint fix
jljsj33 Nov 27, 2020
6f45c84
update prepublishOnly
jljsj33 Nov 27, 2020
6a19518
3.0.0-beta.1
jljsj33 Nov 27, 2020
9c6ccf7
update version
jljsj33 Nov 27, 2020
70f7a7b
3.0.0-beta.1
jljsj33 Nov 27, 2020
e7859fd
3.0.0-beta.2
jljsj33 Nov 27, 2020
af80998
add husky
jljsj33 Nov 27, 2020
85aad99
add declaration
jljsj33 Dec 1, 2020
cb6ce1e
3.0.0-beta.3
jljsj33 Dec 1, 2020
1e8ca01
update tween-one
jljsj33 Dec 1, 2020
496d4ac
update np
jljsj33 Dec 1, 2020
e3b09a5
3.0.0-beta.4
jljsj33 Dec 1, 2020
8feeb70
update type
jljsj33 Dec 1, 2020
9456453
update np
jljsj33 Dec 1, 2020
1d19cad
3.0.0-beta.5
jljsj33 Dec 1, 2020
1720311
test now
jljsj33 Dec 2, 2020
ad0546e
update alias
jljsj33 Dec 2, 2020
bd5e7db
update now-build
jljsj33 Dec 2, 2020
4cde8cb
rm scroll-anim demo
jljsj33 Dec 2, 2020
89b0adf
update tween-one version
jljsj33 Dec 3, 2020
5728bb6
3.0.0-beta.6
jljsj33 Dec 3, 2020
7461274
update api
jljsj33 Dec 3, 2020
7f8fefa
fix group, add region play
jljsj33 Apr 16, 2021
38669fb
re version
jljsj33 Apr 16, 2021
fa25c2a
3.0.0-beta.7
jljsj33 Apr 16, 2021
8a1f319
re group
jljsj33 Apr 16, 2021
c1581ab
add gradient
jljsj33 Apr 26, 2021
516510a
update type
jljsj33 Apr 26, 2021
6a75fdb
3.0.0-beta.8
jljsj33 Apr 26, 2021
d4fcb7a
update changeLog
jljsj33 Apr 30, 2021
2294f83
fix group anim queue
jljsj33 May 25, 2021
f71f7c7
3.0.0-beta.9
jljsj33 May 25, 2021
71baf29
fix child is null
jljsj33 May 25, 2021
738a2fa
3.0.0-beta.10
jljsj33 May 25, 2021
dde8baa
fix group appear className and rm className repeat
jljsj33 May 27, 2021
6fca65c
3.0.0-beta.11
jljsj33 May 27, 2021
b870718
update api
jljsj33 Jun 9, 2021
51ae1e6
resetStyle in test error
jljsj33 Jun 9, 2021
ac2b683
add use in table, update props component type
jljsj33 Jun 28, 2021
c7b1163
re version
jljsj33 Jun 28, 2021
9a3103b
3.0.0-beta.12
jljsj33 Jun 28, 2021
af16123
update table demo
jljsj33 Jun 28, 2021
66ea685
add component is fragment
jljsj33 Jun 28, 2021
d83b6e3
3.0.0-beta.13
jljsj33 Jun 28, 2021
738c197
add group ssr
jljsj33 Jun 29, 2021
2f9cbfd
3.0.0-beta.14
jljsj33 Jun 29, 2021
d2bd984
fix test
jljsj33 Jun 29, 2021
3d52cf1
update README
jljsj33 Jul 23, 2021
53f1a27
update README
jljsj33 Jul 23, 2021
06c6a2b
update README
jljsj33 Jul 23, 2021
9f17c16
rm README
jljsj33 Jul 23, 2021
ffd4de4
update README
jljsj33 Jul 23, 2021
b831c06
fix group index
jljsj33 Sep 26, 2021
e30105a
re version
jljsj33 Sep 26, 2021
0aeda2c
3.0.0-beta.15
jljsj33 Sep 26, 2021
137019c
fix group anim queue
jljsj33 Sep 26, 2021
83b0223
3.0.0-beta.16
jljsj33 Sep 26, 2021
9e17102
fix group anim queue
jljsj33 Sep 26, 2021
06a9f57
3.0.0-beta.17
jljsj33 Sep 26, 2021
8e67f6e
fix anim enter cb type
jljsj33 Sep 27, 2021
f3a7d78
3.0.0-beta.18
jljsj33 Sep 27, 2021
c109f4b
fix children queue
jljsj33 Sep 27, 2021
30b0620
3.0.0-beta.19
jljsj33 Sep 27, 2021
edb8aa2
fix group
jljsj33 Oct 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
# top-most EditorConfig file
# http://editorconfig.org
root = true

# Unix-style newlines with a newline ending every file
[*.{js,css}]
end_of_line = lf
insert_final_newline = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
21 changes: 21 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const base = require('@umijs/fabric/dist/eslint');

module.exports = {
...base,
rules: {
...base.rules,
'import/no-extraneous-dependencies': 0,
'import/no-named-as-default': 0,
'no-template-curly-in-string': 0,
'prefer-promise-reject-errors': 0,
'react/no-array-index-key': 0,
'react/require-default-props': 0,
'react/sort-comp': 0,
'react/no-find-dom-node': 1,
'@typescript-eslint/no-explicit-any': 0,
'jsx-a11y/label-has-associated-control': 0,
'jsx-a11y/label-has-for': 0,
'no-param-reassign': 0,
'prefer-destructuring': 0,
},
};
10 changes: 10 additions & 0 deletions .fatherrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

export default {
cjs: 'babel',
esm: { type: 'babel', importLibToEs: true },
runtimeHelpers: true,
preCommit: {
eslint: true,
prettier: true,
},
};
113 changes: 113 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: CI

on:
push:
branches: [master, 3.0]
pull_request:
branches: [master]

jobs:
setup:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- uses: actions/setup-node@v1
with:
node-version: '12'

- name: cache package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: create package-lock.json
run: npm i --package-lock-only

- name: hack for singe file
run: |
if [ ! -d "package-temp-dir" ]; then
mkdir package-temp-dir
fi
cp package-lock.json package-temp-dir
- name: cache node_modules
id: node_modules_cache_id
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: install
if: steps.node_modules_cache_id.outputs.cache-hit != 'true'
run: npm ci

lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: lint
run: npm run lint

needs: setup

compile:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: compile
run: npm run compile

needs: setup

coverage:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- name: restore cache from package-lock.json
uses: actions/cache@v2
with:
path: package-temp-dir
key: lock-${{ github.sha }}

- name: restore cache from node_modules
uses: actions/cache@v2
with:
path: node_modules
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}

- name: coverage
run: npm test -- --coverage && bash <(curl -s https://codecov.io/bash)

needs: setup
28 changes: 23 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.storybook
*.iml
*.log
.idea
.idea/
.ipr
.iws
*~
Expand All @@ -12,16 +13,33 @@
Thumbs.db
.project
.*proj
.svn
.svn/
*.swp
*.swo
*.pyc
*.pyo
.build
node_modules
.cache
*.css
dist
assets/**/*.css
build
lib
es
coverage
dist
es
yarn.lock
package-lock.json
.vscode
.doc
# production
/dist
/docs-dist

# misc
.DS_Store
# umi
.umi
.umi-production
.umi-test
.env.local
src/.umi
1 change: 0 additions & 1 deletion .jshintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .jshintrc

This file was deleted.

29 changes: 29 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
build/
*.cfg
nohup.out
*.iml
.idea/
.ipr
.iws
*~
~*
*.diff
*.log
*.patch
*.bak
.DS_Store
Thumbs.db
.project
.*proj
.svn/
*.swp
out/
.build
node_modules
.cache
examples
tests
src
/index.js
.*
assets/**/*.less
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/*.svg
**/*.ejs
**/*.html
package.json
.umi
.umi-production
.umi-test
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .umirc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// more config: https://d.umijs.org/config
import { defineConfig } from 'dumi';
const path = require('path');

export default defineConfig({
title: 'rc-tween-one',
favicon: 'https://zos.alipayobjects.com/rmsportal/TOXWfHIUGHvZIyb.svg',
logo: 'https://zos.alipayobjects.com/rmsportal/TOXWfHIUGHvZIyb.svg',
outputPath: '.doc',
alias: {
'rc-tween-one/es': path.join(__dirname, 'src'),
'rc-tween-one/lib': path.join(__dirname, 'src'),
},
});
Loading