Skip to content

fix(build): import types from vega-lite root instead of /src directory#1463

Merged
domoritz merged 1 commit intomasterfrom
cameron.yick/fix-ci-typecheck
Jan 27, 2025
Merged

fix(build): import types from vega-lite root instead of /src directory#1463
domoritz merged 1 commit intomasterfrom
cameron.yick/fix-ci-typecheck

Conversation

@hydrosquall
Copy link
Copy Markdown
Member

@hydrosquall hydrosquall commented Jan 27, 2025

Motivation

Changes

  • Changes Config / TopLevelSpec to import from vega-lite root instead of from vega-lite/src, preventing extraneous typechecking

Testing

  • CI passing should be sufficient, this doesn't make any functional changes.

Notes

  • TSC always failing starting being an issue after 25d5233
  • Setting skipLibCheck: true in tsconfig.json alone does not work to prevent typechecking node modules if we are referencing the src/ folder instead of sticking with the exported vega-lite/src/index.ts.

"skipLibCheck": true

@hydrosquall hydrosquall self-assigned this Jan 27, 2025
@hydrosquall hydrosquall marked this pull request as ready for review January 27, 2025 02:57
@hydrosquall hydrosquall changed the title fix(build): import types from vega-lite root instead of /src directory fix(build): import types from vega-lite root instead of /src directory Jan 27, 2025
@domoritz domoritz merged commit e034278 into master Jan 27, 2025
@domoritz domoritz deleted the cameron.yick/fix-ci-typecheck branch January 27, 2025 13:08
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.

build: Fix Lint and build CI job

2 participants