@pipelab/constants 1.0.1-beta.20 → 1.0.1-beta.22
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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ declare const outFolderName: (binName: string, platform: string, arch: string) =
|
|
|
11
11
|
declare const getBinName: (name: string, platform?: string) => string;
|
|
12
12
|
declare const websocketPort = 33753;
|
|
13
13
|
declare const uiDevPort = 5173;
|
|
14
|
-
declare const uiDevServerInstruction = "pnpm
|
|
14
|
+
declare const uiDevServerInstruction = "pnpm dev --filter=@pipelab/ui";
|
|
15
15
|
declare const getUiDevServerFatalError: (port: number) => string;
|
|
16
16
|
declare const getUiDevServerMissingWarning: () => string;
|
|
17
17
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -30,7 +30,7 @@ const getBinName = (name, platform) => {
|
|
|
30
30
|
};
|
|
31
31
|
const websocketPort = 33753;
|
|
32
32
|
const uiDevPort = 5173;
|
|
33
|
-
const uiDevServerInstruction = "pnpm
|
|
33
|
+
const uiDevServerInstruction = "pnpm dev --filter=@pipelab/ui";
|
|
34
34
|
const getUiDevServerFatalError = (port) => `
|
|
35
35
|
--------------------------------------------------------------------------------
|
|
36
36
|
[FATAL ERROR] UI dev server is NOT running on port ${port}
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["export const name = \"Pipelab\";\nexport const appIdentifier = \"pipelab\";\n\nexport const outFolderName = (binName: string, platform: string, arch: string) => {\n let platformName = \"\";\n let archName = \"\";\n\n console.log(\"platform\", platform);\n\n if (platform === \"linux\") {\n platformName = \"linux\";\n } else if (platform === \"win32\") {\n platformName = \"win32\";\n } else if (platform === \"darwin\") {\n platformName = \"darwin\";\n } else {\n throw new Error(\"Unsupported platform\");\n }\n\n if (arch === \"x64\") {\n archName = \"x64\";\n } else if (arch === \"arm\") {\n archName = \"arm\";\n } else if (arch === \"arm64\") {\n archName = \"arm64\";\n } else if (arch === \"ia32\") {\n archName = \"ia32\";\n } else {\n throw new Error(\"Unsupported architecture\");\n }\n\n return `${binName}-${platformName}-${archName}`;\n};\n\n/**\n * Get the binary name for a given platform\n * @param name\n * @param platform If not provided, it will try to use process.platform (Node.js only)\n * @returns\n */\nexport const getBinName = (name: string, platform?: string) => {\n const p = platform || (typeof process !== \"undefined\" ? process.platform : \"unknown\");\n if (p === \"win32\") {\n return `${name}.exe`;\n }\n if (p === \"darwin\") {\n return `${name}.app/Contents/MacOS/${name}`;\n }\n return name;\n};\n\nexport const websocketPort = 33753;\nexport const uiDevPort = 5173;\n\nexport const uiDevServerInstruction = \"pnpm
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["export const name = \"Pipelab\";\nexport const appIdentifier = \"pipelab\";\n\nexport const outFolderName = (binName: string, platform: string, arch: string) => {\n let platformName = \"\";\n let archName = \"\";\n\n console.log(\"platform\", platform);\n\n if (platform === \"linux\") {\n platformName = \"linux\";\n } else if (platform === \"win32\") {\n platformName = \"win32\";\n } else if (platform === \"darwin\") {\n platformName = \"darwin\";\n } else {\n throw new Error(\"Unsupported platform\");\n }\n\n if (arch === \"x64\") {\n archName = \"x64\";\n } else if (arch === \"arm\") {\n archName = \"arm\";\n } else if (arch === \"arm64\") {\n archName = \"arm64\";\n } else if (arch === \"ia32\") {\n archName = \"ia32\";\n } else {\n throw new Error(\"Unsupported architecture\");\n }\n\n return `${binName}-${platformName}-${archName}`;\n};\n\n/**\n * Get the binary name for a given platform\n * @param name\n * @param platform If not provided, it will try to use process.platform (Node.js only)\n * @returns\n */\nexport const getBinName = (name: string, platform?: string) => {\n const p = platform || (typeof process !== \"undefined\" ? process.platform : \"unknown\");\n if (p === \"win32\") {\n return `${name}.exe`;\n }\n if (p === \"darwin\") {\n return `${name}.app/Contents/MacOS/${name}`;\n }\n return name;\n};\n\nexport const websocketPort = 33753;\nexport const uiDevPort = 5173;\n\nexport const uiDevServerInstruction = \"pnpm dev --filter=@pipelab/ui\";\n\nexport const getUiDevServerFatalError = (port: number) => `\n--------------------------------------------------------------------------------\n [FATAL ERROR] UI dev server is NOT running on port ${port}\n Please start it manually before running the desktop app:\n '${uiDevServerInstruction}'\n--------------------------------------------------------------------------------`;\n\nexport const getUiDevServerMissingWarning = () => `\n--------------------------------------------------------------------------------\n [DEVELOPMENT MODE] CLI server started (API/WebSocket).\n NOTE: The UI is NOT served from this process in development.\n Please ensure the UI dev server is running:\n '${uiDevServerInstruction}'\n--------------------------------------------------------------------------------`;\n"],"mappings":";AAAA,MAAa,OAAO;AACpB,MAAa,gBAAgB;AAE7B,MAAa,iBAAiB,SAAiB,UAAkB,SAAiB;CAChF,IAAI,eAAe;CACnB,IAAI,WAAW;AAEf,SAAQ,IAAI,YAAY,SAAS;AAEjC,KAAI,aAAa,QACf,gBAAe;UACN,aAAa,QACtB,gBAAe;UACN,aAAa,SACtB,gBAAe;KAEf,OAAM,IAAI,MAAM,uBAAuB;AAGzC,KAAI,SAAS,MACX,YAAW;UACF,SAAS,MAClB,YAAW;UACF,SAAS,QAClB,YAAW;UACF,SAAS,OAClB,YAAW;KAEX,OAAM,IAAI,MAAM,2BAA2B;AAG7C,QAAO,GAAG,QAAQ,GAAG,aAAa,GAAG;;;;;;;;AASvC,MAAa,cAAc,MAAc,aAAsB;CAC7D,MAAM,IAAI,aAAa,OAAO,YAAY,cAAc,QAAQ,WAAW;AAC3E,KAAI,MAAM,QACR,QAAO,GAAG,KAAK;AAEjB,KAAI,MAAM,SACR,QAAO,GAAG,KAAK,sBAAsB;AAEvC,QAAO;;AAGT,MAAa,gBAAgB;AAC7B,MAAa,YAAY;AAEzB,MAAa,yBAAyB;AAEtC,MAAa,4BAA4B,SAAiB;;uDAEH,KAAK;;OAErD,uBAAuB;;AAG9B,MAAa,qCAAqC;;;;;OAK3C,uBAAuB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipelab/constants",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared constants for the Pipelab ecosystem",
|
|
6
6
|
"license": "FSL-1.1-MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"tsdown": "0.21.2",
|
|
33
33
|
"typescript": "^5.0.0",
|
|
34
|
-
"@pipelab/tsconfig": "1.0.1-beta.
|
|
34
|
+
"@pipelab/tsconfig": "1.0.1-beta.22"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsdown",
|
package/src/index.ts
CHANGED
|
@@ -52,7 +52,7 @@ export const getBinName = (name: string, platform?: string) => {
|
|
|
52
52
|
export const websocketPort = 33753;
|
|
53
53
|
export const uiDevPort = 5173;
|
|
54
54
|
|
|
55
|
-
export const uiDevServerInstruction = "pnpm
|
|
55
|
+
export const uiDevServerInstruction = "pnpm dev --filter=@pipelab/ui";
|
|
56
56
|
|
|
57
57
|
export const getUiDevServerFatalError = (port: number) => `
|
|
58
58
|
--------------------------------------------------------------------------------
|