diff --git a/.changeset/pre.json b/.changeset/pre.json index c8b8ae48f..4c5413b36 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -1,5 +1,5 @@ { - "mode": "pre", + "mode": "exit", "tag": "next", "initialVersions": { "@ckb-lumos/base": "0.21.1", diff --git a/packages/molecule/README.md b/packages/molecule/README.md index f801b0a5e..f55409275 100644 --- a/packages/molecule/README.md +++ b/packages/molecule/README.md @@ -60,7 +60,8 @@ To generate all the molecule files in a directory that match the pattern of `**/ prepend: "import { Uint32, Uint64, Uint128 } from './customized'", // the input schema directory, all **/*.mol in the directory will be processed schemaDir: "schemas", - outputDir: "generated", + // the output directory + outDir: "generated", } ``` @@ -76,3 +77,5 @@ The parser inside `@ckb-lumos/molecule` is based on the [EBNF](https://github.co - comment starts with `#` - comment defined in the `struct`, `table`, or `union` is not supported well + +Therefore, to use `lumos-molecule-codegen`, you need to make sure the comments should not be placed