Skip to content

refactor: clean up imports and formatting in command files - #10

Merged
Shubhdeep12 merged 5 commits into
mainfrom
develop
Feb 27, 2026
Merged

refactor: clean up imports and formatting in command files#10
Shubhdeep12 merged 5 commits into
mainfrom
develop

Conversation

@Shubhdeep12

@Shubhdeep12 Shubhdeep12 commented Feb 27, 2026

Copy link
Copy Markdown
Owner
  • Consolidated import statements for createSpinner across multiple command files for consistency.
  • Improved formatting in package.json for files and keywords arrays for better readability.
  • Minor adjustments in test files to enhance code clarity.

Description

PR guidelines

CI will run the following. Please ensure they pass locally before requesting review:

  • Lintpnpm lint
  • Typecheckpnpm typecheck
  • Testspnpm test
  • Coveragepnpm test:coverage (must meet thresholds)
  • Changesetpnpm changeset (for user-facing changes only)

If you added or changed a command, run pnpm docs:generate and commit the updated docs/COMMANDS.md.

- Consolidated import statements for `createSpinner` across multiple command files for consistency.
- Improved formatting in `package.json` for `files` and `keywords` arrays for better readability.
- Minor adjustments in test files to enhance code clarity.
- Added `setupFiles` to Vitest configuration for improved test initialization.
- Disabled file parallelism in Vitest to ensure sequential test execution.
- Introduced `resetConfigMock` function in test utilities to reset configuration state before each test.
- Updated multiple test files to utilize `beforeEach(resetConfigMock)` for consistent test setup.
- Modified `setupFiles` path in Vitest configuration for better compatibility.
- Added a `pool` option to Vitest configuration to enhance performance.
- Updated `tests/README.md` to include information about optional smoke tests.
- Introduced a new `test:smoke` command in `package.json` for running smoke tests.
- Updated smoke test documentation to clarify execution context and CI behavior.
- Added `docs/ignored/` to `.gitignore` to exclude ignored documentation files.
- Reformatted smoke test cases for better readability and consistency.
- Ensured consistent indentation and structure across all test cases.
- No functional changes were made to the tests themselves.
@Shubhdeep12
Shubhdeep12 merged commit 1714ce8 into main Feb 27, 2026
1 check failed
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.

1 participant