@dbx-tools/projen 0.6.144 → 0.6.145
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/package.json +4 -4
- package/src/project-rs.ts +5 -0
- package/tasks/publish-uniffi-local.ts +10 -1
package/package.json
CHANGED
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@clack/prompts": "^1.7.0",
|
|
29
|
-
"@dbx-tools/core": "0.6.
|
|
30
|
-
"@dbx-tools/path": "0.6.
|
|
31
|
-
"@dbx-tools/shared-core": "0.6.
|
|
29
|
+
"@dbx-tools/core": "0.6.145",
|
|
30
|
+
"@dbx-tools/path": "0.6.145",
|
|
31
|
+
"@dbx-tools/shared-core": "0.6.145",
|
|
32
32
|
"commander": "^15.0.0",
|
|
33
33
|
"concurrently": "^10.0.3",
|
|
34
34
|
"constructs": "^10.6.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"main": "index.ts",
|
|
50
50
|
"license": "Apache-2.0",
|
|
51
|
-
"version": "0.6.
|
|
51
|
+
"version": "0.6.145",
|
|
52
52
|
"types": "index.ts",
|
|
53
53
|
"type": "module",
|
|
54
54
|
"exports": {
|
package/src/project-rs.ts
CHANGED
|
@@ -509,6 +509,11 @@ export class DBXToolsRustWorkspace {
|
|
|
509
509
|
uses: "dtolnay/rust-toolchain@stable",
|
|
510
510
|
with: { targets: "${{ matrix.target.cargo }}" },
|
|
511
511
|
},
|
|
512
|
+
{
|
|
513
|
+
name: "Install Linux native dependencies",
|
|
514
|
+
if: "${{ matrix.target.os == 'linux' }}",
|
|
515
|
+
run: "sudo apt-get update && sudo apt-get install --yes libdbus-1-dev pkg-config",
|
|
516
|
+
},
|
|
512
517
|
{ name: "Install", run: "bun install" },
|
|
513
518
|
{
|
|
514
519
|
name: "Build thin native packages",
|
|
@@ -188,7 +188,16 @@ function buildAndPublish(binding: RustBindingMapping, version: string): void {
|
|
|
188
188
|
if (includePython) {
|
|
189
189
|
const wheels = artifacts(join(output, "python"), ".whl");
|
|
190
190
|
if (wheels.length === 0) throw new Error(`No wheel produced for ${binding.crate}`);
|
|
191
|
-
|
|
191
|
+
run("uvx", [
|
|
192
|
+
"--from",
|
|
193
|
+
"devpi-client",
|
|
194
|
+
"devpi",
|
|
195
|
+
"upload",
|
|
196
|
+
"--index",
|
|
197
|
+
pypiPublishUrl!,
|
|
198
|
+
"--from-dir",
|
|
199
|
+
join(output, "python"),
|
|
200
|
+
]);
|
|
192
201
|
}
|
|
193
202
|
}
|
|
194
203
|
|