-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 🐛 Refactor @ddn/core and fix some field type errors
- Loading branch information
Showing
14 changed files
with
191 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# `core` | ||
# @DDN/core | ||
|
||
> TODO: description | ||
用于对 DDN 区块链 相关的配置等相关的基本操作,让系统支持 .ddnrc.js 等根据环境不同的配置文件 | ||
|
||
## Usage | ||
|
||
允许在 `.ddnrc.js` ,`config/config.json` 或 `config/config.js`(三选一,`.ddnrc.js` 优先)中进行配置,支持 ES6 语法。 | ||
|
||
``` | ||
const ddnCore = require('core'); | ||
const ddnCore = require('@ddn/core'); | ||
// TODO: DEMONSTRATE API | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import getPaths from './getPaths' | ||
import getUserConfig from './getUserConfig' | ||
import registerBabel from './registerBabel' | ||
|
||
export default { | ||
getPaths, | ||
getUserConfig, | ||
registerBabel | ||
getUserConfig | ||
} |
Oops, something went wrong.