@git.zone/tsrust 1.3.1 → 1.3.3
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@git.zone/tsrust',
|
|
6
|
-
version: '1.3.
|
|
6
|
+
version: '1.3.3',
|
|
7
7
|
description: 'A tool for compiling Rust projects, detecting Cargo workspaces, building with cargo, and placing binaries in a conventional dist_rust directory.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxrQkFBa0I7SUFDeEIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLGtKQUFrSjtDQUNoSyxDQUFBIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@git.zone/tsrust",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A tool for compiling Rust projects, detecting Cargo workspaces, building with cargo, and placing binaries in a conventional dist_rust directory.",
|
|
6
6
|
"main": "dist_ts/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"test": "tstest test/test.ts --verbose",
|
|
14
|
-
"build": "tsbuild --web
|
|
14
|
+
"build": "tsbuild --web"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"homepage": "https://code.foss.global/git.zone/tsrust#README",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@push.rocks/early": "^4.0.4",
|
|
37
|
-
"@push.rocks/smartconfig": "^6.0.0",
|
|
38
37
|
"@push.rocks/smartcli": "^4.0.20",
|
|
38
|
+
"@push.rocks/smartconfig": "^6.0.1",
|
|
39
39
|
"@push.rocks/smartfile": "^13.1.2",
|
|
40
40
|
"@push.rocks/smartpath": "^6.0.0",
|
|
41
|
-
"@push.rocks/smartshell": "^3.
|
|
42
|
-
"smol-toml": "^1.
|
|
41
|
+
"@push.rocks/smartshell": "^3.3.8",
|
|
42
|
+
"smol-toml": "^1.6.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@git.zone/tsbuild": "^4.
|
|
45
|
+
"@git.zone/tsbuild": "^4.4.0",
|
|
46
46
|
"@git.zone/tsrun": "^2.0.1",
|
|
47
|
-
"@git.zone/tstest": "^3.1
|
|
48
|
-
"@types/node": "^25.
|
|
47
|
+
"@git.zone/tstest": "^3.5.1",
|
|
48
|
+
"@types/node": "^25.5.0"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"ts/**/*",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dist_ts/**/*",
|
|
55
55
|
"assets/**/*",
|
|
56
56
|
"cli.js",
|
|
57
|
-
"
|
|
57
|
+
".smartconfig.json",
|
|
58
58
|
"readme.md"
|
|
59
59
|
],
|
|
60
60
|
"browserslist": [
|
package/readme.md
CHANGED
|
@@ -131,9 +131,9 @@ dist_rust/
|
|
|
131
131
|
|
|
132
132
|
`tsrust` automatically installs missing rustup targets via `rustup target add` when needed.
|
|
133
133
|
|
|
134
|
-
### Configuration via
|
|
134
|
+
### Configuration via .smartconfig.json
|
|
135
135
|
|
|
136
|
-
You can set default cross-compilation targets in your project's
|
|
136
|
+
You can set default cross-compilation targets in your project's `.smartconfig.json` file so you don't need to pass `--target` flags every time:
|
|
137
137
|
|
|
138
138
|
```json
|
|
139
139
|
{
|
|
@@ -143,7 +143,7 @@ You can set default cross-compilation targets in your project's `npmextra.json`
|
|
|
143
143
|
}
|
|
144
144
|
```
|
|
145
145
|
|
|
146
|
-
When targets are configured in
|
|
146
|
+
When targets are configured in `.smartconfig.json`, simply running `tsrust` will cross-compile for all listed targets. CLI `--target` flags take full precedence — if any `--target` is provided, the `.smartconfig.json` targets are ignored entirely.
|
|
147
147
|
|
|
148
148
|
### 🗑️ Clean Only
|
|
149
149
|
|
|
@@ -221,7 +221,7 @@ console.log(FsHelpers.formatFileSize(size)); // "13.4 MB"
|
|
|
221
221
|
|
|
222
222
|
## License and Legal Information
|
|
223
223
|
|
|
224
|
-
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [
|
|
224
|
+
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license](./license.md) file.
|
|
225
225
|
|
|
226
226
|
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
|
|
227
227
|
|
package/ts/00_commitinfo_data.ts
CHANGED
|
File without changes
|