Skip to content

Commit 9f07476

Browse files
committed
ini code
1 parent 2c8fc25 commit 9f07476

File tree

114 files changed

+9671
-0
lines changed

Some content is hidden

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

114 files changed

+9671
-0
lines changed

.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: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
build/
2+
coverage/
3+
dist/
4+
es/
5+
lib/
6+
node_modules/
7+
**/*.min.js
8+
**/*-min.js
9+
**/*.bundle.js

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
extends: [
3+
'eslint-config-ali/typescript/react',
4+
'prettier',
5+
'prettier/@typescript-eslint',
6+
'prettier/react',
7+
],
8+
};

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules/
5+
6+
# production
7+
build/
8+
dist/
9+
tmp/
10+
lib/
11+
es/
12+
13+
# misc
14+
.idea/
15+
.happypack
16+
.DS_Store
17+
*.swp
18+
*.dia~
19+
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*

.prettierrc.js

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

.stylelintignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules/
2+
build/
3+
dist/
4+
coverage/
5+
es/
6+
lib/
7+
**/*.min.css
8+
**/*-min.css
9+
**/*.bundle.css
10+

.stylelintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: 'stylelint-config-ali',
3+
};

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
3+
@ali/lowcode-engine-ext
4+
5+
## API
6+
7+
| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
8+
| ------ | ---- | ---- | ---- | ------ | ---- |
9+
| | | | | | |

abc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "lowcode-engine-ext",
3+
"assets": {
4+
"type": "command",
5+
"command": {
6+
"cmd": [
7+
"tnpm install",
8+
"tnpm run cloud-build",
9+
"mkdir $BUILD_DEST",
10+
"mv dist/js/* $BUILD_DEST",
11+
"mv dist/css/* $BUILD_DEST"
12+
]
13+
}
14+
}
15+
}

build.cloud.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"entry": {
3+
"engine-ext": "./src/index.tsx"
4+
},
5+
"library": "___AliLowCodeEngineExt___",
6+
"libraryTarget": "umd",
7+
"externals": {
8+
"react": "var window.React",
9+
"react-dom": "var window.ReactDOM",
10+
"prop-types": "var window.PropTypes",
11+
"rax": "var window.Rax",
12+
"@alilc/lowcode-engine": "var window.AliLowCodeEngine",
13+
"@alilc/lowcode-engine-ext": "var window.AliLowCodeEngineExt",
14+
"moment": "var moment",
15+
"lodash": "var _",
16+
"@alifd/next": "var Next"
17+
},
18+
"polyfill": false,
19+
"outputDir": "dist",
20+
"vendor": false,
21+
"ignoreHtmlTemplate": true,
22+
"sourceMap": true,
23+
"plugins": [
24+
"build-plugin-react-app",
25+
["build-plugin-fusion", {
26+
"externalNext": "umd"
27+
}],
28+
["build-plugin-moment-locales", {
29+
"locales": ["zh-cn"]
30+
}],
31+
"./build.plugin.js"
32+
]
33+
}

0 commit comments

Comments
 (0)