Skip to content

Commit 4ff54ea

Browse files
committed
-
1 parent 90047ec commit 4ff54ea

89 files changed

Lines changed: 741 additions & 147 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/ninety-squids-post.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
"@pipelab/plugin-filesystem": patch
3+
"@pipelab/plugin-construct": patch
4+
"@pipelab/plugin-electron": patch
5+
"@pipelab/plugin-discord": patch
6+
"@pipelab/plugin-netlify": patch
7+
"@pipelab/plugin-nvpatch": patch
8+
"mini-c3-electron": patch
9+
"@pipelab/asset-electron": patch
10+
"@pipelab/plugin-minify": patch
11+
"@pipelab/plugin-system": patch
12+
"@pipelab/asset-discord": patch
13+
"@pipelab/asset-netlify": patch
14+
"@pipelab/cloud-azure": patch
15+
"@pipelab/plugin-steam": patch
16+
"@pipelab/plugin-tauri": patch
17+
"@pipelab/test-utils": patch
18+
"@pipelab/plugin-core": patch
19+
"@pipelab/plugin-itch": patch
20+
"@pipelab/plugin-poki": patch
21+
"@pipelab/asset-tauri": patch
22+
"@pipelab/constants": patch
23+
"@pipelab/core-node": patch
24+
"@pipelab/migration": patch
25+
"@pipelab/tsconfig": patch
26+
"@pipelab/shared": patch
27+
"@pipelab/cloud": patch
28+
"@pipelab/app": patch
29+
"@pipelab/cli": patch
30+
"@pipelab/ui": patch
31+
---
32+
33+
df

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"hot-turkeys-cough",
4545
"kind-dryers-cheer",
4646
"modern-roses-stick",
47+
"ninety-squids-post",
4748
"real-suns-run",
4849
"ripe-trams-hug",
4950
"silver-eels-cough",

apps/cli/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @pipelab/cli
22

3+
## 2.0.0-beta.20
4+
5+
### Patch Changes
6+
7+
- df
8+
- Updated dependencies
9+
- @pipelab/constants@1.0.0-beta.18
10+
- @pipelab/core-node@1.0.0-beta.20
11+
- @pipelab/shared@1.0.0-beta.16
12+
313
## 2.0.0-beta.19
414

515
### Patch Changes

apps/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipelab/cli",
3-
"version": "2.0.0-beta.19",
3+
"version": "2.0.0-beta.20",
44
"private": true,
55
"description": "The command line interface for Pipelab",
66
"license": "FSL-1.1-MIT",

apps/cli/src/index.ts

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,21 @@ import { getDefaultUserDataPath } from "./paths";
3939

4040
// Resolve version from package.json with fallbacks for production
4141
let version = "0.0.0";
42-
try {
43-
const packageJsonPath = existsSync(join(__dirname, "package.json"))
44-
? join(__dirname, "package.json")
45-
: join(__dirname, "..", "package.json");
46-
47-
if (existsSync(packageJsonPath)) {
48-
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
49-
version = packageJson.version;
42+
if (isDev) {
43+
version = "workspace";
44+
} else {
45+
try {
46+
const packageJsonPath = existsSync(join(__dirname, "package.json"))
47+
? join(__dirname, "package.json")
48+
: join(__dirname, "..", "package.json");
49+
50+
if (existsSync(packageJsonPath)) {
51+
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8"));
52+
version = packageJson.version;
53+
}
54+
} catch (e) {
55+
console.warn("[CLI] Could not resolve version from package.json, using fallback.");
5056
}
51-
} catch (e) {
52-
console.warn("[CLI] Could not resolve version from package.json, using fallback.");
5357
}
5458

5559
const program = new Command();

apps/desktop/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @pipelab/app
22

3+
## 2.0.0-beta.17
4+
5+
### Patch Changes
6+
7+
- df
8+
39
## 2.0.0-beta.16
410

511
### Patch Changes

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipelab/app",
3-
"version": "2.0.0-beta.16",
3+
"version": "2.0.0-beta.17",
44
"private": true,
55
"description": "-",
66
"homepage": "https://pipelab.app",

apps/desktop/src/preload.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ declare global {
1212

1313
let version = "1.0.0";
1414
try {
15-
const versionArg = process.argv.find((arg) => arg.startsWith("--app-version="));
16-
version = versionArg ? versionArg.split("=")[1] : "1.0.0";
15+
if (process.env.NODE_ENV === "development") {
16+
version = "workspace";
17+
} else {
18+
const versionArg = process.argv.find((arg) => arg.startsWith("--app-version="));
19+
version = versionArg ? versionArg.split("=")[1] : "1.0.0";
20+
}
1721
} catch (error) {
1822
console.error("Failed to parse version in preload:", error);
1923
}

apps/mini-c3-electron/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# mini-c3-electron
22

3+
## 0.0.1-beta.8
4+
5+
### Patch Changes
6+
7+
- df
8+
39
## 0.0.1-beta.7
410

511
### Patch Changes

apps/mini-c3-electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mini-c3-electron",
33
"private": true,
4-
"version": "0.0.1-beta.7",
4+
"version": "0.0.1-beta.8",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)