Skip to content

Commit fd83a8e

Browse files
author
mazhaobo
committed
chore: init
0 parents  commit fd83a8e

144 files changed

Lines changed: 15105 additions & 0 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
quote_type = single
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 忽略目录
2+
node_modules
3+
test-cases
4+
test
5+
output
6+
build
7+
dist
8+
demo
9+
es
10+
lib
11+
tests
12+
.*
13+
~*
14+
15+
# 忽略文件
16+
**/*.min.js
17+
**/*-min.js
18+
**/*.bundle.js

.eslintrc.js

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
module.exports = {
2+
extends: 'eslint-config-ali/typescript/react',
3+
parserOptions: {
4+
project: [], // for lint performance
5+
createDefaultProgram: false, // for lint performance
6+
},
7+
rules: {
8+
'react/no-multi-comp': 0,
9+
'no-unused-expressions': 0,
10+
'implicit-arrow-linebreak': 1,
11+
'no-nested-ternary': 1,
12+
'no-mixed-operators': 1,
13+
'@typescript-eslint/ban-types': 1,
14+
'no-shadow': 1,
15+
'no-prototype-builtins': 1,
16+
'no-useless-constructor': 1,
17+
'no-empty-function': 1,
18+
'lines-between-class-members': 0,
19+
'no-await-in-loop': 0,
20+
'no-plusplus': 0,
21+
'@typescript-eslint/no-parameter-properties': 0,
22+
'no-restricted-exports': ['error'],
23+
'no-multi-assign': 1,
24+
'no-dupe-class-members': 1,
25+
'react/no-deprecated': 1,
26+
'no-useless-escape': 1,
27+
'brace-style': 1,
28+
'@typescript-eslint/no-inferrable-types': 0,
29+
'no-proto': 0,
30+
'prefer-const': 0,
31+
'eol-last': 0,
32+
'react/no-find-dom-node': 0,
33+
'no-case-declarations': 0,
34+
'@typescript-eslint/indent': 0,
35+
'import/no-cycle': 0,
36+
'@typescript-eslint/no-shadow': 0,
37+
'@typescript-eslint/method-signature-style': 0,
38+
'@typescript-eslint/consistent-type-assertions': 0,
39+
'@typescript-eslint/no-useless-constructor': 0,
40+
'@typescript-eslint/dot-notation': 0, // for lint performance
41+
'@typescript-eslint/restrict-plus-operands': 0, // for lint performance
42+
'no-unexpected-multiline': 1,
43+
'no-multiple-empty-lines': ['error', { max: 1 }],
44+
'lines-around-comment': ['error', {
45+
beforeBlockComment: true,
46+
afterBlockComment: false,
47+
afterLineComment: false,
48+
allowBlockStart: true,
49+
}],
50+
'comma-dangle': ['error', 'always-multiline'],
51+
'@typescript-eslint/member-ordering': [
52+
'error',
53+
{ default: ['signature', 'field', 'constructor', 'method'] }
54+
],
55+
'@typescript-eslint/no-unused-vars': ['error'],
56+
'no-redeclare': 0,
57+
'@typescript-eslint/no-redeclare': 1,
58+
},
59+
};

.gitignore

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# project custom
2+
build
3+
dist
4+
packages/*/lib/
5+
packages/*/es/
6+
packages/*/dist/
7+
packages/*/output/
8+
packages/demo/
9+
package-lock.json
10+
yarn.lock
11+
pnpm-lock.yaml
12+
deploy-space/packages
13+
deploy-space/.env
14+
15+
16+
# IDE
17+
.vscode
18+
.idea
19+
20+
# Logs
21+
logs
22+
*.log
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
lerna-debug.log*
27+
28+
# Runtime data
29+
pids
30+
*.pid
31+
*.seed
32+
*.pid.lock
33+
34+
35+
# Directory for instrumented libs generated by jscoverage/JSCover
36+
lib-cov
37+
38+
# Coverage directory used by tools like istanbul
39+
coverage
40+
coverage-all
41+
42+
# nyc test coverage
43+
.nyc_output
44+
45+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
46+
.grunt
47+
48+
# Bower dependency directory (https://bower.io/)
49+
bower_components
50+
51+
# node-waf configuration
52+
.lock-wscript
53+
54+
# Compiled binary addons (https://nodejs.org/api/addons.html)
55+
build/Release
56+
lib
57+
58+
# Dependency directories
59+
node_modules/
60+
jspm_packages/
61+
62+
# TypeScript v1 declaration files
63+
typings/
64+
65+
# Optional npm cache directory
66+
.npm
67+
68+
# Optional eslint cache
69+
.eslintcache
70+
71+
# Optional REPL history
72+
.node_repl_history
73+
74+
# Output of 'npm pack'
75+
*.tgz
76+
77+
# Yarn Integrity file
78+
.yarn-integrity
79+
80+
# dotenv environment variables file
81+
.env
82+
.env.test
83+
84+
# parcel-bundler cache (https://parceljs.org/)
85+
.cache
86+
87+
# next.js build output
88+
.next
89+
90+
# nuxt.js build output
91+
.nuxt
92+
93+
# vuepress build output
94+
.vuepress/dist
95+
96+
# Serverless directories
97+
.serverless/
98+
99+
# FuseBox cache
100+
.fusebox/
101+
102+
# DynamoDB Local files
103+
.dynamodb/
104+
105+
# mac config files
106+
.DS_Store
107+
108+
# codealike
109+
codealike.json
110+
.node
111+
112+
.must.config.js

.prettierrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
printWidth: 100,
3+
tabWidth: 2,
4+
semi: true,
5+
singleQuote: true,
6+
trailingComma: 'all',
7+
};

.stylelintignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 忽略目录
2+
node_modules/
3+
build/
4+
dist/
5+
6+
# 忽略文件
7+
**/*.min.css
8+
**/*-min.css
9+
**/*.bundle.css

.stylelintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
extends: 'stylelint-config-ali',
3+
rules: {
4+
"selector-max-id": 2
5+
}
6+
};

CONTRIBUTOR.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
十分感谢参与贡献过低代码引擎的小伙伴们,下面名单按字母排序:
2+
- [albertxiao1994](https://github.com/albertxiao1994)
3+
- [alex-mm](https://github.com/alex-mm)
4+
- [alvarto](https://github.com/alvarto)
5+
- [alvinhui](https://github.com/alvinhui)
6+
- [boycgit](https://github.com/boycgit)
7+
- [chenmingjia](https://github.com/chenmingjia)
8+
- [Clarence-pan](https://github.com/Clarence-pan)
9+
- [hujiulong](https://github.com/hujiulong)
10+
- [hzd822](https://github.com/hzd822)
11+
- [JackLian](https://github.com/JackLian)
12+
- [jayjliang](https://github.com/jayjliang)
13+
- [Jeffery-Young](https://github.com/Jeffery-Young)
14+
- [jinggk](https://github.com/jinggk)
15+
- [junlonghuo](https://github.com/junlonghuo)
16+
- [leoyuan](https://github.com/leoyuan)
17+
- [liujuping](https://github.com/liujuping)
18+
- [lqy978599280](https://github.com/lqy978599280)
19+
- [markyun](https://github.com/markyun)
20+
- [mark-ck](https://github.com/mark-ck)
21+
- [mochen666](https://github.com/mochen666)
22+
- [tsy77](https://github.com/tsy77)
23+
- [yanbingbing](https://github.com/yanbingbing)
24+
- [Ychangqing](https://github.com/Ychangqing)
25+
- [yize](https://github.com/yize)
26+
- [youluna](https://github.com/youluna)
27+
- [ibreathebsb](https://github.com/ibreathebsb)
28+
29+
如果您贡献过低代码引擎,但是没有看到您的名字,为我们的疏忽感到抱歉。欢迎您通过 PR 补充上自己的名字。

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Alibaba
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.

README-en_US.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
packages/engine/README-en_US.md

0 commit comments

Comments
 (0)