mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-13 20:36:34 +00:00
Merge branch 'v/0.8.0' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into v/0.8.0
This commit is contained in:
commit
418173b33f
39
deploy-space/tsconfig.json
Normal file
39
deploy-space/tsconfig.json
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"declaration": false,
|
||||
"lib": ["es2015", "dom"],
|
||||
// Target latest version of ECMAScript.
|
||||
"target": "esnext",
|
||||
// Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'.
|
||||
"module": "commonjs",
|
||||
// Search under node_modules for non-relative imports.
|
||||
"moduleResolution": "node",
|
||||
// Process & infer types from .js files.
|
||||
"allowJs": true,
|
||||
// Report errors in .js files.
|
||||
"checkJs": false,
|
||||
// Don't emit; allow Babel to transform files.
|
||||
// "noEmit": true,
|
||||
// Enable strictest settings like strictNullChecks & noImplicitAny.
|
||||
"strict": false,
|
||||
// Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
|
||||
"allowSyntheticDefaultImports": true,
|
||||
// Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.
|
||||
"esModuleInterop": true,
|
||||
// Specify JSX code generation: 'preserve', 'react-native', or 'react'.
|
||||
"jsx": "preserve",
|
||||
// Import emit helpers (e.g. __extends, __rest, etc..) from tslib
|
||||
"importHelpers": true,
|
||||
// Enables experimental support for ES7 decorators.
|
||||
"experimentalDecorators": true,
|
||||
// Generates corresponding .map file.
|
||||
"sourceMap": false,
|
||||
// Disallow inconsistently-cased references to the same file.
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
// Allow json import
|
||||
"resolveJsonModule": true,
|
||||
// skip type checking of declaration files
|
||||
"skipLibCheck": true,
|
||||
},
|
||||
"exclude": ["**/test", "**/lib", "**/es", "node_modules"]
|
||||
}
|
||||
@ -8,7 +8,8 @@ echo "Deploy ${PWD} -> ${BUILD_DEST} ..."
|
||||
cd deploy-space
|
||||
# basic environment preparing
|
||||
tnpm install yarn lerna --install-node=10
|
||||
export PATH=$WORK_DIR/deploy-space/node_modules/.bin:$PATH
|
||||
mv node_modules env
|
||||
export PATH=$WORK_DIR/deploy-space/env/.bin:$PATH
|
||||
|
||||
echo ""
|
||||
echo "Use node version:"
|
||||
@ -26,9 +27,10 @@ cp -r $WORK_DIR/packages/globals packages/globals
|
||||
lerna bootstrap
|
||||
lerna run cloud-build --stream
|
||||
|
||||
mv packages/demo/build $BUILD_DEST
|
||||
mv packages/react-simulator-renderer/dist/* $BUILD_DEST
|
||||
mv packages/globals/dist/* $BUILD_DEST
|
||||
cd $WORK_DIR
|
||||
mv deploy-space/packages/demo/build $BUILD_DEST
|
||||
mv deploy-space/packages/react-simulator-renderer/dist/* $BUILD_DEST
|
||||
mv deploy-space/packages/globals/dist/* $BUILD_DEST
|
||||
cp deploy-space/html/* $BUILD_DEST
|
||||
|
||||
cp html/* $BUILD_DEST
|
||||
echo "complete"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user