feat: update Next.js configuration and improve Sass imports; adjust C… #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improved PR of previous Next.15 Upgrade with 15.1, introduces React 19 stable (and this one checks pass)
This pull request includes several updates to improve the configuration, dependencies, and code quality of the project. The most important changes include updating the Next.js configuration, modifying the
package.json
dependencies, and updating the SCSS import syntax.Configuration updates:
next.config.mjs
: AddedsassOptions
to specify the compilerDependency updates:
package.json
: Updated thedev
script to useturbopack
and upgraded dependencies such asnext
,react
,react-dom
, and their respective types. [1] [2]Code quality improvements:
src/once-ui/components/Carousel.tsx
: Updated thetransitionTimeoutRef
to useNodeJS.Timeout | undefined
for better type safety.src/once-ui/components/Scroller.tsx
: Refactored theonClick
event handling to use optional chaining for cleaner code.SCSS syntax updates:
src/once-ui/styles/index.scss
andsrc/once-ui/tokens/index.scss
: Replaced@import
with@use
for better modularity and to align with the latest SCSS best practices. [1] [2]onents