diff --git a/# Code Citations.md b/# Code Citations.md new file mode 100644 index 00000000..ba1e865c --- /dev/null +++ b/# Code Citations.md @@ -0,0 +1,989 @@ +# Code Citations + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: BSD-3-Clause + +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + +``` + +## License: MIT + +https://github.com/rolling-scopes-school/tasks/blob/a3068ba35ab2f5a3fc05e6549601fefd65b6137e/react/modules/_archive/module01/configs.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }], +} +``` + +The + +``` + + +## License: BSD-3-Clause +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +``` + +**Vite Configuration** (`vite.config.ts`): + +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +``` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedMo +``` + +## License: MIT + +https://github.com/rolling-scopes-school/tasks/blob/a3068ba35ab2f5a3fc05e6549601fefd65b6137e/react/modules/_archive/module01/configs.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }], +} +``` + +The + +``` + + +## License: BSD-3-Clause +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +``` + +**Vite Configuration** (`vite.config.ts`): + +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +``` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + " +``` + +## License: MIT + +https://github.com/rolling-scopes-school/tasks/blob/a3068ba35ab2f5a3fc05e6549601fefd65b6137e/react/modules/_archive/module01/configs.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }], +} +``` + +The + +``` + + +## License: BSD-3-Clause +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +``` + +**Vite Configuration** (`vite.config.ts`): + +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +``` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx" +``` + +## License: MIT + +https://github.com/rolling-scopes-school/tasks/blob/a3068ba35ab2f5a3fc05e6549601fefd65b6137e/react/modules/_archive/module01/configs.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }], +} +``` + +The + +``` + + +## License: BSD-3-Clause +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +``` + +**Vite Configuration** (`vite.config.ts`): + +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +``` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx" + }, + "include": [" +``` + +## License: MIT + +https://github.com/rolling-scopes-school/tasks/blob/a3068ba35ab2f5a3fc05e6549601fefd65b6137e/react/modules/_archive/module01/configs.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }], +} +``` + +The + +``` + + +## License: BSD-3-Clause +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +``` + +**Vite Configuration** (`vite.config.ts`): + +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +``` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx" + }, + "include": [" +``` + +## License: MIT + +https://github.com/rolling-scopes-school/tasks/blob/a3068ba35ab2f5a3fc05e6549601fefd65b6137e/react/modules/_archive/module01/configs.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }], +} +``` + +The + +``` + + +## License: BSD-3-Clause +https://github.com/code-chimp/code-chimp.github.io/blob/0290a79c35cbbc2517d6edd186594b41c4db91ee/content/posts/porting-cra-to-vite-2/index.md + +``` + +**Vite Configuration** (`vite.config.ts`): + +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +``` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx" + }, + "include": ["src"], + "references": [{ "path": "./tsconfig. +``` + +## License: MIT + +https://github.com/rolling-scopes-school/tasks/blob/a3068ba35ab2f5a3fc05e6549601fefd65b6137e/react/modules/_archive/module01/configs.md + +```` +**Vite Configuration** (`vite.config.ts`): +```typescript +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + build: { + target: ["es2020"], + }, + optimizeDeps: { + esbuildOptions: { + target: "es2020", + }, + }, +}); +```` + +**TypeScript Configuration** (`tsconfig.json`): + +```jsonc +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": true, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }], +} +``` + +The + +``` + +``` diff --git a/.husky/post-checkout b/.husky/post-checkout new file mode 100755 index 00000000..5abf8ed9 --- /dev/null +++ b/.husky/post-checkout @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; } +git lfs post-checkout "$@" diff --git a/.husky/post-commit b/.husky/post-commit new file mode 100755 index 00000000..b8b76c2c --- /dev/null +++ b/.husky/post-commit @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; } +git lfs post-commit "$@" diff --git a/.husky/post-merge b/.husky/post-merge new file mode 100755 index 00000000..726f9098 --- /dev/null +++ b/.husky/post-merge @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; } +git lfs post-merge "$@" diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100755 index 00000000..5f26dc45 --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { printf >&2 "\n%s\n\n" "This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks')."; exit 2; } +git lfs pre-push "$@"