@ton/blueprint 0.32.0 → 0.33.0

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/build.js +19 -14
  3. package/dist/cli/Runner.js +2 -2
  4. package/dist/cli/build.js +4 -5
  5. package/dist/cli/cli.js +17 -7
  6. package/dist/cli/create.js +45 -15
  7. package/dist/cli/help.js +2 -2
  8. package/dist/compile/CompilerConfig.d.ts +6 -25
  9. package/dist/compile/CompilerConfig.js +4 -0
  10. package/dist/compile/SourceSnapshot.d.ts +4 -0
  11. package/dist/compile/SourceSnapshot.js +2 -0
  12. package/dist/compile/compile.d.ts +6 -31
  13. package/dist/compile/compile.js +54 -157
  14. package/dist/compile/func/compile.func.d.ts +14 -0
  15. package/dist/compile/func/compile.func.js +29 -0
  16. package/dist/compile/func/config.d.ts +11 -0
  17. package/dist/compile/func/config.js +2 -0
  18. package/dist/compile/{OverwritableVirtualFileSystem.d.ts → tact/OverwritableVirtualFileSystem.d.ts} +0 -1
  19. package/dist/compile/tact/compile.tact.d.ts +13 -0
  20. package/dist/compile/tact/compile.tact.js +123 -0
  21. package/dist/compile/tact/config.d.ts +7 -0
  22. package/dist/compile/tact/config.js +2 -0
  23. package/dist/compile/tolk/compile.tolk.d.ts +13 -0
  24. package/dist/compile/tolk/compile.tolk.js +25 -0
  25. package/dist/compile/tolk/config.d.ts +8 -0
  26. package/dist/compile/tolk/config.js +2 -0
  27. package/dist/config/tact.config.d.ts +5 -0
  28. package/dist/config/tact.config.js +21 -0
  29. package/dist/config/utils.js +19 -11
  30. package/dist/index.d.ts +2 -1
  31. package/dist/network/createNetworkProvider.js +2 -2
  32. package/dist/network/send/MnemonicProvider.d.ts +0 -1
  33. package/dist/template.js +2 -2
  34. package/dist/templates/tact/counter/scripts/deploy.ts.template +1 -1
  35. package/dist/templates/tact/counter/tests/spec.ts.template +1 -1
  36. package/dist/templates/tact/empty/tests/spec.ts.template +1 -1
  37. package/dist/templates/tolk/common/compilables/compile.ts.template +1 -0
  38. package/dist/templates/tolk/counter/contracts/contract.tolk.template +4 -4
  39. package/dist/templates/tolk/not-separated-common/wrappers/compile.ts.template +1 -0
  40. package/dist/utils/object.utils.d.ts +1 -0
  41. package/dist/utils/object.utils.js +5 -2
  42. package/dist/utils/selection.utils.d.ts +1 -0
  43. package/dist/utils/selection.utils.js +34 -14
  44. package/dist/utils/string.utils.js +2 -3
  45. package/dist/utils/timer.utils.js +1 -2
  46. package/dist/utils/ton.utils.js +2 -2
  47. package/package.json +4 -4
  48. package/dist/templates/tact/common/compilables/compile.ts.template +0 -10
  49. package/dist/templates/tact/common/wrappers/wrapper.ts.template +0 -2
  50. package/dist/templates/tact/not-separated-common/wrappers/compile.ts.template +0 -10
  51. package/dist/templates/tact/not-separated-common/wrappers/wrapper.ts.template +0 -2
  52. /package/dist/compile/{OverwritableVirtualFileSystem.js → tact/OverwritableVirtualFileSystem.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ton/blueprint",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "Framework for development of TON smart contracts",
5
5
  "main": "dist/index.js",
6
6
  "bin": "./dist/cli/cli.js",
@@ -23,20 +23,20 @@
23
23
  "@ton-community/func-js": "^0.9.0",
24
24
  "@ton/core": "^0.59.0",
25
25
  "@ton/crypto": "^3.3.0",
26
- "@ton/tolk-js": "^0.6.0",
26
+ "@ton/tolk-js": "^0.12.0",
27
27
  "@ton/ton": "^15.0.0",
28
28
  "@types/inquirer": "^8.2.6",
29
29
  "@types/node": "^20.2.5",
30
30
  "@types/qrcode-terminal": "^0.12.0",
31
31
  "prettier": "^3.0.3",
32
- "typescript": "^4.9.5"
32
+ "typescript": "^5.8.3"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@tact-lang/compiler": ">=1.6.5",
36
36
  "@ton-community/func-js": ">=0.9.0",
37
37
  "@ton/core": ">=0.59.0",
38
38
  "@ton/crypto": ">=3.3.0",
39
- "@ton/tolk-js": ">=0.6.0",
39
+ "@ton/tolk-js": ">=0.12.0",
40
40
  "@ton/ton": ">=15.0.0"
41
41
  },
42
42
  "dependencies": {
@@ -1,10 +0,0 @@
1
- {{name}}.compile.ts
2
- import { CompilerConfig } from '@ton/blueprint';
3
-
4
- export const compile: CompilerConfig = {
5
- lang: 'tact',
6
- target: '{{contractPath}}',
7
- options: {
8
- debug: true,
9
- },
10
- };
@@ -1,2 +0,0 @@
1
- {{name}}.ts
2
- export * from '../build/{{name}}/tact_{{name}}';
@@ -1,10 +0,0 @@
1
- {{name}}.compile.ts
2
- import { CompilerConfig } from '@ton/blueprint';
3
-
4
- export const compile: CompilerConfig = {
5
- lang: 'tact',
6
- target: '{{contractPath}}',
7
- options: {
8
- debug: true,
9
- },
10
- };
@@ -1,2 +0,0 @@
1
- {{name}}.ts
2
- export * from '../build/{{name}}/tact_{{name}}';