Граф коммитов

95 Коммитов

Автор SHA1 Сообщение Дата
Liang d06874d009
Bump version to 0.12.2 (#126)
Co-authored-by: 庄黛淳华 <miku1958@users.noreply.github.com>
2024-07-29 10:31:24 +08:00
Liang c4394cef47
Add `` to "default" Swift enum value (#125)
* Fix: add `` to "default" swift enum value.

* Add `default` enum value to demo
2024-07-02 16:11:29 +08:00
庄黛淳华 8b1c7c25a7
fix return type become tuple type from interface type (#124)
* fix return type become tuple type from interface type

* bump to 0.12.1
2024-05-11 18:10:39 +08:00
庄黛淳华 e94bff6808
Add support to Union Type (#123)
* Add support to Type Union

* bump version to 0.12.0
2024-05-11 10:15:09 +08:00
庄黛淳华 7f33e0c521
Expose defaultValue to type member (#122)
* expose defaultValue to type member

* bump version to 0.11.1
2024-05-07 14:23:41 +08:00
庄黛淳华 1303b050d0
Add support for default value in Module Interface (#121)
* Add support for default value in Module Interface
2024-04-24 02:51:55 +00:00
庄黛淳华 b39559a7d2
fix: remove annoying logs (#120) 2024-03-06 14:23:55 +08:00
icodesign 6cd972e484
Update build badge in README (#115)
Co-authored-by: Zhuoran <t@zhuorantan.com>
2024-01-09 04:58:05 +00:00
庄黛淳华 f027164ee7
Bump to 0.10.0 (#118)
* Bump to 0.10.0

* npm install
2024-01-09 04:55:50 +00:00
庄黛淳华 cfdf7b4e99
Add support for union to enum (#117)
* Add support for union to enum

* rename

* reuse path for unique name & fix shared types is not in shared file

* lint

* fix: kotlin shared types is missing

* fix: align usage with TupleType

* style: rename members

* fix: remove unused content

* feature: add nullable check

* fix: revert unused content

* doc: update document

* fix: remove kind from LiteralType

* fix: remove type cast of namedType

* fix: revert LiteralType from parseLiteralNode

* fix: Add support for strings that look like numbers
2024-01-09 12:46:28 +08:00
Haowen Chen bafb0d0ce4
Bump to 0.9.0 & lint fix (#113) 2023-02-20 17:38:34 +08:00
dependabot[bot] 3d92991ecb
Bump minimatch from 3.0.4 to 3.1.2 (#109)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haowen Chen <haowchen@microsoft.com>
2023-02-20 15:17:01 +08:00
dependabot[bot] 9806ade199
Bump node-forge and webpack-dev-server in /demo/mini-editor/web (#110)
Bumps [node-forge](https://github.com/digitalbazaar/forge) to 1.3.1 and updates ancestor dependency [webpack-dev-server](https://github.com/webpack/webpack-dev-server). These dependencies need to be updated together.


Updates `node-forge` from 0.10.0 to 1.3.1
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/0.10.0...v1.3.1)

Updates `webpack-dev-server` from 4.6.0 to 4.11.1
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.6.0...v4.11.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
- dependency-name: webpack-dev-server
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haowen Chen <haowchen@microsoft.com>
2023-02-20 14:57:47 +08:00
dependabot[bot] dda195298f
Bump nanoid from 3.1.25 to 3.3.1 (#108)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.3.1)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 14:55:13 +08:00
dependabot[bot] 7fcb407aac
Bump minimatch from 3.0.4 to 3.1.2 in /demo/mini-editor/web (#102)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haowen Chen <haowchen@microsoft.com>
2023-02-20 13:44:50 +08:00
dependabot[bot] db594ccf4d
Bump json5 from 2.2.0 to 2.2.3 in /demo/mini-editor/web (#107)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haowen Chen <haowchen@microsoft.com>
2023-02-20 11:27:51 +08:00
dependabot[bot] 431c850fdb
Bump json5 from 1.0.1 to 1.0.2 (#111)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Haowen Chen <haowchen@microsoft.com>
2023-02-20 11:12:23 +08:00
Haowen Chen 7ddf191316
Add config "tsconfigPath" for parsing target (#112)
Add config "tsconfigPath" for parsing target
2023-02-14 09:58:51 +08:00
Gnohz Gniy 374b19c7aa
Fix typo
Fix typo
2023-02-10 17:43:28 +08:00
dependabot[bot] f017cc3bf5
Bump express from 4.17.1 to 4.18.2 in /demo/mini-editor/web (#104)
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 13:40:25 +08:00
dependabot[bot] 504cb259c8
Bump qs and express in /demo/mini-editor/web (#103)
Bumps [qs](https://github.com/ljharb/qs) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `qs` from 6.7.0 to 6.11.0
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.7.0...v6.11.0)

Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 05:40:05 +00:00
dependabot[bot] 3c445e175b
Bump json5 and tsconfig-paths (#106)
Bumps [json5](https://github.com/json5/json5) and [tsconfig-paths](https://github.com/dividab/tsconfig-paths). These dependencies needed to be updated together.

Updates `json5` from 1.0.1 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v2.2.3)

Updates `tsconfig-paths` from 3.9.0 to 3.10.1
- [Release notes](https://github.com/dividab/tsconfig-paths/releases)
- [Changelog](https://github.com/dividab/tsconfig-paths/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dividab/tsconfig-paths/compare/v3.9.0...v3.10.1)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: tsconfig-paths
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 13:38:00 +08:00
Zhuoran 4d5554d50f
Bump version to 0.8.0 (#101) 2022-08-30 15:44:00 +08:00
Zhuoran 77df3e4b0a
Expose APIs for customized generation (#100)
* Implement target based generation

* Move generate func

* Rename
2022-08-30 15:06:35 +08:00
Zhuoran 4d5953d3b1
Improve configuration format (#99) 2022-08-30 11:29:19 +08:00
Zhuoran ad91d7b195
Merge module and interface type (#98)
* Merge module and interface type

* Fix test

* Fix

* Fix test
2022-08-24 11:31:08 +08:00
Daohan Chong ccf03b06c7
Add action for Dependabot weekly updates (#96) 2022-08-09 10:28:48 +08:00
dependabot[bot] 940ade3c40
Bump terser from 4.8.0 to 4.8.1 in /demo/mini-editor/web (#97)
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 18:57:03 +08:00
dependabot[bot] 3ea1e29934
Bump minimist from 1.2.5 to 1.2.6 (#92)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 12:52:02 +08:00
Haowen Chen 816068bc44
Bump async from 2.6.3 to 2.6.4 in /demo/mini-editor/web (#95)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 12:01:21 +08:00
dependabot[bot] 869845cb59
Bump minimist from 1.2.5 to 1.2.6 in /demo/mini-editor/web (#93)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 11:50:44 +08:00
dependabot[bot] 5780e32fff
Bump follow-redirects from 1.14.6 to 1.14.8 in /demo/mini-editor/web (#91)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 09:02:38 +08:00
Zhuoran 2d1c2881b8
Fix the missing custom types output file in list-output (#89) 2022-01-19 10:56:15 +08:00
Zhuoran 2e4f93d597
Add a command to list all output files (#88) 2022-01-18 16:06:35 +08:00
Zhuoran 0785193af5
Run npm audit fix to fix security issues (#87) 2022-01-18 05:45:49 +00:00
Daohan Chong 0c67640acb
Upgrade mocha to 9.x (#86) 2022-01-06 12:35:05 +08:00
Daohan Chong 7c13cd16c1
Upgrade webpack-dev-server (#84) 2021-12-17 15:48:15 +08:00
Zhuoran fd220da529
Add type source info for value type (#82) 2021-11-08 13:03:09 +08:00
Zhuoran 62ca184599
Bump version to 0.6.2 (#81) 2021-11-05 14:27:30 +08:00
ʇuǝɯןooɟ 80fe719667
Enable renaming non-predefined types (#80)
* Enable renaming non-predefined types

* fix lint

Co-authored-by: Kelvin Mo <fumo@microsoft.com>
2021-11-05 12:54:59 +08:00
dependabot[bot] 2c66e26bbb
Bump nth-check from 2.0.0 to 2.0.1 in /demo/mini-editor/web (#79)
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 14:31:43 +08:00
Daohan Chong 47c71838fa
Bump version to 0.6.1 (#78) 2021-10-13 14:28:42 +08:00
ʇuǝɯןooɟ 8e8df2b433
Update the name format of Enum key for Kotlin (#77)
* Update the name format of enum key

* fix lint

Co-authored-by: Kelvin Mo <fumo@microsoft.com>
2021-10-13 14:22:05 +08:00
Zhuoran 73a5cbde20
Support generating a single file (#76)
* Support generate a single file

* Add documentation

* Generate docs

* Address feedbacks

* Bump version
2021-09-13 16:36:25 +08:00
Zhuoran 15248337a7
Remove custom tag in release pipeline (#75)
* Remove custom tag in release pipeline

* Bump version
2021-08-31 16:05:23 +08:00
Zhuoran 5b5e708d8d
Bump version to 0.5.1 (#74) 2021-08-31 14:30:18 +08:00
Zhuoran 2890e361e0
Bump version to 0.5.0 (#73) 2021-08-31 06:13:45 +00:00
Zhuoran ac0f922cc9
Migrate to use TypeChecker if possible (#72)
* Migrate to use TypeChecker if possible

* Fix lint
2021-08-31 12:18:05 +08:00
Zhuoran b40c7d3030
Support parsing function properties (#71)
* Support parsing function properties

* Update documentation
2021-08-16 15:00:52 +08:00
Daohan Chong a171cc303f
Fix release pipeline (#70)
- Use `types: [published]` only because it will cover pre-release
- Remove `npm version ${{ github.event.release.tag_name }}` because it has a `v` prefix
2021-08-15 11:03:20 +08:00