-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
suddenlyGiovanni.dev v2 #541
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A new .nvmrc file was created to specify the node version for the application. This version is set to v21.x, facilitating a more predictable development environment for all team members.
This commit introduces a package.json file for the suddenlyGiovanni.dev project. Additionally, a pnpm-lock.yaml file has been added for improved dependency management. These files are expected to help manage the project's dependencies and settings better.
This commit introduces a .gitignore file, a comprehensive README and establishes a Turbo monorepo setup. Scripts for build, development, and linting have been defined in the `package.json`. Also, the required dependencies for Turbo along with a `pnpm-workspace.yaml` for managing multiple packages.
This commit includes the addition of the Biome configuration file (biome.xml and biome.json) to set the Biome settings for the project. A new script "format" has been added to package.json, and Biome has been added to the project dependencies. The package lock file has been updated to include the new Biome dependency.
This commit includes several updates to package.json files and configuration files of the project. The scripts have been updated, the module paths and target in packages/ui/tsconfig.json and packages/ui/package.json have been modified. Also, the devDependencies have been updated in pnpm-lock.yaml.
The TypeScript configurations of both the 'docs' and 'UI' packages have been updated to extend '@tsconfig/vite-react' and '@tsconfig/strictest'. Furthermore, these new dependencies have also been added in their respective package.json files, and reflected in the 'pnpm-lock.yaml' file. This change simplifies and standardizes the TypeScript configuration across packages.
This commit contains the creation of a new web application using Remix. It entails the setup of several configurations like eslint, vite, typescript, and others. Additionally, it adds files like `.gitignore`, `README.md`, and modifies the `pnpm-lock.yaml` to update dependencies. This commit will serve as the foundation for the web application development.
A common TypeScript configuration "@suddenly-giovanni/config-typescript" has been introduced. This removes the need for repeating TypeScript configuration in each package, making code cleaner and maintenance easier. The configuration changes are reflected across all apps and packages.
The `biome.json` configuration has been refactored and moved into multiple json files within the `config-biome` package. Code style and formatting rules are now more modular, allowing specific rules to be applied per package based on their function. Additionally, the `@suddenly-giovanni/config-biome` dependency has been added to the `ui` package.
This commit updates the turbo package in both package.json and pnpm-lock files. The newer version contains important bug fixes and performance improvements across all platforms.
The codebase has been updated to include the Prettier and Tailwind CSS plugins in the devDependencies. This should aid in development by providing additional tools and functionality. Additionally, changes have been made in the lock file to reflect the updates.
The commit introduces Tailwind CSS into the project along with required dependencies such as autoprefixer and postcss. Necessary files for Tailwind configuration like 'tailwind.config.ts' and 'postcss.config.mjs' are added. Changes also include the import of the Tailwind CSS in 'root.tsx' and the addition of skipLibCheck and reordering in 'tsconfig.json'. The local Tailwind CSS file has been removed and replaced with a CSS file in the '@suddenly-giovanni/ui' package. The 'tailwind.config.ts' file in the UI package no longer has a prefix set. Also, 'package.json' has been updated to output the produced CSS file in the correct directory, and a new CSS class has been added to the button component.
The tsup build dependency has been removed from the ui package. The import paths and build scripts have been updated accordingly, and unused configurations related to tsup are also removed. This simplifies the build process by using tailwindcss for both building and development.
This update adds a new `eslint-config` package and updates the pnpm-lock file. This eslint-config package specifies linting settings for enhancing code quality and formatting. The pnpm-lock file has been updated to record eslint-config package information along with other dependencies. Update ESLint configuration and dependencies in apps/web Updated the ESLint configuration in .eslintrc.cjs to use the stricter '@typescript-eslint/strict' rule set instead of the '@typescript-eslint/recommended' one. Version numbers of ESLint and related dependencies have been pinned in package.json to eliminate potential inconsistencies due to minor version updates. Add ESLint and TypeScript compiler configurations This commit adds configurations for ESLint and TypeScript compiler. Additionally, it updates the project's dependencies in the lockfile, ensuring to include the workspace packages and eslint-plugin-tailwindcss. The commit also modifies the versions of some dependencies. Update ESLint configuration and dependencies This update replaces multiple ESLint plugins and parser with a custom configuration based on Vercel Engineering Style Guide. Dev dependencies in package.json have been modified accordingly. The configuration for the web app has been simplified and now extends the new custom configuration. Implement ESLint with custom configuration This update introduces ESLint with a custom configuration to improve code quality. Several scripts have been added to packages' and application's package.json files for practical usage. Furthermore, setup was completed by creating appropriate .eslintrc.cjs files in each directory and updating dependencies.
The 'clean' script, which removes the node_modules directory, has been added to several package.json files. This change applies to the config-typescript, config-tailwind, config-eslint packages, and also the web application. This script will help with clearing installed modules and creating a clean project slate.
The "prettier" dependency has been localized to individual project packages from the global space. A new package '@suddenly-giovanni/config-prettier' has been created to consolidate the configuration for Prettier. This change offers better control and customization of code formatting at the package level, improving development experience and code maintainability. The new 'format' scripts are added to apply formatting rules with Prettier in the respective packages. Add 'format' task to turbo.json pipeline This commit includes the introduction of a new 'format' task in the 'turbo.json' pipeline configuration. The task has been set to not use cache similar to the existing 'dev' and 'clean' tasks.
Added 'typecheck' scripts to 'package.json' files in multiple packages, ensuring TypeScript checking is comprehensive across the project. Also updated turbo.json and '.idea/webResources.xml' to reflect these changes. These updates help improve the robustness of the build process and facilitate type-checking in the development workflow.
The commit includes updates to various Storybook dependencies in the pnpm-lock.yaml file. The specified version for the Storybook addons and the main Storybook package have been changed from 7.6.13 to 8.0.0-beta.1. This update also includes the necessary removals and additions to the lockfile sections associated with these dependencies.
The versions of the react and react-dom dependencies have been upgraded to '18.3.0-canary-ba5e6a832-20240208' throughout the pnpm-lock.yaml file. This commit also updates the react and react-dom versions in the dependencies of other packages accordingly.
New dependencies 'class-variance-authority', 'tailwind-merge', and 'clsx' were added to the 'ui' package. Along with these, a utility function 'cn' was introduced in 'utils.ts', which utilizes the newly added dependencies. These changes help in enhancing the functionality of the 'ui' package.
The tailwind.css file was moved to a new directory named styles. As a result, the reference to this file in root.tsx has been updated to reflect this change. This reorganization aims to make the project structure cleaner and more manageable.
A new NavLink component has been created to handle the styling of links in the application. This component has been implemented in routes/_index.tsx, replacing the previous local Link component. This helps in reusing code and maintaining a consistent styling for navigation links across various locations in the application.
This commit introduces an 'inspect-router' script in the package.json file. It allows developers to inspect the routes in a formatted way, providing more insight into the TypeScriptReact files.
The application structure has been refactored, mainly focusing on the header/navigation. Header elements have been moved from the '_index.tsx' and into the 'app' component, which optimizes the loading process. In addition to the restructuring, new page components for 'blog', 'reading-journal', and 'resume' have been created as well.
This update adds the "exactOptionalPropertyTypes" option to the TypeScript configuration in the 'base.json' file. This option can help to prevent unexpected behavior by enforcing stricter typing for properties that are declared optional.
The 'cn' utility function from './utils.ts' has been added to the main export file. This function is now accessible along with Button and Card components, making code more tidy and facilitating import operations.
A new component, SuddenlyGiovanni, has been added and implemented into the navigation bar. Simultaneously, NavLink has been updated with prefetching. Navigation and content now centralize using a container style.
The @types/node dependency version was upgraded across multiple files in this commit. Both the package.json and the pnpm-lock.yaml files were updated to reflect this change in version. This ensures consistency in the version of @types/node being used across the codebase. Signed-off-by: Giovanni Ravalico <[email protected]>
This commit includes the upgrade of @chromatic-com/storybook from version 1.1.12 to 1.2.1 in devDependencies. Changes are reflected in both package.json and pnpm-lock.yaml files. Signed-off-by: Giovanni Ravalico <[email protected]>
This commit updates all Storybook add-ons, blocks, and packages to version 8.0.0-beta.6. It also includes corresponding changes to the pnpm-lock.yaml file, ensuring consistency and compatibility across the project. Signed-off-by: Giovanni Ravalico <[email protected]>
The React and React-DOM versions in various dependencies across the project have been updated. This includes changes in the web app's package.json, UI package's package.json and pnpm-lock.yaml file. Although some of the version specifications seemed quite complex, such as multiple names for what seems to be the same dependency, the main action was changing the version number. Signed-off-by: Giovanni Ravalico <[email protected]>
Changes have been made to adjust the link styles in the "education" and "experiences" sections of the resume. Specifically, the margin and size of the icon associated with the link in the "education" section were updated. A slight change in margin was also applied to the link in the "experiences" section. Signed-off-by: Giovanni Ravalico <[email protected]>
The contact cards on the resume page have been restyled for an improved visual appearance. The changes include the addition of padding, changes in background color, enlargement of the shadow, modification in ring properties, and adjustment of grid properties. Signed-off-by: Giovanni Ravalico <[email protected]>
The use of keys in list items within React is crucial to avoid unnecessary rerenders. The change applies this concept to the Interests list in the resume page, using the 'name' property as a unique key for each list item. Signed-off-by: Giovanni Ravalico <[email protected]>
This commit incorporates MDX support into the Vite configuration by importing necessary packages and configuring them. It also updates the package.json and corresponding lock file with dependencies related to MDX and remark plugins. Additionally, it declares a module for MDX in the TypeScript definitions. Signed-off-by: Giovanni Ravalico <[email protected]>
A new route named Motivations has been added to the web app. This route includes a page titled 'My Motivations' that elaborates on the motivations, career goals, and personal preferences of a fictional character. The details on this page can be a guideline for prospective employers or team members about the working style and expectations of the character. Signed-off-by: Giovanni Ravalico <[email protected]>
This commit introduces a loader function in the resume route to asynchronously load resume data. It also adjusts the Resume function to use this loader data, ensuring that the application is always working with the most up-to-date information. Signed-off-by: Giovanni Ravalico <[email protected]>
A new Route interface and routesRecord map have been added to manage the website's routes. The interface includes essential details for managing routes such as URI, URL, title, description, and visibility flags (disabled and hidden). The routesRecord map contains the actual routes of the website including about-me, blog, reading-journal, resume, and motivations. Signed-off-by: Giovanni Ravalico <[email protected]>
This commit updates all instances of Remix-Run dependency versions from 2.7.2 to the new 2.8.0 version across package.json files and pnpm-lock.yaml. This helps keep the codebase running with up-to-date versions and incorporates any improvements made in the new release. Signed-off-by: Giovanni Ravalico <[email protected]>
The commit includes version updates for Storybook packages and related dependencies in the UI package. The update is from version 8.0.0-beta.6 to version 8.0.0-rc.0, with changes reflected in package.json and the lock file. Signed-off-by: Giovanni Ravalico <[email protected]>
The commit updates the @types/react version from 18.2.60 to 18.2.61 in multiple places within the project including package.jsons and pnpm-lock.yaml. These changes ensure compatibility and remove potential discrepancies associated with older versions of the package. Signed-off-by: Giovanni Ravalico <[email protected]>
The @types/node version has been updated across multiple packages and dependencies. The version changes were identified in package.json files and pnpm-lock.yaml. This ensures that the latest improvements and bug fixes of the Node.js type definitions are included in the project. Signed-off-by: Giovanni Ravalico <[email protected]>
The header and route files were updated to ensure better code readability and maintainability. By using 'routesRecord', a more centralized and streamlined approach to handling app routes was achieved. This modification also helped fix aria-disabled attribute discrepancies and reduced redundancy in the codebase. Signed-off-by: Giovanni Ravalico <[email protected]>
The styling for the Motivation route has been updated. Width-related classes have been added to the prose class of the article element, allowing its width to take the full width of its parent container and removing its maximum width constraints. Signed-off-by: Giovanni Ravalico <[email protected]>
This commit replaces npm commands with pnpm in the project README, in order to align with the project's shift to pnpm as the package manager. Additionally, the remix module in the vite.config file has been updated to include more detailed configuration options. Signed-off-by: Giovanni Ravalico <[email protected]>
The "blog" route has been renamed to "brain-dump" in all relevant places including route-record.ts and links in header.tsx. A new route page was created for "brain-dump" and the old blog route page has been deleted. Additionally, other minor changes include improved type annotations in contacts.tsx and index.tsx. Signed-off-by: Giovanni Ravalico <[email protected]>
A Dockerfile and a .dockerignore file were created for the web app. The Dockerfile is utilizing the node:21-bookworm-slim image, and the .dockerignore file contains common ignore patterns for a Node.js project. These files will aid in creating isolated environments for development, testing and production. Signed-off-by: Giovanni Ravalico <[email protected]>
In the Dockerfile, installed new packages, added environment variables, set a working directory, and added an instruction to copy files. Also, introduced a .dockerignore file to bypass unwanted files during Docker build. Lastly, added build.sh and start.sh scripts to simplify Docker build and run commands. Signed-off-by: Giovanni Ravalico <[email protected]>
The Dockerfile and shell scripts have been moved out of `apps/web` directory to the root directory. Changes have been made in .dockerignore and .npmrc files, including unignoring certain directories and adding `node-linker=isolated` to .npmrc. Additionally, a new Dockerfile has been added that includes a cache layer during build time using BuildKit. Signed-off-by: Giovanni Ravalico <[email protected]>
Modified the Dockerfile to install openssl, define NODE_ENV as 'production', and revised the build stages. Also, adjusted the docker build and run commands in the build.sh and start.sh scripts respectively. Specifically, added a target while building docker image, and declared the port mapping while running the docker container. Signed-off-by: Giovanni Ravalico <[email protected]>
The clean script now also targets the "build" directory. This removal is necessary to ensure that all compiled and build-related files are properly cleaned up and helps maintain a tidy project environment. Signed-off-by: Giovanni Ravalico <[email protected]>
Included 'storybook-static' directory in .gitignore file and updated the 'clean' script to remove 'storybook-static' directory. This prevents any build artifacts from Storybook to be committed and ensures the directory is cleaned up during the build process. Signed-off-by: Giovanni Ravalico <[email protected]>
The Dockerfile has been streamlined to organize the environment setup. Lines have been rearranged for better readability, installation of OpenSSL has been removed for improved security, and unnecessary comments have been deleted for simplicity. The Dockerfile now properly sets the environment to production, copies files with appropriate permissions, and manages dependencies securely. Signed-off-by: Giovanni Ravalico <[email protected]>
This commit includes necessary modifications to the Dockerfile to expose the port 3000 and adds a new 'fly.toml' file, setting the primary configuration for the app. The new 'fly.toml' file will help manage resource allocation to the 'suddenlygiovanni-dev' app, specify the build process, and maintain machine run settings. Signed-off-by: Giovanni Ravalico <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Migrate from Gatsby v(legacy) to Remix v(2)
Big-bang.