@ton/blueprint 0.36.0 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cli/create.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.36.1] - 2025-06-17
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fixed contract creation on Windows
|
|
13
|
+
|
|
8
14
|
## [0.36.0] - 2025-06-16
|
|
9
15
|
|
|
10
16
|
### Added
|
package/dist/cli/create.js
CHANGED
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.create = void 0;
|
|
7
7
|
const path_1 = __importDefault(require("path"));
|
|
8
|
+
const posix_1 = __importDefault(require("path/posix"));
|
|
8
9
|
const promises_1 = require("fs/promises");
|
|
9
10
|
const arg_1 = __importDefault(require("arg"));
|
|
10
11
|
const utils_1 = require("../config/utils");
|
|
@@ -88,7 +89,7 @@ const create = async (_args, ui) => {
|
|
|
88
89
|
})).value;
|
|
89
90
|
const [lang, template] = which.split('-');
|
|
90
91
|
const snakeName = (0, utils_2.toSnakeCase)(name);
|
|
91
|
-
const contractPath =
|
|
92
|
+
const contractPath = posix_1.default.join('contracts', snakeName + '.' + getFileExtension(lang));
|
|
92
93
|
const replaces = {
|
|
93
94
|
name,
|
|
94
95
|
loweredName: name.substring(0, 1).toLowerCase() + name.substring(1),
|