Skip to content

Conversation

@thevuong
Copy link
Contributor

Description of Changes

  • Bumped Package Versions: Updated packages to version 0.3.0 with minor changes. Ensures consistency and prepares for upcoming improvements.
  • Simplified Workflow Triggers: Adjusted release workflow triggers for .changeset/ files with added automation for changeset considerations.
  • Ended Pre-release Phase: Transitioned "@codefast/cli" from a canary version to a stable release, marking the end of the pre-release phase.
  • Enhanced Configurations: Added build cache, streamlined TypeScript configs, and updated dependency resolution to improve performance and maintainability.

thevuong and others added 30 commits April 12, 2025 10:04
Consolidate and streamline release workflows by removing the canary and production-specific workflows, merging them into a unified release workflow. Adjust environment variable placement in deploy workflow for better clarity and maintainability.
Add pre-release mode with a "canary" tag and initialize versions for multiple packages. This enables controlled distribution of changes before a stable release.
Refactors ESLint configs for React, Next.js, and library projects. Adds comprehensive rule sets, testing-specific setups, and improved TypeScript handling. Includes custom rules to accommodate framework-specific conventions and ignores generated files.
Enabled the "no-console" rule for logger implementation and test files to permit essential console statements. Removed unused rule overrides for TailwindCSS-related files to simplify and streamline ESLint configuration.
Disabled specific ESLint and TypeScript rules to accommodate common patterns in configuration files and external libraries. Allows default exports in config files and disables strict type safety for complex or dynamic scenarios, improving developer efficiency.
Renamed the ESLint configuration array from `nextConfig` to `eslintConfig` for better context. Added comments to explain the disabled `require-await` rule, which is essential for compatibility with async Next.js config functions that may not use `await`.
Updated multiple dependencies across projects, including Radix UI, Jest, ESLint, TypeScript, and related packages. These updates address minor version increments to ensure compatibility and apply fixes or improvements from the newer versions.
Added pre-release changeset scripts `changeset:pre:enter` and `changeset:pre:exit` to streamline canary release preparation. These commands allow handling pre-release phases more efficiently during the development process.
Updated build, dev, and start scripts in package.json to use Turbopack for improved performance. Removed unused preview scripts from both package.json and turbo.json, streamlining configurations for project dependencies and tasks.
Added GitHub deployment creation and status updates to track deployment progression. Improved preview and production deployment workflows by capturing and utilizing deployment URLs. Enhanced pull request comments with clearer messaging and direct links to the deployed changes.
Removed emojis and simplified the phrasing of deployment status messages in GitHub Actions workflows. This improves clarity and maintains a professional tone for deployment updates.
Updated the environment names in the deploy workflow to use proper casing ("Production" and "Preview"). This ensures consistency with naming conventions and avoids potential issues during deployments.
Introduces a GitHub Actions workflow to remove deployments in 'queued' or 'in_progress' states within the 'preview' environment. This ensures the repository stays clean and avoids build bottlenecks by marking inactive deployments before deletion. The workflow supports manual triggers.
Updated multiple dependencies in pnpm-lock.yaml, including Rollup to 4.40.0 and @emnapi packages to 1.4.1. These version updates address minor improvements and dependency alignment for better compatibility and stability.
Added "date-fns", "next-themes", "react-hook-form", and "recharts" as optional dependencies in the UI package. This enhances flexibility and supports additional features while keeping them optional for specific use cases. Updated pnpm-lock.yaml to reflect these changes.
Added `contents: read` and `pull-requests: write` permissions to the cleanup-deployments workflow. This ensures the workflow can correctly perform cleanup operations on pending deployments and manage pull requests as needed.
Added configuration for `CssUnknownProperty` inspection in the project settings with a warning level. Enabled custom property validation, ignoring vendor-specific properties, and defined "animation-composition" as a recognized property.
Added `.changeset` directory to `.prettierignore` to exclude Changesets from formatting. Adjusted `pnpm-workspace.yaml` by renaming a dependency and ensuring consistency in quotes and formatting. These changes improve configuration clarity and maintainability.
Added comments to suppress warnings for unresolved custom properties in collapsible animations. This ensures a cleaner build process without unnecessary linter or tool warnings while preserving the intended animations.
Updated the @source paths in README.md and globals.css to remove the unnecessary 'dist' directory. This ensures proper resolution of the UI package and prevents potential import issues.
Updated the homepage link in the sidebar and adjusted an image class within the card demo for correct styling. Simplified build-related scripts by removing Turbopack for better compatibility and alignment with production needs.
Added `tsconfig.tsbuildinfo` to the `.gitignore` file to prevent accidental commits of TypeScript build information. This ensures a cleaner repository and avoids potential conflicts from generated files.
Refactored exports to individually expose key components and utilities from the Progress Circle package. This change improves tree-shaking and allows more granular usage of the module in client applications.
Replaced wildcard export with named exports for better clarity and tree-shaking support. This change improves modularity and ensures only necessary functionalities are imported when used.
Replaces wildcard export with named exports for better modularity and tree-shaking. This change ensures only the required components are imported, improving flexibility and reducing potential bundle size.
Replaced wildcard exports with named exports to improve tree-shaking and reduce bundle size. Adjusted the index file to explicitly define and export components and utilities from the checkbox-group module.
Replaced `tsup` with `rslib` across all packages to improve build configuration clarity and adapt to the new tooling. Updated configuration files and scripts, and introduced `rslib.config.ts` for managing build options. Adjusted package.json settings accordingly.
Updated the rslib configuration across multiple packages to use `entry` instead of `exclude`. This change refines source paths while maintaining the exclusion of test and spec files. It standardizes the configuration approach for better code clarity and scalability.
thevuong and others added 28 commits April 14, 2025 14:27
Updated the packages glob pattern for improved flexibility and added an ignore option to exclude "node_modules" from the search. Removed the "start" script from `update-exports` package.json, as it is unnecessary. Added a new root script for running the update-exports functionality.
Added new exclude rules for `.exports-analysis` and `.turbo` folders in the project configuration. This prevents unnecessary files from being included in IDE indexing, improving performance and focus during development.
Updated import paths to remove the "hooks" prefix for consistency and cleaner references. This change affects source files, tests, and the index export. No functional changes were made.
Refactored export processing with strong typing for better reliability. Improved directory structure and normalized paths in various utilities. Added features like export preview saving during dry run mode for better debugging and analysis.
Introduced optional configuration to remove specific prefixes from export paths via `exportPathPrefixesToRemove`. Updated the import analyzer and corresponding logic to process paths based on this configuration, enhancing flexibility in export path generation.
Moved utility modules from the utils directory to the lib directory for better organization and structure. Updated all related imports across the codebase to reflect the new file paths. Minor change to default config to adjust exportPathPrefixesToRemove.
Added new exports for multiple components in several packages, including `checkbox-group`, `input-number`, and `progress-circle`. Updated paths for dependencies and standardized type and default file declarations. Additionally, enhanced style guide exports with `perfectionist` and `prettier` configurations.
Removed the `USE_DOUBLE_QUOTES` option from the code style settings as it is no longer relevant or necessary. This change helps streamline and simplify the project's configuration.
Reorganized update-exports structure into a CLI command under `scripts/cli`. Merged utility functions, schemas, and configurations into a centralized module, simplifying package export handling. Removed redundant code and ensured compatibility with ts-morph and zod for type validation.
Updated the `onlyBuiltDependencies` section to ensure consistent formatting and remove unnecessary trailing entries. This improves readability and aligns with expected configuration standards.
Added "@codefast/cli" to the list of ignored packages in the changeset configuration. This ensures changes to this package are excluded from version bump workflows.
Updated various dependencies, including "@rslib/core" to v0.6.3, "@swc/core" to v1.11.21, and "tailwindcss" to v4.1.4, among others. These changes aim to keep the project up-to-date and ensure compatibility with the latest features and fixes.
Refactored the `update-exports` command to a modular structure by separating configuration, utilities, and command logic into distinct files. This improves maintainability, readability, and scalability of the codebase.
Add a new `update-exports` command to automate export configurations in `package.json`. Updated dependencies, descriptions, and scripts across various files to support this feature. Enhanced the overall workspace with command documentation and minor package upgrades.
Change the code block in the README to use Mermaid for better visualization of the flowchart. This improves clarity and readability for users viewing the workflow diagram.
Added "@codefast/cli" to the "fixed" group and removed it from "ignore". This ensures better version alignment for the "@codefast/cli" package while maintaining public access and proper internal dependency updates.
Moved CLI package from `scripts/cli` to `packages/cli` for consistency with project structure. Updated related config files, dependencies, and package metadata to align with the new structure.
Updated the changeset file to replace "update-exports" with "@codefast/cli" for consistency and to reflect the correct package name. This ensures proper versioning and release notes generation for the "@codefast/cli" package.
Aligned TypeScript and build configurations for consistency and improved functionality. Adjusted imports for clarity and updated library bundling settings to disable bundling and enable performance optimizations. Made minor changes to entry points and resolved unnecessary JSON assertion.
Removed redundant nested dependency structures in pnpm-lock.yaml to streamline peer dependency resolution. This change reduces complexity and ensures easier management of eslint and related dependencies. No functional impact on the application is expected.
Added build caching and disabled file size printing in multiple rslib configs to improve performance. Simplified TypeScript configurations by standardizing tsconfig extends and removing redundant compiler options.
Corrected the import source path to avoid potential resolution issues. This ensures proper loading of styles from the intended directory, improving consistency across environments.
Updated the pre.json file to switch from "pre" to "exit" mode, indicating the end of the pre-release phase. Adjusted the version of "@codefast/cli" from a canary version to a stable one. This ensures proper version alignment and marks the transition to a stable release state.
Updated the release workflow to trigger on changes in the .changeset directory. This ensures that any modifications to changeset files are considered during the release process, improving automation and consistency.
The release workflow no longer triggers on changes to .changeset/* files. This simplifies the workflow trigger configuration and ensures releases only occur on relevant file updates.
Update multiple packages to version 0.3.0 with minor changes. This ensures consistency across the project and prepares the packages for new features or improvements. No breaking changes were introduced in this release.
@github-actions
Copy link
Contributor

🎉 Great news! Preview deployment is ready!

🔍 Preview URL: https://codefast-lstsolkeg-codefastlabs.vercel.app

🚀 Check out your awesome changes in action!

@thevuong thevuong merged commit 9aefc24 into main Apr 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants