fix: 合并数据源引擎修复代码

This commit is contained in:
muyun.my 2020-11-10 22:42:54 +08:00
parent 3d5b5d2c63
commit 53f3554314
4 changed files with 10 additions and 10 deletions

View File

@ -1 +1 @@
module.exports = require('./dist/interpret'); module.exports = require('./dist/interpret/index');

View File

@ -2,22 +2,22 @@
"name": "@ali/lowcode-datasource-engine", "name": "@ali/lowcode-datasource-engine",
"version": "1.0.19", "version": "1.0.19",
"description": "DataSource Engine for lowcode", "description": "DataSource Engine for lowcode",
"main": "lib/index.js", "main": "dist/index.js",
"module": "es/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
"files": [ "files": [
"dist", "dist",
"src", "src",
"interpret*", "interpret*",
"runtime*", "runtime*"
"lib"
], ],
"scripts": { "scripts": {
"build": "rm -rf dist && tsc --outDir ./dist --module esnext", "clean": "rm -rf dist",
"build": "npm run clean && tsc ",
"test": "ava", "test": "ava",
"prepublishOnly": "npm run build" "prepublishOnly": "npm run build"
}, },
"dependencies": { "dependencies": {
"@ali/lowcode-datasource-types": "^1.0.19",
"@ali/lowcode-types": "^1.0.17", "@ali/lowcode-types": "^1.0.17",
"typescript": "^3.9.7" "typescript": "^3.9.7"
}, },

View File

@ -2,9 +2,9 @@
"compilerOptions": { "compilerOptions": {
/* Basic Options */ /* Basic Options */
// "incremental": true, /* Enable incremental compilation */ // "incremental": true, /* Enable incremental compilation */
"target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, "target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, "module": "esnext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
// "lib": [], /* Specify library files to be included in the compilation. */ "lib": ["ESNext", "DOM"] /* Specify library files to be included in the compilation. */,
// "allowJs": true, /* Allow javascript files to be compiled. */ // "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */ // "checkJs": true, /* Report errors in .js files. */
"jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, "jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,

View File

@ -54,5 +54,5 @@
"publishConfig": { "publishConfig": {
"registry": "http://registry.npm.alibaba-inc.com" "registry": "http://registry.npm.alibaba-inc.com"
}, },
"homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@1.0.17/build/index.html" "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-react-renderer@1.0.18/build/index.html"
} }