Skip to content

Conversation

@ryanmcafee
Copy link
Contributor

@ryanmcafee ryanmcafee commented Jan 15, 2026

Summary

  • Migrate from yarn to npm package manager
  • Upgrade all major dependencies to latest versions
  • Migrate ESLint from v8 to v9 with flat config format

Dependency Upgrades

Package Old Version New Version
jest 29.7.0 30.2.0
babel-jest 29.7.0 30.2.0
eslint 8.57.1 9.39.2
lint-staged 15.5.2 16.2.7
yargs 17.7.2 18.0.0
@typescript-eslint/eslint-plugin 6.x 8.53.0
@typescript-eslint/parser 6.x 8.53.0
eslint-plugin-jest 27.x 29.12.1

Breaking Changes Addressed

  • ESLint 9: Migrated from .eslintrc to eslint.config.mjs (flat config format)
  • Package Manager: Switched from yarn to npm, updated CI workflow accordingly
  • GitHub Actions: Updated to latest action versions (checkout@v4, setup-node@v4)

Test plan

  • Build passes (npm run build)
  • TypeScript type checking passes (tsc --noEmit)
  • Lint passes (npm run lint)
  • CI workflow updated for npm

JIRA: https://jupiterone.atlassian.net/browse/PLATENG-880

- Upgrade jest and babel-jest from 29.7.0 to 30.2.0
- Upgrade lint-staged from 15.5.2 to 16.2.7
- Upgrade yargs from 17.7.2 to 18.0.0
- Migrate from yarn to npm package manager
- Update GitHub Actions workflow to use npm and latest action versions
- Fix .eslintrc by removing invalid tsconfigRootDir setting
- Add .nvmrc for consistent Node.js version
- Migrate from legacy .eslintrc to eslint.config.mjs (flat config)
- Use FlatCompat to bridge @jupiterone/eslint-config with ESLint 9
- Remove deprecated --ext flag from lint script
- Upgrade @typescript-eslint packages to v8 for ESLint 9 compatibility
- Upgrade eslint-plugin-jest to v28 for ESLint 9 compatibility
- Add @eslint/eslintrc and @eslint/js for flat config support
@ryanmcafee ryanmcafee changed the title Upgrade dependencies and migrate to npm/ESLint 9 Upgrade dependencies to address security vulnerabilities Jan 15, 2026
@ryanmcafee ryanmcafee merged commit a693139 into main Jan 15, 2026
9 checks passed
@ryanmcafee ryanmcafee deleted the PLATENG-880 branch January 15, 2026 22:15
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.

3 participants