diff --git a/.eslintrc.json b/.eslintrc.json index 2fb6daa..95b42cf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,9 +1,11 @@ { "extends": [ "next/core-web-vitals", - "plugin:eslint-plugin-next-on-pages/recommended" + "plugin:eslint-plugin-next-on-pages/recommended", + "plugin:@typescript-eslint/recommended" ], "plugins": [ "eslint-plugin-next-on-pages" - ] + ], + "parser": "@typescript-eslint/parser" } diff --git a/.gitignore b/.gitignore index a9d8781..694c99d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,33 @@ reference/ .viminfo +# dependencies +/node_modules +/.pnp +.pnp.js +.yarn/install-state.gz + +# production +/build + +# misc +.DS_Store +*.pem + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts + +# wrangler files +.wrangler +.dev.vars + # NODE IGNORES # Logs logs diff --git a/.gitignore_ b/.gitignore_ deleted file mode 100644 index c213988..0000000 --- a/.gitignore_ +++ /dev/null @@ -1,40 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js -.yarn/install-state.gz - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# production -/build - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env*.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo -next-env.d.ts - -# wrangler files -.wrangler -.dev.vars diff --git a/package-lock.json b/package-lock.json index 7a8d1af..de8bfca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,6 +26,7 @@ "eslint": "^8", "eslint-config-next": "14.1.0", "eslint-plugin-next-on-pages": "^1.11.3", + "gsap": "^3.12.5", "sass": "^1.77.6", "typescript": "^5", "vercel": "^34.2.7", @@ -7567,6 +7568,13 @@ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", "license": "MIT" }, + "node_modules/gsap": { + "version": "3.12.5", + "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.12.5.tgz", + "integrity": "sha512-srBfnk4n+Oe/ZnMIOXt3gT605BX9x5+rh/prT2F1SsNJsU1XuMiP0E2aptW481OnonOGACZWBqseH5Z7csHxhQ==", + "dev": true, + "license": "Standard 'no charge' license: https://gsap.com/standard-license. Club GSAP members get more: https://gsap.com/licensing/. Why GreenSock doesn't employ an MIT license: https://gsap.com/why-license/" + }, "node_modules/has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", diff --git a/package.json b/package.json index 09bac1a..4ffd3a3 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "eslint": "^8", "eslint-config-next": "14.1.0", "eslint-plugin-next-on-pages": "^1.11.3", + "gsap": "^3.12.5", "sass": "^1.77.6", "typescript": "^5", "vercel": "^34.2.7", diff --git a/tsconfig.json b/tsconfig.json index 3c49737..233eff6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "esnext", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -11,7 +15,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "react", + "jsx": "preserve", "incremental": true, "plugins": [ { @@ -19,14 +23,25 @@ } ], "paths": { - "@/*": ["./src/*"] + "@/*": [ + "./src/*" + ] }, "types": [ - "@cloudflare/workers-types/2023-07-01" + "@cloudflare/workers-types/2023-07-01" ], - "checkJs": false /* Enable error reporting in type-checked JavaScript files. */, - "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, + "checkJs": false /* Enable error reporting in type-checked JavaScript files. */, + "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */ }, - "include": ["next-env.d.ts", "env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules", "test"] + "include": [ + "next-env.d.ts", + "env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts" + ], + "exclude": [ + "node_modules", + "test" + ] }