Commit a830c338 authored by xinglei's avatar xinglei

*)修改项目名称

parent 9c7d8806
......@@ -21,8 +21,8 @@
"reset:start": "npm run i:root && npm run link && npm run mf:copy && npm run umd:copy",
"build:sdk": "lerna exec --scope website -- npm run sdk",
"build:sdkmf": "lerna exec --scope website -- npm run sdk:mf",
"start:gtool": "lerna exec --scope @gm/graphmod-tool -- npm start",
"build:gtool": "lerna exec --scope @gm/graphmod-tool -- npm run build"
"start:gatl": "lerna exec --scope @gm/graphmod-atl -- npm start",
"build:gatl": "lerna exec --scope @gm/graphmod-atl -- npm run build"
},
"dependencies": {
"amos-tool": "^1.x"
......
......@@ -17,7 +17,7 @@ npm run i:root
# 创建链接
npm run link
# 启动
npm run start:gtool
npm run start:gatl
# 发布
npm run build:gtool
npm run build:gatl
```
{
"name": "@gm/graphmod-tool",
"name": "@gm/graphmod-atl",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
......
{
"name": "@gm/graphmod-tool",
"name": "@gm/graphmod-atl",
"version": "1.0.0",
"description": "tool",
"author": "ilex.h",
......
const { sdk } = require('@gm/graphmod-scripts');
// 项目版本名称,打包完成后会生成对应的文件夹名称,生成文件夹名称不能手动修改
const vname = 'lib/tool_v1.0.0.0';
const vname = 'lib/atl_v1.0.0.0';
module.exports = sdk(vname);
......@@ -21,6 +21,6 @@
"@gm/graphmod-assets": "*",
"@gm/graphmod-common": "*",
"@gm/graphmod-ccs": "*",
"@gm/graphmod-tool": "*"
"@gm/graphmod-atl": "*"
}
}
import mods1 from '@gm/graphmod-tool';
import mods1 from '@gm/graphmod-atl';
import { configs, initConfig } from './config';
initConfig(configs);
......
// 根据不同项目引用不同子项目的config.json配置
const configs = [
{ name: 'tool', source: 'packages/graphmod-tool/config.json' }
{ name: 'tool', source: 'packages/graphmod-atl/config.json' }
];
// 加载配置
......
......@@ -13,7 +13,7 @@ const mfInfo = getMfConfigInfo('..');
const umdRc = getRCConfigInfo('umd', '..');
// Atapter工具库
const mfEntry = './src/tool.js';
const mfEntry = './src/atl.js';
const vname = 'lib/atl_v1.0.0.0';
const mfOption = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment