Skip to content

Releases: lad-tech/nsc-cli

v4.0.1

22 Jan 14:12
0571402

Choose a tag to compare

4.0.1 (2026-01-22)

Bug Fixes

  • исправить импорт схемы (6fec327)

v4.0.0

22 Jan 12:25

Choose a tag to compare

4.0.0 (2026-01-22)

Bug Fixes

  • improve code quality in generators (3eb9d29)

Features

  • migrate project to ESM modules (cd52606)

BREAKING CHANGES

  • Project now uses ES Modules instead of CommonJS.

Changes:

  • Added 'type: module' to package.json
  • Updated tsconfig.json: module to ESNext, moduleResolution to bundler
  • Updated all local imports to use .js extensions
  • Updated JSON imports to use 'with { type: json }' syntax
  • Updated DefaultProjectSettings and BaseTsConfig for ESM
  • Updated build scripts and added tsx for ESM support
  • Renamed .eslintrc.js to .eslintrc.cjs for ESM compatibility
  • Renamed commitlint.config.js to commitlint.config.cjs
  • Fixed ESLint errors in generatePackageJson and helpers
  • Removed CRUD CLI files (not present in project)

All source files now use ESM syntax and the project builds successfully.

v3.1.2

22 Jan 12:13

Choose a tag to compare

3.1.2 (2026-01-22)

Bug Fixes

  • исправлен путь импорта методов в generateServerFile (54bea03)

v3.1.1

22 Jan 11:47

Choose a tag to compare

3.1.1 (2026-01-22)

Bug Fixes

  • исправлена генерация индекс файла генерация эвентов (0d494b2)

v3.1.0

22 Jan 11:29

Choose a tag to compare

3.1.0 (2026-01-22)

Features

v3.0.0

22 Jan 11:22

Choose a tag to compare

3.0.0 (2026-01-22)

  • feat!: migrate to ESM modules (769a180)

BREAKING CHANGES

  • All generated services now use ES Modules (ESM) instead of CommonJS.

Changes:

  • Import JSON schemas using 'with { type: "json" }' syntax
  • Add .js extensions to all local imports
  • Generate package.json with type: 'module' and exports field
  • Update all import/export statements to ESM syntax
  • Require Node.js 18+ for import attributes support

This change is incompatible with version 1.0.0 and below.
Projects generated with version 1.0.0 will need to be migrated manually.

Updated files:

  • generateServerFile.ts: ESM imports, JSON schema import
  • generateIndexFile.ts: ESM imports, JSON schema import
  • generateMethods.ts: ESM imports, JSON schema import
  • generatePackageJson.ts: Add ESM configuration
  • generateStartFile.ts: Formatting improvements
  • README.md: Document breaking changes and migration guide

v2.0.0

20 Jan 09:50

Choose a tag to compare

2.0.0 (2026-01-20)

Bug Fixes

  • Обновлена зависимость @lad-tech/nsc-toolkit (c138a4f)

BREAKING CHANGES

  • для работы со старой версией тулкита используйте старую версию

v1.16.0

15 Jan 05:55
48b3116

Choose a tag to compare

1.16.0 (2025-01-15)

Features

v1.15.0

13 Jan 05:51

Choose a tag to compare

1.15.0 (2025-01-13)

Bug Fixes

  • node version up (416dc4e)
  • Дефолтное название сервиса по папке (0b409fc)
  • исправлен ci (f809e33)
  • мелкие правки (fb3de3e)
  • правки нейминга (023a363)
  • создание пустой схемы, в случае круда (b5cb7a6)

Features

  • валидация схемы генерации круда (2931b54)
  • Генерация сервиса по схеме (82d39ec)
  • добавлены роуты (e0358e5)
  • Крудошлеп - начало (d1c6abe)

v1.14.0

13 Dec 09:49
de80f4c

Choose a tag to compare

1.14.0 (2024-12-13)

Features

  • add new param uniqid for emmiter interface (6b0033a)