Note
Click the Use this template button and clone it in local.
Darabonba SDK Template is a repository that provides a pure template to make it easier to create a Multilingual SDK project.
${projectDir}
exec:
$ npm install -g @darabonba/cli
${projectDir}/sample
and${projectDir}/sdk
exec:
$ dara install darabonba:Util -S
$ dara install alibabacloud:OpenApiUtil -S
- Read Darafile guide.
- Change
scope
|name
|package
|namespace
in bothDarafile
files. - Modify the
hligaty:SDK
ofsample/.libraries.json
to thescope:name
configured inSDK/Darafile
.
The repository integrates github workflow. When a version is released, release.yml will be executed to automatically build the development kit into the released version
A generated Darabonba SDK Template repository contains the following content structure:
.
├── sample CodeSample sources
│ ├── .libraries.json Dependency system path
│ ├── Darafile Darabonba configuration file
│ └── main.dara Darabonba production sources
├── sdk SDK sources
│ ├── Darafile Darabonba configuration file
│ └── main.dara Darabonba production sources
├── .gitignore Git ignoring rules
├── LICENSE License, MIT by default
└── README.md README