create-ton 0.0.9 → 0.0.10

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 CHANGED
@@ -5,6 +5,18 @@ 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.0.10] - 2023-02-27
9
+
10
+ ### Added
11
+
12
+ - Added a check for exceptions for git repository initialization
13
+
14
+ ### Changed
15
+
16
+ - Bumped sandbox version to 0.5.0
17
+ - Bumped blueprint version to 0.3.0
18
+ - Bumped ton-core version to 0.47.1
19
+
8
20
  ## [0.0.9] - 2023-02-09
9
21
 
10
22
  ### Added
package/dist/cli.js CHANGED
@@ -63,7 +63,12 @@ build`);
63
63
  (0, child_process_1.execSync)('npm i', execOpts);
64
64
  console.log(`\n[3/${steps}] Creating your first contract...`);
65
65
  (0, child_process_1.execSync)(`npx blueprint create ${contractName} --type ${variant}`, execOpts);
66
- (0, child_process_1.execSync)('git init', execOpts);
66
+ try {
67
+ (0, child_process_1.execSync)('git init', execOpts);
68
+ }
69
+ catch (e) {
70
+ console.error('Failed to initialize git repository:', e.toString());
71
+ }
67
72
  console.log(`Success!`);
68
73
  console.log(chalk_1.default.blueBright(`
69
74
  ____ _ _ _ _____ ____ ____ ___ _ _ _____
@@ -81,7 +86,7 @@ build`);
81
86
  console.log(chalk_1.default.greenBright(` > `) + chalk_1.default.cyanBright(`npx blueprint build`));
82
87
  console.log(` choose a smart contract and build it`);
83
88
  console.log(``);
84
- console.log(chalk_1.default.greenBright(` > `) + chalk_1.default.cyanBright(`npm run test`));
89
+ console.log(chalk_1.default.greenBright(` > `) + chalk_1.default.cyanBright(`npx blueprint test`));
85
90
  console.log(` run the default project test suite`);
86
91
  console.log(``);
87
92
  console.log(chalk_1.default.greenBright(` > `) + chalk_1.default.cyanBright(`npx blueprint run`));
@@ -6,15 +6,15 @@
6
6
  "test": "jest"
7
7
  },
8
8
  "devDependencies": {
9
- "@ton-community/blueprint": "^0.2.0",
10
- "@ton-community/sandbox": "^0.4.0",
9
+ "@ton-community/blueprint": "^0.3.0",
10
+ "@ton-community/sandbox": "^0.5.0",
11
11
  "@ton-community/test-utils": "^0.0.2",
12
12
  "@types/jest": "^29.2.6",
13
13
  "@types/node": "^18.11.18",
14
14
  "jest": "^29.3.1",
15
15
  "prettier": "^2.8.3",
16
16
  "ton": "^13.3.0",
17
- "ton-core": "^0.46.0",
17
+ "ton-core": "^0.47.1",
18
18
  "ton-crypto": "^3.2.0",
19
19
  "ts-jest": "^29.0.5",
20
20
  "ts-node": "^10.9.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ton",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "license": "MIT",
5
5
  "description": "Tool to quickly create TON projects",
6
6
  "author": "TonTech",