Skip to content
Open
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
17 changes: 12 additions & 5 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
cache: 'npm'
Expand All @@ -41,6 +41,8 @@ jobs:
os:
- ubuntu-latest
node_version:
- 25
- 24
- 18
- 20
- 22
Expand All @@ -49,9 +51,9 @@ jobs:
- x64
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Setup node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
Expand All @@ -62,4 +64,9 @@ jobs:
- name: run build
run: npm run build
- name: run test
run: npm test
run: |
if [ "${{ matrix.node_version }}" = "25" ]; then
npm test -- --coverage
else
npm test
fi
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## Unreleased

### Fixed

- Fix generate code for cell as ref [issues #59](https://github.com/ton-community/tlb-codegen/issues/59)
- Fix generator code correct behavior for store method for Bit selection expression [issues #56](https://github.com/ton-community/tlb-codegen/issues/56)
- Fix: cannot apply Semantics to match failed [issues #41](https://github.com/ton-community/tlb-codegen/issues/41)

### Chore

- Upgrade develop dependencies

## [2.0.0-beta.3] – 2025-08-25

- Remove node dependency form exports
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ This package allows you to generate `Typescript` code for serializing and deseri

This package uses [TLB-Parser](https://github.com/ton-community/tlb-parser) to get AST of the scheme.

[![npm @ton-community/tlb-codegen version](https://img.shields.io/npm/v/@ton-community/tlb-codegen)](https://www.npmjs.com/package/@ton-community/tlb-codegen)
[![qa](https://github.com/ton-community/tlb-codegen/actions/workflows/qa.yml/badge.svg)](https://github.com/ton-community/tlb-codegen/actions/workflows/qa.yml)

## Installation

```bash
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const base = require('@ton/toolchain');

module.exports = [...base, { ignores: ['test/generated_files*'] }];
module.exports = [...base, { ignores: ['test/generated_files*', '*local*'] }];
11 changes: 11 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ const config: Config = {
testEnvironment: 'node',
testMatch: ['**/*.spec.ts'],
preset: 'ts-jest',
silent: false,
coverageThreshold: {
global: {
statements: 88.74,
branches: 80.53,
functions: 93.77,
lines: 89.22,
},
},
coveragePathIgnorePatterns: ['test/', 'src/index.ts'],
coverageReporters: ['json-summary', 'text', 'lcov'],
};

export default config;
Loading