Skip to content

Commit

Permalink
chore: monorepo packages name
Browse files Browse the repository at this point in the history
  • Loading branch information
Debbl committed Feb 4, 2025
1 parent 5d1084b commit ee5d448
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/main/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@starter-electron-app/main",
"name": "@repo/main",
"version": "0.0.0",
"private": "true",
"packageManager": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion apps/renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@starter-electron-app/renderer",
"name": "@repo/renderer",
"type": "module",
"version": "0.0.0",
"private": true,
Expand Down
12 changes: 4 additions & 8 deletions scripts/dev.mts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { ResultPromise } from "execa";
const CWD = process.cwd();

function buildMain() {
return execa("pnpm", ["--filter", "@starter-electron-app/main", "build"], {
return execa("pnpm", ["--filter", "@repo/main", "build"], {
stdio: "inherit",
});
}
Expand All @@ -29,13 +29,9 @@ function startMainProcess() {
}

function startRendererProcess() {
const child = execa(
"pnpm",
["--filter", "@starter-electron-app/renderer", "dev"],
{
stdio: "inherit",
},
);
const child = execa("pnpm", ["--filter", "@repo/renderer", "dev"], {
stdio: "inherit",
});
child.on("close", () => {
process.exit(0);
});
Expand Down

0 comments on commit ee5d448

Please sign in to comment.