diff --git a/lefthook.yml b/lefthook.yml new file mode 100644 index 0000000..f6e5dfe --- /dev/null +++ b/lefthook.yml @@ -0,0 +1,35 @@ +# 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 diff --git a/yarn.lock b/yarn.lock index 993acf2..1859638 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4115,11 +4115,10 @@ __metadata: react: "npm:18.3.1" react-native: "npm:0.76.5" react-native-builder-bob: "npm:^0.23.2" - turbo: "npm:^1.12.4" typescript: "npm:5.0.4" peerDependencies: react: "*" - react-native: ">0.73.0" + react-native: "*" languageName: unknown linkType: soft @@ -12937,77 +12936,6 @@ __metadata: languageName: node linkType: hard -"turbo-darwin-64@npm:1.13.2": - version: 1.13.2 - resolution: "turbo-darwin-64@npm:1.13.2" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - -"turbo-darwin-arm64@npm:1.13.2": - version: 1.13.2 - resolution: "turbo-darwin-arm64@npm:1.13.2" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - -"turbo-linux-64@npm:1.13.2": - version: 1.13.2 - resolution: "turbo-linux-64@npm:1.13.2" - conditions: os=linux & cpu=x64 - languageName: node - linkType: hard - -"turbo-linux-arm64@npm:1.13.2": - version: 1.13.2 - resolution: "turbo-linux-arm64@npm:1.13.2" - conditions: os=linux & cpu=arm64 - languageName: node - linkType: hard - -"turbo-windows-64@npm:1.13.2": - version: 1.13.2 - resolution: "turbo-windows-64@npm:1.13.2" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"turbo-windows-arm64@npm:1.13.2": - version: 1.13.2 - resolution: "turbo-windows-arm64@npm:1.13.2" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"turbo@npm:^1.12.4": - version: 1.13.2 - resolution: "turbo@npm:1.13.2" - dependencies: - turbo-darwin-64: "npm:1.13.2" - turbo-darwin-arm64: "npm:1.13.2" - turbo-linux-64: "npm:1.13.2" - turbo-linux-arm64: "npm:1.13.2" - turbo-windows-64: "npm:1.13.2" - turbo-windows-arm64: "npm:1.13.2" - dependenciesMeta: - turbo-darwin-64: - optional: true - turbo-darwin-arm64: - optional: true - turbo-linux-64: - optional: true - turbo-linux-arm64: - optional: true - turbo-windows-64: - optional: true - turbo-windows-arm64: - optional: true - bin: - turbo: bin/turbo - checksum: 10c0/f02c06dfdb0339b91bea7d1c9f9f35f0a271df636e49f5f50ad444f6ae22d2205214a71ca31b197a665dc0bf995dc100e47d204c6e674550266efa910505eb7e - languageName: node - linkType: hard - "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0"