Skip to content

Commit 65346ac

Browse files
committed
refactor(infra): remove hack moncomptepro imports
1 parent dfcb9db commit 65346ac

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

build.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//
22

3+
import { $ } from "bun";
4+
35
const minify = true;
46

57
{
@@ -41,4 +43,19 @@ const minify = true;
4143
console.log({ logs, outputs, success });
4244
}
4345

46+
{
47+
console.log("> @numerique-gouv/moncomptepro install");
48+
const { stdout } = await $`npm i`.cwd(
49+
"node_modules/@numerique-gouv/moncomptepro",
50+
);
51+
console.log(stdout.toString());
52+
}
53+
{
54+
console.log("> @numerique-gouv/moncomptepro build");
55+
const { stdout } = await $`npm exec tsc`.cwd(
56+
"node_modules/@numerique-gouv/moncomptepro",
57+
);
58+
console.log(stdout.toString());
59+
}
60+
4461
export {};

packages/~/infra/moncomptepro/lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
},
1717
"dependencies": {
18-
"@numerique-gouv/moncomptepro": "numerique-gouv/moncomptepro#f26af544c636f071bf6efc4343bfe4f9e98fddb5",
18+
"@numerique-gouv/moncomptepro": "numerique-gouv/moncomptepro#be03264c4ee54cb005ef838f32b1c566ef185852",
1919
"@~/app.core": "workspace:*",
2020
"consola": "3.2.3",
2121
"zod": "3.23.8"

0 commit comments

Comments
 (0)