Skip to content
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

feat(src): restructure #23

Merged
merged 13 commits into from
Jan 27, 2025
Merged

feat(src): restructure #23

merged 13 commits into from
Jan 27, 2025

Conversation

chiefmikey
Copy link
Owner

This pull request includes several important changes to the project configuration, dependencies, and code organization. The most significant changes involve updates to the Jest configuration files, modifications to the package.json file, and the addition of new constants and interfaces.

Configuration Updates:

  • jest.config.e2e.ts and jest.config.unit.ts: Updated the paths for mocks, setup files, and test matches to use the test directory instead of the src directory. [1] [2]
  • tsconfig.eslint.json: Updated the include paths for tests and mocks to use the test directory instead of the src directory.

Dependency Updates:

  • package.json: Added new dependencies such as axios, express, koa, mongodb, mongoose, node-fetch, react, sqlite, and vue. Updated the versions of existing dependencies like commander and @types/node.
  • package.json: Modified the start script to use dist/src/index.js and added an imports field for module resolution. [1] [2]

Code Organization:

  • Renamed test files from the src directory to the test directory and updated import paths accordingly. [1] [2] [3] [4]

New Constants and Interfaces:

  • src/constants.ts: Added new constants for messages, CLI strings, raw content patterns, dependency patterns, file patterns, package managers, and commands.
  • src/interfaces.ts: Added new interfaces for DependencyContext, PackageJson, WorkspaceInfo, ProgressOptions, and DependencyInfo.

@chiefmikey chiefmikey merged commit c6e156e into main Jan 27, 2025
2 checks passed
@chiefmikey chiefmikey deleted the restructure branch January 27, 2025 22:12
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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