Blazity / next-enterprise

💼 An enterprise-grade Next.js boilerplate for high-performance, maintainable apps. Packed with features like Tailwind CSS, TypeScript, ESLint, Prettier, testing tools, and more to accelerate your development.
https://next-enterprise.vercel.app
MIT License
6.26k stars 1.67k forks source link

Warnings about incorrect peer dependencies and unsupported typescript version, and lint warnings #248

Closed dnk8n closed 1 year ago

dnk8n commented 1 year ago

In evaluating this project, I am met with a noisy output. Is this to be expected?

$ yarn install --frozen-lockfile
yarn install v1.22.19
$ npx only-allow yarn
Need to install the following packages:
only-allow@1.2.0
Ok to proceed? (y) y
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/home/dean/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
[4/5] Linking dependencies...
warning "@vercel/otel > @opentelemetry/resources@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-node@0.38.0" has incorrect peer dependency "@opentelemetry/api@>=1.3.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-trace-node@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/core@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/otlp-transformer@0.38.0" has incorrect peer dependency "@opentelemetry/api@>=1.3.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/resources@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/exporter-trace-otlp-grpc > @opentelemetry/sdk-trace-base@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/resources > @opentelemetry/core@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-node > @opentelemetry/sdk-metrics@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.3.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-node > @opentelemetry/sdk-trace-node@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-trace-node > @opentelemetry/context-async-hooks@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-trace-node > @opentelemetry/propagator-b3@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-trace-node > @opentelemetry/propagator-jaeger@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-trace-node > @opentelemetry/sdk-trace-base@1.13.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-node > @opentelemetry/sdk-trace-node > @opentelemetry/context-async-hooks@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-node > @opentelemetry/sdk-trace-node > @opentelemetry/propagator-b3@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@vercel/otel > @opentelemetry/sdk-node > @opentelemetry/sdk-trace-node > @opentelemetry/propagator-jaeger@1.12.0" has incorrect peer dependency "@opentelemetry/api@>=1.0.0 <1.5.0".
warning "@storybook/nextjs > css-loader@6.8.1" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > node-polyfill-webpack-plugin@2.0.1" has unmet peer dependency "webpack@>=5".
warning "@storybook/nextjs > postcss-loader@7.3.3" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > sass-loader@12.6.0" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > style-loader@3.3.3" has unmet peer dependency "webpack@^5.0.0".
warning "eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5".
warning "eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[5/5] Building fresh packages...
$ npx patch-package -y
patch-package 8.0.0
Applying patches...
No patch files found
Done in 108.20s.
$ yarn lint
yarn run v1.22.19
$ next lint
- warn You have enabled experimental feature (instrumentationHook) in next.config.mjs.
- warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <5.2.0

YOUR TYPESCRIPT VERSION: 5.2.2

Please only submit bug reports when using the officially supported version.

=============

./pages/index.tsx
62:49  Warning: 'res' is defined but never used. Allowed unused args must match /^_/u.  @typescript-eslint/no-unused-vars

./components/Button/Button.tsx
5:16  Warning: Classname 'delay-50' is not a Tailwind CSS class!  tailwindcss/no-custom-classname
5:16  Warning: Classname 'min-w-20' is not a Tailwind CSS class!  tailwindcss/no-custom-classname
5:16  Warning: Classname 'min-h-10' is not a Tailwind CSS class!  tailwindcss/no-custom-classname
5:16  Warning: Classname 'min-w-32' is not a Tailwind CSS class!  tailwindcss/no-custom-classname
5:16  Warning: Classname 'min-h-12' is not a Tailwind CSS class!  tailwindcss/no-custom-classname

./components/Tooltip/Tooltip.tsx
6:24  Warning: Classname 'rounded-0.5md' is not a Tailwind CSS class!  tailwindcss/no-custom-classname
6:24  Warning: Classname 'font-open-sans' is not a Tailwind CSS class!  tailwindcss/no-custom-classname
6:24  Warning: Classname 'text-2xs' is not a Tailwind CSS class!  tailwindcss/no-custom-classname

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Done in 4.93s.
bmstefanski commented 1 year ago