[pull] master from apify:master - #271
Merged
Merged
Conversation
…4058) Bumps typescript to `^7.0.2` (native compiler) for building and type-aware linting, together with `oxlint-tsgolint@^7.0.2001`, which version-tracks TS 7. The docs build stays on TS 6: typedoc needs the TypeScript JS API, which the native compiler no longer exposes. The website keeps its own `typescript: ^6.0.0` pin and pnpm nests that copy under `node_modules/typedoc`, so typedoc resolves 6.x while the packages compile with TS 7. TS 7 also caught one real issue in the tests: `RequestList#initialize()` is private, and the call in `request_list.test.ts` now needs the same `@ts-expect-error` the surrounding test already uses for the private constructor. The api-extractor runner script also imports `typescript` for its report parsing; that import now goes through a `typescript-v6` alias (`npm:typescript@^6.0.0`), since the parsing needs the classic JS API (api-extractor itself bundles its own TypeScript and is unaffected). The regenerated reports in `docs/public-api/` pick up TS 7's single-quoted string literal types in three packages, 4 lines total. Same change as apify/apify-sdk-js#695. Build, docs build, type-aware lint, test typecheck and the unit suite all pass.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )