From a6cca08377d280e515a809782503cc8656e4eb25 Mon Sep 17 00:00:00 2001 From: homura Date: Tue, 12 Mar 2024 13:03:19 +0800 Subject: [PATCH 1/2] docs(molecule): typo in documentation --- packages/molecule/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 From bd8df1ce6960ea41f7db52c1250d7a3a44088219 Mon Sep 17 00:00:00 2001 From: homura Date: Tue, 12 Mar 2024 13:04:06 +0800 Subject: [PATCH 2/2] chore: exit pre mode from changeset --- .changeset/pre.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",