Skip to content

Conversation

@AliceR
Copy link
Member

@AliceR AliceR commented Dec 4, 2025

This is the feature branch to develop against when adding new features to stac-react (#33) . Just some housekeeping and upgrading... see individual commits and their descriptions for more information.

Used as base branch for #27 .

… tests

- Upgraded project to Yarn 4.10.3 with `yarn set version latest` and `yarn install`
- Removed @testing-library/react-hooks with `yarn remove`
- Migrated all tests from waitForNextUpdate to waitFor from @testing-library/react
- Resolved peer dependency warnings for React 18

- Run library tests from the root:
  `yarn test`
- Run the example app and verify it works:
  - `cd example && yarn start`
  - Open http://localhost:3000 and check the app loads and functions as expected.
- Upgrade all dependencies to latest versions
- Refactor context and hooks for Fast Refresh compatibility
- Update ESLint configuration for modern React/TypeScript
- Update jest setup to use recommended @testing-library/jest-dom import
- Replace Rollup with Vite for library build and type generation
- Add Prettier integration to ESLint config
- Fix all formatting and lint errors in main and example code
- Update ESLint config to allow process.env
- Update documentation and examples for consistency
- Updated ESLint configuration for better TypeScript support
- Add .nvmrc with LTS version (22) to ensure environment consistency

This change improves linting reliability and developer setup across environments.
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