详细说明: - 升级 pnpm 到 10.15.1 版本以满足项目要求 - 安装所有项目依赖 - 成功构建 n8n 项目 - 启动 n8n 服务器在 localhost:5678 - 创建 CLAUDE.md 文件记录开发规范 - 配置 Serena 项目管理和记忆系统 - 修改文件: CLAUDE.md, .serena/*, build.log, lefthook.yml - 影响模块: 开发环境配置和项目运行
36 lines
850 B
YAML
36 lines
850 B
YAML
# EXAMPLE USAGE:
|
|
#
|
|
# Refer for explanation to following link:
|
|
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
|
|
#
|
|
# pre-push:
|
|
# commands:
|
|
# packages-audit:
|
|
# tags: frontend security
|
|
# run: yarn audit
|
|
# gems-audit:
|
|
# tags: backend security
|
|
# run: bundle audit
|
|
#
|
|
# pre-commit:
|
|
# parallel: true
|
|
# commands:
|
|
# eslint:
|
|
# glob: "*.{js,ts,jsx,tsx}"
|
|
# run: yarn eslint {staged_files}
|
|
# rubocop:
|
|
# tags: backend style
|
|
# glob: "*.rb"
|
|
# exclude: '(^|/)(application|routes)\.rb$'
|
|
# run: bundle exec rubocop --force-exclusion {all_files}
|
|
# govet:
|
|
# tags: backend style
|
|
# files: git ls-files -m
|
|
# glob: "*.go"
|
|
# run: go vet {files}
|
|
# scripts:
|
|
# "hello.js":
|
|
# runner: node
|
|
# "any.go":
|
|
# runner: go run
|