/darabonba-sdk-template

Darabonba SDK development template

Apache License 2.0Apache-2.0

Darabonba SDK Template

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.

Quick start

  1. ${projectDir} exec:
$ npm install -g @darabonba/cli
  1. ${projectDir}/sample and ${projectDir}/sdk exec:
$ dara install darabonba:Util -S
$ dara install alibabacloud:OpenApiUtil -S

Darabonba configuration

  1. Read Darafile guide.
  2. Change scope|name|package|namespace in both Darafile files.
  3. Modify the hligaty:SDK of sample/.libraries.json to the scope:name configured in SDK/Darafile.

Release development kit

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

SDK template structure

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

Reference documentation