Skip to content

Conversation

@google-labs-jules
Copy link

This PR removes obsolete dependencies and polyfills to clean up the project and reduce bundle size/complexity.

Removals:

  • core-js: Removed imports from src/visualizations/heatmap/Heatmap.ts, src/visualizations/sunburst/Sunburst.ts and their declaration files. Uninstalled the package.
  • regenerator-runtime: Removed imports from the same files and uninstalled.
  • @eslint/js: Uninstalled (identified as unused).
  • eslint-define-config: Uninstalled (identified as unused).

Configuration Changes:

  • Added lint (eslint .) and type-check (tsc --noEmit) scripts to package.json.
  • Added "skipLibCheck": true to tsconfig.json to handle pre-existing type errors in node_modules.

Verification:

  • npm run lint: Passed.
  • npm run type-check: Passed.
  • npm test: All tests passed (including visual regression tests using puppeteer).
  • npm run build: Successful.

PR created automatically by Jules for task 5574598873554789779 started by @pverscha

- Removed `core-js` and `regenerator-runtime` as explicit imports in `src`. The library targets ES2015+ (as per tsconfig) and modern environments. Polyfilling should be handled by the consumer or build tool configuration if needed, not hardcoded in the library source.
- Removed unused devDependencies: `@eslint/js`, `eslint-define-config`.
- Added `lint` and `type-check` scripts to `package.json`.
- Enabled `skipLibCheck` in `tsconfig.json` to resolve type errors in `node_modules` exposed by the environment changes.
- Verified changes with `npm run lint`, `npm run type-check`, `npm test` (unit/integration/visual), and `npm run build`.
@google-labs-jules
Copy link
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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.

0 participants