Skip to content

Commit c5aa500

Browse files
authored
chore: v0.2.0 (#54)
- fix issues with building as package - don't add fift WASM to package Fixes #51 Fixes #49
1 parent 52aade0 commit c5aa500

File tree

6 files changed

+35
-18
lines changed

6 files changed

+35
-18
lines changed

.husky/install.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Makes all husky runs silent when it shouldn't have run
2+
// And non-silent otherwise (direct installation of dependencies inside Tact repo)
3+
//
4+
// Taken from:
5+
// https://typicode.github.io/husky/how-to.html#ci-server-and-docker
6+
7+
const husky = (await import("husky")).default
8+
console.log(husky())

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.0] - 2025-02-20
11+
12+
- Fixed issues with building as package
13+
- Don't add Fift WASM to package
14+
1015
## [0.1.0] - 2025-02-18
1116

1217
- Completely new version based on TVM specification, much more robust and stable

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default tseslint.config(
2222
"**/*.spec.ts",
2323
"eslint.config.mjs",
2424
"vitest.config.ts",
25+
".husky/install.mjs",
2526
".github/*",
2627
".yarn/*",
2728
".testing/*",

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tact-lang/opcode",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"repository": "https://github.com/tact-lang/ton-opcode.git",
55
"author": "Tact Authors",
66
"main": "dist/index.js",
@@ -15,11 +15,12 @@
1515
"gen-spec": "ts-node scripts/gen-codepage.ts",
1616
"test": "vitest",
1717
"coverage": "c8 vitest",
18-
"postinstall": "husky"
18+
"postinstall": "node .husky/install.mjs || true"
1919
},
2020
"devDependencies": {
2121
"@scaleton/func-debug-symbols": "0.1.5",
22-
"@ton-community/func-js": "^0.9.0",
22+
"@ton-community/func-js": "~0.6.2",
23+
"@ton-community/func-js-bin": "~0.4.4",
2324
"@types/node": "^22.13.1",
2425
"c8": "^10.1.3",
2526
"eslint": "^9.19.0",
@@ -76,6 +77,7 @@
7677
"files": [
7778
"dist",
7879
"!dist/test",
79-
"!dist/test/**/*"
80+
"!dist/test/**/*",
81+
"!**/fift/*.*"
8082
]
8183
}

src/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,3 @@ export {AssemblyWriter} from "./printer/assembly-writer"
1111

1212
export {debugSymbols} from "./utils/known-methods"
1313
export {Cell} from "@ton/core"
14-
15-
export type {
16-
FiftCompilationResult,
17-
FiftCompilationResultOk,
18-
FiftCompilationResultError,
19-
} from "./fift/compileFift"
20-
export {compileFift} from "./fift/compileFift"

yarn.lock

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,8 @@ __metadata:
641641
resolution: "@tact-lang/opcode@workspace:."
642642
dependencies:
643643
"@scaleton/func-debug-symbols": "npm:0.1.5"
644-
"@ton-community/func-js": "npm:^0.9.0"
644+
"@ton-community/func-js": "npm:~0.6.2"
645+
"@ton-community/func-js-bin": "npm:~0.4.4"
645646
"@ton/core": "npm:^0.60.0"
646647
"@ton/crypto": "npm:^3.3.0"
647648
"@types/node": "npm:^22.13.1"
@@ -659,22 +660,29 @@ __metadata:
659660
languageName: unknown
660661
linkType: soft
661662

662-
"@ton-community/func-js-bin@npm:0.4.6":
663+
"@ton-community/func-js-bin@npm:0.4.4-newops":
664+
version: 0.4.4-newops
665+
resolution: "@ton-community/func-js-bin@npm:0.4.4-newops"
666+
checksum: 10c0/cd0f71fdd73ab06bada2be04ffba1373388a93cc9a920aaba6d7dfe36066c1a590e1c3888eff110db0e954eb5516c2c373d688959c0182f622b98142d66c06e6
667+
languageName: node
668+
linkType: hard
669+
670+
"@ton-community/func-js-bin@npm:~0.4.4":
663671
version: 0.4.6
664672
resolution: "@ton-community/func-js-bin@npm:0.4.6"
665673
checksum: 10c0/b094049809bc23402a65d2ddf86c467eae6ada4c810f3eba794690ab31a436c84cdd18af7f728141d8a694d1389e98d522517ceaa695cebe093688c055c12601
666674
languageName: node
667675
linkType: hard
668676

669-
"@ton-community/func-js@npm:^0.9.0":
670-
version: 0.9.0
671-
resolution: "@ton-community/func-js@npm:0.9.0"
677+
"@ton-community/func-js@npm:~0.6.2":
678+
version: 0.6.3
679+
resolution: "@ton-community/func-js@npm:0.6.3"
672680
dependencies:
673-
"@ton-community/func-js-bin": "npm:0.4.6"
681+
"@ton-community/func-js-bin": "npm:0.4.4-newops"
674682
arg: "npm:^5.0.2"
675683
bin:
676684
func-js: dist/cli.js
677-
checksum: 10c0/3c536d82c2a34f04e3ea2b523cfd871cf0ee02752364554787f6d811dcb9c5d9c6501c80b7376e45dff3254ce8d171fb773214acd4ef336775f741089f1373ce
685+
checksum: 10c0/9a87648fdc91f1145d6f5cabd2777b0f418c4b0e986ab07cd2754e7dd965e1986cb527d4568d63535bc9d322ae1718bc16e2adc4d1005a8f20374931833be312
678686
languageName: node
679687
linkType: hard
680688

0 commit comments

Comments
 (0)