Skip to content

feat: support sub models in each others #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: CI

on:
push:
branches: [ master, 1.x ]
pull_request:
branches: [ master, 1.x ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run ci
- uses: codecov/codecov-action@v3
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# ChangeLog

## 1.1.6 - 2024-07-22

- support reference doc .

## 1.1.4 - 2022-01-12

- fix complex type in map generate error .

## 1.1.3 - 2021-11-08

- fix array type in map generate error .

## 1.1.2 - 2020-12-11

- fix quotes in string generate error .

## 1.1.1 - 2020-11-23

- fix the module name's generate error .

## 1.1.0 - 2020-11-17

- support executable option.

## 1.0.5 - 2020-09-15

- support parser's return check improve.
Expand All @@ -25,4 +49,4 @@
## 1.0.0 - 2020-06-17

> Initialization release of the `Darabonba Code Generator for TypeScript` Version 1.0.0 on NPM.
> See <https://www.npmjs.com/package/@darabonba/typescript-generator> for more information.
> See <https://www.npmjs.com/package/@darabonba/typescript-generator> for more information.
12 changes: 3 additions & 9 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,12 @@
# Darabonba Typescript 生成器

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![codecov][cov-image]][cov-url]
[![David deps][david-image]][david-url]
[![CI](https://github.com/aliyun/darabonba-typescript-generator/actions/workflows/ci.yml/badge.svg)](https://github.com/aliyun/darabonba-typescript-generator/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/aliyun/darabonba-typescript-generator/graph/badge.svg?token=t97XcVkcDB)](https://codecov.io/gh/aliyun/darabonba-typescript-generator)
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/@darabonba/typescript-generator.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@darabonba/typescript-generator
[travis-image]: https://img.shields.io/travis/aliyun/darabonba-typescript-generator.svg?style=flat-square
[travis-url]: https://travis-ci.org/aliyun/darabonba-typescript-generator
[cov-image]: https://codecov.io/gh/aliyun/darabonba-typescript-generator/branch/master/graph/badge.svg
[cov-url]: https://codecov.io/gh/aliyun/darabonba-typescript-generator
[david-image]: https://img.shields.io/david/aliyun/darabonba-typescript-generator.svg?style=flat-square
[david-url]: https://david-dm.org/aliyun/darabonba-typescript-generator
[download-image]: https://img.shields.io/npm/dm/@darabonba/typescript-generator.svg?style=flat-square
[download-url]: https://npmjs.org/package/@darabonba/typescript-generator

Expand All @@ -31,6 +24,7 @@ npm install @darabonba/typescript-generator

```js
"use strict";

const path = require("path");
const fs = require("fs");

Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,12 @@ English | [简体中文](/README-CN.md)
# Darabonba Code Generator for Typescript

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![codecov][cov-image]][cov-url]
[![David deps][david-image]][david-url]
[![CI](https://github.com/aliyun/darabonba-typescript-generator/actions/workflows/ci.yml/badge.svg)](https://github.com/aliyun/darabonba-typescript-generator/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/aliyun/darabonba-typescript-generator/graph/badge.svg?token=t97XcVkcDB)](https://codecov.io/gh/aliyun/darabonba-typescript-generator)
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/@darabonba/typescript-generator.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@darabonba/typescript-generator
[travis-image]: https://img.shields.io/travis/aliyun/darabonba-typescript-generator.svg?style=flat-square
[travis-url]: https://travis-ci.org/aliyun/darabonba-typescript-generator
[cov-image]: https://codecov.io/gh/aliyun/darabonba-typescript-generator/branch/master/graph/badge.svg
[cov-url]: https://codecov.io/gh/aliyun/darabonba-typescript-generator
[david-image]: https://img.shields.io/david/aliyun/darabonba-typescript-generator.svg?style=flat-square
[david-url]: https://david-dm.org/aliyun/darabonba-typescript-generator
[download-image]: https://img.shields.io/npm/dm/@darabonba/typescript-generator.svg?style=flat-square
[download-url]: https://npmjs.org/package/@darabonba/typescript-generator

Expand All @@ -31,6 +24,7 @@ npm install @darabonba/typescript-generator

```js
"use strict";

const path = require("path");
const fs = require("fs");

Expand Down
Loading
Loading