Conversation
- Created pnpm-workspace.yaml to define workspace packages. - Added sync-version.sh script to synchronize version across packages. - Updated test.sh to run unit tests and E2E tests using turbo. - Introduced turbo.json for task management with Turbo. - Added ESLint configuration for the web package. - Bumped version of opengalley-web to 0.2.0 and added lint script.
This file contains hidden or 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
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.
This pull request introduces a monorepo structure with improved tooling, unified scripts, and shared configuration for linting and testing across the
apiandwebpackages. The main changes include adopting Turborepo for task orchestration, adding a shared ESLint config package, synchronizing package versions, and updating CI workflows and scripts for consistency and efficiency.Monorepo structure and tooling
package.jsonwith scripts for building, testing, linting, and development using Turborepo, and set up Husky for Git hooks.turbo.jsonconfiguration to define task dependencies, caching, and outputs for builds, tests, linting, and development.pnpm-workspace.yamlto define workspace packages and build settings for the monorepo.Shared ESLint configuration
@opengalley/eslint-configpackage with base and React-specific configurations, and updated bothapiandwebto use these shared configs. [1] [2] [3] [4] [5]api/package.jsonandweb/package.jsonto add lint scripts and depend on the shared ESLint config. [1] [2] [3] [4] [5]Version synchronization
sync-version.shscript and Husky pre-commit hook to automatically sync the root version to all package manifests (api,web, andeslint-config). [1] [2]CI and testing improvements
test.shscript to run tests via Turborepo and updated the E2E test command to use filtering for the web package.Other improvements
apifor modern module resolution.These changes collectively improve code quality, developer experience, and maintainability by standardizing tooling and configuration across the monorepo.- Created pnpm-workspace.yaml to define workspace packages.