From a241788e753c541b8a8ef59c40948428dd7bc0b5 Mon Sep 17 00:00:00 2001 From: Quentin Goinaud Date: Tue, 1 Oct 2024 08:33:30 +0200 Subject: [PATCH] update branding --- .changeset/big-taxis-lie.md | 2 +- .changeset/config.json | 2 +- .changeset/nervous-fireants-end.md | 2 +- .changeset/serious-rice-act.md | 2 +- CHANGELOG.md | 2 +- README.md | 14 +++++++++++++- TODO | 2 +- assets/electron/template/app/forge.config.cjs | 4 ++-- assets/electron/template/app/package.json | 2 +- .../app/{cyn-plugin.cjs => pipelab-plugin.cjs} | 2 +- assets/electron/template/app/pnpm-lock.yaml | 6 +++--- .../template/app/src/handlers/dialog/folder.js | 4 ++-- .../template/app/src/handlers/dialog/open.js | 4 ++-- .../template/app/src/handlers/dialog/save.js | 4 ++-- .../template/app/src/handlers/fs/folder-create.js | 4 ++-- .../electron/template/app/src/handlers/fs/read.js | 4 ++-- .../electron/template/app/src/handlers/fs/write.js | 4 ++-- .../template/app/src/handlers/general/engine.js | 4 ++-- .../app/src/handlers/general/open-in-explorer.js | 4 ++-- .../template/app/src/handlers/general/open.js | 4 ++-- .../template/app/src/handlers/general/run.js | 4 ++-- .../template/app/src/handlers/user/folder.js | 4 ++-- .../template/app/src/handlers/window/maximize.js | 4 ++-- .../template/app/src/handlers/window/minimize.js | 4 ++-- .../app/src/handlers/window/request-attention.js | 4 ++-- .../template/app/src/handlers/window/restore.js | 4 ++-- .../app/src/handlers/window/set-always-on-top.js | 4 ++-- .../template/app/src/handlers/window/set-height.js | 4 ++-- .../app/src/handlers/window/set-maximum-size.js | 4 ++-- .../app/src/handlers/window/set-minimum-size.js | 4 ++-- .../app/src/handlers/window/set-resizable.js | 4 ++-- .../template/app/src/handlers/window/set-title.js | 4 ++-- .../template/app/src/handlers/window/set-width.js | 4 ++-- .../template/app/src/handlers/window/set-x.js | 4 ++-- .../template/app/src/handlers/window/set-y.js | 4 ++-- .../app/src/handlers/window/show-dev-tools.js | 4 ++-- .../template/app/src/handlers/window/unmaximize.js | 4 ++-- assets/electron/template/app/src/index.js | 2 +- forge.config.ts | 2 +- index.html | 2 +- package.json | 6 +++--- pnpm-lock.yaml | 6 +++--- src/constants.ts | 2 +- src/main.ts | 6 +++--- src/main/presets/test-c3-unzip.ts | 2 +- src/renderer/App.vue | 2 +- src/renderer/components/AddNodeButton.model.ts | 14 +++++++------- src/renderer/components/AddNodeButton.vue | 4 ++-- src/renderer/components/AddTriggerButton.vue | 4 ++-- src/renderer/components/ScenarioListItem.vue | 2 +- src/renderer/components/ScenarioListItemRecent.vue | 2 +- src/renderer/components/nodes/EditorNodeAction.vue | 2 +- .../components/nodes/EditorNodeCondition.vue | 2 +- src/renderer/components/nodes/EditorNodeEvent.vue | 2 +- src/renderer/components/nodes/EditorNodeLoop.vue | 2 +- src/renderer/components/nodes/ParamEditor.vue | 2 +- src/renderer/components/nodes/PluginIcon.vue | 2 +- src/renderer/main.ts | 4 ++-- src/renderer/models/controls.ts | 2 +- src/renderer/pages/editor.vue | 2 +- src/renderer/pages/index.vue | 4 ++-- src/renderer/store/app.ts | 2 +- src/renderer/store/editor.ts | 12 ++++++------ src/renderer/utils/evaluator.ts | 2 +- src/shared/apis.ts | 2 +- src/shared/libs/plugin-construct/export-c3p.ts | 2 +- src/shared/libs/plugin-construct/export-project.ts | 2 +- src/shared/libs/plugin-construct/export-shared.ts | 2 +- src/shared/libs/plugin-construct/index.ts | 2 +- src/shared/libs/plugin-core/index.ts | 2 +- src/shared/libs/plugin-core/{cyn.ts => pipelab.ts} | 12 ++++++------ src/shared/libs/plugin-electron/configure.ts | 10 +++++----- src/shared/libs/plugin-electron/configureV2.ts | 2 +- src/shared/libs/plugin-electron/forge.ts | 8 ++++---- src/shared/libs/plugin-electron/index.ts | 2 +- src/shared/libs/plugin-electron/make.ts | 2 +- src/shared/libs/plugin-electron/package.ts | 2 +- src/shared/libs/plugin-filesystem/copy.ts | 2 +- src/shared/libs/plugin-filesystem/index.ts | 2 +- src/shared/libs/plugin-filesystem/is-file.ts | 2 +- src/shared/libs/plugin-filesystem/list-files.ts | 2 +- src/shared/libs/plugin-filesystem/open.ts | 2 +- src/shared/libs/plugin-filesystem/run.ts | 2 +- .../libs/plugin-filesystem/temporary-folder.ts | 2 +- src/shared/libs/plugin-filesystem/unzip.ts | 2 +- src/shared/libs/plugin-filesystem/zip.ts | 2 +- src/shared/libs/plugin-itch/export.ts | 2 +- src/shared/libs/plugin-minify/index.ts | 2 +- src/shared/libs/plugin-steam/index.ts | 2 +- src/shared/libs/plugin-steam/upload-to-steam.ts | 2 +- src/shared/libs/plugin-system/alert.ts | 2 +- src/shared/libs/plugin-system/branch.ts | 2 +- src/shared/libs/plugin-system/for.ts | 2 +- src/shared/libs/plugin-system/index.ts | 2 +- src/shared/libs/plugin-system/join.ts | 2 +- src/shared/libs/plugin-system/log.ts | 2 +- src/shared/libs/plugin-system/manual.ts | 2 +- src/shared/libs/plugin-system/sleep.ts | 2 +- src/shared/model.ts | 2 +- src/shared/save-location.ts | 7 +++---- src/shared/validation.ts | 2 +- tests/e2e/tests/basic.spec.ts | 6 +++--- tsconfig.json | 2 +- 103 files changed, 181 insertions(+), 170 deletions(-) rename assets/electron/template/app/{cyn-plugin.cjs => pipelab-plugin.cjs} (95%) rename src/shared/libs/plugin-core/{cyn.ts => pipelab.ts} (98%) diff --git a/.changeset/big-taxis-lie.md b/.changeset/big-taxis-lie.md index 7a6259c..36660e6 100644 --- a/.changeset/big-taxis-lie.md +++ b/.changeset/big-taxis-lie.md @@ -1,5 +1,5 @@ --- -'@cyn/app': patch +'@pipelab/app': patch --- feat(plugin-construct): add throttle zip log diff --git a/.changeset/config.json b/.changeset/config.json index 485bc8f..11fb2a9 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,7 @@ "$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json", "_changelog": [ "@changesets/changelog-github", - { "repo": "CynToolkit/cyn" } + { "repo": "CynToolkit/pipelab" } ], "privatePackages": { "tag": true, diff --git a/.changeset/nervous-fireants-end.md b/.changeset/nervous-fireants-end.md index a4c45e3..41e490a 100644 --- a/.changeset/nervous-fireants-end.md +++ b/.changeset/nervous-fireants-end.md @@ -1,5 +1,5 @@ --- -'@cyn/app': patch +'@pipelab/app': patch --- fix(app): fix adding node wrong offset diff --git a/.changeset/serious-rice-act.md b/.changeset/serious-rice-act.md index ea111e9..eac5dd3 100644 --- a/.changeset/serious-rice-act.md +++ b/.changeset/serious-rice-act.md @@ -1,5 +1,5 @@ --- -'@cyn/app': patch +'@pipelab/app': patch --- add live logs hooks support diff --git a/CHANGELOG.md b/CHANGELOG.md index 42df83a..463e33c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# @cyn/app +# @pipelab/app ## 1.1.26 diff --git a/README.md b/README.md index f6282cb..db3986e 100644 --- a/README.md +++ b/README.md @@ -1 +1,13 @@ -# CynMonorepo \ No newline at end of file +# Pipelab + +## What is Pipelab? + +A visual tool to create task automation workflows. + +## Why use Pipelab? + +- Create cross-platform desktop applications +- Deploy to popular platforms (Steam, Itch.io, etc.) +- Automate repetitive tasks + +# Getting Started \ No newline at end of file diff --git a/TODO b/TODO index 160765a..6d6a1dd 100644 --- a/TODO +++ b/TODO @@ -2,7 +2,7 @@ ☐ To cross compile tauri or electron, I don't want a backend or my own CI ☐ The idea is to have confgurations store online on your account ☐ On Github Actions or any other CI service, have an action that is - ☐ cyn/setup and cyn/run that install all dependencies and that run a config + ☐ pipelab/setup and pipelab/run that install all dependencies and that run a config ☐ Infos are from the variables: account, pipeline & api key ☐ It will run the pipeline as if it was your computer diff --git a/assets/electron/template/app/forge.config.cjs b/assets/electron/template/app/forge.config.cjs index a23026b..c3de7c4 100644 --- a/assets/electron/template/app/forge.config.cjs +++ b/assets/electron/template/app/forge.config.cjs @@ -1,7 +1,7 @@ const { FusesPlugin } = require('@electron-forge/plugin-fuses') const { FuseV1Options, FuseVersion } = require('@electron/fuses') -const CynPlugin = require('./cyn-plugin') +const PipelabPlugin = require('./pipelab-plugin') /** * @type {import('@electron-forge/shared-types').ForgeConfig} @@ -50,6 +50,6 @@ module.exports = { [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true, [FuseV1Options.OnlyLoadAppFromAsar]: true }), - new CynPlugin() + new PipelabPlugin() ] } diff --git a/assets/electron/template/app/package.json b/assets/electron/template/app/package.json index d827d49..e751382 100644 --- a/assets/electron/template/app/package.json +++ b/assets/electron/template/app/package.json @@ -13,7 +13,7 @@ "lint": "echo \"No linting configured\"" }, "devDependencies": { - "@cyn/core": "1.0.0", + "@pipelab/core": "1.0.0", "@electron-forge/cli": "7.4.0", "@electron-forge/maker-deb": "7.4.0", "@electron-forge/maker-dmg": "^7.4.0", diff --git a/assets/electron/template/app/cyn-plugin.cjs b/assets/electron/template/app/pipelab-plugin.cjs similarity index 95% rename from assets/electron/template/app/cyn-plugin.cjs rename to assets/electron/template/app/pipelab-plugin.cjs index 3c0d79f..519984c 100644 --- a/assets/electron/template/app/cyn-plugin.cjs +++ b/assets/electron/template/app/pipelab-plugin.cjs @@ -1,6 +1,6 @@ const { PluginBase } = require('@electron-forge/plugin-base') -module.exports = class CynPlugin extends PluginBase { +module.exports = class PipelabPlugin extends PluginBase { getHooks() { return { prePackage: [this.prePackage], diff --git a/assets/electron/template/app/pnpm-lock.yaml b/assets/electron/template/app/pnpm-lock.yaml index c913487..76bc3e0 100644 --- a/assets/electron/template/app/pnpm-lock.yaml +++ b/assets/electron/template/app/pnpm-lock.yaml @@ -30,7 +30,7 @@ importers: specifier: ^8.18.0 version: 8.18.0 devDependencies: - '@cyn/core': + '@pipelab/core': specifier: 1.0.0 version: 1.0.0 '@electron-forge/cli': @@ -66,7 +66,7 @@ importers: packages: - '@cyn/core@1.0.0': + '@pipelab/core@1.0.0': resolution: {integrity: sha512-Wz2H30RbT8m72mnorziMOH+E58vgZkO22+zl61bvlXWFdplO3Tzw1DZmyGsmP1/C4JQ8NoR4W6QTOZ/lrGDrGg==} '@electron-forge/cli@7.4.0': @@ -1875,7 +1875,7 @@ packages: snapshots: - '@cyn/core@1.0.0': {} + '@pipelab/core@1.0.0': {} '@electron-forge/cli@7.4.0(encoding@0.1.13)': dependencies: diff --git a/assets/electron/template/app/src/handlers/dialog/folder.js b/assets/electron/template/app/src/handlers/dialog/folder.js index f65370a..9c9df2b 100644 --- a/assets/electron/template/app/src/handlers/dialog/folder.js +++ b/assets/electron/template/app/src/handlers/dialog/folder.js @@ -1,7 +1,7 @@ import { dialog } from 'electron' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -11,7 +11,7 @@ export default async (json, ws, mainWindow) => { }) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const dialogOpenResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/dialog/open.js b/assets/electron/template/app/src/handlers/dialog/open.js index 83ac285..7a043d0 100644 --- a/assets/electron/template/app/src/handlers/dialog/open.js +++ b/assets/electron/template/app/src/handlers/dialog/open.js @@ -1,7 +1,7 @@ import { dialog } from 'electron' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -11,7 +11,7 @@ export default async (json, ws, mainWindow) => { }) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const dialogOpenResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/dialog/save.js b/assets/electron/template/app/src/handlers/dialog/save.js index e2a0f1b..69f6f9b 100644 --- a/assets/electron/template/app/src/handlers/dialog/save.js +++ b/assets/electron/template/app/src/handlers/dialog/save.js @@ -1,7 +1,7 @@ import { dialog } from 'electron' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -11,7 +11,7 @@ export default async (json, ws, mainWindow) => { }) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const dialogOpenResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/fs/folder-create.js b/assets/electron/template/app/src/handlers/fs/folder-create.js index 5a45760..da1a613 100644 --- a/assets/electron/template/app/src/handlers/fs/folder-create.js +++ b/assets/electron/template/app/src/handlers/fs/folder-create.js @@ -3,7 +3,7 @@ import { mkdir } from 'node:fs/promises' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -13,7 +13,7 @@ export default async (json, ws, mainWindow) => { }) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const folderCreateResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/fs/read.js b/assets/electron/template/app/src/handlers/fs/read.js index 092a221..fb5869a 100644 --- a/assets/electron/template/app/src/handlers/fs/read.js +++ b/assets/electron/template/app/src/handlers/fs/read.js @@ -3,7 +3,7 @@ import { readFile } from 'node:fs/promises' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -13,7 +13,7 @@ export default async (json, ws, mainWindow) => { }) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const readFileResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/fs/write.js b/assets/electron/template/app/src/handlers/fs/write.js index 304b9f6..34590cb 100644 --- a/assets/electron/template/app/src/handlers/fs/write.js +++ b/assets/electron/template/app/src/handlers/fs/write.js @@ -3,7 +3,7 @@ import { writeFile } from 'node:fs/promises' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -13,7 +13,7 @@ export default async (json, ws, mainWindow) => { }) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const writeFileResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/general/engine.js b/assets/electron/template/app/src/handlers/general/engine.js index 0fd9990..bb14777 100644 --- a/assets/electron/template/app/src/handlers/general/engine.js +++ b/assets/electron/template/app/src/handlers/general/engine.js @@ -1,11 +1,11 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ export default async (json, ws, mainWindow) => { /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const engineResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/general/open-in-explorer.js b/assets/electron/template/app/src/handlers/general/open-in-explorer.js index a900c92..0579a91 100644 --- a/assets/electron/template/app/src/handlers/general/open-in-explorer.js +++ b/assets/electron/template/app/src/handlers/general/open-in-explorer.js @@ -1,7 +1,7 @@ import { shell } from 'electron' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -9,7 +9,7 @@ export default async (json, ws, mainWindow) => { await shell.showItemInFolder(json.body.path) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const runResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/general/open.js b/assets/electron/template/app/src/handlers/general/open.js index 97d265c..b5224f5 100644 --- a/assets/electron/template/app/src/handlers/general/open.js +++ b/assets/electron/template/app/src/handlers/general/open.js @@ -1,7 +1,7 @@ import { shell } from 'electron' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -9,7 +9,7 @@ export default async (json, ws, mainWindow) => { await shell.openPath(json.body.path) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const runResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/general/run.js b/assets/electron/template/app/src/handlers/general/run.js index ddcbd20..14412de 100644 --- a/assets/electron/template/app/src/handlers/general/run.js +++ b/assets/electron/template/app/src/handlers/general/run.js @@ -1,7 +1,7 @@ import { execa } from 'execa'; /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -13,7 +13,7 @@ export default async (json, ws, mainWindow) => { const { stderr, stdout } = await exec(json.body.command, json.body.args) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const execResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/user/folder.js b/assets/electron/template/app/src/handlers/user/folder.js index ccb1f07..699d1e8 100644 --- a/assets/electron/template/app/src/handlers/user/folder.js +++ b/assets/electron/template/app/src/handlers/user/folder.js @@ -1,14 +1,14 @@ import { app } from 'electron' /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ export default (json, ws, mainWindow) => { const userFolder = app.getPath(json.body.name); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const userFolderResult = { url: json.url, diff --git a/assets/electron/template/app/src/handlers/window/maximize.js b/assets/electron/template/app/src/handlers/window/maximize.js index b643d26..952b1f0 100644 --- a/assets/electron/template/app/src/handlers/window/maximize.js +++ b/assets/electron/template/app/src/handlers/window/maximize.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.maximize(); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const maximizeResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/minimize.js b/assets/electron/template/app/src/handlers/window/minimize.js index 570de7d..eb81e66 100644 --- a/assets/electron/template/app/src/handlers/window/minimize.js +++ b/assets/electron/template/app/src/handlers/window/minimize.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.minimize(); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const minimizeResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/request-attention.js b/assets/electron/template/app/src/handlers/window/request-attention.js index e595e68..0f5699f 100644 --- a/assets/electron/template/app/src/handlers/window/request-attention.js +++ b/assets/electron/template/app/src/handlers/window/request-attention.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.flashFrame(true); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const requestAttentionResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/restore.js b/assets/electron/template/app/src/handlers/window/restore.js index e8665cc..ed3f58b 100644 --- a/assets/electron/template/app/src/handlers/window/restore.js +++ b/assets/electron/template/app/src/handlers/window/restore.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.restore(); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const restoreResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-always-on-top.js b/assets/electron/template/app/src/handlers/window/set-always-on-top.js index efea5e0..c1d77a8 100644 --- a/assets/electron/template/app/src/handlers/window/set-always-on-top.js +++ b/assets/electron/template/app/src/handlers/window/set-always-on-top.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setAlwaysOnTop(true); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setAlwaysOnTopResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-height.js b/assets/electron/template/app/src/handlers/window/set-height.js index 5ffbc20..1e14600 100644 --- a/assets/electron/template/app/src/handlers/window/set-height.js +++ b/assets/electron/template/app/src/handlers/window/set-height.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -8,7 +8,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setSize(width, json.body.value); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setHeightResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-maximum-size.js b/assets/electron/template/app/src/handlers/window/set-maximum-size.js index a89fb80..ca47128 100644 --- a/assets/electron/template/app/src/handlers/window/set-maximum-size.js +++ b/assets/electron/template/app/src/handlers/window/set-maximum-size.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setMaximumSize(json.body.width, json.body.height) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setMaximumSizeResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-minimum-size.js b/assets/electron/template/app/src/handlers/window/set-minimum-size.js index e937a3c..d4adc4f 100644 --- a/assets/electron/template/app/src/handlers/window/set-minimum-size.js +++ b/assets/electron/template/app/src/handlers/window/set-minimum-size.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setMinimumSize(json.body.width, json.body.height) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setMinimumSizeResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-resizable.js b/assets/electron/template/app/src/handlers/window/set-resizable.js index 1b138ef..32e7cad 100644 --- a/assets/electron/template/app/src/handlers/window/set-resizable.js +++ b/assets/electron/template/app/src/handlers/window/set-resizable.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setResizable(true) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setResizableResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-title.js b/assets/electron/template/app/src/handlers/window/set-title.js index 4185b13..cde9026 100644 --- a/assets/electron/template/app/src/handlers/window/set-title.js +++ b/assets/electron/template/app/src/handlers/window/set-title.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setTitle(json.body.value) /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setTitleResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-width.js b/assets/electron/template/app/src/handlers/window/set-width.js index 7123a34..71c4fe6 100644 --- a/assets/electron/template/app/src/handlers/window/set-width.js +++ b/assets/electron/template/app/src/handlers/window/set-width.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -8,7 +8,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setSize(json.body.value, height); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setWidthResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-x.js b/assets/electron/template/app/src/handlers/window/set-x.js index 1efbe1f..5a6c6cc 100644 --- a/assets/electron/template/app/src/handlers/window/set-x.js +++ b/assets/electron/template/app/src/handlers/window/set-x.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -8,7 +8,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setPosition(json.body.value, y); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setXResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/set-y.js b/assets/electron/template/app/src/handlers/window/set-y.js index 7251bae..ace05e3 100644 --- a/assets/electron/template/app/src/handlers/window/set-y.js +++ b/assets/electron/template/app/src/handlers/window/set-y.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -8,7 +8,7 @@ export default async (json, ws, mainWindow) => { mainWindow.setPosition(x, json.body.value); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const setYResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/show-dev-tools.js b/assets/electron/template/app/src/handlers/window/show-dev-tools.js index a388d0c..7d0fd15 100644 --- a/assets/electron/template/app/src/handlers/window/show-dev-tools.js +++ b/assets/electron/template/app/src/handlers/window/show-dev-tools.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.webContents.openDevTools() /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const showDevtoolsResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/handlers/window/unmaximize.js b/assets/electron/template/app/src/handlers/window/unmaximize.js index f24a57f..84a6093 100644 --- a/assets/electron/template/app/src/handlers/window/unmaximize.js +++ b/assets/electron/template/app/src/handlers/window/unmaximize.js @@ -1,5 +1,5 @@ /** - * @param {import('@cyn/core').MakeInputOutput} json + * @param {import('@pipelab/core').MakeInputOutput} json * @param {import('ws').WebSocket} ws * @param {import('electron').BrowserWindow} mainWindow */ @@ -7,7 +7,7 @@ export default async (json, ws, mainWindow) => { mainWindow.unmaximize(); /** - * @type {import('@cyn/core').MakeInputOutput} + * @type {import('@pipelab/core').MakeInputOutput} */ const unmaximizeResult = { correlationId: json.correlationId, diff --git a/assets/electron/template/app/src/index.js b/assets/electron/template/app/src/index.js index dd1168c..a2a683b 100644 --- a/assets/electron/template/app/src/index.js +++ b/assets/electron/template/app/src/index.js @@ -80,7 +80,7 @@ const createAppServer = (mainWindow) => { ws.on('error', console.error); ws.on('message', async (data) => { - /** @type {import('@cyn/core').Message} */ + /** @type {import('@pipelab/core').Message} */ const json = JSON.parse(data.toString()); console.log('received:', json); diff --git a/forge.config.ts b/forge.config.ts index 02493e5..6492043 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -30,7 +30,7 @@ const config: ForgeConfig = { config: { repository: { owner: 'CynToolkit', - name: 'cyn' + name: 'pipelab' }, prerelease: true, draft: true, diff --git a/index.html b/index.html index 373cfc1..3c5df20 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - Cyn + Pipelab =12'} - '@cyn/core@1.2.1': + '@pipelab/core@1.2.1': resolution: {integrity: sha512-aPBVDPYhrodvN8A8PG5nStGoBzhZl/hcvhFZM3cBPnRqkIvixCWFLF5Q4Ypxw78jmix6G/KQbz8oP/KBWbHkwA==} '@electron-forge/cli@7.4.0': @@ -7237,7 +7237,7 @@ snapshots: dependencies: '@jridgewell/trace-mapping': 0.3.9 - '@cyn/core@1.2.1': {} + '@pipelab/core@1.2.1': {} '@electron-forge/cli@7.4.0(encoding@0.1.13)': dependencies: diff --git a/src/constants.ts b/src/constants.ts index 35a577f..d10d714 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,4 +1,4 @@ -export const name = 'Cyn' +export const name = 'Pipelab' export const outFolderName = (binName: string, platform: NodeJS.Platform, arch: NodeJS.Architecture) => { let platformName = '' diff --git a/src/main.ts b/src/main.ts index 7804f1b..7a1f077 100644 --- a/src/main.ts +++ b/src/main.ts @@ -103,7 +103,7 @@ const { registerBuiltIn } = usePlugins() // Some APIs can only be used after this event occurs. app.whenReady().then(async () => { autoUpdater.setFeedURL({ - url: 'https://github.com/CynToolkit/cyn/releases/latest/download', + url: 'https://github.com/CynToolkit/pipelab/releases/latest/download', headers: { 'Cache-Control': 'no-cache' } @@ -148,7 +148,7 @@ app.whenReady().then(async () => { logger().info('autoUpdater.getFeedURL()', autoUpdater.getFeedURL()) // Set app user model id for windows - electronApp.setAppUserModelId('com.cyn') + electronApp.setAppUserModelId('com.pipelab') // Default open or close DevTools by F12 in development // and ignore CommandOrControl + R in production. @@ -202,7 +202,7 @@ exec "${process.execPath}" "$@" const config = { options: { - /** project: path to file .cyn */ + /** project: path to file .pipelab */ project: { type: 'string', short: 'p' diff --git a/src/main/presets/test-c3-unzip.ts b/src/main/presets/test-c3-unzip.ts index 1ebe152..101b449 100644 --- a/src/main/presets/test-c3-unzip.ts +++ b/src/main/presets/test-c3-unzip.ts @@ -1,5 +1,5 @@ import { PresetFn, SavedFile } from '@@/model' -import { ExportParams } from '@cyn/plugin-construct' +import { ExportParams } from '@pipelab/plugin-construct' export const testC3Unzip: PresetFn = async () => { const exportConstructProjectId = 'export-construct-project' diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 58f189d..db4a2cd 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -14,7 +14,7 @@ -->