Skip to content

Commit

Permalink
update branding
Browse files Browse the repository at this point in the history
  • Loading branch information
Armaldio committed Oct 1, 2024
1 parent 451abb2 commit a241788
Show file tree
Hide file tree
Showing 103 changed files with 181 additions and 170 deletions.
2 changes: 1 addition & 1 deletion .changeset/big-taxis-lie.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@cyn/app': patch
'@pipelab/app': patch
---

feat(plugin-construct): add throttle zip log
Expand Down
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"_changelog": [
"@changesets/changelog-github",
{ "repo": "CynToolkit/cyn" }
{ "repo": "CynToolkit/pipelab" }
],
"privatePackages": {
"tag": true,
Expand Down
2 changes: 1 addition & 1 deletion .changeset/nervous-fireants-end.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@cyn/app': patch
'@pipelab/app': patch
---

fix(app): fix adding node wrong offset
Expand Down
2 changes: 1 addition & 1 deletion .changeset/serious-rice-act.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@cyn/app': patch
'@pipelab/app': patch
---

add live logs hooks support
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @cyn/app
# @pipelab/app

## 1.1.26

Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# CynMonorepo
# 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
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/forge.config.cjs
Original file line number Diff line number Diff line change
@@ -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}
Expand Down Expand Up @@ -50,6 +50,6 @@ module.exports = {
[FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: true,
[FuseV1Options.OnlyLoadAppFromAsar]: true
}),
new CynPlugin()
new PipelabPlugin()
]
}
2 changes: 1 addition & 1 deletion assets/electron/template/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -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],
Expand Down
6 changes: 3 additions & 3 deletions assets/electron/template/app/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/dialog/folder.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { dialog } from 'electron'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageShowFolderDialog, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageShowFolderDialog, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
Expand All @@ -11,7 +11,7 @@ export default async (json, ws, mainWindow) => {
})

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageShowFolderDialog, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageShowFolderDialog, 'output'>}
*/
const dialogOpenResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/dialog/open.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { dialog } from 'electron'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageShowOpenDialog, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageShowOpenDialog, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
Expand All @@ -11,7 +11,7 @@ export default async (json, ws, mainWindow) => {
})

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageShowOpenDialog, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageShowOpenDialog, 'output'>}
*/
const dialogOpenResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/dialog/save.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { dialog } from 'electron'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageShowSaveDialog, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageShowSaveDialog, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
Expand All @@ -11,7 +11,7 @@ export default async (json, ws, mainWindow) => {
})

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageShowSaveDialog, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageShowSaveDialog, 'output'>}
*/
const dialogOpenResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/fs/folder-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { mkdir } from 'node:fs/promises'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageCreateFolder, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageCreateFolder, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
Expand All @@ -13,7 +13,7 @@ export default async (json, ws, mainWindow) => {
})

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageCreateFolder, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageCreateFolder, 'output'>}
*/
const folderCreateResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/fs/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { readFile } from 'node:fs/promises'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageReadFile, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageReadFile, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
Expand All @@ -13,7 +13,7 @@ export default async (json, ws, mainWindow) => {
})

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageReadFile, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageReadFile, 'output'>}
*/
const readFileResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/fs/write.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { writeFile } from 'node:fs/promises'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWriteFile, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWriteFile, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
Expand All @@ -13,7 +13,7 @@ export default async (json, ws, mainWindow) => {
})

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWriteFile, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWriteFile, 'output'>}
*/
const writeFileResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/general/engine.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageEngine, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageEngine, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageEngine, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageEngine, 'output'>}
*/
const engineResult = {
correlationId: json.correlationId,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { shell } from 'electron'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageExplorerOpen, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageExplorerOpen, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
await shell.showItemInFolder(json.body.path)

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageExplorerOpen, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageExplorerOpen, 'output'>}
*/
const runResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/general/open.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { shell } from 'electron'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageOpen, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageOpen, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
await shell.openPath(json.body.path)

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageOpen, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageOpen, 'output'>}
*/
const runResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/general/run.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { execa } from 'execa';

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageRun, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageRun, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
Expand All @@ -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<import('@cyn/core').MessageRun, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageRun, 'output'>}
*/
const execResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/user/folder.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { app } from 'electron'

/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessagePaths, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessagePaths, 'input'>} 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<import('@cyn/core').MessagePaths, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessagePaths, 'output'>}
*/
const userFolderResult = {
url: json.url,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/window/maximize.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWindowMaximize, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWindowMaximize, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
mainWindow.maximize();

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWindowMaximize, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWindowMaximize, 'output'>}
*/
const maximizeResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/window/minimize.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWindowMinimize, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWindowMinimize, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
mainWindow.minimize();

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWindowMinimize, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWindowMinimize, 'output'>}
*/
const minimizeResult = {
correlationId: json.correlationId,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageRequestAttention, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageRequestAttention, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
mainWindow.flashFrame(true);

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageRequestAttention, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageRequestAttention, 'output'>}
*/
const requestAttentionResult = {
correlationId: json.correlationId,
Expand Down
4 changes: 2 additions & 2 deletions assets/electron/template/app/src/handlers/window/restore.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWindowRestore, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWindowRestore, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
mainWindow.restore();

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageWindowRestore, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageWindowRestore, 'output'>}
*/
const restoreResult = {
correlationId: json.correlationId,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* @param {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageSetAlwaysOnTop, 'input'>} json
* @param {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageSetAlwaysOnTop, 'input'>} json
* @param {import('ws').WebSocket} ws
* @param {import('electron').BrowserWindow} mainWindow
*/
export default async (json, ws, mainWindow) => {
mainWindow.setAlwaysOnTop(true);

/**
* @type {import('@cyn/core').MakeInputOutput<import('@cyn/core').MessageSetAlwaysOnTop, 'output'>}
* @type {import('@pipelab/core').MakeInputOutput<import('@pipelab/core').MessageSetAlwaysOnTop, 'output'>}
*/
const setAlwaysOnTopResult = {
correlationId: json.correlationId,
Expand Down
Loading

0 comments on commit a241788

Please sign in to comment.