Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,17 @@ tmp
.zed
codebook.toml
target

# Devenv
.devenv*
devenv.local.nix
devenv.local.yaml

# direnv
.direnv

# pre-commit
.pre-commit-config.yaml

.envrc

44 changes: 44 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{ pkgs, lib, config, inputs, ... }:

{

# https://devenv.sh/packages/
packages = with pkgs; [
git
lld
];

languages.rust.enable = true;

languages.javascript = {
enable = true;
package = pkgs.nodejs_24;
npm.enable = true;
};

scripts.setup.exec = ''
echo "🚀 Setting up Yaak development environment..."
npm install
npm run bootstrap
echo "✅ Setup complete! Run 'npm start' to begin development."
'';

enterShell = ''
echo "📦 Yaak Development Environment"
echo "================================"
echo "Node.js: $(node --version)"
echo "NPM: $(npm --version)"
echo "Rust: $(rustc --version)"
'';

enterTest = ''
echo "Running tests"
node --version | grep --color=auto "v20"
rustc --version | grep --color=auto "rustc"
'';

# https://devenv.sh/git-hooks/
# git-hooks.hooks.shellcheck.enable = true;

# See full reference at https://devenv.sh/reference/options/
}
73 changes: 63 additions & 10 deletions packages/plugin-runtime-types/src/bindings/gen_models.ts

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

2 changes: 1 addition & 1 deletion packages/plugin-runtime/src/PluginInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ export class PluginInstance {
payload.values = applyFormInputDefaults(args, payload.values);
const resolvedArgs = await applyDynamicFormInput(ctx, args, payload);
const resolvedActions: HttpAuthenticationAction[] = [];
for (const { onSelect, ...action } of actions ?? []) {
for (const { onSelect: _onSelect, ...action } of actions ?? []) {
resolvedActions.push(action);
}

Expand Down
118 changes: 108 additions & 10 deletions src-tauri/yaak-git/bindings/gen_models.ts

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

Loading